]>
git.ipfire.org Git - thirdparty/tor.git/log
Mike Perry [Wed, 1 Dec 2021 23:20:17 +0000 (23:20 +0000)]
Properly compute the number or recv cells from deliver_window
Without this conversion, there is an implict 1000-recv_cells, which causes
the mod to fail if it is not a factor of 1000.
Mike Perry [Thu, 3 Feb 2022 12:01:23 +0000 (12:01 +0000)]
Use path type hint for Vegas queue parameters.
These parameters will vary depending on path length, especially for onions.
Mike Perry [Fri, 21 Jan 2022 15:17:20 +0000 (15:17 +0000)]
Set new defaults for congestion control parameters.
Defaults determined from Shadow experimentation.
More parameter functionality changes to follow.
David Goulet [Wed, 12 Jan 2022 16:49:04 +0000 (11:49 -0500)]
cc: Change edge_get_ccontrol() to look at both cpath and on_circuit
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 3 Feb 2022 12:11:42 +0000 (12:11 +0000)]
hs: Fix tests for congestion control
David Goulet [Thu, 3 Feb 2022 21:18:52 +0000 (21:18 +0000)]
hs: Setup congestion control on service rends using intro data
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 3 Feb 2022 22:44:25 +0000 (22:44 +0000)]
hs: Decode and cache the INTRODUCE cell congestion control extension
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 3 Feb 2022 21:06:28 +0000 (21:06 +0000)]
hs: Build INTRODUCE extension in the encrypted section
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 3 Feb 2022 19:37:30 +0000 (19:37 +0000)]
hs: Setup congestion control on client rends
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 3 Feb 2022 19:04:34 +0000 (19:04 +0000)]
hs: Republish onion descriptor on sendme_inc change
Republishing is necessary to ensure that clients connect using the correct
sendme_inc upon any change. Additionally, introduction points must be
re-chosen, so that cached descriptors with old values are not usable.
We do not expect to change sendme_inc, unless cell size or TLS record size
changes, so this should be rare.
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 3 Feb 2022 20:06:36 +0000 (20:06 +0000)]
hs: Decode flow-control line
This puts the flow control version (unparsed) in the descriptor. The
client doesn't use it yet.
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 4 Nov 2021 14:26:04 +0000 (10:26 -0400)]
hs: Encode flow control value in the descriptor
This simply adds the "flow-control" line, as detailed in prop324, to the
descriptor. No decoding is done at this commit.
Part of #40506
David Goulet [Thu, 3 Feb 2022 22:43:58 +0000 (22:43 +0000)]
cc: Export sendme_inc validation into public function
This is needed for client validation of server descriptor value,
before launching a rend/intro.
David Goulet [Tue, 14 Dec 2021 16:38:22 +0000 (11:38 -0500)]
cc: Use trunnel extension for ntorv3 circ parameters
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 14 Dec 2021 14:42:02 +0000 (09:42 -0500)]
trunnel: Make hs/cell_common.trunnel generic
Move it to extension.trunnel instead so that extension ABI construction
can be used in other parts of tor than just HS cells.
Specifically, we'll use it in the ntorv3 data payload and make a
congestion control parameter extension using that binary structure.
Only rename. No code behavior changes.
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 4 Nov 2021 14:20:07 +0000 (10:20 -0400)]
protover: Add function to get the value of a single type
We can now query the protover subsystem to get the current value we
support for a specific protover type.
This will be useful for prop324 onion service part which puts in the
FlowCtrl value in the service descriptor.
No behavior change.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Mike Perry [Tue, 23 Nov 2021 20:47:24 +0000 (20:47 +0000)]
Add test for congestion control negotiation logic.
Mike Perry [Tue, 23 Nov 2021 16:09:37 +0000 (16:09 +0000)]
Add test for TAP vs ntor2+ntor3 onion queue ordering
Mike Perry [Tue, 16 Nov 2021 22:01:54 +0000 (22:01 +0000)]
Add hidden torrc option to always try CC negotiation.
This is for public network testing and for sbws. Should not otherwise be used,
hence it is an undocumented __option.
The option deliberately does not allow force-disabling congestion control, as
this is bad for queueing and fairness.
Mike Perry [Fri, 5 Nov 2021 20:50:39 +0000 (20:50 +0000)]
Handle other places that use onion handshake type values
We want ntor and ntorv3 to use the same queues and stats.
Mike Perry [Thu, 4 Nov 2021 19:57:57 +0000 (19:57 +0000)]
Extend info argument updates for non-ntorv3 cases
Mike Perry [Thu, 4 Nov 2021 00:47:42 +0000 (00:47 +0000)]
Congestion control usage of negotiated params
Mike Perry [Thu, 4 Nov 2021 00:47:19 +0000 (00:47 +0000)]
Protover flag handling for congestion control negotiation
Mike Perry [Thu, 4 Nov 2021 00:46:11 +0000 (00:46 +0000)]
Hook up client usage of congestion control negotiation
Mike Perry [Thu, 4 Nov 2021 00:44:38 +0000 (00:44 +0000)]
Implement congestion control parameter negotiation
Mike Perry [Thu, 4 Nov 2021 00:01:33 +0000 (00:01 +0000)]
Add circuit param payload definitions to trunnel
Nick Mathewson [Tue, 14 Sep 2021 21:23:31 +0000 (17:23 -0400)]
Convert TODO into TODO-324 for better visibility.
Nick Mathewson [Tue, 14 Sep 2021 21:13:05 +0000 (17:13 -0400)]
Add stub argument for constructing congestion_control_t
Nick Mathewson [Tue, 14 Sep 2021 21:06:30 +0000 (17:06 -0400)]
Negotiated circuit parameters must pass from worker.
Nick Mathewson [Tue, 14 Sep 2021 20:31:48 +0000 (16:31 -0400)]
Use protover to signal support for ntor3 + congestion control.
Nick Mathewson [Tue, 14 Sep 2021 19:01:45 +0000 (15:01 -0400)]
Implement core of ntor3 negotiation.
There are a lot of TODOs about what to send, whom to send it to, and
etc.
Nick Mathewson [Tue, 14 Sep 2021 19:15:30 +0000 (15:15 -0400)]
Add an exported struct to onion handshakes for circuits params
THis will eventually hold the congestion control parameters that we
negotiated, plus whatever else is relevant.
Nick Mathewson [Tue, 14 Sep 2021 18:19:22 +0000 (14:19 -0400)]
Add a size argument for the buffer on onion handshake functions
David Goulet [Wed, 16 Feb 2022 18:59:37 +0000 (13:59 -0500)]
Merge branch 'tor-gitlab/mr/531'
David Goulet [Mon, 14 Feb 2022 18:40:45 +0000 (13:40 -0500)]
dirauth: Reject EOL 0.3.5.x relays
Closes #40559
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 14 Feb 2022 18:20:53 +0000 (13:20 -0500)]
dns: Do not trigger overload general on DNS timeout
This was missed in #40527 when the DNS timeout overload general signal
was removed.
Closes #40564
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Wed, 9 Feb 2022 15:36:26 +0000 (10:36 -0500)]
Merge branch 'tor-gitlab/mr/518'
David Goulet [Tue, 8 Feb 2022 14:31:17 +0000 (09:31 -0500)]
kist: Don't try to flush empty outbuf
It is possible that a scheduled channel ended up with 0 bytes in its
outbuf after the scheduling loop and having an outbuf table entry
indicating that we need to flush bytes on the wire after the loop.
This lead to attempt to write 0 bytes up to the TLS layer that would
prevent such action.
All in all, this fixes wasted CPU cycles on attempting to flush nothing.
Fixes #40548
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 8 Feb 2022 14:30:50 +0000 (09:30 -0500)]
nss: Don't write empty payload on the wire
Part of #40548
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Mon, 7 Feb 2022 16:37:50 +0000 (11:37 -0500)]
Add a changes file for exit notice redesign (40529)
Nick Mathewson [Mon, 7 Feb 2022 16:35:12 +0000 (11:35 -0500)]
Merge remote-tracking branch 'tor-gitlab/mr/522'
David Goulet [Mon, 7 Feb 2022 15:07:33 +0000 (10:07 -0500)]
makefile: New README.md file name
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 7 Feb 2022 14:45:27 +0000 (09:45 -0500)]
readme: Update and modernize with markdown
Signed-off-by: David Goulet <dgoulet@torproject.org>
n_user [Sun, 6 Feb 2022 21:20:22 +0000 (21:20 +0000)]
Use more stable Web Archive links
David Goulet [Fri, 4 Feb 2022 18:00:56 +0000 (13:00 -0500)]
Remove unmaintained versions from CI and scripts
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Fri, 4 Feb 2022 17:54:42 +0000 (12:54 -0500)]
changelog: Forward port 0.4.5 and 0.4.6 ChangeLogs
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Fri, 4 Feb 2022 17:36:40 +0000 (12:36 -0500)]
Merge branch 'maint-0.4.6'
Tor CI Release [Fri, 4 Feb 2022 16:29:20 +0000 (16:29 +0000)]
version: Bump version to 0.4.6.10-dev
David Goulet [Fri, 4 Feb 2022 17:36:19 +0000 (12:36 -0500)]
Merge branch 'maint-0.4.5' into maint-0.4.6
Tor CI Release [Fri, 4 Feb 2022 16:29:20 +0000 (16:29 +0000)]
version: Bump version to 0.4.5.12-dev
David Goulet [Fri, 4 Feb 2022 16:10:17 +0000 (11:10 -0500)]
Merge branch 'maint-0.4.6'
Tor CI Release [Fri, 4 Feb 2022 16:00:39 +0000 (16:00 +0000)]
version: Bump version to 0.4.6.10
David Goulet [Fri, 4 Feb 2022 16:09:38 +0000 (11:09 -0500)]
Merge branch 'maint-0.4.5' into maint-0.4.6
Tor CI Release [Fri, 4 Feb 2022 16:00:33 +0000 (16:00 +0000)]
version: Bump version to 0.4.5.12
David Goulet [Fri, 4 Feb 2022 16:07:34 +0000 (11:07 -0500)]
Merge branch 'maint-0.4.6'
David Goulet [Fri, 4 Feb 2022 16:07:34 +0000 (11:07 -0500)]
Merge branch 'maint-0.4.5' into maint-0.4.6
Tor CI Release [Fri, 4 Feb 2022 15:49:03 +0000 (15:49 +0000)]
fallbackdir: Update list generated on February 04, 2022
Tor CI Release [Fri, 4 Feb 2022 15:46:27 +0000 (15:46 +0000)]
Update geoip files to match ipfire location db, 2022/02/04.
David Goulet [Fri, 4 Feb 2022 15:56:33 +0000 (10:56 -0500)]
Merge branch 'maint-0.4.6'
David Goulet [Fri, 4 Feb 2022 15:56:33 +0000 (10:56 -0500)]
Merge branch 'maint-0.4.5' into maint-0.4.6
Tor CI Release [Wed, 15 Dec 2021 16:17:47 +0000 (16:17 +0000)]
Update geoip files to match ipfire location db, 2021/12/15.
David Goulet [Fri, 4 Feb 2022 15:18:26 +0000 (10:18 -0500)]
Merge branch 'maint-0.4.6'
David Goulet [Fri, 4 Feb 2022 15:18:25 +0000 (10:18 -0500)]
Merge branch 'maint-0.4.5' into maint-0.4.6
Tor CI Release [Wed, 15 Dec 2021 16:29:45 +0000 (16:29 +0000)]
fallbackdir: Update list generated on December 15, 2021
n_user [Thu, 3 Feb 2022 14:34:31 +0000 (14:34 +0000)]
Update unstable links to use Web Archive
David Goulet [Thu, 3 Feb 2022 13:31:49 +0000 (08:31 -0500)]
changes: Remove uneeded file due to empty merge forward
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 3 Feb 2022 13:30:59 +0000 (08:30 -0500)]
Merge branch 'maint-0.4.6'
David Goulet [Thu, 3 Feb 2022 13:30:40 +0000 (08:30 -0500)]
Merge branch 'maint-0.4.5' into maint-0.4.6
David Goulet [Wed, 2 Feb 2022 18:51:22 +0000 (13:51 -0500)]
hs: Double quote the metrics label value
Fixes #40552
Signed-off-by: David Goulet <dgoulet@torproject.org>
n_user [Wed, 2 Feb 2022 00:33:22 +0000 (00:33 +0000)]
Redesign tor-exit-notice
Alexander Færøy [Tue, 25 Jan 2022 21:53:30 +0000 (21:53 +0000)]
Merge remote-tracking branch 'tor-gitlab/mr/506' into main
Alexander Færøy [Tue, 25 Jan 2022 21:52:31 +0000 (21:52 +0000)]
Merge remote-tracking branch 'tor-gitlab/mr/507' into main
Alexander Færøy [Tue, 25 Jan 2022 21:42:44 +0000 (21:42 +0000)]
Merge remote-tracking branch 'tor-gitlab/mr/513' into main
David Goulet [Mon, 24 Jan 2022 18:18:39 +0000 (13:18 -0500)]
doc: More clarification of the release process steps
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Mon, 24 Jan 2022 16:51:08 +0000 (11:51 -0500)]
Try to clarify maint vs release issues on ReleasingTor.md
I've tried to clarify what happens on "maint" vs what happens on
"release". I'm not sure I've got it right wrt the patches generated
by the scripts, though, so please review carefully and second-guess
everything I'm saying here. :)
David Goulet [Mon, 24 Jan 2022 15:49:41 +0000 (10:49 -0500)]
Merge branch 'maint-0.4.5' into maint-0.4.6
David Goulet [Mon, 24 Jan 2022 15:49:41 +0000 (10:49 -0500)]
Merge branch 'maint-0.4.6'
David Goulet [Mon, 24 Jan 2022 15:49:32 +0000 (10:49 -0500)]
Merge branch 'maint-0.3.5' into maint-0.4.5
David Goulet [Mon, 24 Jan 2022 15:47:29 +0000 (10:47 -0500)]
version: Bump version to 0.3.5.18
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 24 Jan 2022 15:35:02 +0000 (10:35 -0500)]
fallbackdir: Update list generated on January 24, 2022
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 24 Jan 2022 15:31:43 +0000 (10:31 -0500)]
geoip: Update to match ipfire location db, 2022/01/24.
Signed-off-by: David Goulet <dgoulet@torproject.org>
pseudonymisaTor [Sun, 23 Jan 2022 09:24:28 +0000 (09:24 +0000)]
conn: add ClientHello Padding TLS extension
Nick Mathewson [Thu, 20 Jan 2022 19:46:38 +0000 (14:46 -0500)]
Use an alternative solution to the warning in trace_probes_cc.c
Nick Mathewson [Thu, 20 Jan 2022 19:22:00 +0000 (14:22 -0500)]
Resolve typedef conflict from congestion_control_t
Resumes being able to build on old / esoteric gcc versions.
Fixes bug 40550; bugfix on 0.4.7.1-alpha.
David Goulet [Wed, 19 Jan 2022 18:02:33 +0000 (13:02 -0500)]
relay: Fix memory leak on BUG() code path
Introduced in
bf10206e9e23ac0ded2cc9727666696ea25d5636 which is not
released yet thus no changes file.
Found by Coverity with cid #
1495786 .
Fixes #40532
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Wed, 19 Jan 2022 18:56:43 +0000 (13:56 -0500)]
Merge branch 'maint-0.4.5' into maint-0.4.6
David Goulet [Wed, 19 Jan 2022 18:56:43 +0000 (13:56 -0500)]
Merge branch 'maint-0.4.6'
David Goulet [Wed, 19 Jan 2022 18:36:23 +0000 (13:36 -0500)]
test: Remove HSv2 protover specific test
HSv2 is not advertised as a supported protocol version anymore.
This was introduced with the merge-forward of commit
72041c63064b461e
which didn't fix the unit test.
Fixes #40549
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 18 Jan 2022 18:15:38 +0000 (13:15 -0500)]
Merge branch 'maint-0.4.5' into maint-0.4.6
David Goulet [Tue, 18 Jan 2022 18:15:38 +0000 (13:15 -0500)]
Merge branch 'maint-0.4.6'
David Goulet [Tue, 18 Jan 2022 18:15:38 +0000 (13:15 -0500)]
Merge branch 'maint-0.3.5' into maint-0.4.5
David Goulet [Tue, 18 Jan 2022 18:15:33 +0000 (13:15 -0500)]
Merge branch 'tor-gitlab/mr/511' into maint-0.3.5
David Goulet [Tue, 18 Jan 2022 18:15:29 +0000 (13:15 -0500)]
Merge branch 'maint-0.4.5' into maint-0.4.6
David Goulet [Tue, 18 Jan 2022 18:15:29 +0000 (13:15 -0500)]
Merge branch 'maint-0.4.6'
David Goulet [Tue, 18 Jan 2022 18:15:29 +0000 (13:15 -0500)]
Merge branch 'maint-0.3.5' into maint-0.4.5
David Goulet [Tue, 18 Jan 2022 18:15:23 +0000 (13:15 -0500)]
Merge branch 'tor-gitlab/mr/510' into maint-0.3.5
David Goulet [Tue, 18 Jan 2022 18:12:35 +0000 (13:12 -0500)]
Merge branch 'maint-0.4.5' into maint-0.4.6
David Goulet [Tue, 18 Jan 2022 18:12:35 +0000 (13:12 -0500)]
Merge branch 'maint-0.4.6'
David Goulet [Tue, 18 Jan 2022 18:12:13 +0000 (13:12 -0500)]
Merge branch 'maint-0.3.5' into maint-0.4.5
Jérôme Charaoui [Mon, 10 Jan 2022 15:16:24 +0000 (15:16 +0000)]
Update new relay blogpost URL
This removes the '/blog/' URL component which relies on a
redirection since the blog has been migrated to Lektor