How Tor Measures a Relay: Observed Bandwidth, Advertised Bandwidth, and Consensus Weight

Bandwidth is one of the most misunderstood parts of Tor relay operation. A relay can have a fast Internet connection, advertise a generous bandwidth limit, and still receive almost no Tor traffic during its first hours. The reason is that Tor distinguishes between configured capacity, observed capacity, measured capacity, and …

Monitoring Tor Relay Bandwidth and Building a Persistent Contribution Counter

Tor operators often want answers to two simple questions: Tor exposes enough information through its control protocol to answer both. Real-time counters are already available The Tor control interface provides values equivalent to: These counters describe bytes read and written by the Tor daemon since the current Tor process started. …

Security Architecture of a Tor Relay: Least Privilege, Firewalls, and Service Isolation

A secure Tor relay does not depend on exotic hardening. The strongest baseline is a conventional Linux security model applied carefully: A non-exit relay is especially suitable for this approach because it does not need to originate arbitrary Internet traffic on behalf of users. Dedicated service accounts are essential A …

Japan’s Small Tor Relay Population: Why a Few Dozen Nodes Still Matter

Tor is a global anonymity network built on thousands of independently operated relays. Compared with the size of Japan’s Internet infrastructure, however, the country has surprisingly few public Tor relays. A recent snapshot showed roughly 76 running relays in Japan, with a combined measured relay capacity of about 2.14 Gbit/s. …

Bridge, Guard, Middle, and Exit: Understanding the Different Roles Inside the Tor Network

When people first learn about Tor, terms such as Bridge, Guard relay, Middle relay, and Exit relay can sound like different “levels” of the same system. That interpretation is only partly correct. These terms actually describe different roles within Tor’s network architecture. Some roles are closely related, while others exist …