Weekly Technical Report for the Third Week of April to the Second Week of May 2023

My last weekly technical report, the Weekly Technical Report for the Second Week of April 2023, was written after the fact in November 2025, and after that I stopped for a long time. The reason is actually simple. One is that typing is a pain. When I write, I change a bit here and a bit there, and after enough changes the sentence just breaks. The sentence in my head is one thing, the sentence I end up writing is another, and sometimes words or prepositions just go missing. The other is that I used AI to help with two posts before, but it didn’t work well. You could tell at a glance they were written by AI. They didn’t read like something I wrote, or like something I would say. ...

November 19, 2026 · Saturneric

GpgFrontend's New Version Model and Release Mechanism

Updates have always been one of GpgFrontend’s biggest pain points. From the very first versions, GpgFrontend relied on GitHub Release to publish versions and to check for updates, and it stayed that way for many years. Starting with 2.2.5, and including the current main line, the version numbering rules, the release process and the way the client checks for updates have all moved to a new model and mechanism. How to use it and how to verify things is already in the user manual. But why I did it this way, and what I was thinking at the time, doesn’t come across in the documentation. ...

November 19, 2026 · Saturneric

Building a Split-Tunneling Personal VPN Gateway: A Practical Setup with WireGuard, sing-box, and Gluetun

In a previous post, I introduced a fairly straightforward chained VPN setup: all devices first connect to a WireGuard server I host myself, the server forwards the traffic to Gluetun, and in the end the traffic reaches the Internet through the exit of an upstream VPN provider. The core value of this setup is pretty clear: All devices only need to set up one WireGuard connection. The upstream VPN only has to be maintained on the server. Phones, computers, tablets and home devices can all join the same virtual LAN. The exit IP comes from a commercial VPN, a company VPN or another upstream VPN, instead of exposing the VPS IP directly. The whole system can be deployed with Docker, so it keeps the host environment as clean as possible. Compared with connecting to a VPN directly, all the VPN provider can see in this setup is the exit of your VPN gateway (your VPS), not the real IP of each device. Also, your local ISP and others can’t tell whether you’re using a mainstream VPN. All they know is that you’re connecting to a VPN gateway (your VPS), but where the traffic finally goes is unknown to them. But as I used it in more situations, the original structure started to show some limits. The most typical problem was that traffic control wasn’t fine-grained enough. By default, all traffic had to go into the upstream VPN tunnel, and for some services this could trigger risk-control mechanisms or cause access problems. It also wasn’t easy to do traffic engineering and use different exit strategies for different services. I could already do split routing with iptables and routing tables, but once there were a lot of rules, it got hard to maintain. ...

May 23, 2026 · Saturneric

Long-Term Personal VPS Self-Hosting: Cleanliness and Security

I’ve been seriously tinkering with personal self-hosting for about five or six years now. Strictly speaking, the time I started managing my own VPS goes back even further. The original motivation was actually pretty simple: there were some services I used every day, like a password manager, music playback, note syncing, a personal website, code repositories and so on. So why not just deploy them myself? That way the data stays in my own hands, and I’m not pushed around by all kinds of platform subscriptions and price increases. ...

January 3, 2026 · Saturneric

The Past and Present of GpgFrontend: My Journey with an Open-Source Encryption Tool

How It Started: Running into GnuPG (GPG) I first came across GPG around April 2021. Back then I was just a student who was curious about everything in the computer world, and my understanding of cryptography didn’t go much further than “a password is an encrypted string”. Then I read about how asymmetric encryption works: anyone can use a public key to encrypt a message, but only the person who holds the private key can decrypt it. That really amazed me. I liked this kind of “mathematical trust”. It’s elegant, rigorous and irreversible, and at that moment I felt it was just as beautiful as any piece of art. So I started learning the GPG command line, from generating keys to verifying signatures, trying things again and again to understand the logic behind them. ...

November 12, 2025 · Saturneric

Running a “Vanilla” Mainline Kernel on Raspberry Pi 5: Full Workflow of Trimming, Cross-Compilation, and Deployment

Summary This post records how I turned the Raspberry Pi 5 into a minimal development and testing platform for the mainline Linux kernel (the vanilla kernel). It covers how I trimmed the repository down, a custom kernel config, cross-compilation and automated deployment scripts, a trick for removing overlays, and what I’ve learned from keeping it in sync with the mainline community over time. It should be useful for geeks who follow Linux mainline, ARM64 support, kernel development or upstream contributions, or who just like tinkering with the kernel. ...

June 14, 2025 · Saturneric

Building a Personal Chained VPN Network: Efficient Privacy Protection, Unlimited Device Management, and Remote Access

In some situations, you might want to set up a chained VPN. That means your devices on the internal network first connect to a self-hosted WireGuard server (a personal VPS, for example), and that server then forwards all traffic to another VPN (a company, school or commercial VPN service) before it goes out to the Internet. This kind of “VPN over VPN” setup has some clear advantages: Strong privacy protection: Traffic from your devices first goes through your own encrypted WireGuard tunnel to your personal VPS. The VPS then forwards it a second time through the commercial or company VPN, and it finally reaches the Internet from that VPN’s exit IP. This way, the VPS never uses its own IP address to access the target network directly, which greatly reduces the risk of your personal IP being tracked or leaked. ...

June 2, 2025 · Saturneric

Weekly Report for the First Week of March 2023

Recently, compliance requirements have increasingly started to affect technical work. There are frequent requests to implement compliance-related features or to complete compliance assessments. From my perspective, these requirements mainly focus on user data governance, including standardized access control and gradually giving users more control over their own data. At the same time, organizational and personnel changes are also having a noticeable impact on the system. For example, when a business domain is transferred to another department, shared resources such as databases become a point of contention. Cost allocation then becomes a practical issue. Even within the same company, internal accounting mechanisms make these discussions unavoidable, and disputes over resource usage are quite common. ...

November 15, 2023 · Saturneric

Weekly Technical Report for the Fourth Week of February 2023

This week, I encountered a performance issue that led me to re-evaluate the quality of some service frameworks, particularly certain Java-based ones. Under moderate load—around 35% to 40% CPU utilization—the services began to experience a large number of timeouts. This was unexpected, as neither CPU nor memory resources were saturated, and the number of worker threads was sufficient. Using Java profiling tools, I found that most worker threads were in Idle orWaiting states. There were no obvious hotspots in business logic, and no threads appeared to be fully utilized. This suggested that the bottleneck was not CPU-bound, but likely related to I/O or some form of blocking or coordination overhead. ...

November 15, 2023 · Saturneric

Weekly Technical Report for the Third Week of February 2023

This week was focused on addressing a risk identified before the holiday period. The issue involved a service that used Redis without setting TTLs for keys, instead relying entirely on Redis eviction policies. The instance was configured with an LRU-based eviction strategy, which may appear sufficient at first glance, but introduces significant risks under bursty write workloads. During periods of high write traffic, Redis is forced to aggressively trigger eviction in order to free up memory. This process consumes considerable resources, which can degrade normal operations such as read and write requests. As a result, latency at the application layer can fluctuate significantly. I have encountered this issue multiple times in production. ...

June 21, 2023 · Saturneric