diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-01-20 12:36:14 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-01-20 13:09:10 -0500 |
commit | d4354b506be924853cae838881202b205b4d45f2 (patch) | |
tree | 6bb2302e91777f60580bcf57201b433e66a98f69 /ChangeLog | |
parent | c939509051f90d7276355783b255d4a15730efab (diff) | |
download | tor-d4354b506be924853cae838881202b205b4d45f2.tar.gz tor-d4354b506be924853cae838881202b205b4d45f2.zip |
Don't use OutboundBindAddress to connect to localhost
The OutboundBindAddress option is useful for making sure that all of
your outbond connections use a given interface. But when connecting
to 127.0.0.1 (or ::1 even) it's important to actually have the
connection come _from_ localhost, since lots of programs running on
localhost use the source address to authenticate that the connection
is really coming from the same host.
Our old code always bound to OutboundBindAddress, whether connecting
to localhost or not. This would potentially break DNS servers on
localhost, and socks proxies on localhost. This patch changes the
behavior so that we only look at OutboundBindAddress when connecting
to a non-loopback address.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +Changes in version 0.2.2.8-alpha - 2010-??-?? + o Minor bugfixes: + - Ignore OutboundBindAddress when connecting to localhost. + Connections to localhost need to come _from_ localhost, or else + local servers (like DNS and outgoing HTTP/SOCKS proxies) will often + refuse to listen. + + Changes in version 0.2.1.23 - 2010-0?-?? o Major bugfixes (performance): - We were selecting our guards uniformly at random, and then weighting |