aboutsummaryrefslogtreecommitdiff
path: root/src/common
Commit message (Collapse)AuthorAge
...
* | | Whoops -- add missing defined().Nick Mathewson2013-11-18
| | |
* | | Make header includes match declarations in pc_from_ucontext.m4Nick Mathewson2013-11-18
| | | | | | | | | | | | | | | | | | With any luck, this will clean up errors where we detect that REG_{EIP,RIP} is present in autoconf, but when we go to include it, it isn't there.
* | | Fix compilation under openssl 0.9.8Nick Mathewson2013-11-18
| | | | | | | | | | | | | | | | | | | | | It's not nice to talk about NID_aes_{128,256}_{ctr,gcm} when they don't exist. Fix on 84458b79a78ea7e26820bf0; bug not in any released Tor.
* | | Fix whitespaceNick Mathewson2013-11-18
| | |
* | | Log more OpenSSL engine statuses at startup.Nick Mathewson2013-11-18
| | | | | | | | | | | | Fixes ticket 10043; patch from Joshua Datko.
* | | Merge branch 'backtrace_squashed'Nick Mathewson2013-11-18
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/common/sandbox.c src/common/sandbox.h src/common/util.c src/or/main.c src/test/include.am src/test/test.c
| * | | Refactor format_*_number_sigsafe to have a common implementationNick Mathewson2013-11-18
| | | |
| * | | Reseolve DOCDOC and XXXXs in backtrace.cNick Mathewson2013-11-18
| | | |
| * | | Make backtrace handler handle signals correctly.Nick Mathewson2013-11-18
| | | | | | | | | | | | | | | | | | | | This meant moving a fair bit of code around, and writing a signal cleanup function. Still pretty nice from what I can tell, though.
| * | | Improve new assertion message loggingNick Mathewson2013-11-18
| | | | | | | | | | | | | | | | | | | | Don't report that a failure happened in the assertion_failed function just because we logged it from there.
| * | | Add a sighandler-safe logging mechanismNick Mathewson2013-11-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We had accidentially grown two fake ones: one for backtrace.c, and one for sandbox.c. Let's do this properly instead. Now, when we configure logs, we keep track of fds that should get told about bad stuff happening from signal handlers. There's another entry point for these that avoids using non-signal-handler-safe functions.
| * | | Basic backtrace abilityNick Mathewson2013-11-18
| | | | | | | | | | | | | | | | | | | | | | | | On platforms with the backtrace/backtrace_symbols_fd interface, Tor can now dump stack traces on assertion failure. By default, I log them to DataDir/stack_dump and to stderr.
| * | | Refactor the assertion-failure code into a functionNick Mathewson2013-07-19
| | | |
| * | | Add a signal-safe decimal formatting functionNick Mathewson2013-07-19
| | | |
* | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-11-15
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/relay.c Conflict changes were easy; compilation fixes required were using using TOR_SIMPLEQ_FIRST to get head of cell queue.
| * | | Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson2013-11-15
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/or.h src/or/relay.c Conflicts were simple to resolve. More fixes were needed for compilation, including: reinstating the tv_to_msec function, and renaming *_conn_cells to *_chan_cells.
* | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-10-31
|\| | |
| * | | Merge remote-tracking branch 'public/bug9780_024_v2' into maint-0.2.4Nick Mathewson2013-10-31
| |\ \ \
| | * | | Switch ECDHE group default logic for bridge/relay TLSNick Mathewson2013-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to the manpage, bridges use P256 for conformity and relays use P224 for speed. But skruffy points out that we've gotten it backwards in the code. In this patch, we make the default P256 for everybody. Fixes bug 9780; bugfix on 0.2.4.8-alpha.
| * | | | Merge remote-tracking branch 'public/bug6055_v2_024' into maint-0.2.4Nick Mathewson2013-10-31
| |\ \ \ \
* | \ \ \ \ Merge branch 'bug1376'Nick Mathewson2013-10-11
|\ \ \ \ \ \
| * | | | | | Fix some whitespace; tighten the tests.Nick Mathewson2013-10-11
| | | | | | |
| * | | | | | Added test for new write_chunks_to_file behaviour in #1376.Kevin Butler2013-09-04
| | | | | | |
| * | | | | | Added no_tempfile parameter to write_chunks_to_file to do non-atomic writes. ↵Kevin Butler2013-09-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements #1376.
* | | | | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-10-10
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson2013-10-10
| |\ \ \ \ \ \ | | | |_|_|/ / | | |/| | | |
| | * | | | | Fix unit test for format_helper_exit_statusNick Mathewson2013-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix format_helper_exit_status to allow full HEX_ERRNO_SIZE answers, *and* increase the buffer length again.
* | | | | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-10-10
|\| | | | | |
| * | | | | | Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson2013-10-10
| |\| | | | |
| | * | | | | Raise buffer size, fix checks for format_exit_helper_status.Nick Mathewson2013-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is probably not an exploitable bug, since you would need to have errno be a large negative value in the unix pluggable-transport launcher case. Still, best avoided. Fixes bug 9928; bugfix on 0.2.3.18-rc.
* | | | | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-10-08
|\| | | | | |
| * | | | | | When examining interfaces to find an address, discard non-up ones.Nick Mathewson2013-10-08
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | Patch from "hantwister" on trac. Fixes bug #9904; bugfix on 0.2.3.11-alpha.
* | | | | | Merge remote-tracking branch 'public/bug6055_v2_024'Nick Mathewson2013-09-25
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | |
| * | | | | Re-enable TLS 1.[12] when building with OpenSSL >= 1.0.1eNick Mathewson2013-09-25
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To fix #6033, we disabled TLS 1.1 and 1.2. Eventually, OpenSSL fixed the bug behind #6033. I've considered alternate implementations that do more testing to see if there's secretly an OpenSSL 1.0.1c or something that secretly has a backport of the OpenSSL 1.0.1e fix, and decided against it on the grounds of complexity.
* | | | | Fix a memory leak on getaddrinfo in sandbox. Found by coverityNick Mathewson2013-09-16
| | | | |
* | | | | Clean up malloc issues in sandbox.cNick Mathewson2013-09-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor_malloc returns void *; in C, it is not necessary to cast a void* to another pointer type before assigning it. tor_malloc fails with an error rather than returning NULL; it's not necessary to check its output. (In one case, doing so annoyed Coverity.)
* | | | | Merge remote-tracking branch 'Ryman/bug6384'Nick Mathewson2013-09-13
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/config.c src/or/main.c
| * | | | | Fixed leak and added minor documentation for #6384.Kevin Butler2013-09-04
| | | | | |
| * | | | | Added --library-versions flag to print the compile time and runtime versions ↵Kevin Butler2013-09-01
| | |_|/ / | |/| | | | | | | | | | | | | of libevent, openssl and zlib. Partially implements #6384.
* | | | | Fix a windows compilation warning from sandboxing branchNick Mathewson2013-09-13
| | | | |
* | | | | Merge remote-tracking branch 'ctoader/gsoc-cap-stage2'Nick Mathewson2013-09-13
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/common/sandbox.c
| * | | | | fixed compilation bug on i386 due to previous fixCristian Toader2013-09-12
| | | | | |
| * | | | | bug fix: syscalls send and recv not supported for x86_64 with libseccomp 1.0.1Cristian Toader2013-09-12
| | | | | |
| * | | | | remove debugging codeCristian Toader2013-09-12
| | | | | |
| * | | | | added extra buffer and limit to mprotect not to exceed the length of that bufferCristian Toader2013-09-12
| | | | | |
| * | | | | Fix osx compilation again, hopefully better this time.Nick Mathewson2013-09-11
| | | | | |
| * | | | | added filter protection for string parameter memoryCristian Toader2013-09-10
| | | | | |
| * | | | | fixed socket syscall bugCristian Toader2013-09-10
| | | | | |
| * | | | | fixed compilation error on i386 linux by moving sandbox_cfg_t definitionCristian Toader2013-09-10
| | | | | |
| * | | | | Fix check-spacesNick Mathewson2013-09-09
| | | | | |