Don't extend circuits over noncanonical connections with mismatched addresses.

Also, refactor the logic to check whether we will use a connection or
launch a new one into a new function.

svn:r17628
This commit is contained in:
Nick Mathewson
2008-12-15 21:17:53 +00:00
parent 51c29e1e24
commit e53ffaa4e4
3 changed files with 71 additions and 18 deletions
+6
View File
@@ -1,4 +1,10 @@
Changes in version 0.2.1.9-alpha - 200?-??-??
o Major features:
- Never use a connection with a mismatched address to extend a
circuit, unless that connections is canonical. A canonical
connection is one whose address is authenticated by the router's
identity key, either in a NETINFO cell or in a router descriptor.
o Major bugfixes:
- Fix a logic error that would automatically reject all but the first
configured DNS server. Bugfix on 0.2.1.5-alpha. Possible fix for part