Opened 12 years ago

Last modified 7 years ago

#493 closed defect (Not a bug)

.exit TLD does not behave transparently

Reported by: Dodger Owned by:
Priority: Low Milestone:
Component: Core Tor/Tor Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


The .exit TLD does not work like the ExitNodes config option. Whatever it does, it does not simply ask a particular exit node to cleanly request a particular URL.

For example, returns a very different result than with a "ExitNodes bostonucompsci" config. I can't say why, but try it. Don't go asking the Wikipedia folks what the difference is; they'll just flip out and start blocking all the newer nodes again.

I chose that exit node because it's running, but any node will give the same results, including those running I'm running on win2k.

[Automatically added by flyspray2trac: Operating System: Windows 2k/XP]

Child Tickets

Change History (6)

comment:1 Changed 12 years ago by nickm

This is a browser issue, not something Tor can help with.

When your browser connects to a URL, it adds a "Host: " header to the HTTP request, with the hostname you requested
as its value. So for the request you describe above, your browser includes "Host:"
in its headers. Websites use headers to tell which virtual host to serve. For example, and are served from the same IP, so the only way Wikipedia's web server can tell which site to serve
is from the Host header.

The only way around this for Tor would be to re-write http headers. This isn't a good idea for Tor proper,
which never re-writes content. This might be something that could be hacked into Torbutton or Privoxy or Polipo,
however. Let's look into it.

comment:2 Changed 12 years ago by Dodger

Thank you, Nick! I get it now. Guess I'll stick with ExitNodes.

comment:3 Changed 12 years ago by nickm

Another trick you can do, if you want a specific exit node for a specific site, is to use the "MapAddress" option
in your torrc. If you say "MapAddress", tor will treat every request
for as though it had bbeen a request for

comment:4 Changed 12 years ago by nickm

(Also, this probably can't get done in anything like torbutton or polipo: in addition to exiting the outgoing
requests, you'd probably need to edit the website in the response as well so that images and links got
similarly rewritten.)

comment:5 Changed 12 years ago by nickm

flyspray2trac: bug closed.

comment:6 Changed 7 years ago by nickm

Component: Tor ClientTor
Note: See TracTickets for help on using tickets.