Alexander Færøy
dcc41e15eb
Merge branch 'maint-0.4.6' into release-0.4.6
2021-08-11 12:48:04 +00:00
Alexander Færøy
3d0b4c7c45
Merge branch 'maint-0.4.5' into maint-0.4.6
2021-08-11 12:48:04 +00:00
David Goulet
70d8fb3eab
relay: Reduce streaming compression ratio from HIGH to LOW
...
Fixes #40301
Signed-off-by: David Goulet <dgoulet@torproject.org >
2021-08-11 12:47:20 +00:00
George Kadianakis
cb9e346618
Merge branch 'maint-0.4.6' into release-0.4.6
2021-07-07 13:04:39 +03:00
George Kadianakis
8b026b4eee
Merge remote-tracking branch 'tor-gitlab/mr/406' into maint-0.4.6
2021-07-07 13:04:24 +03:00
George Kadianakis
7f34440063
Merge branch 'maint-0.4.6' into release-0.4.6
2021-07-06 13:42:53 +03:00
George Kadianakis
167f3bc4ec
Merge branch 'maint-0.4.5' into maint-0.4.6
2021-07-06 13:42:53 +03:00
George Kadianakis
98b9df61f6
Merge branch 'mr/395' into maint-0.4.5
2021-07-06 13:42:29 +03:00
Nick Mathewson
c1d96358d4
Use native timegm when available.
...
Continue having a tor_gmtime_impl() unit test so that we can detect
any problems in our replacement function; add a new test function to
make sure that gmtime<->timegm are a round-trip on now-ish times.
This is a fix for bug #40383 , wherein we ran into trouble because
tor_timegm() does not believe that time_t should include a count of
leap seconds, but FreeBSD's gmtime believes that it should. This
disagreement meant that for a certain amount of time each day,
instead of calculating the most recent midnight, our voting-schedule
functions would calculate the second-most-recent midnight, and lead
to an assertion failure.
I am calling this a bugfix on 0.2.0.3-alpha when we first started
calculating our voting schedule in this way.
2021-07-06 13:33:05 +03:00
Nick Mathewson
60ffee9d82
Changelog for 0.4.6.6
2021-06-30 09:10:44 -04:00
Nick Mathewson
bd3ed77191
Merge branch 'maint-0.4.6' into release-0.4.6
2021-06-30 08:15:41 -04:00
Nick Mathewson
4302c0b4a1
Merge branch 'maint-0.4.5' into maint-0.4.6
2021-06-30 08:15:41 -04:00
Nick Mathewson
e60d14bb6b
Missing changes file for #40409
2021-06-30 08:14:57 -04:00
David Goulet
301ffb71a6
hs: Send back 0xF6 for a v2 onion address
...
Fixes #40421
Signed-off-by: David Goulet <dgoulet@torproject.org >
2021-06-29 09:56:44 -04:00
Nick Mathewson
8edd19ca72
Merge branch 'maint-0.4.6' into release-0.4.6
2021-06-26 10:04:38 -04:00
Nick Mathewson
45c8d69cbb
Merge branch 'maint-0.4.5' into maint-0.4.6
2021-06-26 10:04:38 -04:00
Alexander Færøy
83483bd4f6
Enable deterministic RNG for address set tests.
...
This patch enables the deterministic RNG for address set tests,
including the tests which uses address set indirectly via the nodelist
API.
This should prevent random test failures in the highly unlikely case of
a false positive which was seen in tor#40419.
See: tpo/core/tor#40419.
2021-06-25 16:43:10 +00:00
David Goulet
3abb9180cb
Merge branch 'maint-0.4.6' into release-0.4.6
2021-06-18 14:29:15 -04:00
Alexander Færøy
2c00ad36cd
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-06-18 18:14:07 +00:00
Nick Mathewson
15b0980bd7
Fold entries into changelog and releasenotes
2021-06-10 13:13:29 -04:00
Nick Mathewson
8e590992c4
Merge branch 'maint-0.4.5' into maint-0.4.6
2021-06-10 12:30:29 -04:00
Nick Mathewson
200e9a55e0
Merge branch 'maint-0.4.4' into maint-0.4.5
2021-06-10 12:30:29 -04:00
Nick Mathewson
58ad0302ea
Merge branch 'maint-0.4.6' into release-0.4.6
2021-06-10 12:30:29 -04:00
Nick Mathewson
0ae9fd62fd
Merge branch 'maint-0.3.5' into maint-0.4.4
2021-06-10 12:30:11 -04:00
George Kadianakis
f57b5c48e0
Fix TROVE-2021-006: Out-of-bounds read on v3 desc parsing
2021-06-10 12:11:10 -04:00
Nick Mathewson
3260d323a6
Merge branch 'maint-0.4.5' into maint-0.4.6
2021-06-10 08:53:07 -04:00
Nick Mathewson
ec696a95e5
Merge branch 'maint-0.4.4' into maint-0.4.5
2021-06-10 08:53:07 -04:00
Nick Mathewson
a2b0d7ead4
Merge branch 'maint-0.4.6' into release-0.4.6
2021-06-10 08:53:07 -04:00
Nick Mathewson
0f2d45328d
Merge branch 'maint-0.3.5' into maint-0.4.4
...
Conflicts resolved:
src/core/or/relay.c
2021-06-10 08:52:39 -04:00
David Goulet
adb248b6d6
TROVE-2021-003: Check layer_hint before half-closed end and resolve cells
...
This issue was reported by Jann Horn part of Google's Project Zero.
Jann's one-sentence summary: entry/middle relays can spoof RELAY_END cells on
half-closed streams, which can lead to stream confusion between OP and
exit.
Fixes #40389
2021-06-10 08:50:05 -04:00
Nick Mathewson
69bd4a8a2d
Merge branch 'maint-0.4.5' into maint-0.4.6
2021-06-10 08:42:15 -04:00
Nick Mathewson
1da8621c0a
Merge branch 'maint-0.4.4' into maint-0.4.5
2021-06-10 08:42:15 -04:00
Nick Mathewson
f6ebe8b920
Merge branch 'maint-0.4.6' into release-0.4.6
2021-06-10 08:42:15 -04:00
Nick Mathewson
31eaa81f59
Merge branch 'maint-0.3.5' into maint-0.4.4
2021-06-10 08:42:15 -04:00
Nick Mathewson
d71bf986b4
Merge branch 'bug40391_035' into maint-0.3.5
2021-06-10 08:41:59 -04:00
Nick Mathewson
1d11675adb
Merge branch 'maint-0.4.5' into maint-0.4.6
2021-06-10 08:37:34 -04:00
Nick Mathewson
e2d01aac9e
Merge branch 'maint-0.4.4' into maint-0.4.5
2021-06-10 08:37:34 -04:00
Nick Mathewson
c58c2d4e37
Merge branch 'maint-0.4.6' into release-0.4.6
2021-06-10 08:37:34 -04:00
Nick Mathewson
7c19a4d924
Merge branch 'maint-0.3.5' into maint-0.4.4
2021-06-10 08:37:26 -04:00
Nick Mathewson
7fdfc2ea54
Merge branch 'bug40390_035_squashed' into maint-0.3.5
2021-06-10 08:34:25 -04:00
Nick Mathewson
c0aa9e0a1b
Assert on _all_ failures from RAND_bytes().
...
Previously, we would detect errors from a missing RNG
implementation, but not failures from the RNG code itself.
Fortunately, it appears those failures do not happen in practice
when Tor is using OpenSSL's default RNG implementation. Fixes bug
40390; bugfix on 0.2.8.1-alpha. This issue is also tracked as
TROVE-2021-004. Reported by Jann Horn at Google's Project Zero.
2021-06-10 08:33:57 -04:00
Nick Mathewson
cb38219664
Merge branch 'maint-0.4.5' into maint-0.4.6
2021-06-10 08:21:48 -04:00
Nick Mathewson
d60f8fe98a
Merge branch 'maint-0.4.4' into maint-0.4.5
2021-06-10 08:21:48 -04:00
Nick Mathewson
9e5e584cb6
Merge branch 'maint-0.4.6' into release-0.4.6
2021-06-10 08:21:48 -04:00
Nick Mathewson
57a41348ee
Merge branch 'maint-0.3.5' into maint-0.4.4
2021-06-10 08:21:47 -04:00
Nick Mathewson
520d5c108f
Update geoip files to match ipfire location db, 2021/06/10.
2021-06-10 08:20:13 -04:00
Nick Mathewson
009b5778b2
remove rolled-up changes file.
2021-06-07 15:03:27 -04:00
Nick Mathewson
9a37cf4883
Merge branch 'maint-0.4.6' into release-0.4.6
2021-06-01 12:16:42 -04:00
Nick Mathewson
f832b4bcee
Merge branch 'bug40175_045' into maint-0.4.6
2021-06-01 12:16:35 -04:00
Nick Mathewson
9348b1b440
changes file for #40175
2021-06-01 12:16:06 -04:00