Alexander Færøy
4a24673436
Merge remote-tracking branch 'tor-gitlab/mr/487' into maint-0.3.5
2021-11-08 14:15:59 +00:00
Alexander Færøy
4914e0e1cc
Merge remote-tracking branch 'tor-gitlab/mr/486' into maint-0.3.5
2021-11-08 14:15:56 +00:00
Nick Mathewson
cee6e7d9e1
Give an error message if LibreSSL's TLSv1.3 APIs aren't what we need
...
From LibreSSL versions 3.2.1 through 3.4.0, our configure script
would conclude that TLSv1.3 as supported, but it actually wasn't.
This led to annoying breakage like #40128 and #40445 .
Now we give an error message if we try to build with one of those
versions.
Closes #40511 .
2021-11-06 11:04:08 -04:00
Nick Mathewson
8beb560bfd
Reverse the direction of the test for openssl 3.0.0
...
Previously the logic was reversed, and always gave the wrong answer.
This has no other effect than to change whether we suppress
deprecated API warnings.
Fixes #40429 ; bugfix on 0.3.5.13.
2021-11-05 13:23:05 -04:00
David Goulet
a7fe37f1fa
protover: Fix merge forward from 035
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-05 10:42:54 -04:00
David Goulet
47adba879c
Merge branch 'maint-0.3.5' into maint-0.4.5
2021-11-05 10:35:08 -04:00
Nick Mathewson
439e17180c
Light edit to protover warnings.
2021-11-05 10:30:57 -04:00
David Goulet
f93cd5deb8
protover: Add a note on why LinkAuth is not recommended or required
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-05 10:16:08 -04:00
David Goulet
3d1a49908c
protover: Move all hardcoded lists in one place
...
This also moves the warnings and add some theatrical effect around the
code so anyone modifying those list should notice the warnings signs and
read the comment accordingly.
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-05 10:13:47 -04:00
Nick Mathewson
7c085490f5
Add scary warnings about changing the protover list.
...
Doing this in the wrong way has potential to cause serious havoc on
the network, so let's make it harder for future programmers to mess
it up.
2021-11-05 09:20:05 -04:00
Alexander Færøy
40e2106031
Merge branch 'maint-0.3.5' into maint-0.4.5
2021-11-05 03:10:28 +00:00
Alexander Færøy
cfd1482f78
Merge remote-tracking branch 'ahf/ahf/ci-i386' into maint-0.3.5
2021-11-05 03:10:12 +00:00
David Goulet
ea5eebf431
Merge branch 'tor-gitlab/mr/477' into maint-0.4.5
2021-11-03 09:52:03 -04:00
David Goulet
6e8e1a4e6f
relay: Don't allow DirPort on non-IPv4
...
Our code doesn't allow it and so this prevents an assert() crash if the
DirPort is for instance IPv6 only.
Fixes #40494
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-03 09:51:46 -04:00
David Goulet
1e3e921d7d
Merge branch 'maint-0.3.5' into maint-0.4.5
2021-11-03 09:47:43 -04:00
David Goulet
1902edaf52
shellcheck: Make it happy on couple scripts
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-03 09:47:30 -04:00
Alexander Færøy
d83c6bf80f
Add i386 version of debian-minimal for 32-bit Gitlab CI builds.
...
See: tpo/core/tor#40505
2021-11-03 12:36:30 +00:00
Alexander Færøy
77f5bfa60e
Merge branch 'maint-0.3.5' into maint-0.4.5
2021-10-29 16:56:33 +00:00
Alexander Færøy
5c8deef9b6
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
2021-10-29 16:52:18 +00:00
David Goulet
3ebf217009
Merge branch 'maint-0.3.5' into maint-0.4.5
2021-10-29 09:20:21 -04:00
David Goulet
f5bd575401
changes: Add file for ticket 26299
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-29 09:19:59 -04:00
David Goulet
92fedb9f44
changes: Add file for ticket 26299
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-29 09:19:21 -04:00
David Goulet
8da8105ee2
makefile: Add a reproducible dist make job
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-28 16:29:37 -04:00
David Goulet
8cf6f9183c
makefile: Add a reproducible dist make job
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-28 16:29:22 -04:00
Alexander Færøy
11fedab9ce
release: Patches to make tarball reproducible
...
Closes #26299
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-28 14:31:52 -04:00
David Goulet
a80868c118
changes: Typo in file, wrong version was used
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-28 14:22:14 -04:00
Alexander Færøy
d37273be0d
release: Patches to make tarball reproducible
...
Closes #26299
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-28 13:42:02 -04:00
Alexander Færøy
31fa3cc1a0
Fix compilation on systems with older compilers.
...
This patch fixes a build error with GCC 7.x which doesn't seem to accept
const int's as constants in macro initialization.
See: tpo/core/tor#40410
2021-10-28 10:37:45 -04:00
David Goulet
7c4fd150cd
Merge branch 'maint-0.3.5' into maint-0.4.5
2021-10-28 09:42:25 -04:00
David Goulet
97c976778a
version: Missing version update in couple files
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-28 09:41:13 -04:00
David Goulet
fa438b6cf0
version: Missing version update in couple files
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-28 09:40:50 -04:00
David Goulet
ae92a92453
Merge branch 'maint-0.3.5' into maint-0.4.5
2021-10-26 14:33:49 -04:00
David Goulet
14385ce71e
ci: Missing source dir when parsing configure.ac version
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-26 14:33:31 -04:00
David Goulet
d4af7bdb26
Merge branch 'maint-0.3.5' into maint-0.4.5
2021-10-26 11:31:14 -04:00
David Goulet
00ff6dffa1
version: Bump to 0.4.5.11-dev
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-26 11:31:06 -04:00
David Goulet
66193ee708
version: Bump to 0.3.5.17-dev
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-26 11:30:56 -04:00
David Goulet
6f776001cb
Merge branch 'maint-0.3.5' into maint-0.4.5
2021-10-26 09:17:52 -04:00
David Goulet
446135aff0
version: Bump to 0.4.5.11
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-26 09:16:44 -04:00
David Goulet
9280f32fc0
version: Bump to 0.3.5.17
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-26 09:16:17 -04:00
David Goulet
12c3787305
ci: Exclude HSv2 Stem tests
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-25 20:56:26 +00:00
David Goulet
1dab1c8ad5
Merge branch 'maint-0.3.5' into maint-0.4.5
2021-10-21 10:01:38 -04:00
David Goulet
66e8e0f71b
fallbackdir: Regenerate the list for October 2021
...
Closes #40493
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-21 09:13:40 -04:00
Alexander Færøy
0135fb028c
Merge remote-tracking branch 'tor-gitlab/mr/338' into maint-0.4.5
2021-10-21 12:35:26 +00:00
Alexander Færøy
5717b88bcb
Merge branch 'maint-0.3.5' into maint-0.4.5
2021-10-20 21:47:17 +00:00
Alexander Færøy
7372739765
Announce URL to bridge status page when starting Tor as a bridge relay.
...
This patch makes Tor announce the relay specific bridge status page URL
when Tor is starting up before bootstrap occours.
See: tor#30477
2021-10-20 21:44:45 +00:00
Alexander Færøy
fdc7549b61
Merge branch 'maint-0.3.5' into maint-0.4.5
2021-10-20 17:36:06 +00:00
Alexander Færøy
5a043825d0
Remove unused function: dns_randfn_() in dns.c.
...
This patch unbreaks the current build after tor!369 landed.
See: https://bugs.torproject.org/tpo/core/tor/40371
2021-10-20 17:35:52 +00:00
Alexander Færøy
db112329a0
Merge remote-tracking branch 'tor-gitlab/mr/369' into maint-0.3.5
2021-10-20 17:35:35 +00:00
David Goulet
d949a2f924
Merge branch 'maint-0.3.5' into maint-0.4.5
2021-10-19 10:29:15 -04:00
David Goulet
44e105c27f
hs: Improve warning for bad service version
...
Now that we don't have version 2, it gives us:
[warn] HiddenServiceVersion must be between 3 and 3, not 2.
This commit changes it to:
[warn] HiddenServiceVersion must be 3, not 2.
Part of #40476
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-19 09:51:24 -04:00