]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
23 months agoMerge branch 'maint-0.4.8' into release-0.4.8 tor-0.4.8.9
David Goulet [Thu, 9 Nov 2023 14:44:10 +0000 (09:44 -0500)] 
Merge branch 'maint-0.4.8' into release-0.4.8

23 months agoversion: Bump version to 0.4.8.9
Tor CI Release [Thu, 9 Nov 2023 14:21:49 +0000 (14:21 +0000)] 
version: Bump version to 0.4.8.9

23 months agorelease: ChangeLog and ReleaseNotes for 0.4.8.9
Tor CI Release [Thu, 9 Nov 2023 14:21:48 +0000 (14:21 +0000)] 
release: ChangeLog and ReleaseNotes for 0.4.8.9

23 months agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Thu, 9 Nov 2023 14:24:22 +0000 (09:24 -0500)] 
Merge branch 'maint-0.4.8' into release-0.4.8

23 months agofallbackdir: Update list generated on November 09, 2023
Tor CI Release [Thu, 9 Nov 2023 14:21:06 +0000 (14:21 +0000)] 
fallbackdir: Update list generated on November 09, 2023

23 months agoUpdate geoip files to match ipfire location db, 2023/11/09.
Tor CI Release [Thu, 9 Nov 2023 14:20:37 +0000 (14:20 +0000)] 
Update geoip files to match ipfire location db, 2023/11/09.

23 months agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Thu, 9 Nov 2023 14:17:51 +0000 (09:17 -0500)] 
Merge branch 'maint-0.4.8' into release-0.4.8

23 months agoMerge branch 'ticket40883_048_01' into maint-0.4.8
David Goulet [Thu, 9 Nov 2023 14:14:19 +0000 (09:14 -0500)] 
Merge branch 'ticket40883_048_01' into maint-0.4.8

23 months agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Thu, 9 Nov 2023 14:10:58 +0000 (09:10 -0500)] 
Merge branch 'maint-0.4.8' into release-0.4.8

23 months agoMerge branch 'tor-gitlab/mr/778' into maint-0.4.8
David Goulet [Thu, 9 Nov 2023 14:10:52 +0000 (09:10 -0500)] 
Merge branch 'tor-gitlab/mr/778' into maint-0.4.8

23 months agohs: Always check if the hs_ident is available when processing a cell
David Goulet [Wed, 8 Nov 2023 16:17:48 +0000 (11:17 -0500)] 
hs: Always check if the hs_ident is available when processing a cell

Signed-off-by: David Goulet <dgoulet@torproject.org>
23 months agohs: Fix assert in hs_metrics_update_by_ident()
David Goulet [Tue, 7 Nov 2023 18:50:28 +0000 (13:50 -0500)] 
hs: Fix assert in hs_metrics_update_by_ident()

The hs_metrics_failed_rdv() macro could pass a NULL value for the identity key
when a building circuit would end up in a failure path *before* the "hs_ident"
was able to be set which leading to this assert.

This was introduced in 0.4.8.1-alpha with the addition of rendezvous circuit
failure metrics for the MetricsPort.

This fixes TROVE-2023-006 for which its severity is considered high.

Signed-off-by: David Goulet <dgoulet@torproject.org>
2 years agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Fri, 3 Nov 2023 14:54:13 +0000 (10:54 -0400)] 
Merge branch 'maint-0.4.8' into release-0.4.8

2 years agoversion: Bump version to 0.4.8.8-dev
Tor CI Release [Fri, 3 Nov 2023 13:50:01 +0000 (13:50 +0000)] 
version: Bump version to 0.4.8.8-dev

2 years agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Fri, 3 Nov 2023 14:53:57 +0000 (10:53 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

2 years agoversion: Bump version to 0.4.7.16-dev maint-0.4.7
Tor CI Release [Fri, 3 Nov 2023 13:50:00 +0000 (13:50 +0000)] 
version: Bump version to 0.4.7.16-dev

2 years agorelease: ChangeLog and ReleaseNotes for 0.4.8.8
Tor CI Release [Fri, 3 Nov 2023 13:21:32 +0000 (13:21 +0000)] 
release: ChangeLog and ReleaseNotes for 0.4.8.8

2 years agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Fri, 3 Nov 2023 13:38:55 +0000 (09:38 -0400)] 
Merge branch 'maint-0.4.8' into release-0.4.8

2 years agoUpdate geoip files to match ipfire location db, 2023/11/03.
Tor CI Release [Fri, 3 Nov 2023 13:18:09 +0000 (13:18 +0000)] 
Update geoip files to match ipfire location db, 2023/11/03.

2 years agofallbackdir: Update list generated on November 03, 2023
Tor CI Release [Fri, 3 Nov 2023 13:18:42 +0000 (13:18 +0000)] 
fallbackdir: Update list generated on November 03, 2023

2 years agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Fri, 3 Nov 2023 13:29:01 +0000 (09:29 -0400)] 
Merge branch 'maint-0.4.8' into release-0.4.8

2 years agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Fri, 3 Nov 2023 13:28:37 +0000 (09:28 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

2 years agoversion: Bump version to 0.4.8.8 tor-0.4.8.8
Tor CI Release [Fri, 3 Nov 2023 13:21:33 +0000 (13:21 +0000)] 
version: Bump version to 0.4.8.8

2 years agoversion: Bump version to 0.4.7.16 tor-0.4.7.16
Tor CI Release [Fri, 3 Nov 2023 13:21:31 +0000 (13:21 +0000)] 
version: Bump version to 0.4.7.16

2 years agofallbackdir: Update list generated on November 03, 2023
Tor CI Release [Fri, 3 Nov 2023 13:18:42 +0000 (13:18 +0000)] 
fallbackdir: Update list generated on November 03, 2023

2 years agoUpdate geoip files to match ipfire location db, 2023/11/03.
Tor CI Release [Fri, 3 Nov 2023 13:18:09 +0000 (13:18 +0000)] 
Update geoip files to match ipfire location db, 2023/11/03.

2 years agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Fri, 3 Nov 2023 13:13:11 +0000 (09:13 -0400)] 
Merge branch 'maint-0.4.8' into release-0.4.8

2 years agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Fri, 3 Nov 2023 13:13:11 +0000 (09:13 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

2 years agoSync geoip and fallbackdir from maint 048 before release
David Goulet [Fri, 3 Nov 2023 13:13:05 +0000 (09:13 -0400)] 
Sync geoip and fallbackdir from maint 048 before release

Signed-off-by: David Goulet <dgoulet@torproject.org>
2 years agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Fri, 3 Nov 2023 13:04:27 +0000 (09:04 -0400)] 
Merge branch 'maint-0.4.8' into release-0.4.8

2 years agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Fri, 3 Nov 2023 13:04:27 +0000 (09:04 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

2 years agoFix TROVE-2023-004: Remote crash when compiled against OpenSSL
Alexander Færøy [Thu, 2 Nov 2023 18:38:43 +0000 (14:38 -0400)] 
Fix TROVE-2023-004: Remote crash when compiled against OpenSSL

Fixes #40874

Signed-off-by: David Goulet <dgoulet@torproject.org>
2 years agoBug 40876 changes file
Mike Perry [Wed, 25 Oct 2023 18:00:19 +0000 (18:00 +0000)] 
Bug 40876 changes file

2 years agoBug 40876: Extra logging
Mike Perry [Wed, 25 Oct 2023 00:55:43 +0000 (00:55 +0000)] 
Bug 40876: Extra logging

2 years agoBug 40876: Don't reduce primary list for temporary restrictions
Mike Perry [Mon, 23 Oct 2023 21:48:09 +0000 (21:48 +0000)] 
Bug 40876: Don't reduce primary list for temporary restrictions

2 years agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Mon, 30 Oct 2023 17:46:19 +0000 (13:46 -0400)] 
Merge branch 'maint-0.4.8' into release-0.4.8

2 years agoChanges file for bug 40878
Mike Perry [Mon, 30 Oct 2023 16:55:11 +0000 (16:55 +0000)] 
Changes file for bug 40878

2 years agoBug 40878: Count a valid conflux linked cell as valid data
Mike Perry [Mon, 30 Oct 2023 16:54:49 +0000 (16:54 +0000)] 
Bug 40878: Count a valid conflux linked cell as valid data

For vanguards addon.

2 years agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Thu, 12 Oct 2023 16:41:04 +0000 (12:41 -0400)] 
Merge branch 'maint-0.4.8' into release-0.4.8

2 years agoconfigure: Bump version to 0.4.8.8-dev
David Goulet [Thu, 12 Oct 2023 16:40:49 +0000 (12:40 -0400)] 
configure: Bump version to 0.4.8.8-dev

Signed-off-by: David Goulet <dgoulet@torproject.org>
2 years agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Wed, 11 Oct 2023 18:51:59 +0000 (14:51 -0400)] 
Merge branch 'maint-0.4.8' into release-0.4.8

2 years agoMerge branch 'bug40869_048' into 'maint-0.4.8'
David Goulet [Wed, 11 Oct 2023 18:51:44 +0000 (18:51 +0000)] 
Merge branch 'bug40869_048' into 'maint-0.4.8'

Fix the spelling of maxunmeasur(e)dbw (backport to 0.4.8)

See merge request tpo/core/tor!774

2 years agoFix the spelling of maxunmeasur(e)dbw.
Nick Mathewson [Fri, 6 Oct 2023 03:28:05 +0000 (23:28 -0400)] 
Fix the spelling of maxunmeasur(e)dbw.

This has been misspelled when using consensus method 31 or later
since 0.4.6.1-alpha.  Fixes bug 40869.

This commit is a backport of b9b0abd6c26d9b361923 to 0.4.8.

2 years agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Mon, 25 Sep 2023 14:44:29 +0000 (10:44 -0400)] 
Merge branch 'maint-0.4.8' into release-0.4.8

2 years agoversion: Bump version to 0.4.8.7-dev
David Goulet [Mon, 25 Sep 2023 14:44:06 +0000 (10:44 -0400)] 
version: Bump version to 0.4.8.7-dev

Signed-off-by: David Goulet <dgoulet@torproject.org>
2 years agoMerge branch 'maint-0.4.8' into release-0.4.8 tor-0.4.8.7
David Goulet [Mon, 25 Sep 2023 13:58:39 +0000 (09:58 -0400)] 
Merge branch 'maint-0.4.8' into release-0.4.8

2 years agoversion: Bump version to 0.4.8.7
Tor CI Release [Mon, 25 Sep 2023 13:49:41 +0000 (13:49 +0000)] 
version: Bump version to 0.4.8.7

2 years agorelease: ChangeLog and ReleaseNotes for 0.4.8.7
David Goulet [Mon, 25 Sep 2023 13:57:44 +0000 (09:57 -0400)] 
release: ChangeLog and ReleaseNotes for 0.4.8.7

Signed-off-by: David Goulet <dgoulet@torproject.org>
2 years agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Mon, 25 Sep 2023 13:51:49 +0000 (09:51 -0400)] 
Merge branch 'maint-0.4.8' into release-0.4.8

2 years agofallbackdir: Update list generated on September 25, 2023
Tor CI Release [Mon, 25 Sep 2023 13:48:54 +0000 (13:48 +0000)] 
fallbackdir: Update list generated on September 25, 2023

2 years agoUpdate geoip files to match ipfire location db, 2023/09/25.
Tor CI Release [Mon, 25 Sep 2023 13:48:26 +0000 (13:48 +0000)] 
Update geoip files to match ipfire location db, 2023/09/25.

2 years agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Thu, 21 Sep 2023 12:59:02 +0000 (08:59 -0400)] 
Merge branch 'maint-0.4.8' into release-0.4.8

2 years agoChanges file for bug40862
Mike Perry [Wed, 20 Sep 2023 23:37:04 +0000 (23:37 +0000)] 
Changes file for bug40862

2 years agoBug 40862: Check if circuits are unused more ways
Mike Perry [Wed, 20 Sep 2023 23:35:36 +0000 (23:35 +0000)] 
Bug 40862: Check if circuits are unused more ways

2 years agoRemove runaway string in the ReleaseNotes file
David Goulet [Mon, 18 Sep 2023 15:09:29 +0000 (11:09 -0400)] 
Remove runaway string in the ReleaseNotes file

Signed-off-by: David Goulet <dgoulet@torproject.org>
2 years agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Mon, 18 Sep 2023 14:58:04 +0000 (10:58 -0400)] 
Merge branch 'maint-0.4.8' into release-0.4.8

2 years agoversion: Bump version to 0.4.8.6-dev
Tor CI Release [Mon, 18 Sep 2023 14:24:06 +0000 (14:24 +0000)] 
version: Bump version to 0.4.8.6-dev

2 years agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 14:57:45 +0000 (10:57 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

2 years agoversion: Bump version to 0.4.7.15-dev
Tor CI Release [Mon, 18 Sep 2023 14:24:06 +0000 (14:24 +0000)] 
version: Bump version to 0.4.7.15-dev

2 years agoMerge branch 'maint-0.4.8' into release-0.4.8 tor-0.4.8.6
David Goulet [Mon, 18 Sep 2023 14:05:56 +0000 (10:05 -0400)] 
Merge branch 'maint-0.4.8' into release-0.4.8

2 years agoversion: Bump version to 0.4.8.6
Tor CI Release [Mon, 18 Sep 2023 13:48:44 +0000 (13:48 +0000)] 
version: Bump version to 0.4.8.6

2 years agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 14:05:33 +0000 (10:05 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

2 years agoversion: Bump version to 0.4.7.15
Tor CI Release [Mon, 18 Sep 2023 13:48:42 +0000 (13:48 +0000)] 
version: Bump version to 0.4.7.15

2 years agorelease: ChangeLog and ReleaseNotes for 0.4.8.6
David Goulet [Mon, 18 Sep 2023 14:03:45 +0000 (10:03 -0400)] 
release: ChangeLog and ReleaseNotes for 0.4.8.6

Signed-off-by: David Goulet <dgoulet@torproject.org>
2 years agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Mon, 18 Sep 2023 13:52:00 +0000 (09:52 -0400)] 
Merge branch 'maint-0.4.8' into release-0.4.8

2 years agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 13:51:59 +0000 (09:51 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

2 years agofallbackdir: Update list generated on September 18, 2023
Tor CI Release [Mon, 18 Sep 2023 13:45:54 +0000 (13:45 +0000)] 
fallbackdir: Update list generated on September 18, 2023

2 years agoUpdate geoip files to match ipfire location db, 2023/09/18.
Tor CI Release [Mon, 18 Sep 2023 13:42:50 +0000 (13:42 +0000)] 
Update geoip files to match ipfire location db, 2023/09/18.

2 years agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Mon, 18 Sep 2023 13:40:42 +0000 (09:40 -0400)] 
Merge branch 'maint-0.4.8' into release-0.4.8

2 years agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 13:40:38 +0000 (09:40 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

2 years agoMatch fallbackdir with maint-0.4.8 for release
David Goulet [Mon, 18 Sep 2023 13:40:27 +0000 (09:40 -0400)] 
Match fallbackdir with maint-0.4.8 for release

Signed-off-by: David Goulet <dgoulet@torproject.org>
2 years agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Mon, 18 Sep 2023 13:27:38 +0000 (09:27 -0400)] 
Merge branch 'maint-0.4.8' into release-0.4.8

2 years agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 13:27:34 +0000 (09:27 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

2 years agogeoip: Match maint-0.4.8 files for release
David Goulet [Mon, 18 Sep 2023 13:27:20 +0000 (09:27 -0400)] 
geoip: Match maint-0.4.8 files for release

Signed-off-by: David Goulet <dgoulet@torproject.org>
2 years agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Mon, 18 Sep 2023 13:11:06 +0000 (09:11 -0400)] 
Merge branch 'maint-0.4.8' into release-0.4.8

2 years agoMerge branch 'tor-gitlab/mr/759' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 13:11:02 +0000 (09:11 -0400)] 
Merge branch 'tor-gitlab/mr/759' into maint-0.4.8

2 years agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Mon, 18 Sep 2023 13:10:44 +0000 (09:10 -0400)] 
Merge branch 'maint-0.4.8' into release-0.4.8

2 years agoMerge branch 'tor-gitlab/mr/761' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 13:10:39 +0000 (09:10 -0400)] 
Merge branch 'tor-gitlab/mr/761' into maint-0.4.8

2 years agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Mon, 18 Sep 2023 13:08:57 +0000 (09:08 -0400)] 
Merge branch 'maint-0.4.8' into release-0.4.8

2 years agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 13:08:57 +0000 (09:08 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

2 years agoMerge branch 'tor-gitlab/mr/766' into maint-0.4.7
David Goulet [Mon, 18 Sep 2023 13:08:52 +0000 (09:08 -0400)] 
Merge branch 'tor-gitlab/mr/766' into maint-0.4.7

2 years agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Mon, 18 Sep 2023 13:08:17 +0000 (09:08 -0400)] 
Merge branch 'maint-0.4.8' into release-0.4.8

2 years agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 13:08:17 +0000 (09:08 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

2 years agoMerge branch 'tor-gitlab/mr/764' into maint-0.4.7
David Goulet [Mon, 18 Sep 2023 13:08:13 +0000 (09:08 -0400)] 
Merge branch 'tor-gitlab/mr/764' into maint-0.4.7

2 years agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Mon, 18 Sep 2023 13:06:04 +0000 (09:06 -0400)] 
Merge branch 'maint-0.4.8' into release-0.4.8

2 years agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 13:06:01 +0000 (09:06 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

2 years agoMerge branch 'tor-gitlab/mr/765' into maint-0.4.7
David Goulet [Mon, 18 Sep 2023 13:05:42 +0000 (09:05 -0400)] 
Merge branch 'tor-gitlab/mr/765' into maint-0.4.7

2 years agouse physical runner for i386 jobs
trinity-1686a [Fri, 25 Aug 2023 08:14:04 +0000 (10:14 +0200)] 
use physical runner for i386 jobs

2 years agoAdd changes file for tor#40859.
Alexander Færøy [Thu, 14 Sep 2023 20:42:22 +0000 (22:42 +0200)] 
Add changes file for tor#40859.

2 years agoLower the log-level and soften the language for our Zstd ABI compat check.
Alexander Færøy [Thu, 14 Sep 2023 20:26:41 +0000 (22:26 +0200)] 
Lower the log-level and soften the language for our Zstd ABI compat check.

See: tpo/core/tor#40815.

2 years agoci-driver: fix running doxygen and stem tests on 0.4.8
Alex Xu (Hello71) [Mon, 6 Jun 2022 15:44:15 +0000 (11:44 -0400)] 
ci-driver: fix running doxygen and stem tests on 0.4.8

also do some cleanup, no point to set TOR_VER_AT_LEAST_043 and
TOR_VER_AT_LEAST_044 variables which are always yes

2 years agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Thu, 14 Sep 2023 19:34:25 +0000 (15:34 -0400)] 
Merge branch 'maint-0.4.8' into release-0.4.8

2 years agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Thu, 14 Sep 2023 19:34:25 +0000 (15:34 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

2 years agoChanges file for bug40858
Mike Perry [Thu, 14 Sep 2023 19:18:15 +0000 (19:18 +0000)] 
Changes file for bug40858

2 years agoBug 40858: Cache sendme_inc to avoid purging intro points.
Mike Perry [Thu, 14 Sep 2023 19:16:06 +0000 (19:16 +0000)] 
Bug 40858: Cache sendme_inc to avoid purging intro points.

Bug found and fixed by @hyunsoo.kim676.

2 years agoAdd diagnostic log message for compression bombs.
Alexander Færøy [Wed, 13 Sep 2023 14:13:28 +0000 (16:13 +0200)] 
Add diagnostic log message for compression bombs.

This patch causes `tor_compress_is_compression_bomb()` to emit a
warning-level log message that lets us learn the potential ratio of the
input to output buffer sizes. Hopefully, this will give us a bit of a
better idea whether the compression bomb ratio needs some tuning.

See: tpo/core/tor#40739.

2 years agoRemove defensive assertion in `relay_key_is_unavailable_()`.
Alexander Færøy [Wed, 30 Aug 2023 12:43:21 +0000 (14:43 +0200)] 
Remove defensive assertion in `relay_key_is_unavailable_()`.

This patch removes a call to `tor_assert_nonfatal_unreached()` in
`relay_key_is_unavailable_()` that is only called when Tor is compiled
without relay support.

Unfortunately, the non-fatal assertion causes a BUG log
message to appear for clients when they start up without relay support
for each CPU worker we spawn. This makes it spotting issues during
bootstrap harder particularly for our iOS developers.

Since the call sites to `get_master_identity_key()` handles `NULL`
values already, we do not think this will be an issue later on.

Reported by Benjamin Erhart (@tla) from Guardian Project.

Fixes tpo/core/tor#40848.

2 years agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Tue, 12 Sep 2023 14:28:42 +0000 (10:28 -0400)] 
Merge branch 'maint-0.4.8' into release-0.4.8

2 years agoMake networkstatus_getinfo_by_purpose report published_on again.
Nick Mathewson [Tue, 12 Sep 2023 12:46:31 +0000 (08:46 -0400)] 
Make networkstatus_getinfo_by_purpose report published_on again.

When we implemented prop275 in 0.4.8.1-alpha, we changed the
behavior of networkstatus_getinfo_helper_single to omit meaningful
published_on times, replacing them with "2038-01-01".  This is
necessary when we're formatting a routerstatus with no additional
info, since routerstatus objects no longer include a published_on.

But in networkstatus_getinfo_by_purpose, we do have a routerinfo
that does have a published_on.  This patch uses that information
to report published_on times in our output when we're making a
"virtual" networkstatus for a big file of routerinfo_t objects.
This is mostly important for bridge authorities, since when
they dump a secret list of the bridges, they want to include
published_on times.

Closes #40855. Bugfix on 0.4.8.1-alpha.

2 years agoMerge branch 'maint-0.4.8' into release-0.4.8
David Goulet [Wed, 30 Aug 2023 17:36:02 +0000 (13:36 -0400)] 
Merge branch 'maint-0.4.8' into release-0.4.8