Menu

Building a Stateless, RAM-Only Transparent Tor Proxy for Linux (TTP v0.3.0)
🖼️

Building a Stateless, RAM-Only Transparent Tor Proxy for Linux (TTP v0.3.0)

DEV Community·onyks·6 months ago
#WhEAakdq
#linux#networking#security#system#management
Reading 0:00
15s threshold

Transparent Tor Proxy (TTP) is a Linux CLI tool designed to intercept all outgoing network traffic and force it through the Tor network using nftables . Version 0.3.0 introduces a major architectural shift focused on system integrity and forensic invisibility, transitioning the application to a fully volatile runtime.

The Challenge

Classic transparent proxy implementations often suffer from severe state management issues. System configurations, such as /etc/resolv.conf , are typically overwritten directly. Furthermore, the default system Tor daemon ( tor.service ) is usually hijacked, leading to permission conflicts and disrupting any pre-existing background Tor relays.

The v0.3.0 Solution: Amnesia Core

The application core has been redesigned to operate almost entirely in volatile memory.

Volatile Standard Core : All runtime metadata, lock files, and logs are now stored in /run/ttp , which utilizes a tmpfs mount.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.