aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-12-07Fallbacks: accept relays that are a fuzzy match to the whitelistteor
If a relay matches at least one fingerprint, IPv4 address, or IPv6 address in the fallback whitelist, it can become a fallback. This reduces the work required to keep the list up to date. Closes ticket 28768.
2018-12-07Fallbacks: refactor is_in_whitelist() to take an exact match booleanteor
No behaviour change. Preparation for 24838.
2018-12-07Fallbacks: Rename CONSENSUS_EXPIRY_TOLERANCE to REASONABLY_LIVE_TIMEteor
Cleanup after 28768.
2018-12-07Fallbacks: use a 24 hour future consensus toleranceteor
Tor clients on 0.3.5.6-rc? and later will use a consensus that will become valid up to 24 hours in the future. Clients on 0.3.5.5-alpha? and earlier won't accept future consensuses. Update the fallback expiry tolerance to match tor's checks. Part of 28768, follow-up on 28591.
2018-12-07Fallbacks: use a 24 hour consensus expiry toleranceteor
Tor clients will use a consensus that expired up to 24 hours ago. Clients on 0.3.5.5-alpha? and earlier won't select guards from an expired consensus, but they can still bootstrap if they have existing guards. Update the fallback expiry tolerance to match tor's checks. Part of 28768, follow-up on 24661.
2018-12-07Fallbacks: minor script comment changesteor
2018-12-06Merge branch 'maint-0.3.5'Nick Mathewson
2018-12-06Merge branch 'maint-0.3.4' into maint-0.3.5Nick Mathewson
2018-12-06Merge branch 'maint-0.3.3' into maint-0.3.4Nick Mathewson
2018-12-06Merge branch 'maint-0.2.9' into maint-0.3.3Nick Mathewson
2018-12-05Update geoip and geoip6 to the December 5 2018 database.Karsten Loesing
2018-12-05Merge branch 'maint-0.3.5'Nick Mathewson
2018-12-05Merge remote-tracking branch 'tor-github/pr/546' into maint-0.3.5Nick Mathewson
2018-12-05Merge remote-tracking branch 'public/prop298'Nick Mathewson
2018-12-05Merge branch 'prop293_squashed'Nick Mathewson
2018-12-05Write tests for mark_my_descriptor_dirty_if_too_old()Nick Mathewson
2018-12-05Merge remote-tracking branch 'tor-github/pr/531'Nick Mathewson
2018-12-05Merge remote-tracking branch 'tor-github/pr/561'Nick Mathewson
2018-12-05Merge remote-tracking branch 'tor-github/pr/553'Nick Mathewson
2018-12-05Merge remote-tracking branch 'tor-github/pr/508'Nick Mathewson
2018-12-05remember why we are doing getsockopt()Nick Mathewson
2018-12-05Merge remote-tracking branch 'tor-github/pr/560'Nick Mathewson
2018-12-05Merge branch 'ticket28479_squashed'Nick Mathewson
2018-12-05Update ReleasingTor.md to reflect current practiceNick Mathewson
See #28479.
2018-12-04Merge branch 'maint-0.3.5'David Goulet
2018-12-04man: Document HSv3 client authorization revocationDavid Goulet
Removing a ".auth" file revokes a client access to the service but the rendezvous circuit is not closed service side because the service simply doesn't know which circuit is for which client. This commit notes in the man page that to fully revoke a client access to the service, the tor process should be restarted. Closes #28275 Signed-off-by: David Goulet <dgoulet@torproject.org>
2018-12-03Add tests for parsing each routerstatus flag.Nick Mathewson
2018-12-03Add a framework for testing set_routerstatus_from_routerinfo().Nick Mathewson
Additionally, use it to test that is_staledesc is set correctly. Eventually we'll want to test all the other flags, but I'm aiming for only adding coverage on the changed code here.
2018-12-03Make input argument const in set_routerstatus_from_routerinfo.Nick Mathewson
2018-12-03Keep list of dirauth flags in sync between dirvote.c and fuzz_vrs.cNick Mathewson
Suggested by Teor on PR
2018-12-03manpage: Mention that adding new HS is unsupported if Sandbox is enabledrl1987
2018-12-03Print error message we get from socket.connect_ex when it failsrl1987
2018-12-03More logging for #28229rl1987
2018-12-03Check that new listener connection is actually listeningrl1987
2018-12-02Merge remote-tracking branch 'tor-github/pr/544'Nick Mathewson
2018-12-02Merge remote-tracking branch 'tor-github/pr/559'Nick Mathewson
2018-12-03doc: remove cached-routers from the man pageteor
cached-routers was removed from the code a long time ago
2018-12-03comment: replace cached-routers with cached-descriptorsteor
cached-routers has been gone for a long time
2018-12-01Use tor_strdup() in place of malloc+strncpy+terminate.Nick Mathewson
2018-12-01Merge remote-tracking branch 'tor-github/pr/556'Nick Mathewson
2018-12-01Merge branch 'ticket27490a_squashed'Nick Mathewson
2018-12-01Add regression test for ClientAutoIPv6ORPortNeel Chauhan
2018-12-01In fascist_firewall_use_ipv6(), say we can use IPv6 if ClientAutoIPv6ORPort is 1Neel Chauhan
2018-12-01Add new option ClientAutoIPv6ORPort to switch between IPv4 and IPv6 OR portsNeel Chauhan
2018-12-01Add changes filerl1987
2018-12-01Fix coverage buildrl1987
2018-12-01tor-resolve: Rework SOCKS5 response parsing with trunnelrl1987
2018-12-01tor-resolve: Rework SOCKS5 method negotiation client part with trunnelrl1987
2018-12-01tor-resolve: parse SOCKS4a replyrl1987
2018-12-01Allow socks4_server_reply version to be 0 (for tor-resolve)rl1987