summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-13incorporate 33545 into changelog.tor-0.4.3.4-rcNick Mathewson
2020-04-13Merge branch 'maint-0.4.3' into release-0.4.3Nick Mathewson
2020-04-13Merge branch 'bug33545_043_squashed' into maint-0.4.3Nick Mathewson
2020-04-13hs-v3: Change all-zeroes hard-assert to a BUG-and-err.George Kadianakis
And also disallow all-zeroes keys from the filesystem; add a test for it too.
2020-04-13hs-v3: Don't allow registration of an all-zeroes client auth key.George Kadianakis
The client auth protocol allows attacker-controlled x25519 private keys being passed around, which allows an attacker to potentially trigger the all-zeroes assert for client_auth_sk in hs_descriptor.c:decrypt_descriptor_cookie(). We fixed that by making sure that an all-zeroes client auth key will not be used. There are no guidelines for validating x25519 private keys, and the assert was there as a sanity check for code flow issues (we don't want to enter that function with an unitialized key if client auth is being used). To avoid such crashes in the future, we also changed the assert to a BUG-and-err.
2020-04-09Changelog edits from sebornNick Mathewson
2020-04-09Start changelog for 0.4.3.4-rc.Nick Mathewson
2020-04-09Merge branch 'maint-0.4.3' into release-0.4.3Nick Mathewson
2020-04-09bump to 0.4.3.4-rcNick Mathewson
2020-04-09Merge branch 'maint-0.4.3' into release-0.4.3Nick Mathewson
2020-04-09Add fsync to list of syscalls permitted by sandboxNick Mathewson
(Our fix for 33087 requires this, I believe.)
2020-04-09Merge remote-tracking branch 'tor-github/pr/1723/head' into maint-0.4.3Nick Mathewson
2020-04-09Merge branch 'maint-0.4.3' into release-0.4.3teor
2020-04-09Merge branch 'maint-0.4.2' into maint-0.4.3teor
Remove check-best-practices from check-local in maint-0.4.3. (The check-local jobs are all on separate lines in 0.4.3.)
2020-04-09remove practracker from check-local (0.4.2 and 0.4.3 only)Nick Mathewson
practracker shouldn't be running in release or maint branches.
2020-04-09Merge branch 'maint-0.4.3' into release-0.4.3teor
2020-04-09Merge branch 'pr1854_squashed' into maint-0.4.3teor
Squashed PR 1854, and fixed a minor typo (IPv4 -> IPv6).
2020-04-09client: Revert setting PreferIPv6 on by defaultDavid Goulet
This change broke torsocks that by default is expecting an IPv4 for hostname resolution because it can't ask tor for a specific IP version with the SOCKS5 extension. PreferIPv6 made it that sometimes the IPv6 could be returned to torsocks that was expecting an IPv4. Torsocks is probably a very unique case because the runtime flow is that it hijacks DNS resolution (ex: getaddrinfo()), gets an IP and then sends it back for the connect() to happen. The libc has DNS resolution functions that allows the caller to request a specific INET family but torsocks can't tell tor to resolve the hostname only to an IPv4 or IPv6 and thus by default fallsback to IPv4. Reverting this change into 0.4.3.x series but we'll keep it in the 0.4.4.x series in the hope that we add this SOCKS5 extension to tor for DNS resolution and then change torsocks to use that. Fixes #33804 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-04-09Merge branch 'maint-0.4.3' into release-0.4.3teor
2020-04-09Merge branch 'maint-0.4.2' into maint-0.4.3teor
2020-04-09Merge branch 'maint-0.4.1' into maint-0.4.2teor
2020-04-09Merge branch 'maint-0.3.5' into maint-0.4.1teor
2020-04-09Merge remote-tracking branch 'tor-github/pr/1784' into maint-0.3.5teor
2020-04-08Merge branch 'maint-0.4.3' into release-0.4.3David Goulet
2020-04-08Correct 'was not internal' to 'was internal' in test_external_ip()Mrigyen Sawant
2020-04-05Merge branch 'maint-0.4.3' into release-0.4.3teor
2020-04-05doc: Fix another man page typoteor
The default value of the option is "auto", not "default".
2020-04-05Merge branch 'maint-0.4.3' into release-0.4.3teor
2020-04-05doc: Fix a typo in the man pageteor
"proceeding" means starting an action. "preceding" means the thing before this thing. In this context, it's a bit ambiguous.
2020-04-04Merge branch 'maint-0.4.3' into release-0.4.3teor
2020-04-04changes: file for ticket 33782teor
Avoid conflicts between the fake sockets in tor's unit tests, and real file descriptors. Resolves issues running unit tests with GitHub Actions, where the process that embeds or launches the tests has already opened a large number of file descriptors. Fixes bug 33782; bugfix on 0.2.8.1-alpha. Found and fixed by Putta Khunchalee.
2020-04-03Change starting file descriptor for tests.Putta Khunchalee
2020-04-03Merge branch 'maint-0.4.3' into release-0.4.3teor
2020-04-03doc: Rewrite the approved-routers man page entryteor
Obviously correct documentation changes.
2020-04-01Merge branch 'maint-0.4.3' into release-0.4.3teor
2020-04-01configure: Fix enabled module variable expansionDavid Goulet
Fixes #33646 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-03-30Merge branch 'maint-0.4.3' into release-0.4.3David Goulet
2020-03-30hs-v3: Relax severity of a log message when decoding descriptors.George Kadianakis
Make it LOG_PROTOCOL_WARN and also add the expiration timestamp in there to ease debugging in the future.
2020-03-26Merge branch 'maint-0.4.3' into release-0.4.3David Goulet
2020-03-26Merge branch 'tor-github/pr/1794' into maint-0.4.3David Goulet
2020-03-25Merge branch 'maint-0.4.1' into maint-0.4.2Nick Mathewson
2020-03-25Merge branch 'maint-0.4.3' into release-0.4.3Nick Mathewson
2020-03-25Merge branch 'maint-0.4.2' into maint-0.4.3Nick Mathewson
2020-03-23Merge branch 'maint-0.4.3' into release-0.4.3George Kadianakis
2020-03-23Merge branch 'tor-github/pr/1788' into maint-0.4.3George Kadianakis
2020-03-20Merge branch 'maint-0.4.3' into release-0.4.3Nick Mathewson
2020-03-20Merge remote-tracking branch 'tor-github/pr/1823/head' into maint-0.4.3Nick Mathewson
2020-03-20Merge branch 'maint-0.4.3' into release-0.4.3Nick Mathewson
2020-03-20relay/dirauth: Set some output arguments in stubsteor
And document how some functions set their output arguments. Fixes bug 33674; bugfix on 0.4.3.1-alpha.
2020-03-20Set *have_low_ports_out from stub port_parse_ports_relay().Nick Mathewson
Previously we just ignored this option, which would leave it unset, and cause an assertion failure later on when running with the User option. Fixes bug 33668; bugfix on 0.4.3.1-alpha.