Nick Mathewson
9b3e721d74
Changelog draft for 0.4.4.4-rc
2020-08-12 14:52:23 -04:00
George Kadianakis
0b1835be92
Merge branch 'maint-0.4.4' into release-0.4.4
2020-08-12 13:47:59 +03:00
George Kadianakis
5a1918d7e7
Merge remote-tracking branch 'tor-gitlab/mr/107' into maint-0.4.4
2020-08-12 13:47:34 +03:00
George Kadianakis
cce39dd915
Merge branch 'maint-0.4.4' into release-0.4.4
2020-08-12 13:23:33 +03:00
George Kadianakis
8e9edb93be
Merge remote-tracking branch 'tor-gitlab/mr/104' into maint-0.4.4
2020-08-12 13:23:08 +03:00
Nick Mathewson
872d369ce7
Merge branch 'maint-0.4.4' into release-0.4.4
2020-08-11 12:40:09 -04:00
Nick Mathewson
d76f8457f3
Merge remote-tracking branch 'tor-gitlab/mr/119' into maint-0.4.4
2020-08-11 12:40:02 -04:00
Nick Mathewson
912c8e6a8c
Merge branch 'maint-0.4.4' into release-0.4.4
2020-08-11 11:03:24 -04:00
Nick Mathewson
2a7e71c956
Fix "run_check_subsystem_order.sh" to use $PYTHON.
...
Previously it just used /usr/bin/env/python, which would fail if we
only had a "python3" binary.
Fixes bug 40095; bugfix on 0.4.4.1-alpha.
2020-08-11 11:01:31 -04:00
George Kadianakis
39882a2021
Merge branch 'maint-0.4.4' into release-0.4.4
2020-08-11 14:54:26 +03:00
George Kadianakis
ab9c35f043
Merge remote-tracking branch 'tor-gitlab/mr/102' into maint-0.4.4
2020-08-11 14:53:03 +03:00
George Kadianakis
9316ca9f06
Remove a BUG() that could normally trigger in edge-cases.
2020-08-11 14:42:18 +03:00
Nick Mathewson
08de260682
Merge branch 'bug40083_035' into bug40083_042
...
Fixes conflicts due to code movement.
2020-08-04 13:10:16 -04:00
Nick Mathewson
62361cc698
Launch early reachability tests once a minute, not once a second.
...
This fixes bug 40083, which was introduced in 9f31908a in
0.2.8.1-alpha.
2020-08-04 13:05:07 -04:00
Nick Mathewson
aef9c0f580
Merge branch 'ticket40081_035' into ticket40081_044
...
Resolves conflicts:
src/core/or/channel.c
src/test/test_channel.c
2020-08-03 11:49:09 -04:00
Nick Mathewson
435f31aed3
Remove channel_is_canonical_is_reliable()
...
This function once served to let circuits continue to be built over
version-1 link connections. But such connections are long-obsolete,
and it's time to remove this check.
Closes #40081 .
2020-08-03 11:25:37 -04:00
Nick Mathewson
ea876ab00e
Wipe address strings from connections before freeing them them.
...
This is a defense-in-depth fix; closes 6198.
2020-08-03 10:15:08 -04:00
George Kadianakis
e62e46d930
Merge branch 'maint-0.4.4' into release-0.4.4
2020-08-03 16:49:04 +03:00
George Kadianakis
18d2c7c5d7
Merge remote-tracking branch 'tor-gitlab/mr/79' into maint-0.4.4
2020-08-03 16:48:52 +03:00
Alexander Færøy
4e684c8695
Merge branch 'maint-0.3.5' into maint-0.4.2
2020-07-31 02:03:34 +00:00
Alexander Færøy
f04034536f
Merge branch 'maint-0.4.4' into release-0.4.4
2020-07-31 01:59:13 +00:00
Nick Mathewson
b4400e2093
Merge branch 'bug40076_043' into bug40076_044
2020-07-30 14:28:11 -04:00
Nick Mathewson
69d7752937
Merge branch 'bug40076_042' into bug40076_043
2020-07-30 14:27:29 -04:00
Nick Mathewson
c2d5ec5e43
Merge branch 'maint-0.4.2' into bug40076_042
2020-07-30 14:27:29 -04:00
Nick Mathewson
c4742b89b2
Fix a bug in buf_move_all() when the input buffer is empty.
...
We found this in #40076 , after we started using buf_move_all() in
more places. Fixes bug #40076 ; bugfix on 0.3.3.1-alpha. As far as
I know, the crash only affects master, but I think this warrants a
backport, "just in case".
2020-07-30 14:24:25 -04:00
Nick Mathewson
fd1bd5bdce
Merge branch 'maint-0.4.4' into release-0.4.4
2020-07-29 12:37:08 -04:00
Nick Mathewson
cdb0e6c252
Merge branch 'maint-0.3.5' into maint-0.4.2
2020-07-29 12:37:07 -04:00
Nick Mathewson
3b8bf743ae
Merge branch 'maint-0.4.2' into maint-0.4.3
2020-07-29 12:37:07 -04:00
Nick Mathewson
c7502b6503
Add a changes file from mr 86 for 40072 fix.
2020-07-29 12:36:56 -04:00
Alexander Færøy
8d19118fd2
Merge branch 'maint-0.4.4' into release-0.4.4
2020-07-29 13:58:14 +00:00
Alexander Færøy
8e690ce736
Merge remote-tracking branch 'tor-gitlab/mr/85' into maint-0.4.4
2020-07-29 13:57:47 +00:00
Nick Mathewson
dcc60294ad
Use _lseeki64() on windows.
...
Fixes bug 31036; bugfix on 0.2.1.8-alpha when we moved the logging
system to use posix fds.
2020-07-28 11:30:47 -04:00
Nick Mathewson
c178d51965
Start an 0.4.4.3-alpha changelog
2020-07-27 08:59:21 -04:00
Nick Mathewson
3bcbd69a77
Merge branch 'maint-0.3.5' into maint-0.4.2
2020-07-23 10:09:14 -04:00
Nick Mathewson
6354b70e49
Merge branch 'maint-0.4.2' into maint-0.4.3
2020-07-23 10:09:14 -04:00
Nick Mathewson
7a59b9f549
Merge branch 'maint-0.4.4' into release-0.4.4
2020-07-23 10:09:14 -04:00
Nick Mathewson
07934664c5
Merge branch 'maint-0.4.3' into maint-0.4.4
2020-07-23 10:09:14 -04:00
Nick Mathewson
f916ddd312
More info in the fallbackdir changes file
2020-07-23 10:08:42 -04:00
David Goulet
6f19e67c98
fallbackdir: Update list for 2020
...
Closes #40061
Signed-off-by: David Goulet <dgoulet@torproject.org >
2020-07-23 10:05:11 -04:00
David Goulet
d1a8c10fc1
Merge branch 'maint-0.4.4' into release-0.4.4
2020-07-22 16:14:19 -04:00
David Goulet
1ee164afc2
Merge branch 'tor-gitlab/mr/77' into maint-0.4.4
2020-07-22 16:14:11 -04:00
Nick Mathewson
ceb6585a4b
Treat all extorport connections with un-set addresses as remote
...
Without this fix, if an PT forgets to send a USERADDR command, that
results in a connection getting treated as local for the purposes of
rate-limiting.
If the PT _does_ use USERADDR, we still believe it.
Closes ticket 33747.
2020-07-22 15:21:56 -04:00
Nick Mathewson
faa752f3c9
Adjust the rules for warning about too many connections.
...
Previously we tolerated up to 1.5 connections for every relay we
were connected to, and didn't warn if we had fewer than 5
connections total.
Now we tolerate up to 1.5 connections per relay, and up to 4
connections per authority, and we don't warn at all when we have
fewer than 25 connections total.
Fixes bug 33880, which seems to have been provoked by our #17592
change in 0.3.5.
2020-07-22 14:45:03 -04:00
Nick Mathewson
29279889ac
Merge branch 'maint-0.4.4' into release-0.4.4
2020-07-21 09:29:13 -04:00
Nick Mathewson
5cd85feaa7
Merge remote-tracking branch 'tor-gitlab/mr/68' into maint-0.4.4
2020-07-21 09:29:03 -04:00
Nick Mathewson
0e75fff9f1
Merge branch 'maint-0.4.4' into release-0.4.4
2020-07-21 09:24:27 -04:00
Nick Mathewson
95d4bff784
Merge remote-tracking branch 'tor-gitlab/mr/67' into maint-0.4.4
2020-07-21 09:24:15 -04:00
Daniel Pinto
d75e7daaab
Fix seccomp sandbox rules for openat #27315
...
The need for casting negative syscall arguments depends on the
glibc version. This affects the rules for the openat syscall which
uses the constant AT_FDCWD that is defined as a negative number.
This commit adds logic to only apply the cast when necessary, on
glibc versions from 2.27 onwards.
2020-07-20 22:35:05 +01:00
Daniel Pinto
d28bfb2cd5
Fix seccomp sandbox rules for opening directories #40020
...
Different versions of glibc use either open or openat for the
opendir function. This commit adds logic to use the correct rule
for each glibc version, namely:
- Until 2.14 open is used
- From 2.15 to to 2.21 openat is used
- From 2.22 to 2.26 open is used
- From 2.27 onwards openat is used
2020-07-20 22:30:13 +01:00
Daniel Pinto
c79b4397d3
Fix seccomp sandbox rules for openat #27315
...
The need for casting negative syscall arguments depends on the
glibc version. This affects the rules for the openat syscall which
uses the constant AT_FDCWD that is defined as a negative number.
This commit adds logic to only apply the cast when necessary, on
glibc versions from 2.27 onwards.
2020-07-20 22:30:00 +01:00