# Tor explained

URL: https://ekom.blog/tor-explained/
Published: 2024-11-20
Author: Ekom
Topics: How the internet works

> Tor sends your traffic through three relays so no single point sees both who you are and what you read. How it works, what it does not do, and who uses it.

Tor has a reputation problem. Mention it and people picture hooded figures and illegal markets. The reality is more ordinary: it is a free tool that makes it harder for anyone to link your browsing to your identity, and it is used by journalists, researchers, people in countries that censor the web, and plenty of people who just dislike being tracked.

Tor, short for The Onion Router, is a network of volunteer-run servers that passes your traffic through several hops, so that no single hop knows both who you are and what you are looking at.

## The analogy: a parcel passed through three friends

Say you want to send a letter to someone without them knowing it came from you, and without any single helper knowing the full story.

- You put your letter inside an envelope addressed to Friend C, and put that inside an envelope addressed to Friend B, and that inside an envelope addressed to Friend A.

- You hand the outer envelope to Friend A. A opens it and finds only an instruction: "pass this to B." A knows who you are but not what the letter says or where it finally goes.

- B opens the next layer: "pass this to C." B knows neither the sender nor the destination.

- C opens the last layer and delivers the letter. C knows the destination but not who first sent it.

Those layers are the "onion". That is Tor in one picture.

## How it works in practice

The Tor Browser (a modified Firefox) connects to the Tor network and builds a circuit of three relays:

- Entry (guard) relay: sees your real IP address but not where you are going.

- Middle relay: sees neither.

- Exit relay: sees the destination site, and sees the traffic if it is not otherwise encrypted, but not your IP address.

Your traffic is encrypted in layers, one per relay, and each relay peels off just its own. The circuit changes regularly. The website you visit sees the exit relay's address, not yours.

The idea of onion routing began in research at the US Naval Research Laboratory in the 1990s, and the Tor Project was later set up as a non-profit to maintain the software. The network depends on thousands of volunteer relays.

## What Tor does well

- Hides your IP address from the sites you visit.

- Prevents any one party in the middle from seeing the full picture, including your internet provider, who sees you are using Tor but not what for.

- Resists fingerprinting by making Tor Browser users look alike, as I described in browser fingerprinting explained.

- Helps bypass censorship. In places where websites are blocked, Tor (often with "bridges", relays that are not publicly listed) is one of the ways people reach them.

- Allows ".onion" sites, which are reachable only inside Tor. Some well-known news organisations offer them as a way to reach readers where the main site is blocked.

## What Tor does not do

- It is not magic anonymity. If you log in to your personal account, you have told the site who you are, whatever route you took.

- It does not encrypt beyond the exit relay by itself. Use HTTPS sites, so the exit relay cannot read your content.

- It is slower. Three hops across the world take time. Video and big downloads are painful.

- Some sites block or challenge Tor traffic, since bots and abuse can come through exit relays too. You may meet more CAPTCHAs than usual.

- It will not protect you from your own habits. Downloading a document and opening it outside the browser, installing random plugins, or giving out personal details can all unmask you.

## Tor vs a VPN

People often ask which is better. They answer different questions.

Tor
VPN

Who do you have to trust?
Spread across three volunteer relays
One company

Speed
Slow
Usually faster

Cost
Free
Usually paid

Typical use
Strong anonymity, censorship
Hiding location from local network, streaming, public Wi-Fi

A VPN moves your trust from your internet provider to the VPN company. Tor spreads it so nobody holds the whole story. For ordinary privacy on a café network, a reputable VPN is often enough. For high-risk situations, Tor is designed for the job.

## Is it legal?

In most countries, using Tor is legal. Some governments restrict or block it, and what you do with it is still subject to the law like everything else. If you are somewhere sensitive, check the local rules rather than rely on a blog post.

## Why a website owner should care

- Some of your visitors use it, for reasons that have nothing to do with crime. A site that blocks Tor entirely excludes them. Think about whether your firewall rules need to.

- Abuse does exist. Spam and login attacks can come through Tor exit nodes. Rate limiting and bot protection handle this better than blanket bans, which I covered in firewalls explained for site owners.

- It shows how much your IP address gives away. If one change can hide it, treat the IP as personal data in your analytics and logs.

## Key takeaways

- Tor passes your traffic through three relays so no single one sees both source and destination.

- It hides your IP from websites, but it does not make you anonymous if you identify yourself.

- It is slower than normal browsing and works best with HTTPS sites.

- It is legal in most places, and used by many ordinary people.

- A VPN and Tor solve different problems.

## FAQ

### Do I need to be technical to use it?

No. You download the Tor Browser from the Tor Project's official site and use it like a normal browser.

### Can Tor be traced?

Powerful, well-resourced adversaries have attacked Tor in various ways, and users can be exposed by mistakes. It raises the effort needed; it does not make tracing impossible.

### Should I use it for everyday browsing?

You can, but expect it to be slow and for some sites to challenge you. Many people keep it for specific tasks.

## Related reading

- Browser fingerprinting explained

- Redirects explained: 301 vs 302

- HTTPS and the padlock: what it does and does not promise

If you are curious, read the Tor Project's own "about" page, then decide for yourself whether it fits your situation.

---

From Ekom (https://ekom.blog/). More: https://ekom.blog/llms.txt
