summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-05-09Merge branch 'timeouts_v2_squashed'Nick Mathewson
2016-05-09timer tests: differences in timing accuracy can be negative.Nick Mathewson
Also, use symbolic names for good-enough thresholds for timer accuracy.
2016-05-09give it a changes file tooNick Mathewson
2016-05-09Test coverage for timers.Nick Mathewson
2016-05-09Fix an OSX/clang compilation warningNick Mathewson
2016-05-09Quick-and-dirty test for timers code.Nick Mathewson
2016-05-09Add wrappers to tie the new timeouts into libevent.Nick Mathewson
2016-05-05Merge branch 'maint-0.2.8'Nick Mathewson
2016-05-05Refactor router_pick_directory_server_impl to use node functionsteor (Tim Wilson-Brown)
No behavioural change This makes the use of the node explicit in the function, rather than hiding the node lookup in fascist_firewall_allows_rs.
2016-05-05Comment-only change to clarify routerstatus_t IPv4 byte orderteor (Tim Wilson-Brown)
2016-05-05Rename skip_or and skip_dir to avoid confusionteor (Tim Wilson-Brown)
Variable rename only
2016-05-05Merge branch 'feature18483-028-v2-squashed' into maint-0.2.8Nick Mathewson
2016-05-05Only choose directory DirPorts on relaysteor (Tim Wilson-Brown)
2016-05-05Make clients only select directories with reachable ORPortsteor (Tim Wilson-Brown)
This makes sure clients will only select relays which support begindir over ORPort.
2016-05-05Make clients always use begindir for directory requeststeor (Tim Wilson-Brown)
This improves client anonymity and avoids directory header tampering. The extra load on the authorities should be offset by the fallback directories feature. This also simplifies the fixes to #18809.
2016-05-05Make directory node selection more reliableteor (Tim Wilson-Brown)
Delete an unnecessary check for non-preferred IP versions. Allows clients which can't reach any directories of their preferred IP address version to get directory documents. Patch on #17840 in 0.2.8.1-alpha.
2016-05-04Merge branch 'maint-0.2.8'Nick Mathewson
2016-05-04Merge branch 'bug18921_squashed' into maint-0.2.8Nick Mathewson
2016-05-04Choose the correct address for one-hop connectionsteor (Tim Wilson-Brown)
After #17840 in 0.2.8.1-alpha, we incorrectly chose an IPv4 address for all DIRIND_ONEHOP directory connections, even if the routerstatus didn't have an IPv4 address. This likely affected bridge clients with IPv6 bridges. Resolves #18921.
2016-05-04Merge branch 'maint-0.2.8'Nick Mathewson
2016-05-04Merge branch 'doc18312' into maint-0.2.8Nick Mathewson
2016-05-04Merge branch 'maint-0.2.8'Nick Mathewson
2016-05-04Merge branch 'bug18686_025' into maint-0.2.8Nick Mathewson
2016-05-04Report success when not terminating an already terminated process.Nick Mathewson
Also, document the actual behavior and return values of tor_terminate_process. Fixes bug18686; bugfix on 0.2.3.9-alpha.
2016-05-04Merge branch 'maint-0.2.8'Nick Mathewson
2016-05-04Merge branch 'bug18710_025' into maint-0.2.8Nick Mathewson
2016-05-04Fix dnsserv.c assertion when no supported questions are requested.Scott Dial
The problem is that "q" is always set on the first iteration even if the question is not a supported question. This set of "q" is not necessary, and will be handled after exiting the loop if there if a supported q->type was found. [Changes file by nickm] lease enter the commit message for your changes. Lines starting
2016-05-03Merge branch 'maint-0.2.8'Nick Mathewson
2016-05-03Fix keccak-tiny portability on `exotic` platforms.Yawning Angel
* SHA-3/SHAKE use little endian for certain things, so byteswap as needed. * The code was written under the assumption that unaligned access to quadwords is allowed, which isn't true particularly on non-Intel.
2016-05-02Merge branch 'maint-0.2.8'Nick Mathewson
2016-05-02(cherry-picked by nickm, with changes file from isis.)s0rlxmh0
2016-05-02Merge remote-tracking branch 'dgoulet/bug13239_029_01'Nick Mathewson
2016-05-02Merge branch 'bug18240_squashed'Nick Mathewson
2016-05-02Clean up TEST_TOR_BINARY so test-stem can have better dependenciesNick Mathewson
Fix #18240. This version of the bug first appeared in 0.2.8.2-alpha. 0.2.8.1-alpha and earlier had a different bug. Based on a patch from cypherpunks.
2016-05-02test_bt.sh: Check stderr for backtrace as well as stdout.Nick Mathewson
addresssanitizer likes to put backtraces on stderr.
2016-04-26Do not recommend use of nicknames in MapAddress manpageNick Mathewson
2016-04-26Merge branch 'maint-0.2.8'Nick Mathewson
2016-04-26Whitelist additional fallbacks after creating April 2016 listteor (Tim Wilson-Brown)
2016-04-26Report fallback directory detail changes when rebuilding listteor (Tim Wilson-Brown)
As well as the existing reports of IPv6 address additions or removals, the script now warns when keys change but IPv4:ORPort or IPv6:IPv6ORPort remain the same. Existing checks for other whitelist detail changes have also been re-worded and upgraded to warnings. This makes it easier for changes to be identified so operators can be contacted to confirm whether the change is stable.
2016-04-26Changes for #17158, #17905, #18689, #18749 & April 2016 fallbacksteor (Tim Wilson-Brown)
2016-04-26April 2016 fallbacks for 0.2.8-rcteor (Tim Wilson-Brown)
2016-04-26Add fallbacks to white/blacklist from operator responsesteor (Tim Wilson-Brown)
Also add misbehaving relays to updateFallbackDirs.py blacklist, but leave them commented out in case it's a transient issue, or it's been resolved by the download check fixes. (These relays hang stem's downloader. It's unlikely they'll ever help clients.)
2016-04-26mention 18685 in changes fileNick Mathewson
2016-04-26Merge remote-tracking branch 'yawning-schwanenleid/feature18685'Nick Mathewson
2016-04-25Remove redundant declarations of MINNick Mathewson
Apparently somewhere along the line we decided that MIN might be missing. But we already defined it (if it was missing) in compat.h, which everybody includes. Closes ticket 18889.
2016-04-20Remove trunnel files from libor/libcrypto, since they are in libtrunnel. ↵Nick Mathewson
Found with modularity tool.
2016-04-19Increase number of preemptive internal circuitsDavid Goulet
When we connect to a hidden service as a client we may need three internal circuits, one for the descriptor retrieval, introduction, and rendezvous. Let's try to make sure we have them. Closes #13239. Signed-off-by: David Goulet <dgoulet@ev0ke.net>
2016-04-19Merge branch 'handles_squashed'Nick Mathewson
2016-04-19Basic 'handle' implementation and tests.Nick Mathewson
This abstraction covers the case where one part of the program needs to refer to another object that is allowed to disappear.
2016-04-19Merge remote-tracking branch 'public/lcov_excl'Nick Mathewson