Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-01-31 | Use thread-safe types to store the LOG_PROTOCOL_WARN severity | Nick Mathewson | |
Fixes a race condition; resolves 23954. | |||
2018-01-23 | Add missing static keywords | Taylor Yu | |
crypto_openssl_header_version_str and crypto_openssl_version_str in crypto_openssl_mgt.c should be static. | |||
2018-01-23 | openssl_mutexes code belongs in openssl_mgt.c | Nick Mathewson | |
2018-01-23 | add a missing "compat_openssl.h" | Nick Mathewson | |
2018-01-23 | perhaps this was the missing include? | Nick Mathewson | |
2018-01-23 | Add a missing include for openssl 1.0.2 | Nick Mathewson | |
2018-01-23 | Merge remote-tracking branch 'mikeperry/bug24946' | Nick Mathewson | |
2018-01-23 | Merge remote-tracking branch 'asn/bug24896' | Nick Mathewson | |
2018-01-23 | Merge remote-tracking branch 'ffmancera/bug24658-openssl' | Nick Mathewson | |
2018-01-23 | Add onion service activity information to our heartbeat logs. | George Kadianakis | |
2018-01-22 | Move the openssl namespace back into .c files. | Fernando Fernandez Mancera | |
As we're trying not to have all the other modules in Tor, we moved the openssl namespace includes back into crypto.c and crypto_openssl_mgt.c files. Follows #24658. Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net> | |||
2018-01-20 | Bug 24946: Fix a warning message caused by a missed purpose check. | Mike Perry | |
Also fix three other checks (found by inspection of all CIRCUIT_PURPOSE_C_GENERAL occurrences). | |||
2018-01-19 | oxford comma for-the-win | Roger Dingledine | |
2018-01-19 | Add a "falls through" comment to make gcc happy. | Nick Mathewson | |
2018-01-19 | Merge remote-tracking branch 'mikeperry/bug23101-mergeready-squashed' | Nick Mathewson | |
2018-01-19 | Bug 23101: Pre-build HS-specific circuits (instead of general). | Mike Perry | |
Prebuilt circs are 4 hops, since only server side HSDIR and intro circs are 3 hops, and it is OK if those sometimes take longer to build. | |||
2018-01-19 | Add new circuit purposes for hsdir activity. | Mike Perry | |
This lets us control their path len and usage. | |||
2018-01-19 | Implement layer 2 and layer 3 guard pinning via torrc. | Mike Perry | |
Block circuit canibalization when HSRendezvousMiddleNodes is active. Also make it apply to all HS circuits, not just rends. | |||
2018-01-19 | Merge branch 'disable_signal_handlers' | Nick Mathewson | |
2018-01-19 | Merge branch 'maint-0.3.2' | Nick Mathewson | |
2018-01-19 | Merge branch 'bug24895_031_02' into bug24895_032_02 | David Goulet | |
2018-01-19 | Merge branch 'bug24895_029_02' into bug24895_031_02 | David Goulet | |
2018-01-19 | hs: Use hs_service_max_rdv_failures consensus param, defaulting to 2 | Roger Dingledine | |
2018-01-19 | Add crypto_openssl_mgt.[ch] for compiling dependencies. | Fernando Fernandez Mancera | |
Included crypto_openssl_mgt.[ch] into the appropiate files in order to resolve compiling and dependencies issues. Follows #24658. Signed-off-by: Fernando Fernandez Mancera <ffernandezmancera@gmail.com> | |||
2018-01-19 | Tweaks into functions and variables in crypto_openssl_mgt.[ch] | Fernando Fernandez Mancera | |
Renamed free_openssl() to crypto_openssl_free_all(). Also we made variables and functions static again. Follows #24658. Signed-off-by: Fernando Fernandez Mancera <ffernandezmancera@gmail.com> | |||
2018-01-19 | Improve documentation for signal code | Nick Mathewson | |
2018-01-19 | Merge branch 'restart_debug_squashed' | Nick Mathewson | |
2018-01-19 | Add a mostly disabled feature to debug restarting in-process | Nick Mathewson | |
For 23847, we want Tor to be able to shut down and then restart in the same process. Here's a patch to make the Tor binary do that. To test it, you need to build with --enable-restart-debugging, and then you need to set the environment variable TOR_DEBUG_RESTART. With this option, Tor will then run for 5 seconds, then restart itself in-process without exiting. This only happens once. You can change the 5-second interval using TOR_DEBUG_RESTART_AFTER_SECONDS. Implements ticket 24583. | |||
2018-01-19 | Don't call Libevent's event_base_free() on NULL. | Nick Mathewson | |
It doesn't crash, but it produces a warning. Fixes bug 24933; bugfix on 322abc030e53c7e84ca9f22a47b2965f2. Bug not in any released Tor. | |||
2018-01-19 | turn MAX_REND_FAILURES into a function | Roger Dingledine | |
no actual changes in behavior | |||
2018-01-19 | MAX_REND_FAILURES is 1, but we would try three times | Roger Dingledine | |
Fix an "off by 2" error in counting rendezvous failures on the onion service side. While we thought we would stop the rendezvous attempt after one failed circuit, we were actually making three circuit attempts before giving up. Fixes bug 24895; bugfix on 0.0.6. | |||
2018-01-18 | Rename crypto_openssl.[ch] to crypto_openssl_mgt.[ch] | Fernando Fernandez Mancera | |
Rename crypto_openssl.[ch] to crypto_openssl_mgt.[ch] because it is possible we need crypto_openssl.[ch] in the future. Follows #24658. Signed-off-by: Fernando Fernandez Mancera <ffernandezmancera@gmail.com> | |||
2018-01-18 | Merge branch 'maint-0.3.1' into maint-0.3.2 | Nick Mathewson | |
2018-01-18 | Merge branch 'maint-0.3.2' | Nick Mathewson | |
2018-01-18 | Merge branch 'bug24826_031' into maint-0.3.1 | Nick Mathewson | |
2018-01-17 | Merge branch 'bug22798_029_squashed' | Nick Mathewson | |
2018-01-17 | Merge branch 'maint-0.3.2' | Nick Mathewson | |
2018-01-17 | Merge branch 'maint-0.3.1' into maint-0.3.2 | Nick Mathewson | |
2018-01-17 | Merge branch 'maint-0.3.2' | Nick Mathewson | |
2018-01-17 | update comment; ignore argument on non-win | Nick Mathewson | |
2018-01-17 | Improve Windows performance with SIO_IDEAL_SEND_BACKLOG_QUERY. | Nick Mathewson | |
Patch written by "Vort" on trac. Addresses ticket 22798. | |||
2018-01-17 | Merge branch 'bug21074_029' | Nick Mathewson | |
2018-01-17 | Add a cast to avoid a signed/unsigned comparison | Nick Mathewson | |
2018-01-16 | Merge branch 'bug21074_029' | Nick Mathewson | |
2018-01-16 | Merge branch 'stack_em_up' | Nick Mathewson | |
2018-01-16 | Repair a crash bug in src/test/bench | Nick Mathewson | |
This was caused because of the new KeyDirectory and CacheDirectory options not being set. Bugfix on 0.3.3.0-alpha; not in any released Tor. | |||
2018-01-16 | Improve fragile-hardening performance of consensus_split_lines. | Nick Mathewson | |
For whatever reason, in my testing, using memchr() here improves performance over strchr() by a great deal. Fixes bug 24826; bugfix on 0.3.1.1-alpha. | |||
2018-01-16 | Fix a (spurious) scan-build warning in test_introduce1_validation() | Nick Mathewson | |
Since helper_create_introduce1_cell() checks "cell" for nullness, scan-build is concerned that test_introduce1_validation() dereferences it without checking it. So, add a check. Not backporting, since this is spurious, _and_ tests-only. | |||
2018-01-15 | Remove false positives from channel_is_client() | Roger Dingledine | |
Fix a set of false positives where relays would consider connections to other relays as being client-only connections (and thus e.g. deserving different link padding schemes) if those relays fell out of the consensus briefly. Now we look only at the initial handshake and whether the connection authenticated as a relay. Fixes bug 24898; bugfix on 0.3.1.1-alpha. | |||
2018-01-15 | v3 onion services now obey MAX_REND_FAILURES | Roger Dingledine | |
New-style (v3) onion services now obey the "max rendezvous circuit attempts" logic. Previously they would make as many rendezvous circuit attempts as they could fit in the MAX_REND_TIMEOUT second window before giving up. Fixes bug 24894; bugfix on 0.3.2.1-alpha. |