David Goulet
501d8bbd4c
Merge branch 'tor-gitlab/mr/511' into maint-0.3.5
2022-01-18 13:15:33 -05:00
David Goulet
49c758af47
Merge branch 'maint-0.3.5' into maint-0.4.5
2022-01-18 13:15:29 -05:00
David Goulet
e523480691
Merge branch 'tor-gitlab/mr/510' into maint-0.3.5
2022-01-18 13:15:23 -05:00
David Goulet
aac5731f86
Merge branch 'maint-0.3.5' into maint-0.4.5
2022-01-18 13:12:13 -05:00
Jérôme Charaoui
d6c2da6630
Update new relay blogpost URL
...
This removes the '/blog/' URL component which relies on a
redirection since the blog has been migrated to Lektor
2022-01-18 12:56:34 -05:00
David Goulet
b9c06718a8
main: Update a dead URL in a log notice
...
Change https://www.torproject.org/download/download#warning to
https://support.torproject.org/faq/staying-anonymous/
Closes #40544
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-01-18 12:51:52 -05:00
David Goulet
72041c6306
relay: Don't advertise HSv2 protocol version
...
We removed HSIntro=3 and HSDir=1 that are v2 specific. Since 0.3.5.17,
we do not support introducing or being a directory for onion service v2.
Closes #40509
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-01-18 12:39:06 -05:00
Nick Mathewson
86819229af
Limit the number of elements in a consdiff hash line.
...
This avoids performing and then freeing a lot of small mallocs() if
the hash line has too many elements.
Fixes one case of bug 40472; resolves OSS-Fuzz 38363. Bugfix on
0.3.1.1-alpha when the consdiff parsing code was introduced.
2021-12-06 12:35:08 -05:00
Nick Mathewson
dd085d42f9
Do not count controller-selected paths towards path bias.
...
As a side effect, this fixes a "Bug" warning.
Closes #40515 . Bugfix on 0.2.4.10-alpha.
2021-11-15 08:55:47 -05:00
Alexander Færøy
882fd1f0d4
Merge branch 'maint-0.3.5' into maint-0.4.5
2021-11-08 14:16:18 +00:00
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