Onion gateway

The onion gateway is free. It opens a v3 .onion address in the browser. This is not a tunl tunnel and it is not Tor Browser. aditd fetches the page through the server's local Tor SOCKS proxy and shows it on this site.

What you can open

Only a v3 onion name is accepted: 56 characters of base32 (a-z and 2-7), then .onion. A shorter v2 name is refused. The page may be HTTP or HTTPS. If you leave the scheme off, it is read as http://. A clearnet host, a user name in the URL, and any scheme other than http or https are refused, so this process does not become an open proxy.

Traffic goes through the server's local Tor SOCKS port. The default is 127.0.0.1:9050. The flag is --tor-socks and the environment variable is ADIT_TOR_SOCKS. off, 0, false, no, or kapali disables the gateway. The server still starts if Tor is down; the page fails only when someone tries to open an address. The flag is on the server page. The Docker image does not contain Tor.

Open an address

Open Onion and paste the address, with or without http://. You can also put the onion name straight in the address bar: https://tunl.surf/tor/ plus the 56-character name and .onion. That opens the page there. The address bar stays on /tor/name.onion. It does not switch to /tor/p/. The browser never talks to the onion host itself. The server fetches the page and rewrites onion links so the next page stays under the same /tor/name.onion address. Each visitor has a cookie jar on the server. Cookies from the onion site stay in that jar: they are not sent to the browser, and the browser's cookies are not sent to the onion site.

The page is sandboxed. Scripts may run, forms may be sent, and a popup may open, but the page does not share this site's origin.

Who can see what

Limits

HTML and CSS are rewritten so an onion link stays on this site. A page larger than 4 MiB, or another response larger than 32 MiB, is not shown. A request body is limited to 2 MiB. An idle gate is dropped after 6 hours. HTTPS certificates on onion names are not checked against a public authority, because those names are commonly self-signed. Opening a new address is limited to 30 times a minute, page loads to 600 a minute, and 16 pages at once, per visitor.