[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #10519 [Tor]: tor uses default IP for dirport instead of the one defined in DirPort
#10519: tor uses default IP for dirport instead of the one defined in DirPort
-------------------------+------------------------------
Reporter: torland | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: unspecified
Component: Tor | Version: Tor: 0.2.4.18-rc
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
-------------------------+------------------------------
Comment (by nickm):
So, as Tor stands now, the Address field (or the guessed address) is
what's taken as your node's address when it advertises itself. The ORPort
and DirPort variables decide which address:port to bind, and which port to
advertise, but not which *address* to advertise.
Here's how I remember it. Originally, Address could only be an address (as
in 1.2.3.4), and ORPort could only be a port (as in 9001), so there was no
reason to infer the address from the ORPort. Later, ORPort and DirPort
got the possibility to explicitly include an address, to say which address
to listen to, in order to merge ORListenAddress ... but the ability to
advertise an address never got added to ORPort (except for secondary IPv6
addresses for bridges, maybe?)
Needless to say, this is more complicated than it should be. We should
try to come up with a better way for it to work.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10519#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs