Commit Graph

9415 Commits

Author SHA1 Message Date
Nick Mathewson fd1bd5bdce Merge branch 'maint-0.4.4' into release-0.4.4 2020-07-29 12:37:08 -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 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 6354b70e49 Merge branch 'maint-0.4.2' into maint-0.4.3 2020-07-23 10:09:14 -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 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 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
Alexander Færøy 1e9a87cb92 Merge branch 'maint-0.4.4' into release-0.4.4 2020-07-14 14:48:21 +00:00
Alexander Færøy 07f3345e11 Merge remote-tracking branch 'tor-gitlab/merge-requests/43' into maint-0.4.4 2020-07-14 14:47:48 +00:00
David Goulet a5a6d47081 Merge branch 'maint-0.4.4' into release-0.4.4 2020-07-13 15:03:53 -04:00
David Goulet 515d4f1e93 Merge branch 'maint-0.4.3' into maint-0.4.4 2020-07-13 15:03:34 -04:00
Nick Mathewson 78bbbd9035 Merge branch 'maint-0.4.4' into release-0.4.4 2020-07-13 10:45:04 -04:00
Nick Mathewson eb427f309c Changes file for ticket 31812. 2020-07-13 10:44:39 -04:00
Nick Mathewson 0acc3ae879 Remove check-cocci from check-local target.
check-cocci is still a good idea -- perhaps as a cron job?  But
doing it as part of our regular tests has just been confusing,
especially to volunteers who shouldn't have to become coccinelle
experts in order to get their patches through our CI.

Closes #40030.
2020-07-13 09:24:26 -04:00
Nick Mathewson 40eb6b19a3 NSS: Tell NSS that our SSL sockets are nonblocking.
Closes ticket 40035.
2020-07-10 13:14:33 -04:00
Nick Mathewson dfddfa833b More changelog folding 2020-07-09 10:12:18 -04:00
George Kadianakis 7bc4afdd96 Merge branch 'maint-0.4.4' into release-0.4.4 2020-07-09 17:08:34 +03:00
George Kadianakis e500ea2eae Merge branch 'tor-github/pr/1989' into maint-0.4.4 2020-07-09 17:08:07 +03:00
Nick Mathewson 3a5c9487d7 fold in changelog entry for 33796 2020-07-09 10:06:41 -04:00
Nick Mathewson ff38a077e1 Merge branch 'maint-0.4.4' into release-0.4.4 2020-07-09 09:59:54 -04:00
Nick Mathewson 8dd89e4330 Merge remote-tracking branch 'dgoulet/ticket33796_044_01' into maint-0.4.4 2020-07-09 09:59:45 -04:00
Nick Mathewson 781dd1bd8a Fold in more changelog entries, hope to finish changelog 2020-07-09 09:46:53 -04:00
Nick Mathewson af08dad6d1 Merge branch 'maint-0.4.2' into maint-0.4.3 2020-07-09 09:28:53 -04:00
Nick Mathewson 283ce30c53 Merge branch 'maint-0.3.5' into maint-0.4.2 2020-07-09 09:28:53 -04:00
Nick Mathewson 0f39cc10f6 Merge branch 'maint-0.4.3' into maint-0.4.4 2020-07-09 09:28:53 -04:00
Nick Mathewson 3325587572 Merge branch 'maint-0.4.4' into release-0.4.4 2020-07-09 09:28:53 -04:00
Nick Mathewson 7142f3e435 Merge branch 'trove_2020_001_035' into maint-0.3.5 2020-07-09 09:28:36 -04:00
David Goulet 63a54858c3 hs-v3: Remove a possible BUG() condition
When receiving an introduction NACK, the client either decides to close or
re-extend the circuit to another intro point.

In order to do this, the service descriptor needs to exists but it is possible
that it gets removed from the cache between the establishement of the
introduction circuit and the reception of the (N)ACK.

For that reason, the BUG(desc == NULL) is removed because it is a possible
normal use case. Tor recovers gracefully already.

Fixes #34087

Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-07-09 08:32:53 -04:00
David Goulet d4fde97de2 Merge branch 'maint-0.4.4' into release-0.4.4 2020-07-09 07:27:25 -04:00
David Goulet 1af7f40dad Merge branch 'tor-github/pr/1988' into maint-0.4.4 2020-07-09 07:27:13 -04:00
David Goulet 990ae1b027 Merge branch 'maint-0.4.4' into release-0.4.4 2020-07-09 07:25:26 -04:00
George Kadianakis e0da64fd27 Handle a failure edge-case when a client-side intro circ opens. 2020-07-09 10:10:57 +03:00
Guinness 562957e0db socks: Returns 0xF6 only if BAD_HOSTNAME
This commit modifies the behavior of `parse_extended_address` in such a way
that if it fails, it will always return a `BAD_HOSTNAME` value, which is then
used to return the 0xF6 extended error code.  This way, in any case that is
not a valid v2 address, we return the 0xF6 error code, which is the expected
behavior.

Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-07-08 16:20:31 -04:00
Alexander Færøy c364e0e83b Merge branch 'maint-0.4.2' into maint-0.4.3 2020-07-08 00:36:48 +00:00
Alexander Færøy d973604981 Merge branch 'maint-0.4.4' into release-0.4.4 2020-07-08 00:36:48 +00:00