Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-05-25 | Merge branch 'maint-0.3.5' into maint-0.4.4 | Alexander Færøy | |
2021-05-25 | Remove the function `tor_tls_assert_renegotiation_unblocked`. | Nick Mathewson | |
It was used nowhere outside its own unit tests, and it was causing compilation issues with recent OpenSSL 3.0.0 alphas. Closes ticket 40399. | |||
2021-02-23 | Remove mallinfo() from codebase | David Goulet | |
Now deprecated in libc >= 2.33 Closes #40309 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2021-02-23 | Remove mallinfo() from codebase | David Goulet | |
Now deprecated in libc >= 2.33 Closes #40309 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2021-01-28 | Merge branch 'maint-0.4.3' into maint-0.4.4 | David Goulet | |
2021-01-28 | Merge branch 'maint-0.3.5' into maint-0.4.3 | David Goulet | |
2021-01-28 | Merge branch 'tor-gitlab/mr/50' into maint-0.3.5 | David Goulet | |
2021-01-28 | Merge branch 'maint-0.4.3' into maint-0.4.4 | David Goulet | |
2021-01-28 | Merge branch 'maint-0.3.5' into maint-0.4.3 | David Goulet | |
2021-01-28 | Merge remote-tracking branch 'tor-gitlab/mr/186' into maint-0.3.5 | David Goulet | |
2021-01-19 | Merge branch 'maint-0.4.3' into maint-0.4.4 | Nick Mathewson | |
2021-01-19 | Merge branch 'maint-0.3.5' into maint-0.4.3 | Nick Mathewson | |
2021-01-13 | Better fix for #40241 (--enable-all-bugs-are-fatal and fallthrough) | Nick Mathewson | |
This one should work on GCC _and_ on Clang. The previous version made Clang happier by not having unreachable "fallthrough" statements, but made GCC sad because GCC didn't think that the unconditional failures were really unconditional, and therefore _wanted_ a FALLTHROUGH. This patch adds a FALLTHROUGH_UNLESS_ALL_BUGS_ARE_FATAL macro that seems to please both GCC and Clang in this case: ordinarily it is a FALLTHROUGH, but when ALL_BUGS_ARE_FATAL is defined, it's an abort(). Fixes bug 40241 again. Bugfix on earlier fix for 40241, which was merged into maint-0.3.5 and forward, and released in 0.4.5.3-rc. | |||
2020-10-28 | Do not define OPENSSL_VERSION in compat_openssl.h | Nick Mathewson | |
Apparently it conflicts with definitions elsewhere in Openssl 3.0.0. | |||
2020-10-28 | Include a more modest openssl header in crypto_openssl_mgt.h | Nick Mathewson | |
The "engines.h" header has lots of stuff; the "opensslv.h" header has the version number, which is all we actually need here. We need to do this because we're about to change this header to conditionally define OPENSSL_SUPPRESS_DEPRECATED, and it would be too late to do so if we'd already included "engines.h". | |||
2020-10-07 | Merge branch 'maint-0.3.5' into maint-0.4.3 | Nick Mathewson | |
2020-10-07 | Merge remote-tracking branch 'tor-gitlab/mr/43' into maint-0.3.5 | Nick Mathewson | |
2020-08-11 | Merge remote-tracking branch 'tor-gitlab/mr/102' into maint-0.4.4 | George Kadianakis | |
2020-08-10 | small code tweaks to try to work around debian stable complaints | Nick Mathewson | |
2020-08-03 | Add a tor_str_wipe_and_free() function. | Nick Mathewson | |
Frequently we want to do if (s) { memwipe(s, 0, sizeof(s)); tor_free(s); } and it's good to have a way to do this concisely. | |||
2020-07-31 | Merge branch 'maint-0.4.2' into maint-0.4.3 | Alexander Færøy | |
2020-07-31 | Merge branch 'maint-0.3.5' into maint-0.4.2 | Alexander Færøy | |
2020-07-30 | Merge branch 'bug40076_043' into bug40076_044 | Nick Mathewson | |
2020-07-30 | Merge branch 'bug40076_042' into bug40076_043 | Nick Mathewson | |
2020-07-30 | Merge branch 'maint-0.4.2' into bug40076_042 | Nick Mathewson | |
2020-07-30 | Fix a bug in buf_move_all() when the input buffer is empty. | Nick Mathewson | |
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-29 | Merge branch 'maint-0.4.2' into maint-0.4.3 | Nick Mathewson | |
2020-07-29 | Merge branch 'maint-0.3.5' into maint-0.4.2 | Nick Mathewson | |
2020-07-29 | Merge remote-tracking branch 'tor-gitlab/mr/68' into maint-0.4.4 | Nick Mathewson | |
2020-07-29 | Merge remote-tracking branch 'tor-gitlab/mr/85' into maint-0.4.4 | Alexander Færøy | |
2020-07-29 | Fix startup crash with seccomp sandbox enabled #40072 | Daniel Pinto | |
Fix crash introduced in #40020. On startup, tor calls check_private_dir on the data and key directories. This function uses open instead of opendir on the received directory. Data and key directoryes are only opened here, so the seccomp rule added should be for open instead of opendir, despite the fact that they are directories. | |||
2020-07-28 | Use _lseeki64() on windows. | Nick Mathewson | |
Fixes bug 31036; bugfix on 0.2.1.8-alpha when we moved the logging system to use posix fds. | |||
2020-07-21 | Merge remote-tracking branch 'tor-gitlab/mr/68' into maint-0.4.4 | Nick Mathewson | |
2020-07-21 | Merge remote-tracking branch 'tor-gitlab/mr/67' into maint-0.4.4 | Nick Mathewson | |
2020-07-20 | Fix seccomp sandbox rules for openat #27315 | Daniel Pinto | |
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 | Fix seccomp sandbox rules for opening directories #40020 | Daniel Pinto | |
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 | Fix seccomp sandbox rules for openat #27315 | Daniel Pinto | |
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-14 | Update docstring for read_file_to_str() on stripping of CR characters. | Alexander Færøy | |
See: https://bugs.torproject.org/tpo/core/tor/33781 | |||
2020-07-14 | Strip '\r' characters when reading text files on Unix. | Alexander Færøy | |
This patch ensures that we strip "\r" characters on both Windows as well as Unix when we read text files. This should prevent the issue where some Tor state files have been moved from a Windows machine, and thus contains CRLF line ending, to a Unix machine where only \n is needed. We add a test-case to ensure that we handle this properly on all our platforms. See: https://bugs.torproject.org/tpo/core/tor/33781 | |||
2020-07-14 | Merge remote-tracking branch 'tor-gitlab/merge-requests/43' into maint-0.4.4 | Alexander Færøy | |
2020-07-13 | Bug 31812: Change http URL's to https | JeremyRand | |
2020-07-10 | NSS: Tell NSS that our SSL sockets are nonblocking. | Nick Mathewson | |
Closes ticket 40035. | |||
2020-07-09 | Merge branch 'maint-0.4.2' into maint-0.4.3 | Nick Mathewson | |
2020-07-09 | Merge branch 'maint-0.3.5' into maint-0.4.2 | Nick Mathewson | |
2020-07-09 | Merge branch 'maint-0.4.3' into maint-0.4.4 | Nick Mathewson | |
2020-07-09 | Merge branch 'trove_2020_001_035' into maint-0.3.5 | Nick Mathewson | |
2020-07-08 | Merge branch 'maint-0.4.2' into maint-0.4.3 | Alexander Færøy | |
2020-07-08 | Merge branch 'maint-0.4.3' into maint-0.4.4 | Alexander Færøy | |
2020-07-08 | Merge branch 'maint-0.3.5' into maint-0.4.2 | Alexander Færøy | |
2020-07-07 | Resolve a compiler warning from a 32-bit signed/unsigned comparison | Nick Mathewson | |
This warning only affects platforms (like win32) with 32-bit time_t. Fixes bug 40028; bugfix on 0.3.2.8-rc. |