]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
4 years agoMerge branch 'maint-0.4.4' into release-0.4.4 release-0.4.4
Nick Mathewson [Mon, 14 Jun 2021 15:49:01 +0000 (11:49 -0400)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoMerge branch 'maint-0.3.5' into maint-0.4.4 maint-0.4.4
Nick Mathewson [Mon, 14 Jun 2021 15:46:20 +0000 (11:46 -0400)] 
Merge branch 'maint-0.3.5' into maint-0.4.4

"ours" to avoid version bump.

4 years agoBump to 0.3.5.15-dev
Nick Mathewson [Mon, 14 Jun 2021 15:45:30 +0000 (11:45 -0400)] 
Bump to 0.3.5.15-dev

4 years agoCopy ChangeLog into ReleaseNotes. tor-0.4.4.9
Nick Mathewson [Mon, 14 Jun 2021 14:51:02 +0000 (10:51 -0400)] 
Copy ChangeLog into ReleaseNotes.

4 years agoPick a date, draft a blurb
Nick Mathewson [Thu, 10 Jun 2021 17:19:48 +0000 (13:19 -0400)] 
Pick a date, draft a blurb

4 years agoBackport changelog entries
Nick Mathewson [Thu, 10 Jun 2021 17:14:11 +0000 (13:14 -0400)] 
Backport changelog entries

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Nick Mathewson [Thu, 10 Jun 2021 16:30:29 +0000 (12:30 -0400)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoMerge branch 'maint-0.3.5' into maint-0.4.4
Nick Mathewson [Thu, 10 Jun 2021 16:30:11 +0000 (12:30 -0400)] 
Merge branch 'maint-0.3.5' into maint-0.4.4

4 years agoFix TROVE-2021-006: Out-of-bounds read on v3 desc parsing
George Kadianakis [Tue, 18 May 2021 14:06:57 +0000 (17:06 +0300)] 
Fix TROVE-2021-006: Out-of-bounds read on v3 desc parsing

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Nick Mathewson [Thu, 10 Jun 2021 13:55:55 +0000 (09:55 -0400)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoResolve remaining merge conflicts in relay.c
Nick Mathewson [Thu, 10 Jun 2021 13:55:35 +0000 (09:55 -0400)] 
Resolve remaining merge conflicts in relay.c

(My bad!)

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Nick Mathewson [Thu, 10 Jun 2021 12:53:07 +0000 (08:53 -0400)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoMerge branch 'maint-0.3.5' into maint-0.4.4
Nick Mathewson [Thu, 10 Jun 2021 12:52:39 +0000 (08:52 -0400)] 
Merge branch 'maint-0.3.5' into maint-0.4.4

Conflicts resolved:
src/core/or/relay.c

4 years agoTROVE-2021-003: Check layer_hint before half-closed end and resolve cells
David Goulet [Thu, 3 Jun 2021 13:33:21 +0000 (09:33 -0400)] 
TROVE-2021-003: Check layer_hint before half-closed end and resolve cells

This issue was reported by Jann Horn part of Google's Project Zero.

Jann's one-sentence summary: entry/middle relays can spoof RELAY_END cells on
half-closed streams, which can lead to stream confusion between OP and
exit.

Fixes #40389

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Nick Mathewson [Thu, 10 Jun 2021 12:42:15 +0000 (08:42 -0400)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoMerge branch 'maint-0.3.5' into maint-0.4.4
Nick Mathewson [Thu, 10 Jun 2021 12:42:15 +0000 (08:42 -0400)] 
Merge branch 'maint-0.3.5' into maint-0.4.4

4 years agoMerge branch 'bug40391_035' into maint-0.3.5
Nick Mathewson [Thu, 10 Jun 2021 12:41:59 +0000 (08:41 -0400)] 
Merge branch 'bug40391_035' into maint-0.3.5

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Nick Mathewson [Thu, 10 Jun 2021 12:37:34 +0000 (08:37 -0400)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoMerge branch 'maint-0.3.5' into maint-0.4.4
Nick Mathewson [Thu, 10 Jun 2021 12:37:26 +0000 (08:37 -0400)] 
Merge branch 'maint-0.3.5' into maint-0.4.4

4 years agoMerge branch 'bug40390_035_squashed' into maint-0.3.5
Nick Mathewson [Thu, 10 Jun 2021 12:34:25 +0000 (08:34 -0400)] 
Merge branch 'bug40390_035_squashed' into maint-0.3.5

4 years agoAssert on _all_ failures from RAND_bytes().
Nick Mathewson [Mon, 17 May 2021 12:50:01 +0000 (08:50 -0400)] 
Assert on _all_ failures from RAND_bytes().

Previously, we would detect errors from a missing RNG
implementation, but not failures from the RNG code itself.

Fortunately, it appears those failures do not happen in practice
when Tor is using OpenSSL's default RNG implementation.  Fixes bug
40390; bugfix on 0.2.8.1-alpha. This issue is also tracked as
TROVE-2021-004. Reported by Jann Horn at Google's Project Zero.

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Nick Mathewson [Thu, 10 Jun 2021 12:21:48 +0000 (08:21 -0400)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoMerge branch 'maint-0.3.5' into maint-0.4.4
Nick Mathewson [Thu, 10 Jun 2021 12:21:47 +0000 (08:21 -0400)] 
Merge branch 'maint-0.3.5' into maint-0.4.4

4 years agoUpdate geoip files to match ipfire location db, 2021/06/10.
Nick Mathewson [Thu, 10 Jun 2021 12:20:13 +0000 (08:20 -0400)] 
Update geoip files to match ipfire location db, 2021/06/10.

4 years agoremove rolled-up changes files.
Nick Mathewson [Mon, 7 Jun 2021 19:03:09 +0000 (15:03 -0400)] 
remove rolled-up changes files.

4 years agoStart on a changelog for 0.4.4.9
Nick Mathewson [Mon, 7 Jun 2021 18:41:27 +0000 (14:41 -0400)] 
Start on a changelog for 0.4.4.9

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Nick Mathewson [Mon, 7 Jun 2021 17:32:35 +0000 (13:32 -0400)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoBump to 0.4.4.9
Nick Mathewson [Mon, 7 Jun 2021 17:30:18 +0000 (13:30 -0400)] 
Bump to 0.4.4.9

4 years agoMerge branch 'maint-0.3.5' into maint-0.4.4
Nick Mathewson [Mon, 7 Jun 2021 17:29:49 +0000 (13:29 -0400)] 
Merge branch 'maint-0.3.5' into maint-0.4.4

4 years agoBump to 0.3.5.15.
Nick Mathewson [Mon, 7 Jun 2021 17:29:35 +0000 (13:29 -0400)] 
Bump to 0.3.5.15.

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Alexander Færøy [Tue, 25 May 2021 13:25:23 +0000 (13:25 +0000)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoMerge branch 'maint-0.3.5' into maint-0.4.4
Alexander Færøy [Tue, 25 May 2021 13:25:23 +0000 (13:25 +0000)] 
Merge branch 'maint-0.3.5' into maint-0.4.4

4 years agoRemove the function `tor_tls_assert_renegotiation_unblocked`.
Nick Mathewson [Tue, 25 May 2021 11:38:31 +0000 (07:38 -0400)] 
Remove the function `tor_tls_assert_renegotiation_unblocked`.

It was used nowhere outside its own unit tests, and it was causing
compilation issues with recent OpenSSL 3.0.0 alphas.

Closes ticket 40399.

4 years agoUse a more secure hash function for the circuitmux hashtable.
Nick Mathewson [Tue, 18 May 2021 12:40:09 +0000 (08:40 -0400)] 
Use a more secure hash function for the circuitmux hashtable.

Fixes bug 40931; bugfix on 0.2.4.4-alpha. Also tracked as
TROVE-2021-005.

This issue was reported by Jann Horn from Google's Project Zero.

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Nick Mathewson [Fri, 7 May 2021 14:41:34 +0000 (10:41 -0400)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoMerge branch 'maint-0.3.5' into maint-0.4.4
Nick Mathewson [Fri, 7 May 2021 14:41:33 +0000 (10:41 -0400)] 
Merge branch 'maint-0.3.5' into maint-0.4.4

4 years agoReindent a few lines to fix a GCC warning.
Nick Mathewson [Fri, 7 May 2021 14:39:20 +0000 (10:39 -0400)] 
Reindent a few lines to fix a GCC warning.

As of GCC 11.1.1, the compiler warns us about code like this:

     if (a)
         b;
         c;

and that's a good thing: we wouldn't want to "goto fail".  But we
had an instance if this in circuituse.c, which was making our
compilation sad.

Fixes bug 40380; bugfix on 0.3.0.1-alpha.

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Nick Mathewson [Fri, 7 May 2021 13:53:57 +0000 (09:53 -0400)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoMerge branch 'maint-0.3.5' into maint-0.4.4
Nick Mathewson [Fri, 7 May 2021 13:53:57 +0000 (09:53 -0400)] 
Merge branch 'maint-0.3.5' into maint-0.4.4

4 years agoUpdate geoip files to match ipfire location db, 2021/05/07.
Nick Mathewson [Fri, 7 May 2021 13:53:46 +0000 (09:53 -0400)] 
Update geoip files to match ipfire location db, 2021/05/07.

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Nick Mathewson [Wed, 21 Apr 2021 14:34:28 +0000 (10:34 -0400)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoMerge branch 'maint-0.3.5' into maint-0.4.4
Nick Mathewson [Wed, 21 Apr 2021 14:34:14 +0000 (10:34 -0400)] 
Merge branch 'maint-0.3.5' into maint-0.4.4

4 years agoMerge remote-tracking branch 'tor-gitlab/mr/363' into maint-0.3.5
George Kadianakis [Wed, 21 Apr 2021 13:48:22 +0000 (16:48 +0300)] 
Merge remote-tracking branch 'tor-gitlab/mr/363' into maint-0.3.5

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
David Goulet [Wed, 14 Apr 2021 12:39:16 +0000 (08:39 -0400)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoMerge branch 'maint-0.3.5' into maint-0.4.4
David Goulet [Wed, 14 Apr 2021 12:39:16 +0000 (08:39 -0400)] 
Merge branch 'maint-0.3.5' into maint-0.4.4

4 years agofallbackdir: Remove two unspec lines
David Goulet [Wed, 14 Apr 2021 12:39:04 +0000 (08:39 -0400)] 
fallbackdir: Remove two unspec lines

Signed-off-by: David Goulet <dgoulet@torproject.org>
4 years agoFix test naming, and fix tests on windows.
Nick Mathewson [Tue, 13 Apr 2021 21:38:31 +0000 (17:38 -0400)] 
Fix test naming, and fix tests on windows.

This is a bugfix against my fix for #40133, which has not yet
appeared in 0.3.5.

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Nick Mathewson [Tue, 13 Apr 2021 20:59:16 +0000 (16:59 -0400)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoMerge branch 'maint-0.3.5' into maint-0.4.4
Nick Mathewson [Tue, 13 Apr 2021 20:59:15 +0000 (16:59 -0400)] 
Merge branch 'maint-0.3.5' into maint-0.4.4

4 years agofallbackdir: Renegerate list with 200 relays
David Goulet [Tue, 13 Apr 2021 19:15:58 +0000 (15:15 -0400)] 
fallbackdir: Renegerate list with 200 relays

Signed-off-by: David Goulet <dgoulet@torproject.org>
4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Nick Mathewson [Tue, 13 Apr 2021 14:36:00 +0000 (10:36 -0400)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoMerge branch 'maint-0.3.5' into maint-0.4.4
Nick Mathewson [Tue, 13 Apr 2021 14:36:00 +0000 (10:36 -0400)] 
Merge branch 'maint-0.3.5' into maint-0.4.4

4 years agoUpdate geoip files to match ipfire location db, 2021/04/13.
Nick Mathewson [Tue, 13 Apr 2021 14:35:50 +0000 (10:35 -0400)] 
Update geoip files to match ipfire location db, 2021/04/13.

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Nick Mathewson [Wed, 24 Mar 2021 16:25:05 +0000 (12:25 -0400)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agochannel: Fix use after free in channel_do_open_actions()
David Goulet [Tue, 23 Mar 2021 13:19:41 +0000 (09:19 -0400)] 
channel: Fix use after free in channel_do_open_actions()

Fortunately, our tor_free() is setting the variable to NULL after so we were
in a situation where NULL was always used instead of the transport name.

This first appeared in 894ff2dc8422cb86312c512698acd76476224f87 and results in
basically no bridge with a transport being able to use DoS defenses.

Fixes #40345

Signed-off-by: David Goulet <dgoulet@torproject.org>
4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Nick Mathewson [Tue, 16 Mar 2021 13:18:52 +0000 (09:18 -0400)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoBump version to 0.4.4.8-dev
Nick Mathewson [Tue, 16 Mar 2021 13:17:56 +0000 (09:17 -0400)] 
Bump version to 0.4.4.8-dev

4 years agoMerge branch 'maint-0.3.5' into maint-0.4.4
Nick Mathewson [Tue, 16 Mar 2021 13:17:40 +0000 (09:17 -0400)] 
Merge branch 'maint-0.3.5' into maint-0.4.4

"ours" to avoid version bump.

4 years agoBump to 0.3.5.14-dev
Nick Mathewson [Tue, 16 Mar 2021 13:17:31 +0000 (09:17 -0400)] 
Bump to 0.3.5.14-dev

4 years agoCopy 0.4.4.8 changelog to releasenotes tor-0.4.4.8
Nick Mathewson [Tue, 16 Mar 2021 12:28:50 +0000 (08:28 -0400)] 
Copy 0.4.4.8 changelog to releasenotes

4 years agochangelog updates from arma
Nick Mathewson [Mon, 15 Mar 2021 21:12:46 +0000 (17:12 -0400)] 
changelog updates from arma

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Nick Mathewson [Mon, 15 Mar 2021 13:41:38 +0000 (09:41 -0400)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoRemove check-best-practices from check-local in 0.4.4
Nick Mathewson [Mon, 15 Mar 2021 13:41:19 +0000 (09:41 -0400)] 
Remove check-best-practices from check-local in 0.4.4

4 years agoChangelog for 0.4.4.8.
Nick Mathewson [Mon, 15 Mar 2021 13:25:02 +0000 (09:25 -0400)] 
Changelog for 0.4.4.8.

4 years agoMerge branch 'maint-0.3.5' into maint-0.4.4
Nick Mathewson [Mon, 15 Mar 2021 13:01:59 +0000 (09:01 -0400)] 
Merge branch 'maint-0.3.5' into maint-0.4.4

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Nick Mathewson [Mon, 15 Mar 2021 13:01:59 +0000 (09:01 -0400)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoMerge branch 'bug40316_035_v2' into maint-0.3.5
Nick Mathewson [Mon, 15 Mar 2021 12:58:54 +0000 (08:58 -0400)] 
Merge branch 'bug40316_035_v2' into maint-0.3.5

4 years agoFix detection of point to insert signatures on a pending consensus.
Nick Mathewson [Wed, 3 Mar 2021 20:14:31 +0000 (15:14 -0500)] 
Fix detection of point to insert signatures on a pending consensus.

We were looking for the first instance of "directory-signature "
when instead the correct behavior is to look for the first instance
of "directory-signature " at the start of a line.

Unfortunately, this can be exploited as to crash authorities while
they're voting.

Fixes #40316; bugfix on 0.2.2.4-alpha.  This is TROVE-2021-002,
also tracked as CVE-2021-28090.

4 years agoMerge branch 'maint-0.3.5' into maint-0.4.4
Nick Mathewson [Mon, 15 Mar 2021 12:54:00 +0000 (08:54 -0400)] 
Merge branch 'maint-0.3.5' into maint-0.4.4

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Nick Mathewson [Mon, 15 Mar 2021 12:54:00 +0000 (08:54 -0400)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoClarify new intended strategy with TROVE-2021-001
Nick Mathewson [Mon, 15 Mar 2021 12:53:36 +0000 (08:53 -0400)] 
Clarify new intended strategy with TROVE-2021-001

We're going to disable this feature in all versions for now.

4 years agoMerge branch 'maint-0.3.5' into maint-0.4.4
Nick Mathewson [Mon, 15 Mar 2021 12:52:28 +0000 (08:52 -0400)] 
Merge branch 'maint-0.3.5' into maint-0.4.4

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Nick Mathewson [Mon, 15 Mar 2021 12:52:28 +0000 (08:52 -0400)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoMerge branch 'bug40286_disable_min_035' into maint-0.3.5
Nick Mathewson [Mon, 15 Mar 2021 12:41:03 +0000 (08:41 -0400)] 
Merge branch 'bug40286_disable_min_035' into maint-0.3.5

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Nick Mathewson [Mon, 15 Mar 2021 11:42:55 +0000 (07:42 -0400)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoBump to 0.4.4.8
Nick Mathewson [Mon, 15 Mar 2021 11:40:48 +0000 (07:40 -0400)] 
Bump to 0.4.4.8

4 years agoMerge branch 'maint-0.3.5' into maint-0.4.4
Nick Mathewson [Mon, 15 Mar 2021 11:40:06 +0000 (07:40 -0400)] 
Merge branch 'maint-0.3.5' into maint-0.4.4

"ours" to avoid version bump.

4 years agoBump to 0.3.5.14
Nick Mathewson [Mon, 15 Mar 2021 11:39:45 +0000 (07:39 -0400)] 
Bump to 0.3.5.14

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Nick Mathewson [Fri, 12 Mar 2021 16:36:34 +0000 (11:36 -0500)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoMerge branch 'maint-0.3.5' into maint-0.4.4
Nick Mathewson [Fri, 12 Mar 2021 16:36:34 +0000 (11:36 -0500)] 
Merge branch 'maint-0.3.5' into maint-0.4.4

4 years agoRemove maxmind license; add ipfire location database license (cc by-sa 4.0)
Nick Mathewson [Fri, 12 Mar 2021 16:36:28 +0000 (11:36 -0500)] 
Remove maxmind license; add ipfire location database license (cc by-sa 4.0)

4 years agoUse the right ticket number.
Nick Mathewson [Fri, 12 Mar 2021 16:31:36 +0000 (11:31 -0500)] 
Use the right ticket number.

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Nick Mathewson [Fri, 12 Mar 2021 16:30:21 +0000 (11:30 -0500)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoMerge branch 'maint-0.3.5' into maint-0.4.4
Nick Mathewson [Fri, 12 Mar 2021 16:30:21 +0000 (11:30 -0500)] 
Merge branch 'maint-0.3.5' into maint-0.4.4

4 years agoupdate geoip-2021-03-12 to mention provider transition.
Nick Mathewson [Fri, 12 Mar 2021 16:29:09 +0000 (11:29 -0500)] 
update geoip-2021-03-12 to mention provider transition.

4 years agoUpdate geoip files to match ipfire location db, 2021/03/12.
Nick Mathewson [Fri, 12 Mar 2021 16:26:07 +0000 (11:26 -0500)] 
Update geoip files to match ipfire location db, 2021/03/12.

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
David Goulet [Mon, 1 Mar 2021 13:33:47 +0000 (08:33 -0500)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoMerge branch 'maint-0.3.5' into maint-0.4.4
David Goulet [Mon, 1 Mar 2021 13:33:41 +0000 (08:33 -0500)] 
Merge branch 'maint-0.3.5' into maint-0.4.4

4 years agoRemove mallinfo() from codebase
David Goulet [Tue, 23 Feb 2021 16:02:33 +0000 (11:02 -0500)] 
Remove mallinfo() from codebase

Now deprecated in libc >= 2.33

Closes #40309

Signed-off-by: David Goulet <dgoulet@torproject.org>
4 years agoRemove mallinfo() from codebase
David Goulet [Tue, 23 Feb 2021 16:02:33 +0000 (11:02 -0500)] 
Remove mallinfo() from codebase

Now deprecated in libc >= 2.33

Closes #40309

Signed-off-by: David Goulet <dgoulet@torproject.org>
4 years agoDisable the dump_desc() function.
Nick Mathewson [Fri, 19 Feb 2021 17:31:19 +0000 (12:31 -0500)] 
Disable the dump_desc() function.

It can be called with strings that should have been
length-delimited, but which in fact are not.  This can cause a
CPU-DoS bug or, in a worse case, a crash.

Since this function isn't essential, the best solution for older
Tors is to just turn it off.

Fixes bug 40286; bugfix on 0.2.2.1-alpha when dump_desc() was
introduced.

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Alexander Færøy [Fri, 5 Feb 2021 19:19:34 +0000 (19:19 +0000)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoDelete changes/40241_v2 as it breaks CI.
Alexander Færøy [Fri, 5 Feb 2021 19:18:13 +0000 (19:18 +0000)] 
Delete changes/40241_v2 as it breaks CI.

Unreviewed build fix. Discussed the cnage on IRC with Nick.

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Alexander Færøy [Fri, 5 Feb 2021 17:40:25 +0000 (17:40 +0000)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoFix CI build: practracker error in connection_edge.c, take two.
Alexander Færøy [Fri, 5 Feb 2021 17:39:21 +0000 (17:39 +0000)] 
Fix CI build: practracker error in connection_edge.c, take two.

This was a bad copy and paste error from the previous commit which
generated a duplicated entry error from practracker.

Unreviewed build fix.

See: tor#40275.

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Alexander Færøy [Fri, 5 Feb 2021 17:17:04 +0000 (17:17 +0000)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoFix CI build: practracker error in connection_edge.c.
Alexander Færøy [Fri, 5 Feb 2021 17:16:05 +0000 (17:16 +0000)] 
Fix CI build: practracker error in connection_edge.c.

We solve this error by allowing the connection_exit_connect() function
to be 130 lines long.

Unreviewed build fix commit.

See: tor#40275.

4 years agoFix Windows build.
Alexander Færøy [Fri, 5 Feb 2021 17:12:52 +0000 (17:12 +0000)] 
Fix Windows build.

While trying to resolve our CI issues, the Windows build broke with an
unused function error:

   src/test/test_switch_id.c:37:1: error: ‘unprivileged_port_range_start’
   defined but not used [-Werror=unused-function]

We solve this by moving the `#if !defined(_WIN32)` test above the
`unprivileged_port_range_start()` function defintion such that it is
included in its body.

This is an unreviewed commit.

See: tor#40275

4 years agoMerge branch 'maint-0.4.4' into release-0.4.4
Alexander Færøy [Fri, 5 Feb 2021 16:05:57 +0000 (16:05 +0000)] 
Merge branch 'maint-0.4.4' into release-0.4.4

4 years agoMerge branch 'tor-gitlab/mr/292_squashed' into maint-0.4.4
Alexander Færøy [Fri, 5 Feb 2021 16:04:53 +0000 (16:04 +0000)] 
Merge branch 'tor-gitlab/mr/292_squashed' into maint-0.4.4