]>
git.ipfire.org Git - thirdparty/tor.git/log
David Goulet [Thu, 16 Feb 2023 20:25:16 +0000 (15:25 -0500)]
scripts: Bye bye 0.4.5, you have reached end of life
Signed-off-by: David Goulet <dgoulet@torproject.org>
Gabriela Moldovan [Fri, 10 Feb 2023 12:20:23 +0000 (12:20 +0000)]
metrics: Add metrics for rendezvous and introduction request failures.
This introduces a couple of new service side metrics:
* `hs_intro_rejected_intro_req_count`, which counts the number of introduction
requests rejected by the hidden service
* `hs_rdv_error_count`, which counts the number of rendezvous errors as seen by
the hidden service (this number includes the number of circuit establishment
failures, failed retries, end-to-end circuit setup failures)
Closes #40755. This partially addresses #40717.
Signed-off-by: Gabriela Moldovan <gabi@torproject.org>
David Goulet [Mon, 13 Feb 2023 15:16:13 +0000 (10:16 -0500)]
Merge branch 'maint-0.4.7'
Gabriela Moldovan [Fri, 10 Feb 2023 20:31:36 +0000 (20:31 +0000)]
metrics: Decrement hs_intro_established_count on intro circuit close.
Closes #40751.
Signed-off-by: Gabriela Moldovan <gabi@torproject.org>
Gabriela Moldovan [Fri, 10 Feb 2023 15:27:43 +0000 (15:27 +0000)]
Update `find_service` documentation.
This updates the docs to stop suggesting `pk` can be NULL, as that doesn't seem
to be the case anymore (`tor_assert(pk)`).
Signed-off-by: Gabriela Moldovan <gabi@torproject.org>
Nick Mathewson [Fri, 10 Feb 2023 13:11:39 +0000 (08:11 -0500)]
Extend blinding testvec with timeperiod test.
When I copied this to arti, I messed up and thought that the default
time period was 1440 seconds for some weird testing reason. That led
to confusion.
This commit adds a test case that time period 1440 is May 20, 1973:
now arti and c tor match!
Gabriela Moldovan [Tue, 7 Feb 2023 12:00:57 +0000 (12:00 +0000)]
Fix small typo in mainloop.c docs.
The docs should reference `tor_event_new()` rather than `tor_libevent_new()`.
Signed-off-by: Gabriela Moldovan <gabi@torproject.org>
Dimitris Apostolou [Sat, 4 Feb 2023 22:36:37 +0000 (00:36 +0200)]
Fix typos
Roger Dingledine [Mon, 30 Jan 2023 21:23:24 +0000 (16:23 -0500)]
fix trivial typos
David Goulet [Fri, 27 Jan 2023 13:47:46 +0000 (08:47 -0500)]
Merge branch 'tor-gitlab/mr/686'
David Goulet [Thu, 26 Jan 2023 18:11:22 +0000 (13:11 -0500)]
Merge branch 'maint-0.4.7'
David Goulet [Thu, 26 Jan 2023 18:11:18 +0000 (13:11 -0500)]
Merge branch 'tor-gitlab/mr/687' into maint-0.4.7
David Goulet [Wed, 25 Jan 2023 19:13:35 +0000 (14:13 -0500)]
Merge branch 'maint-0.4.7'
David Goulet [Wed, 25 Jan 2023 19:13:35 +0000 (14:13 -0500)]
Merge branch 'maint-0.4.5' into maint-0.4.7
Micah Elizabeth Scott [Wed, 18 Jan 2023 22:14:47 +0000 (14:14 -0800)]
compress_lzma: New enum values from liblzma 5.3.x
Add new liblzma enums (LZMA_SEEK_NEEDED and LZMA_RET_INTERNAL*)
conditional to the API version they arrived in. The first stable
version of liblzma this affects is 5.4.0
Fixes #40741
Signed-off-by: Micah Elizabeth Scott <beth@torproject.org>
David Goulet [Wed, 25 Jan 2023 19:10:20 +0000 (14:10 -0500)]
relay: Use the right max queue size value in log
Fixes #40745
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Wed, 25 Jan 2023 14:04:07 +0000 (09:04 -0500)]
Add a test vector for disaster SRV calculation.
Micah Elizabeth Scott [Wed, 18 Jan 2023 22:14:47 +0000 (14:14 -0800)]
compress_lzma: New enum values from liblzma 5.3.x
Add new liblzma enums (LZMA_SEEK_NEEDED and LZMA_RET_INTERNAL*)
conditional to the API version they arrived in. The first stable
version of liblzma this affects is 5.4.0
Fixes #40741
Signed-off-by: Micah Elizabeth Scott <beth@torproject.org>
Nick Mathewson [Thu, 19 Jan 2023 17:23:47 +0000 (12:23 -0500)]
Add more test-vectors for key blinding.
These are verified-as-correct against the current C implementation;
adding them here gives us something to copy into Arti.
David Goulet [Thu, 19 Jan 2023 14:38:21 +0000 (09:38 -0500)]
Fix compiler warnings about unused variables
Fixes #40743
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 19 Jan 2023 15:10:14 +0000 (10:10 -0500)]
Merge branch 'tor-gitlab/mr/683'
Nick Mathewson [Thu, 19 Jan 2023 14:06:47 +0000 (09:06 -0500)]
Add a test vector for crypto_mac_sha3
David Goulet [Thu, 19 Jan 2023 13:43:59 +0000 (08:43 -0500)]
doc: Add tpo website update to ReleasingTor.md
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 12 Jan 2023 17:11:16 +0000 (12:11 -0500)]
changelog: Update with latest releases
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 12 Jan 2023 17:09:42 +0000 (12:09 -0500)]
Merge branch 'maint-0.4.7'
Tor CI Release [Thu, 12 Jan 2023 16:26:32 +0000 (16:26 +0000)]
version: Bump version to 0.4.7.13-dev
David Goulet [Thu, 12 Jan 2023 17:09:26 +0000 (12:09 -0500)]
Merge branch 'maint-0.4.5' into maint-0.4.7
Tor CI Release [Thu, 12 Jan 2023 16:26:31 +0000 (16:26 +0000)]
version: Bump version to 0.4.5.16-dev
David Goulet [Thu, 12 Jan 2023 16:15:59 +0000 (11:15 -0500)]
Merge branch 'maint-0.4.7'
Tor CI Release [Thu, 12 Jan 2023 16:01:09 +0000 (16:01 +0000)]
version: Bump version to 0.4.7.13
David Goulet [Thu, 12 Jan 2023 16:15:43 +0000 (11:15 -0500)]
Merge branch 'maint-0.4.5' into maint-0.4.7
Tor CI Release [Thu, 12 Jan 2023 16:01:04 +0000 (16:01 +0000)]
version: Bump version to 0.4.5.16
David Goulet [Thu, 12 Jan 2023 16:07:40 +0000 (11:07 -0500)]
Merge branch 'maint-0.4.7'
David Goulet [Thu, 12 Jan 2023 16:07:39 +0000 (11:07 -0500)]
Merge branch 'maint-0.4.5' into maint-0.4.7
Tor CI Release [Thu, 12 Jan 2023 16:00:16 +0000 (16:00 +0000)]
fallbackdir: Update list generated on January 12, 2023
Tor CI Release [Thu, 12 Jan 2023 16:00:06 +0000 (16:00 +0000)]
Update geoip files to match ipfire location db, 2023/01/12.
David Goulet [Thu, 12 Jan 2023 15:52:35 +0000 (10:52 -0500)]
Merge branch 'maint-0.4.7'
David Goulet [Thu, 12 Jan 2023 15:52:35 +0000 (10:52 -0500)]
Merge branch 'maint-0.4.5' into maint-0.4.7
David Goulet [Thu, 12 Jan 2023 15:52:31 +0000 (10:52 -0500)]
Merge branch 'ticket40730_045_01' into maint-0.4.5
David Goulet [Thu, 12 Jan 2023 15:49:57 +0000 (10:49 -0500)]
Merge branch 'maint-0.4.7'
David Goulet [Thu, 12 Jan 2023 14:06:32 +0000 (09:06 -0500)]
dirauth: Reject 0.4.6.x series at the authority level
Closes #40664
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Wed, 11 Jan 2023 18:14:45 +0000 (13:14 -0500)]
Merge branch 'maint-0.4.7'
Mike Perry [Wed, 11 Jan 2023 17:32:20 +0000 (17:32 +0000)]
Coverity CID
1518991 : Tighter bounds on consensus param value.
This prevents sign extension overflow in cwnd_became_full().
David Goulet [Wed, 11 Jan 2023 14:03:29 +0000 (09:03 -0500)]
Merge branch 'maint-0.4.7'
David Goulet [Wed, 11 Jan 2023 14:03:29 +0000 (09:03 -0500)]
Merge branch 'maint-0.4.5' into maint-0.4.7
David Goulet [Wed, 11 Jan 2023 14:03:26 +0000 (09:03 -0500)]
Merge branch 'tor-gitlab/mr/538' into maint-0.4.5
David Goulet [Tue, 10 Jan 2023 20:58:28 +0000 (15:58 -0500)]
Merge branch 'maint-0.4.7'
Mike Perry [Tue, 10 Jan 2023 20:47:11 +0000 (20:47 +0000)]
Do not reset our RTT in slow start.
If a circuit only sends a tiny amount of data such that its cwnd is not
full, it won't increase its cwnd above the minimum. Since slow start circuits
should never hit the minimum otherwise, we can just ignore them for RTT reset
to handle this.
David Goulet [Tue, 10 Jan 2023 16:57:11 +0000 (11:57 -0500)]
Merge branch 'maint-0.4.7'
David Goulet [Tue, 10 Jan 2023 16:57:07 +0000 (11:57 -0500)]
Merge branch 'tor-gitlab/mr/678'
David Goulet [Tue, 10 Jan 2023 15:13:33 +0000 (10:13 -0500)]
cc: Rename function to avoid confusion
Signed-off-by: David Goulet <dgoulet@torproject.org>
Mike Perry [Wed, 14 Dec 2022 17:19:01 +0000 (17:19 +0000)]
Changes file for bug 40732
Mike Perry [Thu, 15 Dec 2022 22:03:26 +0000 (22:03 +0000)]
Safety fixes to RFC3742
Mike Perry [Wed, 21 Dec 2022 17:35:09 +0000 (17:35 +0000)]
Reduce size of congestion control next_*_event fields.
Since these are derived from the number of SENDMEs in a cwnd/cc update,
and a cwnd should not exceed ~10k, there's plenty of room in uint16_t
for them, even if the network gets significantly faster.
Mike Perry [Wed, 21 Dec 2022 01:18:28 +0000 (01:18 +0000)]
Clean up next_cc_event handling.
Mike Perry [Fri, 16 Dec 2022 21:12:50 +0000 (21:12 +0000)]
Avoid increasing the congestion window if it is not full.
Also provides some stickiness, so that once full, the congestion window is
considered still full for the rest of an update cycle, or the entire
congestion window.
In this way, we avoid increasing the congestion window if it is not fully
utilized, but we can still back off in this case. This substantially reduces
queue use in Shadow.
David Goulet [Tue, 10 Jan 2023 16:53:10 +0000 (11:53 -0500)]
Merge branch 'tor-gitlab/mr/676'
Mike Perry [Tue, 10 Jan 2023 16:18:41 +0000 (16:18 +0000)]
Merge branch 'mr-674-fixup' into main+mr-674-fixup
David Goulet [Tue, 10 Jan 2023 16:15:36 +0000 (11:15 -0500)]
Merge branch 'maint-0.4.7'
David Goulet [Tue, 10 Jan 2023 16:15:32 +0000 (11:15 -0500)]
Merge branch 'tor-gitlab/mr/675' into maint-0.4.7
David Goulet [Tue, 10 Jan 2023 15:13:33 +0000 (10:13 -0500)]
cc: Rename function to avoid confusion
Signed-off-by: David Goulet <dgoulet@torproject.org>
Mike Perry [Wed, 14 Dec 2022 17:19:01 +0000 (17:19 +0000)]
Changes file for bug 40732
Mike Perry [Thu, 15 Dec 2022 22:03:26 +0000 (22:03 +0000)]
Safety fixes to RFC3742
Mike Perry [Wed, 21 Dec 2022 17:35:09 +0000 (17:35 +0000)]
Reduce size of congestion control next_*_event fields.
Since these are derived from the number of SENDMEs in a cwnd/cc update,
and a cwnd should not exceed ~10k, there's plenty of room in uint16_t
for them, even if the network gets significantly faster.
Mike Perry [Wed, 21 Dec 2022 01:18:28 +0000 (01:18 +0000)]
Clean up next_cc_event handling.
Mike Perry [Fri, 16 Dec 2022 21:12:50 +0000 (21:12 +0000)]
Avoid increasing the congestion window if it is not full.
Also provides some stickiness, so that once full, the congestion window is
considered still full for the rest of an update cycle, or the entire
congestion window.
In this way, we avoid increasing the congestion window if it is not fully
utilized, but we can still back off in this case. This substantially reduces
queue use in Shadow.
David Goulet [Tue, 10 Jan 2023 14:24:09 +0000 (09:24 -0500)]
state: Fix segfault on malformed file
Having no TotalBuildTimes along a positive CircuitBuildAbandonedCount
count lead to a segfault. We check for that condition and then BUG + log
warn if that is the case.
It should never happened in theory but if someone modified their state
file, it can lead to this problem so instead of segfaulting, warn.
Fixes #40437
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 10 Jan 2023 14:12:20 +0000 (09:12 -0500)]
Merge branch 'maint-0.4.7'
David Goulet [Tue, 10 Jan 2023 14:11:52 +0000 (09:11 -0500)]
shellcheck: Fix new warnings
Nothing important, mostly false positive except one case.
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 10 Jan 2023 14:02:13 +0000 (09:02 -0500)]
sandbox: Allow my-consensus-* files for an authority
Fixes #40729
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 22 Dec 2022 19:03:40 +0000 (14:03 -0500)]
Merge branch 'tor-gitlab/mr/668'
Georg Koppen [Wed, 21 Dec 2022 10:43:26 +0000 (10:43 +0000)]
Add back comments about Stable/familiar decay
Closes: #40734.
David Goulet [Tue, 20 Dec 2022 14:11:30 +0000 (09:11 -0500)]
Fix duplicate code after tor-gitlab/mr/671 forward merge
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 20 Dec 2022 14:09:47 +0000 (09:09 -0500)]
Merge branch 'maint-0.4.7'
Alex Xu (Hello71) [Sat, 21 May 2022 19:21:25 +0000 (15:21 -0400)]
Enable IP_BIND_ADDRESS_NO_PORT if supported
Signed-off-by: David Goulet <dgoulet@torproject.org>
Dimitris Apostolou [Tue, 13 Dec 2022 16:46:07 +0000 (18:46 +0200)]
Fix typos
David Goulet [Wed, 14 Dec 2022 15:19:14 +0000 (10:19 -0500)]
circ: Add function to learn if queue is full
Related to #40731
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 12 Dec 2022 20:10:37 +0000 (15:10 -0500)]
Merge branch 'maint-0.4.7'
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 12 Dec 2022 20:10:06 +0000 (15:10 -0500)]
Merge branch 'tor-gitlab/mr/660'
David Goulet [Mon, 12 Dec 2022 20:07:00 +0000 (15:07 -0500)]
Merge branch 'tor-gitlab/mr/667' into maint-0.4.7
David Goulet [Mon, 12 Dec 2022 18:15:08 +0000 (13:15 -0500)]
Merge branch 'maint-0.4.7'
David Goulet [Mon, 12 Dec 2022 15:02:07 +0000 (10:02 -0500)]
socks: Make SafeSocks refuse SOCKS4 and accept SOCKS4a
The logic was inverted. Introduced in commit
9155e08450fe7a609f8223202e8aa7dfbca20a6d .
This was reported through our bug bounty program on H1. It fixes the
TROVE-2022-002.
Fixes #40730
Signed-off-by: David Goulet <dgoulet@torproject.org>
qontinuum [Tue, 29 Nov 2022 20:46:44 +0000 (21:46 +0100)]
Add issue40613
qontinuum [Tue, 29 Nov 2022 20:43:14 +0000 (21:43 +0100)]
Replace socket_failed_from_resource_exhaustion() by socket_failed_from_fd_exhaustion()
qontinuum [Tue, 29 Nov 2022 20:34:06 +0000 (21:34 +0100)]
Isolate warn_about_resource_exhaution()
David Goulet [Wed, 7 Dec 2022 13:43:41 +0000 (08:43 -0500)]
metrics: Fix typo in a label
Fixes #40727
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 6 Dec 2022 16:16:47 +0000 (11:16 -0500)]
changelog: Update it with latest releases
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 6 Dec 2022 16:14:37 +0000 (11:14 -0500)]
Merge branch 'maint-0.4.7'
David Goulet [Tue, 6 Dec 2022 16:14:32 +0000 (11:14 -0500)]
Merge branch 'maint-0.4.5' into maint-0.4.7
Tor CI Release [Tue, 6 Dec 2022 15:34:07 +0000 (15:34 +0000)]
version: Bump version to 0.4.7.12-dev
Tor CI Release [Tue, 6 Dec 2022 15:34:07 +0000 (15:34 +0000)]
version: Bump version to 0.4.5.15-dev
David Goulet [Tue, 6 Dec 2022 15:22:57 +0000 (10:22 -0500)]
Merge branch 'maint-0.4.7'
David Goulet [Tue, 6 Dec 2022 15:22:48 +0000 (10:22 -0500)]
Merge branch 'maint-0.4.5' into maint-0.4.7
Tor CI Release [Tue, 6 Dec 2022 15:05:30 +0000 (15:05 +0000)]
version: Bump version to 0.4.7.12
Tor CI Release [Tue, 6 Dec 2022 15:05:24 +0000 (15:05 +0000)]
version: Bump version to 0.4.5.15
David Goulet [Tue, 6 Dec 2022 15:10:41 +0000 (10:10 -0500)]
Merge branch 'maint-0.4.7'
David Goulet [Tue, 6 Dec 2022 15:10:41 +0000 (10:10 -0500)]
Merge branch 'maint-0.4.5' into maint-0.4.7
Tor CI Release [Tue, 6 Dec 2022 15:03:57 +0000 (15:03 +0000)]
fallbackdir: Update list generated on December 06, 2022
Tor CI Release [Tue, 6 Dec 2022 14:56:15 +0000 (14:56 +0000)]
Update geoip files to match ipfire location db, 2022/12/06.
David Goulet [Tue, 6 Dec 2022 15:00:06 +0000 (10:00 -0500)]
Merge branch 'maint-0.4.7'