Tor CI Release
89d1db6ad9
version: Bump version to 0.4.7.13
2023-01-12 11:15:53 -05:00
David Goulet
7441fee3e7
Merge branch 'maint-0.4.5' into maint-0.4.7
2023-01-12 11:15:43 -05:00
Tor CI Release
5a085a8f0f
version: Bump version to 0.4.5.16
2023-01-12 11:15:23 -05:00
David Goulet
d9821bdea5
Merge branch 'maint-0.4.7'
2023-01-12 11:07:40 -05:00
David Goulet
64cebf4e1b
Merge branch 'maint-0.4.5' into maint-0.4.7
2023-01-12 11:07:39 -05:00
Tor CI Release
64c0a9fa74
fallbackdir: Update list generated on January 12, 2023
2023-01-12 11:07:33 -05:00
Tor CI Release
049d0818c6
Update geoip files to match ipfire location db, 2023/01/12.
2023-01-12 11:07:23 -05:00
David Goulet
610b791aa6
Merge branch 'maint-0.4.7'
2023-01-12 10:52:35 -05:00
David Goulet
0df4083299
Merge branch 'maint-0.4.5' into maint-0.4.7
2023-01-12 10:52:35 -05:00
David Goulet
7b83e336ec
Merge branch 'ticket40730_045_01' into maint-0.4.5
2023-01-12 10:52:31 -05:00
David Goulet
637213fce3
Merge branch 'maint-0.4.7'
2023-01-12 10:49:57 -05:00
David Goulet
f2e9ce72d6
dirauth: Reject 0.4.6.x series at the authority level
...
Closes #40664
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-01-12 09:07:52 -05:00
David Goulet
754dbcd6d3
Merge branch 'maint-0.4.7'
2023-01-11 13:14:45 -05:00
Mike Perry
c6ef04e0d0
Coverity CID 1518991: Tighter bounds on consensus param value.
...
This prevents sign extension overflow in cwnd_became_full().
2023-01-11 17:32:20 +00:00
David Goulet
b38630ca56
Merge branch 'maint-0.4.7'
2023-01-11 09:03:29 -05:00
David Goulet
b9c7825f0e
Merge branch 'maint-0.4.5' into maint-0.4.7
2023-01-11 09:03:29 -05:00
David Goulet
85547a9b5b
Merge branch 'tor-gitlab/mr/538' into maint-0.4.5
2023-01-11 09:03:26 -05:00
David Goulet
5d6e0b8e13
Merge branch 'maint-0.4.7'
2023-01-10 15:58:28 -05:00
Mike Perry
482cde5931
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.
2023-01-10 20:47:11 +00:00
David Goulet
33657037a1
Merge branch 'maint-0.4.7'
2023-01-10 11:57:11 -05:00
David Goulet
d6cf3ca5c1
Merge branch 'tor-gitlab/mr/678'
2023-01-10 11:57:07 -05:00
David Goulet
c50496036b
cc: Rename function to avoid confusion
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-01-10 11:56:21 -05:00
Mike Perry
894ddb837c
Changes file for bug 40732
2023-01-10 11:56:21 -05:00
Mike Perry
5ddd3a9069
Safety fixes to RFC3742
2023-01-10 11:56:21 -05:00
Mike Perry
a9a27ffa3a
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.
2023-01-10 11:56:21 -05:00
Mike Perry
f4499bb5e2
Clean up next_cc_event handling.
2023-01-10 11:56:21 -05:00
Mike Perry
48de1a392e
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.
2023-01-10 11:56:21 -05:00
David Goulet
c420667a2e
Merge branch 'tor-gitlab/mr/676'
2023-01-10 11:53:10 -05:00
Mike Perry
8c017e9cff
Merge branch 'mr-674-fixup' into main+mr-674-fixup
2023-01-10 16:18:41 +00:00
David Goulet
ce7476cb59
Merge branch 'maint-0.4.7'
2023-01-10 11:15:36 -05:00
David Goulet
35e221688b
Merge branch 'tor-gitlab/mr/675' into maint-0.4.7
2023-01-10 11:15:32 -05:00
David Goulet
fd86420d96
cc: Rename function to avoid confusion
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-01-10 15:46:03 +00:00
Mike Perry
5745370666
Changes file for bug 40732
2023-01-10 15:46:03 +00:00
Mike Perry
90e67f34a7
Safety fixes to RFC3742
2023-01-10 15:46:03 +00:00
Mike Perry
b7759403bf
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.
2023-01-10 15:46:03 +00:00
Mike Perry
967ae3ab0e
Clean up next_cc_event handling.
2023-01-10 15:46:03 +00:00
Mike Perry
7a06763b22
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.
2023-01-10 15:46:03 +00:00
David Goulet
4db610d6d9
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>
2023-01-10 09:25:50 -05:00
David Goulet
7e055c383c
Merge branch 'maint-0.4.7'
2023-01-10 09:12:20 -05:00
David Goulet
d456885dac
shellcheck: Fix new warnings
...
Nothing important, mostly false positive except one case.
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-01-10 09:11:58 -05:00
David Goulet
726e9ec0a3
sandbox: Allow my-consensus-* files for an authority
...
Fixes #40729
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-01-10 09:02:13 -05:00
David Goulet
1e6d839ce9
Merge branch 'tor-gitlab/mr/668'
2022-12-22 14:03:40 -05:00
Georg Koppen
5ba2bf2551
Add back comments about Stable/familiar decay
...
Closes : #40734 .
2022-12-21 10:43:26 +00:00
David Goulet
923463a1e6
Fix duplicate code after tor-gitlab/mr/671 forward merge
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-12-20 09:11:30 -05:00
David Goulet
713efae94b
Merge branch 'maint-0.4.7'
2022-12-20 09:09:47 -05:00
Alex Xu (Hello71)
1d9166c8c9
Enable IP_BIND_ADDRESS_NO_PORT if supported
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-12-20 09:09:33 -05:00
Dimitris Apostolou
1da9dec348
Fix typos
2022-12-16 08:09:04 +02:00
David Goulet
cfdc9f9d29
circ: Add function to learn if queue is full
...
Related to #40731
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-12-14 10:19:14 -05:00
David Goulet
f0f32c1734
Merge branch 'maint-0.4.7'
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-12-12 15:10:37 -05:00
David Goulet
03ddeb9539
Merge branch 'tor-gitlab/mr/660'
2022-12-12 15:10:06 -05:00