bug2455
Commits on May 14, 2011
-
Report IP of replying DNS-Server(s) in cases of hijack attemtps
Modify eventdns to let us know which DNS server answered the request. Save the IP of the DNS-hijacking server to the log. Seems to be the solution to bug2455, but at another glance perhaps every DNS server should be logged? Anyhow the 'struct nameserver' pointer is passed from eventdns to tor code now and can be utilized appropriately everywhere.
Commits on May 13, 2011
-
Merge remote-tracking branch 'origin/maint-0.2.2'
Conflicts: src/or/config.c src/or/dirserv.c src/or/or.h
-
-
-
-
Add a new "tor_sockaddr_to_str()" function
It does what it says on the tin. It turns out I'll want this in a couple of places.
-
Advertise correct DirPort/ORPort when configured with "auto"
We'll eventually want to do more work here to make sure that the ports are stable over multiple invocations. Otherwise, turning your node on and off will get you a new DirPort/ORPort needlessly.
-
Teach retry_listener about "auto" ports.
Otherwise, it will just immediately close any port declared with "auto" on the grounds that it wasn't configured. Now, it will allow "auto" to match any port. This means FWIW if you configure a socks port with SocksPort 9999 and then transition to SocksPort auto, the original socksport will not get closed and reopened. I'm considering this a feature.
-
"(Socks|Control|etc)Port auto" now tells Tor to open an arbitrary port
This is the major part of the implementation for trac issue 3076.
Commits on May 12, 2011
-
-
-
-
-
-
HTTPS error code 403 is now reported as: "The https proxy refused to allow connection". Used a switch statement for additional error codes to be explained in the future.
-
-
-
-
Unmap microdesc cache before replacing it.
If we do a replace-then-munmap, windows will never actually rewrite the microdesc cache. Found by wanoskarnet; bugfix on 0.2.2.6-alpha.
-
-
-
-
-
Fix crash when read_file_to_string() fails in SAVECONF
The new behavior is to try to rename the old file if there is one there that we can't read. In all likelihood, that will fail too, but at least we tried, and at least it won't crash.
Commits on May 11, 2011
-
-
Merge remote-tracking branch 'public/bug3122_memcmp_022' into bug3122…
…_memcmp_023 Conflicts in various places, mainly node-related. Resolved them in favor of HEAD, with copying of tor_mem* operations from bug3122_memcmp_022. src/common/Makefile.am src/or/circuitlist.c src/or/connection_edge.c src/or/directory.c src/or/microdesc.c src/or/networkstatus.c src/or/router.c src/or/routerlist.c src/test/test_util.c
-