David Goulet
9efb04bb3e
hs: Fix multiple port label on single metric
...
Prometheus needs unique labels and so this bug was causing an onion
service with multiple ports to have multiple "port=" label for the
metrics requiring a port label.
Fixes #40581
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-03-08 13:56:54 -05:00
Tor CI Release
92b4e4d041
version: Bump version to 0.4.5.12-dev
2022-02-04 12:36:01 -05:00
Tor CI Release
774374ebf5
version: Bump version to 0.4.5.12
2022-02-04 11:09:12 -05:00
Tor CI Release
6a6332a683
fallbackdir: Update list generated on February 04, 2022
2022-02-04 11:05:21 -05:00
Tor CI Release
5ab4fa9fd8
Update geoip files to match ipfire location db, 2022/02/04.
2022-02-04 11:05:13 -05:00
Tor CI Release
cfe022d01d
Update geoip files to match ipfire location db, 2021/12/15.
2022-02-04 10:56:29 -05:00
Tor CI Release
f03cab5dbb
fallbackdir: Update list generated on December 15, 2021
2022-02-04 10:17:10 -05:00
David Goulet
3c73622f27
hs: Double quote the metrics label value
...
Fixes #40552
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-02-03 08:30:23 -05:00
David Goulet
1b58399b07
Merge branch 'maint-0.3.5' into maint-0.4.5
2022-01-24 10:49:32 -05:00
David Goulet
421ce94395
version: Bump version to 0.3.5.18
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-01-24 10:48:15 -05:00
David Goulet
28881d0a92
fallbackdir: Update list generated on January 24, 2022
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-01-24 10:35:18 -05:00
David Goulet
324ded93be
geoip: Update to match ipfire location db, 2022/01/24.
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-01-24 10:31:43 -05:00
David Goulet
986730e82c
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 72041c6306
which didn't fix the unit test.
Fixes #40549
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-01-19 13:36:23 -05:00
David Goulet
4ab4521c31
Merge branch 'maint-0.3.5' into maint-0.4.5
2022-01-18 13:15:38 -05:00
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
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