Commit Graph

10090 Commits

Author SHA1 Message Date
David Goulet 380189d87f Merge branch 'maint-0.4.5' into release-0.4.5 2023-01-25 14:13:35 -05:00
Micah Elizabeth Scott a1d3d201ae compress_lzma: New enum values from liblzma 5.3.x
Add new liblzma enums (LZMA_SEEK_NEEDED and LZMA_RET_INTERNAL*)
conditional to the API version they arrived in. The first stable
version of liblzma this affects is 5.4.0

Fixes #40741

Signed-off-by: Micah Elizabeth Scott <beth@torproject.org>
2023-01-25 14:13:31 -05:00
Tor CI Release 11ac6c3adc release: ChangeLog and ReleaseNotes for 0.4.5.16 2023-01-12 11:11:20 -05:00
David Goulet d0f1a446ea Merge branch 'maint-0.4.5' into release-0.4.5 2023-01-12 11:07:39 -05:00
Tor CI Release 64c0a9fa74 fallbackdir: Update list generated on January 12, 2023 2023-01-12 11:07:33 -05:00
Tor CI Release 049d0818c6 Update geoip files to match ipfire location db, 2023/01/12. 2023-01-12 11:07:23 -05:00
David Goulet 14aad1a8bb Merge branch 'maint-0.4.5' into release-0.4.5 2023-01-12 10:52:35 -05:00
David Goulet 7b83e336ec Merge branch 'ticket40730_045_01' into maint-0.4.5 2023-01-12 10:52:31 -05:00
David Goulet e94ba70fcd Merge branch 'maint-0.4.5' into release-0.4.5 2023-01-11 09:03:29 -05:00
David Goulet 85547a9b5b Merge branch 'tor-gitlab/mr/538' into maint-0.4.5 2023-01-11 09:03:26 -05:00
David Goulet a282145b36 socks: Make SafeSocks refuse SOCKS4 and accept SOCKS4a
The logic was inverted. Introduced in commit
9155e08450.

This was reported through our bug bounty program on H1. It fixes the
TROVE-2022-002.

Fixes #40730

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-12-12 10:02:07 -05:00
Tor CI Release 7f1658daa3 release: ChangeLog and ReleaseNotes for 0.4.5.15 2022-12-06 10:18:57 -05:00
David Goulet b4fe2c94f4 Merge branch 'maint-0.4.5' into release-0.4.5 2022-12-06 10:10:41 -05:00
Tor CI Release 1992c553d5 fallbackdir: Update list generated on December 06, 2022 2022-12-06 10:09:32 -05:00
Tor CI Release ec0414270a Update geoip files to match ipfire location db, 2022/12/06. 2022-12-06 10:09:26 -05:00
David Goulet bce0b2a78c Merge branch 'maint-0.4.5' into release-0.4.5 2022-12-06 08:56:04 -05:00
Roger Dingledine 72b04a5aa4 dirauth: rotate moria1 keys and ports
Rotate the relay identity key and v3 identity key for moria1. They
have been online for more than a decade, there was a known potential
compromise, and anyway refreshing keys periodically is good practice.

Advertise new ports too, to avoid confusion.

Closes ticket 40722.
2022-11-29 20:33:58 -05:00
David Goulet 2941006d25 Merge branch 'maint-0.4.5' into release-0.4.5 2022-11-28 10:26:04 -05:00
David Goulet efeef819f5 changes: Add file for ticket 40674
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-11-28 10:25:48 -05:00
David Goulet c3c7fdfbf0 Merge branch 'maint-0.4.5' into release-0.4.5 2022-10-26 14:21:41 -04:00
David Goulet 7a851e8983 Merge branch 'tor-gitlab/mr/631' into maint-0.4.5 2022-10-26 14:21:35 -04:00
David Goulet efad436432 dirauth: Remove Faravahar
Closes #40688

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-10-26 14:20:07 -04:00
David Goulet a336565550 Merge branch 'maint-0.4.5' into release-0.4.5 2022-10-26 14:12:51 -04:00
David Goulet 938070f5c4 dirauth: Change dizum IP address
Closes #40687

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-10-18 10:35:54 -04:00
David Goulet 432b5797b9 Merge branch 'maint-0.4.5' into release-0.4.5 2022-10-14 09:12:23 -04:00
Nick Mathewson e531d4d1b9 Fix a completely wrong calculation in mach monotime_init_internal()
Bug 1: We were purporting to calculate milliseconds per tick, when we
*should* have been computing ticks per millisecond.

Bug 2: Instead of computing either one of those, we were _actually_
computing femtoseconds per tick.

These two bugs covered for one another on x86 hardware, where 1 tick
== 1 nanosecond.  But on M1 OSX, 1 tick is about 41 nanoseconds,
causing surprising results.

Fixes bug 40684; bugfix on 0.3.3.1-alpha.
2022-10-13 13:40:10 -04:00
David Goulet a562292130 Merge branch 'maint-0.4.5' into release-0.4.5 2022-08-12 09:56:53 -04:00
David Goulet bb88086c72 geoip: Update geoip files with August 9th, 2022 database
Fixes #40658

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-08-12 09:56:50 -04:00
Tor CI Release 3bebe3b3dd release: ChangeLog and ReleaseNotes for 0.4.5.13 2022-08-11 09:51:20 -04:00
David Goulet 6a566bd776 Merge branch 'maint-0.4.5' into release-0.4.5 2022-08-11 09:44:46 -04:00
Tor CI Release 65ffb97c2f fallbackdir: Update list generated on August 11, 2022 2022-08-11 09:44:39 -04:00
Tor CI Release f9acdd0630 Update geoip files to match ipfire location db, 2022/08/11. 2022-08-11 09:44:32 -04:00
David Goulet 324a08a701 Merge branch 'maint-0.4.5' into release-0.4.5 2022-08-02 16:14:02 -04:00
David Goulet 10d755ead5 Merge branch 'tor-gitlab/mr/608' into maint-0.4.5 2022-08-02 16:13:58 -04:00
David Goulet a1ff71c061 Merge branch 'maint-0.4.5' into release-0.4.5 2022-08-02 16:08:50 -04:00
David Goulet 6fcae8e0d0 relay: Don't send DESTROY remote reason backward or forward
Fixes #40649

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-08-02 15:53:31 -04:00
David Goulet 0c984e0ec2 conn: Notify btrack subsys on normal OR conn close
Fixes #40604

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-08-01 10:58:40 -04:00
David Goulet 6bd3d3fe70 Merge branch 'maint-0.4.5' into release-0.4.5 2022-07-27 11:33:19 -04:00
Nick Mathewson 8e7bd96362 Fix a check, make a netflow padding function more safe.
Previously, `channelpadding_get_netflow_inactive_timeout_ms` would
crash with an assertion failure if `low_timeout` was greater than
`high_timeout`. That wasn't possible in practice because of checks
in `channelpadding_update_padding_for_channel`, but it's better not
to have a function whose correctness is this tricky to prove.

Fixes #40645.  Bugfix on 0.3.1.1-alpha.
2022-07-27 09:16:50 -04:00
David Goulet 611ee0d707 Merge branch 'maint-0.4.5' into release-0.4.5 2022-07-26 16:16:04 -04:00
David Goulet 8d8afc4efa relay: Send DESTROY cell instead of TRUNCATED cell
Note that with this commit, TRUNCATED cells won't be used anymore that
is client and relays won't emit them.

Fixes #40623

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-07-26 14:01:21 -04:00
Alexander Færøy 621c922134 Merge branch 'maint-0.4.5' into release-0.4.5 2022-05-09 14:37:25 +00:00
Alexander Færøy c213c1b0d1 Add changes entry to tor!575.
See: tpo/core/tor#40601.
2022-05-09 14:35:42 +00:00
David Goulet 0d91cb8099 Merge branch 'maint-0.4.5' into release-0.4.5 2022-04-14 09:37:46 -04:00
David Goulet dc90226cc3 Merge branch 'tor-gitlab/mr/491' into maint-0.4.5 2022-04-14 09:37:43 -04:00
David Goulet 63d698b928 Merge branch 'maint-0.4.5' into release-0.4.5 2022-04-14 09:34:49 -04:00
David Goulet 9ac479ce1c Merge branch 'tor-gitlab/mr/497' into maint-0.4.5 2022-04-14 09:34:46 -04:00
David Goulet 1949407f0a Merge branch 'maint-0.4.5' into release-0.4.5 2022-03-28 09:45:16 -04:00
David Goulet b882b8d5d4 Merge branch 'tor-gitlab/mr/556' into maint-0.4.5 2022-03-28 09:44:31 -04:00
Nick Mathewson de3872656a Sandbox: Permit the clone3 system call
Apparently glibc-2.34 uses clone3, when previously it just used
clone.

Closes ticket #40590.
2022-03-27 18:34:25 -04:00