]>
git.ipfire.org Git - thirdparty/tor.git/log
David Goulet [Mon, 4 Oct 2021 14:40:18 +0000 (10:40 -0400)]
changes: Add file for ticket 40450 (prop324)
Closes #40450
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 4 Oct 2021 14:32:59 +0000 (10:32 -0400)]
cc: Add comments and clean up some syntax
Signed-off-by: David Goulet <dgoulet@torproject.org>
Mike Perry [Wed, 29 Sep 2021 02:12:56 +0000 (02:12 +0000)]
Turn cell queue watermark limits into consensus params.
This allows us to have quicker reaction to blocked orconns as
a congestion signal.
Mike Perry [Tue, 28 Sep 2021 15:17:34 +0000 (15:17 +0000)]
Add a max cwnd consensus parameter and clamp.
Mike Perry [Tue, 28 Sep 2021 21:19:27 +0000 (21:19 +0000)]
Turn orconn watermarks into consensus parameters.
Tuning these may reduce memory usage and latency.
Mike Perry [Tue, 28 Sep 2021 17:44:33 +0000 (17:44 +0000)]
Turn CircEWMA tick len into consensus parameter.
This will assist tuning of CircEWMA in Shadow and Live.
Mike Perry [Thu, 23 Sep 2021 19:36:11 +0000 (19:36 +0000)]
Support time-based half-closed connection handling.
Since we no longer use stream SENDMEs for congestion control, we must now use
time to decide when data should stop arriving on a half-closed stream.
David Goulet [Thu, 9 Sep 2021 14:32:55 +0000 (10:32 -0400)]
oom: Consider edge connections as well
Signed-off-by: David Goulet <dgoulet@torproject.org>
Mike Perry [Tue, 10 Aug 2021 21:20:28 +0000 (21:20 +0000)]
MAKEFILE: Add flow control files to makefile
Mike Perry [Tue, 10 Aug 2021 21:35:46 +0000 (21:35 +0000)]
Prop#324: Hook up flow control
Mike Perry [Tue, 28 Sep 2021 22:28:26 +0000 (22:28 +0000)]
Prop#324: Stream flow control functions
David Goulet [Tue, 28 Sep 2021 22:37:25 +0000 (22:37 +0000)]
trace: Add congestion control BDP update tracepoints
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 28 Sep 2021 22:27:51 +0000 (22:27 +0000)]
Add lttng trace support.
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 28 Sep 2021 22:23:32 +0000 (22:23 +0000)]
Support rate limiting of edge connections reads.
We only need to rate limit reading on edges for flow control, as per the rate
that comes in the XON from the other side. When we rate limit reading from the
edge source to this rate, we will only deliver that fast to the other side,
thus satisfying its rate request.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Mike Perry [Tue, 10 Aug 2021 21:35:22 +0000 (21:35 +0000)]
Prop#324: Add fields to edge connection.
Mike Perry [Sat, 21 Aug 2021 00:02:30 +0000 (00:02 +0000)]
Export the n_ewma function for flow control use.
Mike Perry [Fri, 20 Aug 2021 15:44:16 +0000 (15:44 +0000)]
Export a global notion of monotime clock stall/jump.
Monotime clock functionality is a global property, and flow control
also needs to know if it can trust the clock.
Mike Perry [Fri, 6 Aug 2021 18:47:05 +0000 (18:47 +0000)]
Add trunnel definitions for xon/xoff cells.
Roger Dingledine [Fri, 17 Sep 2021 15:01:37 +0000 (11:01 -0400)]
one more pass over the changelog
Nick Mathewson [Fri, 17 Sep 2021 14:50:40 +0000 (10:50 -0400)]
Run format_changelog.
Nick Mathewson [Fri, 17 Sep 2021 14:50:23 +0000 (10:50 -0400)]
Edit changelog with a few grammar and simplicity fixes.
David Goulet [Fri, 17 Sep 2021 13:32:57 +0000 (09:32 -0400)]
Bump version to 0.4.7.1-alpha
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Fri, 17 Sep 2021 13:20:00 +0000 (09:20 -0400)]
changelog: ChangeLog for 0.4.7.1-alpha release
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Thu, 16 Sep 2021 12:53:28 +0000 (08:53 -0400)]
Merge remote-tracking branches 'tor-gitlab/mr/439' and 'tor-gitlab/mr/441'
skaluzka [Wed, 15 Sep 2021 17:16:07 +0000 (19:16 +0200)]
Update Tor's man 1 page
Add few missing periods, convert tabs to spaces.
No new significant content added.
Signed-off-by: skaluzka <skaluzka@protonmail.com>
Neel Chauhan [Tue, 14 Sep 2021 18:10:11 +0000 (11:10 -0700)]
tor.1 man page: Add mention of fingerprint-
ed25519 , and clarify differences
David Goulet [Mon, 13 Sep 2021 17:34:48 +0000 (13:34 -0400)]
Merge branch 'maint-0.4.6'
David Goulet [Mon, 13 Sep 2021 17:34:48 +0000 (13:34 -0400)]
Merge branch 'maint-0.4.5' into maint-0.4.6
David Goulet [Mon, 13 Sep 2021 17:34:44 +0000 (13:34 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.5
Alexander Færøy [Thu, 4 Feb 2021 23:11:11 +0000 (23:11 +0000)]
Only check for bindable ports if we are unsure if it will fail.
We currently assume that the only way for Tor to listen on ports in the
privileged port range (1 to 1023), on Linux, is if we are granted the
NET_BIND_SERVICE capability. Today on Linux, it's possible to specify
the beginning of the unprivileged port range using a sysctl
configuration option. Docker (and thus the CI service Tor uses) recently
changed this sysctl value to 0, which causes our tests to fail as they
assume that we should NOT be able to bind to a privileged port *without*
the NET_BIND_SERVICE capability.
In this patch, we read the value of the sysctl value via the /proc/sys/
filesystem iff it's present, otherwise we assume the default
unprivileged port range begins at port 1024.
See: tor#40275
Alexander Færøy [Mon, 16 Aug 2021 13:52:58 +0000 (13:52 +0000)]
Use Debian bullseye for our hardened build.
Alexander Færøy [Mon, 13 Sep 2021 16:05:58 +0000 (18:05 +0200)]
Force amd64 for CI builds.
skaluzka [Wed, 8 Sep 2021 20:25:47 +0000 (22:25 +0200)]
Clear asciidoc-helper.sh syntax
Remove all unnecessary ";" characters at the end of several lines.
Align all indentations to 4 spaces.
Update console messages related to XML_CATALOG_FILES and
.bashrc file.
Signed-off-by: skaluzka <skaluzka@protonmail.com>
skaluzka [Tue, 7 Sep 2021 21:44:44 +0000 (23:44 +0200)]
Align and fix indentations in several maint scripts
Use 4 spaces indentations, convert tabs to spaces.
No real code changes.
Nick Mathewson [Tue, 7 Sep 2021 11:51:07 +0000 (07:51 -0400)]
Merge remote-tracking branch 'tor-gitlab/mr/426'
David Goulet [Tue, 31 Aug 2021 15:08:18 +0000 (11:08 -0400)]
Merge branch 'tor-gitlab/mr/424'
skaluzka [Sun, 29 Aug 2021 20:10:44 +0000 (22:10 +0200)]
Improve fname_is_c func in pratracker/includes.py
Use tuples for bname.startswith and fname.endswith in "fname_is_c"
function.
Neel Chauhan [Thu, 26 Aug 2021 20:38:48 +0000 (13:38 -0700)]
Add spaces between the "and" when logging the "Your server has not managed to confirm reachability for its" on dual-stack relays
Nick Mathewson [Thu, 26 Aug 2021 16:07:09 +0000 (12:07 -0400)]
Add reference implementation for ntor v3.
Nick Mathewson [Wed, 25 Aug 2021 14:40:33 +0000 (10:40 -0400)]
Initial backend for an ntor-v3 implementation.
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.
Nick Mathewson [Thu, 26 Aug 2021 15:20:53 +0000 (11:20 -0400)]
Remove changes files that have already been in changelogs for 0.4.6
skaluzka [Sun, 22 Aug 2021 18:36:36 +0000 (20:36 +0200)]
Correct syntax & formatting in test_pratracker.sh
Use 4 spaces for indentations.
Use the same syntax for all functions.
No real code changes (except removal of unnecessary ";" from
"exit 1" command).
Nick Mathewson [Wed, 18 Aug 2021 12:43:31 +0000 (08:43 -0400)]
Merge remote-tracking branch 'tor-gitlab/mr/420'
Nick Mathewson [Wed, 18 Aug 2021 12:39:50 +0000 (08:39 -0400)]
Merge remote-tracking branch 'tor-gitlab/mr/419'
David Goulet [Tue, 17 Aug 2021 16:43:58 +0000 (12:43 -0400)]
dir: Do not flag non-running failing HSDir
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>
David Goulet [Mon, 16 Aug 2021 20:43:14 +0000 (16:43 -0400)]
Forward merge the latest ChangeLog/ReleaseNotes
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 16 Aug 2021 20:34:49 +0000 (16:34 -0400)]
Merge branch 'maint-0.4.6'
David Goulet [Mon, 16 Aug 2021 20:34:39 +0000 (16:34 -0400)]
Merge branch 'maint-0.4.5' into maint-0.4.6
David Goulet [Mon, 16 Aug 2021 20:34:33 +0000 (16:34 -0400)]
Bump version to -dev
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 16 Aug 2021 20:34:19 +0000 (16:34 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.5
David Goulet [Mon, 16 Aug 2021 20:34:10 +0000 (16:34 -0400)]
Bump version to -dev
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 16 Aug 2021 20:33:58 +0000 (16:33 -0400)]
Bump version to -dev
Signed-off-by: David Goulet <dgoulet@torproject.org>
Alexander Færøy [Mon, 16 Aug 2021 15:28:22 +0000 (15:28 +0000)]
Merge branch 'maint-0.4.6' into main
Alexander Færøy [Mon, 16 Aug 2021 15:28:22 +0000 (15:28 +0000)]
Merge branch 'maint-0.4.5' into maint-0.4.6
Alexander Færøy [Mon, 16 Aug 2021 15:27:38 +0000 (15:27 +0000)]
Always teardown capture of logs in CAPTURE().
This will hopefully solve an issue where our gmtime related tests are
failing on 32-bit builds.
Alexander Færøy [Mon, 16 Aug 2021 13:58:32 +0000 (13:58 +0000)]
Merge branch 'maint-0.4.6' into main
Alexander Færøy [Mon, 16 Aug 2021 13:58:32 +0000 (13:58 +0000)]
Merge branch 'maint-0.4.5' into maint-0.4.6
Alexander Færøy [Mon, 16 Aug 2021 13:58:32 +0000 (13:58 +0000)]
Merge branch 'maint-0.3.5' into maint-0.4.5
Alexander Færøy [Mon, 16 Aug 2021 13:57:56 +0000 (13:57 +0000)]
Use debian:buster instead of debian:stable for now.
Nick Mathewson [Mon, 16 Aug 2021 13:51:27 +0000 (09:51 -0400)]
Merge branch 'maint-0.4.6'
Nick Mathewson [Mon, 16 Aug 2021 13:51:27 +0000 (09:51 -0400)]
Merge branch 'maint-0.4.5' into maint-0.4.6
Nick Mathewson [Mon, 16 Aug 2021 13:46:56 +0000 (09:46 -0400)]
Disable message checking for some 32-bit tests about timegm failure.
Since we merged 40383, we don't expect these to give the same
warning on every platform.
Nick Mathewson [Mon, 16 Aug 2021 12:21:15 +0000 (08:21 -0400)]
Merge branch 'maint-0.4.6'
"ours" to avoid version bump.
Nick Mathewson [Mon, 16 Aug 2021 12:21:04 +0000 (08:21 -0400)]
Make the version 0.4.6.7, not 0.4.6.7-dev.
Nick Mathewson [Mon, 16 Aug 2021 12:19:17 +0000 (08:19 -0400)]
Merge branch 'maint-0.4.5' into maint-0.4.6
"ours" to avoid version bump
Nick Mathewson [Mon, 16 Aug 2021 12:18:57 +0000 (08:18 -0400)]
Make the version 0.4.5.10, not 0.4.5.10-dev.
Nick Mathewson [Mon, 16 Aug 2021 12:18:09 +0000 (08:18 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.5
"ours" to avoid version bump
Nick Mathewson [Mon, 16 Aug 2021 12:17:59 +0000 (08:17 -0400)]
Make the version 0.3.6.16, not 0.3.6.16-dev.
skaluzka [Sat, 14 Aug 2021 19:45:44 +0000 (21:45 +0200)]
Update combine_libs script
Remove commented code from production.
Align indentations to 4 spaces.
David Goulet [Fri, 13 Aug 2021 13:46:48 +0000 (09:46 -0400)]
Merge branch 'maint-0.4.6'
David Goulet [Fri, 13 Aug 2021 13:46:31 +0000 (09:46 -0400)]
Merge branch 'maint-0.4.5' into maint-0.4.6
David Goulet [Fri, 13 Aug 2021 13:44:53 +0000 (09:44 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.5
David Goulet [Fri, 13 Aug 2021 13:43:44 +0000 (09:43 -0400)]
Update version to 0.3.5.16
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Fri, 13 Aug 2021 13:42:52 +0000 (09:42 -0400)]
Update version to 0.4.5.10
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Fri, 13 Aug 2021 13:42:26 +0000 (09:42 -0400)]
Update version to 0.4.6.7
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 12 Aug 2021 16:13:26 +0000 (12:13 -0400)]
Merge branch 'maint-0.4.6'
David Goulet [Thu, 12 Aug 2021 16:13:26 +0000 (12:13 -0400)]
Merge branch 'maint-0.4.5' into maint-0.4.6
David Goulet [Thu, 12 Aug 2021 16:13:25 +0000 (12:13 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.5
Alexander Færøy [Thu, 12 Aug 2021 15:36:52 +0000 (15:36 +0000)]
Update GeoIP files to match IPFire location DB as per 2021/08/12.
Alexander Færøy [Wed, 11 Aug 2021 13:15:59 +0000 (13:15 +0000)]
Merge branch 'maint-0.4.6' into main
Alexander Færøy [Wed, 11 Aug 2021 13:15:59 +0000 (13:15 +0000)]
Merge branch 'maint-0.4.5' into maint-0.4.6
Alexander Færøy [Wed, 11 Aug 2021 13:15:58 +0000 (13:15 +0000)]
Merge branch 'maint-0.3.5' into maint-0.4.5
Alexander Færøy [Wed, 11 Aug 2021 13:15:35 +0000 (13:15 +0000)]
Merge remote-tracking branch 'tor-gitlab/mr/417' into maint-0.3.5
Alexander Færøy [Wed, 11 Aug 2021 13:14:26 +0000 (13:14 +0000)]
Merge branch 'maint-0.4.6' into main
Alexander Færøy [Wed, 11 Aug 2021 13:14:26 +0000 (13:14 +0000)]
Merge branch 'maint-0.4.5' into maint-0.4.6
Alexander Færøy [Wed, 11 Aug 2021 13:14:26 +0000 (13:14 +0000)]
Merge branch 'maint-0.3.5' into maint-0.4.5
George Kadianakis [Fri, 30 Jul 2021 13:35:48 +0000 (16:35 +0300)]
Disable
ed25519 -donna's batch verification.
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.
Alexander Færøy [Wed, 11 Aug 2021 13:07:46 +0000 (13:07 +0000)]
Merge branch 'maint-0.4.6' into main
Alexander Færøy [Wed, 11 Aug 2021 13:07:46 +0000 (13:07 +0000)]
Merge branch 'maint-0.4.5' into maint-0.4.6
David Goulet [Wed, 11 Aug 2021 13:04:40 +0000 (09:04 -0400)]
fallbackdir: Regenerate list
New list for all stable releases.
Closes #40447
Signed-off-by: David Goulet <dgoulet@torproject.org>
Alexander Færøy [Wed, 11 Aug 2021 13:06:12 +0000 (13:06 +0000)]
Merge branch 'maint-0.3.5' into maint-0.4.5
David Goulet [Thu, 18 Feb 2021 17:49:33 +0000 (12:49 -0500)]
relay: Reduce streaming compression ratio from HIGH to LOW
Fixes #40301
Signed-off-by: David Goulet <dgoulet@torproject.org>
Alexander Færøy [Wed, 11 Aug 2021 12:48:04 +0000 (12:48 +0000)]
Merge branch 'maint-0.4.6' into main
Alexander Færøy [Wed, 11 Aug 2021 12:48:04 +0000 (12:48 +0000)]
Merge branch 'maint-0.4.5' into maint-0.4.6
David Goulet [Thu, 18 Feb 2021 17:49:33 +0000 (12:49 -0500)]
relay: Reduce streaming compression ratio from HIGH to LOW
Fixes #40301
Signed-off-by: David Goulet <dgoulet@torproject.org>
Mike Perry [Tue, 20 Jul 2021 18:30:23 +0000 (18:30 +0000)]
Make inbuf and outbuf len check params const
Mike Perry [Fri, 11 Jun 2021 23:52:06 +0000 (23:52 +0000)]
MAKEFILE: include new CC algs in makefile
Mike Perry [Fri, 11 Jun 2021 23:50:37 +0000 (23:50 +0000)]
TOR_NOLA: Implement a pure BDP tracking CC alg
How come no one ever named a congestion control algorithm after New Orleans?
Mike Perry [Fri, 11 Jun 2021 23:50:09 +0000 (23:50 +0000)]
TOR_VEGAS: Implement Prop#324 TOR_VEGAS.
Mike Perry [Sun, 13 Jun 2021 02:20:00 +0000 (02:20 +0000)]
TOR_WESTWOOD: Implement Prop#324 TOR_WESTWOOD