summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-09-17Bump version to 0.4.7.1-alphaDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-08-31Merge branch 'tor-gitlab/mr/424'David Goulet
2021-08-26Add spaces between the "and" when logging the "Your server has not managed ↵Neel Chauhan
to confirm reachability for its" on dual-stack relays
2021-08-26Add reference implementation for ntor v3.Nick Mathewson
2021-08-26Initial backend for an ntor-v3 implementation.Nick Mathewson
This code is based directly on the specification, without looking at the reference implementation or the implementation in Arti. Nonetheless, it is now passing with the test vectors generated by the reference implementation.
2021-08-18Merge remote-tracking branch 'tor-gitlab/mr/420'Nick Mathewson
2021-08-17dir: Do not flag non-running failing HSDirDavid Goulet
When a directory request fails, we flag the relay as non Running so we don't use it anymore. This can be problematic with onion services because there are cases where a tor instance could have a lot of services, ephemeral ones, and keeps failing to upload descriptors, let say due to a bad network, and thus flag a lot of nodes as non Running which then in turn can not be used for circuit building. This commit makes it that we never flag nodes as non Running on a onion service directory request (upload or fetch) failure as to keep the hashring intact and not affect other parts of tor. Fortunately, the onion service hashring is _not_ selected by looking at the Running flag but since we do a 3-hop circuit to the HSDir, other services on the same instance can influence each other by removing nodes from the consensus for path selection. This was made apparent with a small network that ran out of nodes to used due to rapid succession of onion services uploading and failing. See #40434 for details. Fixes #40434 Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-08-16Merge branch 'maint-0.4.6' into mainAlexander Færøy
2021-08-16Merge branch 'maint-0.4.5' into maint-0.4.6Alexander Færøy
2021-08-16Always teardown capture of logs in CAPTURE().Alexander Færøy
This will hopefully solve an issue where our gmtime related tests are failing on 32-bit builds.
2021-08-16Merge branch 'maint-0.4.6'Nick Mathewson
2021-08-16Merge branch 'maint-0.4.5' into maint-0.4.6Nick Mathewson
2021-08-16Disable message checking for some 32-bit tests about timegm failure.Nick Mathewson
Since we merged 40383, we don't expect these to give the same warning on every platform.
2021-08-16Make the version 0.4.6.7, not 0.4.6.7-dev.Nick Mathewson
2021-08-16Make the version 0.4.5.10, not 0.4.5.10-dev.Nick Mathewson
2021-08-13Update version to 0.4.5.10David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-08-13Update version to 0.4.6.7David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-08-12Merge branch 'maint-0.4.6'David Goulet
2021-08-12Merge branch 'maint-0.4.5' into maint-0.4.6David Goulet
2021-08-12Merge branch 'maint-0.3.5' into maint-0.4.5David Goulet
2021-08-12Update GeoIP files to match IPFire location DB as per 2021/08/12.Alexander Færøy
2021-08-11Merge branch 'maint-0.4.6' into mainAlexander Færøy
2021-08-11Merge branch 'maint-0.4.5' into maint-0.4.6Alexander Færøy
2021-08-11Merge branch 'maint-0.3.5' into maint-0.4.5Alexander Færøy
2021-08-11Merge remote-tracking branch 'tor-gitlab/mr/417' into maint-0.3.5Alexander Færøy
2021-08-11Merge branch 'maint-0.4.6' into mainAlexander Færøy
2021-08-11Merge branch 'maint-0.4.5' into maint-0.4.6Alexander Færøy
2021-08-11Merge branch 'maint-0.3.5' into maint-0.4.5Alexander Færøy
2021-08-11Disable ed25519-donna's batch verification.George Kadianakis
Fixes bug 40078. As reported by hdevalence our batch verification logic can cause an assert crash. The assert happens because when the batch verification of ed25519-donna fails, the code in `ed25519_checksig_batch()` falls back to doing a single verification for each signature. The crash occurs because batch verification failed, but then all signatures individually verified just fine. That's because batch verification and single verification use a different equation which means that there are sigs that can pass single verification but fail batch verification. Fixing this would require modding ed25519-donna which is not in scope for this ticket, and will be soon deprecated in favor of arti and ed25519-dalek, so my branch instead removes batch verification.
2021-08-11fallbackdir: Regenerate listDavid Goulet
New list for all stable releases. Closes #40447 Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-08-11relay: Reduce streaming compression ratio from HIGH to LOWDavid Goulet
Fixes #40301 Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-08-11relay: Reduce streaming compression ratio from HIGH to LOWDavid Goulet
Fixes #40301 Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-07-30Make inbuf and outbuf len check params constMike Perry
2021-07-30MAKEFILE: include new CC algs in makefileMike Perry
2021-07-30TOR_NOLA: Implement a pure BDP tracking CC algMike Perry
How come no one ever named a congestion control algorithm after New Orleans?
2021-07-30TOR_VEGAS: Implement Prop#324 TOR_VEGAS.Mike Perry
2021-07-30TOR_WESTWOOD: Implement Prop#324 TOR_WESTWOODMike Perry
2021-07-30Prop#324: Free congestion control object on circ and cpathMike Perry
2021-07-30Prop#324: Hook up CC window checks for relay cell packagingMike Perry
2021-07-30Prop#324: Hook up CC algs to main sendme callpointsMike Perry
2021-07-30Prop#324: Add congestion control state to structsMike Perry
2021-07-30Prop#324: Common RTT, BDP, and blocked channel signal supportMike Perry
2021-07-28Merge branch 'vanguards-lite-dev-rebased'George Kadianakis
2021-07-22circpad: Be smarter on when to send back STOP cells.George Kadianakis
2021-07-20Increase frequency of vg-lite callback to 15 minutesGeorge Kadianakis
2021-07-12Remove some needless includesNick Mathewson
2021-07-12Remove fuzz_hexdigest.c: It is already covered by other fuzzersNick Mathewson
2021-07-12Merge remote-tracking branch 'tor-gitlab/mr/407'Nick Mathewson
2021-07-12test_hs_ob: initialize pointers to NULLNick Mathewson
This is an attempt to fix CID 1486280, where coverity warns us that, if the tests failed, we might free() an uninitialized pointer.
2021-07-12test_hs_control: initialize pointers to NULLNick Mathewson
This is an attempt to fix CID 1486276, where coverity warns us that, if the tests failed, we might free() an uninitialized pointer.