Skip to content
Tech News
← Back to articles

Hulios: An eBPF-powered, transparent Tor gateway for Linux

read original more articles
Why This Matters

Hulios introduces a secure, transparent Tor gateway for Linux that leverages eBPF technology to enhance privacy and security without relying on external firewalls or modifying configurations. Its kernel-level implementation ensures leak-resistant routing and robust privilege separation, making it a significant advancement in privacy-focused networking tools for Linux users and developers.

Key Takeaways

Hulios

Hardened Universal Linux Invisibility and Onion System

Hulios is an eBPF-powered, transparent Tor VPN gateway for Linux. It secures outbound network traffic by redirecting TCP sockets and DNS queries through an embedded Arti (Tor client) instance and a localized Hickory-based DNS resolver. By operating at the kernel socket level via cgroup hooks and policy routing, Hulios implements robust leak-resistant boundaries without modifying runtime resolv.conf configurations or relying on external firewall daemons.

🔒 Security Architecture

Hulios implements a strict privilege-separated runtime model:

Privilege Separation: The entry point supervisor runs with host root privileges to hook eBPF programs and build policy routing tables, then immediately spawns an unprivileged worker child.

The entry point supervisor runs with host root privileges to hook eBPF programs and build policy routing tables, then immediately spawns an unprivileged worker child. Sandbox Isolation: The worker process drops privileges to nobody and is isolated using a restrictive seccomp system call filter.

The worker process drops privileges to and is isolated using a restrictive system call filter. Fail-Secure Kill-Switch: Output traffic routing is locked using kernel policy tables ( table 100 ) and default blackholes. In the event of a daemon crash or forced shutdown ( SIGKILL ), the blackholes remain active, blocking outgoing traffic to prevent IP leaks until a manual recovery is initiated.

Output traffic routing is locked using kernel policy tables ( ) and default blackholes. In the event of a daemon crash or forced shutdown ( ), the blackholes remain active, blocking outgoing traffic to prevent IP leaks until a manual recovery is initiated. Raw Socket Blocker: An LSM eBPF hook blocks raw AF_PACKET socket creation globally to prevent applications from bypassing standard IP routing rules.

📋 Requirements

... continue reading