Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-10-23 | Merge branch 'maint-0.2.8' into maint-0.2.9 | Nick Mathewson | |
2017-10-23 | Adjust test, now that there are 9 dirauths again | Nick Mathewson | |
2016-11-16 | refactor router_pick_published_address to have another arg | Roger Dingledine | |
no change in behavior except fewer log entries in the case where we use a cached result. | |||
2016-10-14 | Whitespace cleaning | Nick Mathewson | |
2016-10-04 | Allow a unix: address to contain a C-style quoted string. | Nick Mathewson | |
Feature 18753 -- all this to allow spaces. | |||
2016-09-08 | Placate "make check-spaces" | Nick Mathewson | |
2016-09-08 | Unit test fix: windows should be able to handle DNSPort just fine. | Nick Mathewson | |
2016-09-07 | Merge remote-tracking branch 'dgoulet/ticket18693_029_01' | Nick Mathewson | |
2016-09-05 | Fix BUG warning with stack trace from config/parse_port_config__listenaddress | Nick Mathewson | |
2016-08-24 | Make port names and types consistent in the port unit tests | teor (Tim Wilson-Brown) | |
String constant changes only, and only in the unit tests. These strings are used in log messages only. | |||
2016-08-24 | Parse *Port flags NoDNSRequest, NoOnionTraffic & OnionTrafficOnly | teor (Tim Wilson-Brown) | |
OnionTrafficOnly is equivalent to NoDNSRequest, NoIPv4Traffic, and NoIPv6Traffic. Add unit tests for parsing and checking option validity. Add documentation for each flag to the man page. Add changes file for all of #18693. Parsing only: the flags do not change client behaviour (yet!) | |||
2016-07-05 | Repair unit test that assumed we have 9 dirauths. | Nick Mathewson | |
2016-03-01 | First RelaxDirModeCheck implementation | Peter Palfrader | |
2016-02-27 | Update the copyright year. | Nick Mathewson | |
2016-02-24 | Fix a huge number of leaks in test_config.c | Nick Mathewson | |
I no longer see asan reporting memory leaks in the unit tests. | |||
2016-02-22 | Small fixup on last fix to test leaks | Nick Mathewson | |
2016-02-22 | Fix a bunch of memory leaks in the unit tests | Nick Mathewson | |
2016-02-01 | Redux: don't expect unix sockets to be accepted on windows | Nick Mathewson | |
2016-02-01 | Don't expect unix sockets to be accepted on Windows | Nick Mathewson | |
Fixes failures in test_config.c; bug not in any released tor. | |||
2016-01-21 | Merge remote-tracking branch 'twstrike/parse_port_config_tests' | Nick Mathewson | |
2016-01-06 | Add FallbackDir list to GETINFO config/defaults | George Tankersley | |
2015-12-18 | Fix config/directory_fetch after 12538 merge | Nick Mathewson | |
2015-12-17 | Prop210: Fix directory fetch tests | teor (Tim Wilson-Brown) | |
Check that directory fetches behave as expected under Prop 210. | |||
2015-12-15 | Merge remote-tracking branch 'teor/feature15775-fallback-v9-squashed' | Nick Mathewson | |
2015-12-16 | Add Fallback Directory Candidate Selection Script | teor | |
"Tor has included a feature to fetch the initial consensus from nodes other than the authorities for a while now. We just haven't shipped a list of alternate locations for clients to go to yet. Reasons why we might want to ship tor with a list of additional places where clients can find the consensus is that it makes authority reachability and BW less important. We want them to have been around and using their current key, address, and port for a while now (120 days), and have been running, a guard, and a v2 directory mirror for most of that time." Features: * whitelist and blacklist for an opt-in/opt-out trial. * excludes BadExits, tor versions that aren't recommended, and low consensus weight directory mirrors. * reduces the weighting of Exits to avoid overloading them. * places limits on the weight of any one fallback. * includes an IPv6 address and orport for each FallbackDir, as implemented in #17327. (Tor won't bootstrap using IPv6 fallbacks until #17840 is merged.) * generated output includes timestamps & Onionoo URL for traceability. * unit test ensures that we successfully load all included default fallback directories. Closes ticket #15775. Patch by "teor". OnionOO script by "weasel", "teor", "gsathya", and "karsten". | |||
2015-12-15 | Merge remote-tracking branch 'teor/feature17327-v4' | Nick Mathewson | |
2015-12-15 | Merge remote-tracking branch 'teor/feature4483-v10-squashed' | Nick Mathewson | |
2015-12-16 | Prop210: Close excess connections once a consensus is downloading | teor (Tim Wilson-Brown) | |
Once tor is downloading a usable consensus, any other connection attempts are not needed. Choose a connection to keep, favouring: * fallback directories over authorities, * connections initiated earlier over later connections Close all other connections downloading a consensus. | |||
2015-12-15 | Add UseDefaultFallbackDirs for hard-coded directory mirrors | teor (Tim Wilson-Brown) | |
UseDefaultFallbackDirs enables any hard-coded fallback directory mirrors. Default is 1, set it to 0 to disable fallbacks. Implements ticket 17576. Patch by "teor". | |||
2015-12-14 | Authorities on IPv6: minor fixes and unit tests | teor (Tim Wilson-Brown) | |
Update the code for IPv6 authorities and fallbacks for function argument changes. Update unit tests affected by the function argument changes in the patch. Add unit tests for authority and fallback: * adding via a function * line parsing * adding default authorities (Adding default fallbacks is unit tested in #15775.) | |||
2015-10-05 | Divide the different parse_port_config groups into separate tests | Ola Bini | |
2015-10-05 | Use tor_addr_eq instead of tt_mem_op | Ola Bini | |
2015-10-05 | Move CL_PORT definitions so they are accessible to the tests as well | Ola Bini | |
2015-10-05 | Fix all spaces | Ola Bini | |
2015-09-15 | Add tests for parse_port_config | Ola Bini | |
2015-04-23 | Unit tests for consider_adding_dir_servers() as modified in #15642 | teor | |
Unit tests for the 10 valid combinations of set/NULL config options DirAuthorities, AlternateBridgeAuthority, AlternateDirAuthority, and FallbackDir. Add assertion in consider_adding_dir_servers() for checks in validate_dir_servers(): "You cannot set both DirAuthority and Alternate*Authority." | |||
2015-02-23 | Fix endianness issues in test_config_resolve_my_address(). | rl1987 | |
Since resolve_my_address() yields IP address in host order there is no need to use byteorder functions for conversion. | |||
2015-01-23 | Try to fix some more memory leaks in the unit tests | Nick Mathewson | |
2015-01-13 | Allow MapAddress and Automap to work together | Nick Mathewson | |
The trick here is to apply mapaddress first, and only then apply automapping. Otherwise, the automap checks don't get done. Fix for bug 7555; bugfix on all versions of Tor supporting both MapAddress and AutoMap. | |||
2015-01-07 | appease "make check-spaces" | Nick Mathewson | |
2015-01-02 | Bump copyright dates to 2015, in case someday this matters. | Nick Mathewson | |
2014-12-29 | Merge branch 'resolvemyaddr_squashed' | Nick Mathewson | |
2014-12-29 | Make the resolvemyaddr unit tests pass when local dns is hijacked | Nick Mathewson | |
If you are in a coffee shop that returns a helpful redirect page for "onionrouter", or on an ISP that does the same, the test as written would fail. | |||
2014-12-29 | Fix memory leaks in resolvemyaddr tests | Nick Mathewson | |
2014-12-29 | Fix compilation errors in resolvemyaddr tests | Nick Mathewson | |
2014-12-29 | Adding comprehensive test cases for resolve_my_address. | rl1987 | |
Also, improve comments on resolve_my_address to explain what it actually does. | |||
2014-12-22 | Fix a bunch of memory leaks in the unit tests. Found with valgrind | Nick Mathewson | |
2014-11-12 | Fix wide lines (from 13172) | Nick Mathewson | |
2014-11-12 | Replace operators used as macro arguments with OP_XX macros | Nick Mathewson | |
Part of fix for 13172 | |||
2014-11-04 | Fix unused-argument warnings | Nick Mathewson | |