Overview
Tor (The Onion Router) is free and open-source software enabling anonymous communication on the Internet. It directs Internet traffic through a free, worldwide volunteer overlay network consisting of thousands of relays, concealing users' locations and usage from surveillance and traffic analysis.
- Anonymity: Conceals IP addresses and location
- Encryption: Multi-layer encryption (onion encryption)
- Hidden Services: .onion sites accessible only via Tor
- Censorship Resistance: Bypasses internet blocks and filters
- Open Source: Fully auditable codebase
How Tor Works
When you use Tor, your traffic is routed through three randomly selected relays (nodes) before reaching its destination. Each relay only knows the identity of the previous and next node in the chain.
The Three Relays
Guard Node (Entry)
The first relay knows your IP address but cannot see what you're accessing or your final destination. Guard nodes are chosen from a stable set of relays to prevent certain attacks.
Middle Node
The middle relay only knows the guard node and exit node. It cannot see your IP address or your final destination. This is the most anonymous position in the circuit.
Exit Node
The exit relay connects to your destination website. It can see the traffic content (if not HTTPS) but cannot identify you. Exit nodes are crucial and face legal scrutiny.
Onion Encryption
Before your data leaves your computer, the Tor client encrypts it in three layers, one for each relay:
Using Tor
Tor Browser
The recommended way to access Tor is through the official Tor Browser, a modified version of Firefox with Tor integration and privacy enhancements built-in.
Best Practices
- Always download from torproject.org
- Verify cryptographic signatures
- Keep Tor Browser updated
- Don't install additional plugins
- Don't maximize the browser window
- Use HTTPS whenever possible
- Never torrent over Tor
Limitations & Threats
While Tor provides strong anonymity, it's not perfect. Understanding its limitations is essential for proper operational security.