This release includes 1 security fix for security teams reviewing exposed deployments.
Topics
+13 more
Affected surfaces
Summary
AI summaryUpdates Technical Highlights, Detailed Changelog, and Upgrade Instructions across a mixed release.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Security | High |
Reorders firewall rules to prevent DNS query leaks to LAN gateway. Reorders firewall rules to prevent DNS query leaks to LAN gateway. Source: llm_adapter@2026-06-09 Confidence: high |
— |
| Feature | Medium |
Adds native IPv6 transparent routing alongside existing IPv4 support. Adds native IPv6 transparent routing alongside existing IPv4 support. Source: llm_adapter@2026-06-09 Confidence: high |
— |
| Feature | Medium |
Extends DoH mitigation by adding Cloudflare, Google, Quad9, OpenDNS, and AdGuard canary domains. Extends DoH mitigation by adding Cloudflare, Google, Quad9, OpenDNS, and AdGuard canary domains. Source: llm_adapter@2026-06-09 Confidence: high |
— |
| Feature | Medium |
Adds IP‑level blocking for common public DoH resolver IPs on TCP port 443. Adds IP‑level blocking for common public DoH resolver IPs on TCP port 443. Source: llm_adapter@2026-06-09 Confidence: high |
— |
| Feature | Low |
Introduces global `--log-format json` option for structured logging. Introduces global `--log-format json` option for structured logging. Source: llm_adapter@2026-06-09 Confidence: high |
— |
| Bugfix | Medium |
Updates SELinux module verification in `scripts/install.sh` to require version 1.1. Updates SELinux module verification in `scripts/install.sh` to require version 1.1. Source: llm_adapter@2026-06-09 Confidence: high |
— |
| Bugfix | Medium |
Refactors watchdog to suspend checks during network carrier drops, preventing false-positive lockouts. Refactors watchdog to suspend checks during network carrier drops, preventing false-positive lockouts. Source: llm_adapter@2026-06-09 Confidence: low |
— |
| Bugfix | Medium |
Changes watchdog Tor health validation to active query, detecting stale sockets. Changes watchdog Tor health validation to active query, detecting stale sockets. Source: granite4.1:30b@2026-06-09-audit Confidence: low |
— |
Full changelog
Release Notes - Transparent Tor Proxy (TTP) v0.4.0
This release introduces native IPv6 routing, firewall rule reordering to mitigate DNS leaks, enhanced watchdog daemon resilience, and extended DNS-over-HTTPS (DoH) mitigation.
Technical Highlights
Dual-Stack IPv6 Support
TTP now supports native IPv6 routing alongside IPv4.
- Automatic detection of IPv6 loopback interfaces.
- Dynamic generation of dual-stack or IPv4-only Tor configurations depending on kernel availability.
- Redirection of IPv6 DNS and TCP traffic through Tor via dedicated
nftablesrules in [firewall.py](file:///home/onyks/Documents/GitHub/TransparentTorProxy/ttp/firewall.py). - Bypassing of IPv6 local ranges (RFC 4193 and RFC 3927) to maintain local device connectivity.
DNS Leak Mitigation (Firewall Rule Reordering)
A critical security issue where cached DNS requests could bypass Tor has been resolved.
- Issue: The
nftablesoutputchain evaluated the LAN bypass rule before the DNS redirect rule. Browsers caching the local gateway IP as the system DNS resolver would have their queries accepted directly by the LAN bypass rule, bypassing Tor and leaking the real ISP DNS resolver. - Fix: In both the
outputandpreroutingchains, the DNS redirect rules have been placed before the LAN bypass rules, ensuring all DNS traffic is intercepted.
Watchdog Resilience & Active Checks
The background watchdog daemon ([watchdog.py](file:///home/onyks/Documents/GitHub/TransparentTorProxy/ttp/watchdog.py)) has been refactored for increased system reliability:
- Network Link-State Handling: Watchdog checks are suspended during physical network carrier drops or default route removals to prevent false-positive emergency lockouts.
- Active Health Queries: Replaced local socket connection checks with an active
get_info("status/bootstrap-phase")query via the Tor control socket to detect crashed or unresponsive Tor daemons with stale socket files. - Immediate Killswitch: If an auto-healing operation returns a failure status, the emergency killswitch is triggered immediately without stabilization delays.
DNS-over-HTTPS (DoH) Prevention
To prevent web browsers from bypassing system DNS settings via embedded resolvers:
- The
torrccanary domain configuration has been extended to include Cloudflare, Google, Quad9, OpenDNS, and AdGuard. - Added packet filtering rules to reject outgoing TCP port 443 traffic destined for known public DoH resolver IPs.
Detailed Changelog
Added
- Native IPv6 transparent routing and loopback/local bypass.
- Network interface and route drop detection in the watchdog loop.
- Global
--log-format jsonoption for structured log output. - Cloudflare, Google, Quad9, OpenDNS, and AdGuard DoH canary domain mapping.
- IP-level blocking for common public DoH resolvers on TCP port 443.
- Format verification check using Ruff in
scripts/verify.sh.
Fixed
- Reordered firewall rules to prevent DNS query leaks to the LAN gateway.
- Changed watchdog Tor health validation to an active query to detect stale sockets.
- Forced immediate killswitch activation on auto-healing failure.
- Updated SELinux module verification in
scripts/install.shto check for version 1.1.
Upgrade Instructions
Source Installation
Pull the latest source code and execute the install script:
git pull origin main
sudo ./scripts/install.sh
Package Installation
Install the updated package corresponding to the target Linux distribution:
- Debian/Ubuntu:
sudo apt install ./packaging/transparent-tor-proxy_0.4.0_all.deb - Fedora:
sudo dnf upgrade ./packaging/transparent-tor-proxy-0.4.0-1.fc43.noarch.rpm - Arch Linux:
cd packaging && makepkg -si
Security Fixes
- Reordered nftables DNS redirect rules before LAN bypass to prevent cached DNS queries from leaking outside Tor
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About TTP 0.3.0
All releases →Related context
Related tools
Beta — feedback welcome: [email protected]