Habr•November 15, 2026•🇷🇺Translated from Russian

AWG Router Delivers Script-Free AmneziaWG Cascades with Load Balancing, Speed Limits and Leak Prevention

AWG Router transforms a fragile collection of bash scripts into a manageable web interface for building cascaded AmneziaWG VPNs. The original manual setup required a second WireGuard-style interface, ip rules with marks, a dedicated routing table, an ipset of Russian networks that needed constant updates, NAT rules, MSS clamping, and hundreds of lines of fragile shell code.

The panel runs on the same server as AmneziaWG but does not forward traffic itself. It only populates kernel rules and monitors exit health. Because the Linux kernel performs the actual routing, stopping or updating the panel does not break active client connections.

Leak prevention is achieved by installing unreachable default routes in per-exit routing tables. When an awgrN interface disappears, the kernel immediately removes the usable route, leaving only the unreachable entry so packets never leak to the entry server’s public IP. Dead tunnels are detected via handshake age in awg show dump or by active probes for SOCKS5 exits.

Routing decisions are expressed in a single nftables table generated by a pure function. Russian address ranges from ipverse are stored in interval sets with auto-merge. Client-specific policies are stored in a verdict map for O(1) lookup. Domain-based rules for SOCKS5 exits are handled by sniproxy.py, which inspects SNI or HTTP Host headers and redirects matching connections through the proxy while preserving original policy marks for non-matching traffic.

Load balancing distributes new clients across multiple foreign exits according to smoothed bandwidth counters from nftables. Existing connections remain pinned via conntrack marks so TCP sessions are not broken during rebalancing. Transfers occur only when they reduce load on the busiest exit by at least 15 percent and respect cooldown timers.

Speed limits are implemented with hierarchical token bucket (HTB) qdiscs and fq_codel on both the client-facing awg0 interface and each exit interface. Inbound shaping uses an IFB device to convert incoming traffic into an outgoing queue. Limits can be applied globally, per-client, or per-exit, with separate upload and download values.

The entire system, including hev-socks5-tunnel, amneziawg-go, and Let’s Encrypt support via lego, is packaged in a single Docker image running with host networking. All code is open source under the MIT license.

Related articles

Habr•Privacy & Surveillance

AI Agents Enable Mass Profiling for $100, Outpacing Human Detectives

Researchers demonstrated that AI agents can autonomously compile detailed personal dossiers from open web sources, public records, and commercial data brokers without any hacking or access to restricted databases. The agents produced reports averaging 12,800 words and 12 photos per target, using only publicly available information including leaked data repositories. In tests with 140 volunteers, 76 percent rated the accuracy highly while 80 percent discovered at least 11 unexpected personal facts such as hidden relationships or recovered addresses. When compared directly with professional investigators, the AI achieved superior results at roughly one-eighteenth the cost, completing equivalent work for about $70 versus $284 for human detectives limited to four hours. The study also revealed a 5 percent rate of incorrect or questionable statements in generated reports, some of which carried potential for serious harm if accepted as fact. Authors recommend closing social profiles, disabling phone and email search, and auditing data aggregators to reduce digital footprints.

AntiMalware•Privacy & Surveillance

WhatsApp Tests Six-Character Security Keys for Username-Based Messaging on iOS

WhatsApp has begun testing six-character keys that users can enable to control who can initiate chats via their username on iPhone devices. Previously limited to four numeric digits, the new keys support alphanumeric characters while excluding easily confused letters such as I, O, and U. The feature increases possible combinations from 10,000 to over one million and is entirely optional, allowing users to share their username publicly while restricting access to trusted contacts. The update appeared in iOS build 26.47.10.72 distributed through TestFlight, following similar changes observed in the Android beta. WhatsApp continues to limit consecutive failed key attempts, and users can regenerate a new key at any time through settings. No release date for the stable version has been announced.

Habr•Privacy & Surveillance

From Standalone Disks to Always-Connected Software: How Telemetry Turned Products into Surveillance Services

Over the past fifteen years software has shifted from autonomous products stored on physical media to services that require constant network connectivity and remote servers. The article examines the economic drivers behind this change, including subscription revenue and anti-piracy measures, while highlighting the resulting pervasive collection of personal data across smartphones, smart TVs, cars and even simple utilities. Audits reveal that 88 percent of apps in Russia's official RuStore contain at least one tracker, with many sending data to foreign companies. Smart TVs from Samsung, Vizio and Roku continue transmitting viewing data even after users disable tracking features. Automakers were found to be the worst category for privacy, with 84 percent sharing data with third parties and 76 percent selling it. The piece concludes with practical local-first strategies to regain autonomy, including offline applications, local AI models and devices that function without internet.

Habr•Privacy & Surveillance

MTS Mobile Exit Selectively Drops TLS Connections to Hetzner, Apple, Microsoft and Other Providers

Measurements from two separate runs on 29 and 30 November show that a single MTS mobile exit belonging to AS30881 (TENSOR) silently drops connections after large ClientHello messages to 18 out of 144 tested addresses. The affected destinations include Hetzner, OVH, DigitalOcean, Vultr, Contabo, Akamai-hosted Apple and Microsoft addresses, plus several other major clouds and CDNs. The same addresses remain reachable from a second MTS segment (AS48176), from MegaFon, and from a Frankfurt control point. The pattern matches an address-list filter rather than congestion, because neighboring prefixes from the same providers stay unaffected and the drop occurs at a consistent byte threshold of roughly 34-36 KB. Tests with plain HTTP on one Cloudflare address produced identical behavior, confirming that TLS is not required. Researchers emphasize that the measurements cover only one specific MTS exit and do not prove nationwide deployment or involvement of TSPU equipment.