- Oct 14, 2016
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
(This is safe, since only windows actually -uses- erstaz_socketpair.)
-
Nick Mathewson authored
-
Nick Mathewson authored
(I've done this instead of changing the semantics of router_compare_to_my_exit_policy, because dns.c uses router_compare_to_my_exit_policy too, in a slightly weird way.)
-
- Oct 13, 2016
-
-
Nick Mathewson authored
-
Nick Mathewson authored
- function doesn't need to be inline. - rename function - Make documentation more pedantically correct - Remove needless "? 1 : 0."
-
Nick Mathewson authored
Patch from ericho. Fixes 18529. Simple refactoring.
-
- Oct 12, 2016
-
-
Nick Mathewson authored
The test code, if it failed, or if it was run in verbose mode, would use the wrong variable for its loop. Patch from rubiate uploaded to 19999.
-
- Oct 11, 2016
-
-
Nick Mathewson authored
Switch from "AF_UNIX is always equal" to "always unequal" to avoid wacky bugs. See discussion on 20261
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
Some compilers apparently noticed that p2len was allowed to be equal to msg, and so maybe we would be doing memset(prompt2, ' ', 0), and decided that we probably meant to do memset(prompt2, 0, 0x20); instead. Stupid compilers, doing optimization before this kind of warning! My fix is to just fill the entire prompt2 buffer with spaces, because it's harmless. Bugfix on e59f0d4c, not in any released Tor.
-
(Specifically, carriage return after a quoted value in a config line. Fixes bug 19167; bugfix on 0.2.0.16-alpha when we introduced support for quoted values. Unit tests, changes file, and this parenthetical by nickm.)
-
Nick Mathewson authored
-
- Oct 10, 2016
-
-
Yawning Angel authored
This is a kludge to deal with the fact that `tor_addr_t` doesn't contain `sun_path`. This currently ONLY happens when circuit isolation is being checked, for an isolation mode that is force disabled anyway, so the kludge is "ugly but adequate", but realistically, making `tor_addr_t` and the AF_UNIX SocksPort code do the right thing is probably the better option.
-
George Kadianakis authored
-
- Oct 06, 2016
-
-
Nick Mathewson authored
-
Nick Mathewson authored
Closes ticket 20303. The LIBRESSL_VERSION_NUMBER check is needed because if our openssl is really libressl, it will have an openssl version number we can't really believe.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
Fixes 19904; bugfix on b62abf9f; patch from Rubiate.
-
- Oct 05, 2016
-
-
Flip the tor_calloc arguments in the call. Signed-off-by:
Muhammad Falak R Wani <falakreyaz@gmail.com>
-
Nick Mathewson authored
Previously, we would reject even rendezvous connections to IPv6 addresses when IPv6Exit was false. But that doesn't make sense; we don't count that as "exit"ing. I've corrected the logic and tried to make it a lottle more clear. Fixes bug 18357; this code has been wrong since 9016d9e8 in 0.2.4.7-alpha.
-
Karsten Loesing authored
-
- Oct 04, 2016
-
-
Nick Mathewson authored
Feature 18753 -- all this to allow spaces.
-
- Oct 03, 2016
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
Patch from nherring; closes ticket 16869
-
When deleting unsuitable addresses in get_interface_address6_list(), to avoid reordering IPv6 interface addresses and keep the order returned by the OS, use SMARTLIST_DEL_CURRENT_KEEPORDER() instead of SMARTLIST_DEL_CURRENT(). This issue was reported by René Mayrhofer. [Closes ticket 20163; changes file written by teor. This paragraph added by nickm]
-
Paolo Inglese authored
-
- Oct 02, 2016
-
-
Roger Dingledine authored
-
Roger Dingledine authored
We removed that feature in 0.2.4.2-alpha, but some comments seem to have lingered. I didn't add a changes/ file since this is just internal code cleanup.
-
- Sep 30, 2016
-
-
Yawning Angel authored
The client addr is essentially meaningless in this context (yes, it is possible to explicitly `bind()` AF_LOCAL client side sockets to a path, but no one does it, and there are better ways to grant that sort of feature if people want it like using `SO_PASSCRED`).
-
- Sep 28, 2016
-
-
Nick Mathewson authored
-
- Sep 26, 2016
-
-
Nick Mathewson authored
-