Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-01-29 | Merge branch 'feature17840-v11-squashed' into feature17840-v11-merged | teor (Tim Wilson-Brown) | |
Conflicts: src/or/directory.c src/test/test_routerlist.c Fix minor conflicts. | |||
2016-01-29 | Tor2Web: tell extend_info_from_node intro point connections are direct | teor (Tim Wilson-Brown) | |
2016-01-29 | Return NULL from extend_info_from_node if the node has no allowed address | teor (Tim Wilson-Brown) | |
Modify callers to correctly handle these new NULL returns: * fix assert in onion_extend_cpath * warn and discard circuit in circuit_get_open_circ_or_launch * warn, discard circuit, and tell controller in handle_control_extendcircuit | |||
2016-01-29 | Automatically use IPv6 when ClientUseIPv4 is 0 | teor (Tim Wilson-Brown) | |
Consequential changes to log messages: * it's no longer possible to disable both IPv4 and IPv6, * refactor common string out of remaining log messages | |||
2016-01-29 | Minor whitespace-only fix | teor (Tim Wilson-Brown) | |
2016-01-29 | Consistently format addresses in node_get_address_string | teor (Tim Wilson-Brown) | |
Also, don't write to a buffer with length zero. | |||
2016-01-29 | Optimise reachability checks when iterating through relay lists | teor (Tim Wilson-Brown) | |
Skip address checks on servers. Skip allowed-only address checks on non-bridge clients with IPv4. | |||
2016-01-29 | Add firewall_is_fascist_dir() | teor (Tim Wilson-Brown) | |
Refactor common parts of firewall_is_fascist_or(). | |||
2016-01-29 | Use fascist firewall and ClientUseIPv4 for bridge clients | teor (Tim Wilson-Brown) | |
Bridge clients ignore ClientUseIPv6, acting as if it is always 1. This preserves existing behaviour. Make ClientPreferIPv6OR/DirPort auto by default: * Bridge clients prefer IPv6 by default. * Other clients prefer IPv4 by default. This preserves existing behaviour. | |||
2016-01-29 | Make entry_guard_set_status consistent with entry_is_live | teor (Tim Wilson-Brown) | |
Check fascist_firewall_allows_node in entry_guard_set_status and return the same message as entry_is_live. | |||
2016-01-29 | Choose bridge addresses by IPv4/IPv6 preferences | teor (Tim Wilson-Brown) | |
2016-01-29 | Log when IPv4/IPv6 restrictions or preferences weren't met | teor (Tim Wilson-Brown) | |
2016-01-29 | Choose directory servers by IPv4/IPv6 preferences | teor (Tim Wilson-Brown) | |
Add unit tests, refactor pick_directory functions. | |||
2016-01-29 | Choose OR Entry Guards using IPv4/IPv6 preferences | teor (Tim Wilson-Brown) | |
Update unit tests. | |||
2016-01-29 | Add ClientUseIPv4 and ClientPreferIPv6DirPort torrc options | teor (Tim Wilson-Brown) | |
ClientUseIPv4 0 tells tor to avoid IPv4 client connections. ClientPreferIPv6DirPort 1 tells tor to prefer IPv6 directory connections. Refactor policy for IPv4/IPv6 preferences. Fix a bug where node->ipv6_preferred could become stale if ClientPreferIPv6ORPort was changed after the consensus was loaded. Update documentation, existing code, add unit tests. | |||
2016-01-29 | Fix *_get_all_orports to use ipv6_orport | teor (Tim Wilson-Brown) | |
node_get_all_orports and router_get_all_orports incorrectly used or_port with IPv6 addresses. They now use ipv6_orport. Also refactor and remove duplicated code. | |||
2016-01-26 | Merge remote-tracking branch 'teor/bug18145' | Nick Mathewson | |
2016-01-26 | Replace "Alice" with "the client" in a hidden service log message | teor (Tim Wilson-Brown) | |
2016-01-26 | Replace Alice/Bob with client/service in hidden service comments | teor (Tim Wilson-Brown) | |
2016-01-26 | Correct grammatical errors in tor log messages | teor (Tim Wilson-Brown) | |
Avoid using gender for things that don't have it. | |||
2016-01-26 | Correct grammatical errors in tor comments | teor (Tim Wilson-Brown) | |
Avoid using gender for things that don't have it. Avoid assigning a gender to tor users. | |||
2016-01-22 | Fix redundant-declaration warning | Nick Mathewson | |
2016-01-21 | Merge remote-tracking branch 'twstrike/parse_port_config_tests' | Nick Mathewson | |
2016-01-19 | Merge remote-tracking branch 'twstrike/options_test' | Nick Mathewson | |
2016-01-19 | Make sure that tests for domain sockets only run on OSes with domain sockets | Ola Bini | |
2016-01-19 | Use correct u64 int ops instead of regular int ops, in order to avoid ↵ | Ola Bini | |
warnings on 32bit clang | |||
2016-01-19 | Merge branch 'maint-0.2.7' | Nick Mathewson | |
2016-01-19 | Merge branch 'maint-0.2.6' into maint-0.2.7 | Nick Mathewson | |
2016-01-19 | Refine the memwipe() arguments check for 18089 a little more. | Nick Mathewson | |
We still silently ignore memwipe(NULL, ch, 0); and memwipe(ptr, ch, 0); /* for ptr != NULL */ But we now assert on: memwipe(NULL, ch, 30); | |||
2016-01-18 | Merge branch 'fallbacks-0281-squashed' | Nick Mathewson | |
2016-01-18 | Add default fallback directories for the 0.2.8 alpha releases | teor (Tim Wilson-Brown) | |
Allow fallback directories which have been stable for 30 days to work around #18050, which causes relays to submit descriptors with 0 DirPorts when restarted. (Particularly during Tor version upgrades.) Ignore low fallback directory count in alpha builds. | |||
2016-01-18 | Merge branch 'maint-0.2.7' | Nick Mathewson | |
2016-01-18 | Merge branch 'maint-0.2.6' into maint-0.2.7 | Nick Mathewson | |
2016-01-18 | Make memwipe() do nothing when passed a NULL pointer or zero size | teor (Tim Wilson-Brown) | |
Check size argument to memwipe() for underflow. Closes bug #18089. Reported by "gk", patch by "teor". Bugfix on 0.2.3.25 and 0.2.4.6-alpha (#7352), commit 49dd5ef3 on 7 Nov 2012. | |||
2016-01-18 | Merge remote-tracking branch 'origin/maint-0.2.7' | Nick Mathewson | |
2016-01-18 | Merge remote-tracking branch 'teor/bug18050' into maint-0.2.7 | Nick Mathewson | |
2016-01-18 | Check ORPort and DirPort reachability before publishing a relay descriptor | teor (Tim Wilson-Brown) | |
Otherwise, relays publish a descriptor with DirPort 0 when the DirPort reachability test takes longer than the ORPort reachability test. Closes bug #18050. Reported by "starlight", patch by "teor". Bugfix on 0.1.0.1-rc, commit a1f1fa6ab on 27 Feb 2005. | |||
2016-01-15 | Fix some leaks in the unit tests. | Nick Mathewson | |
2016-01-15 | Make the new directory tests build and run again. | Nick Mathewson | |
Had to disable a couple. Also add changes file for 17003. | |||
2016-01-15 | Merge remote-tracking branch 'twstrike/directory-tests' | Nick Mathewson | |
2016-01-15 | Whitespace cleanup | Nick Mathewson | |
2016-01-15 | Merge remote-tracking branch 'twstrike/options_test' | Nick Mathewson | |
2016-01-13 | Update tests to match current changes to options_validate | Ola Bini | |
2016-01-13 | Move clearing of log messages on advice from @cypherpunks, in order to ↵ | Ola Bini | |
minimize risk of race conditions leading to another memory leak | |||
2016-01-13 | Revert my addition of callback cleaner and instead use existing ↵ | Ola Bini | |
functionality for temporary log files | |||
2016-01-13 | Remove a small memory leak in log callback setup | Ola Bini | |
2016-01-13 | Fix memory leaks | Ola Bini | |
2016-01-13 | Fix all white space issues | Ola Bini | |
2016-01-13 | Fix some issues in gcc warnings | Ola Bini | |
2016-01-13 | Add tests for options_act | Ola Bini | |