aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Merge branch 'bug4677'Nick Mathewson2013-11-25
|\
| * Restore prop198 behavior from 4677 patchNick Mathewson2013-11-25
| | | | | | | | | | | | | | | | The previous commit from piet would have backed out some of proposal 198 and made servers built without the V2 handshake not use the unrestricted cipher list from prop198. Bug not in any released Tor.
| * Restore ability to build with V2_HANDSHAKE_SERVERNick Mathewson2013-11-25
|/ | | | Fixes bug 4677; bugfix on 0.2.3.2-alpha. Fix by "piet".
* Avoid warning about impossible check for flags & 0Nick Mathewson2013-11-22
| | | | Fixes CID 743381
* Only update view of micrdescriptor pos if pos is fetchable.Nick Mathewson2013-11-22
| | | | | | | | It's conceivable (but probably impossible given our code) that lseek could return -1 on an error; when that happens, we don't want off to become -1. Fixes CID 1035124.
* Add checks to prevent memcmp(.,.,negative) in tests (CID 1064417)Nick Mathewson2013-11-22
|
* Fix another unit test memory leak. CID1087949,CID1087950.Nick Mathewson2013-11-22
|
* Fix a bunch of coverity-spotted unit test resource leaksNick Mathewson2013-11-22
| | | | CIDs: 1130994, 1130993, 1130992, 1130991
* Remove needless fd var from test. CID 1130989.Nick Mathewson2013-11-22
|
* Handle unlikely negative time in tor_log_err_sigsafeNick Mathewson2013-11-22
| | | | Coverity wants this; CID 1130990.
* Whitespace cleanupNick Mathewson2013-11-20
|
* Merge remote-tracking branch 'sysrqb/bug9859_5'Nick Mathewson2013-11-20
|\
| * A Bridge Authority should compute flag thresholdsMatthew Finkel2013-10-21
| | | | | | | | | | | | | | | | As a bridge authority, before we create our networkstatus document, we should compute the thresholds needed for the various status flags assigned to each bridge based on the status of all other bridges. We then add these thresholds to the networkstatus document for easy access. Fixes for #1117 and #9859.
* | Fix crypto/digests testNick Mathewson2013-11-18
| |
* | Merge branch 'finish_prop157'Nick Mathewson2013-11-18
|\ \
| * | Tweak #10162 documentation a bitNick Mathewson2013-11-18
| | |
| * | Make the dir-key-crosscert element requiredNick Mathewson2013-11-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In proposal 157, we added a cross-certification element for directory authority certificates. We implemented it in 0.2.1.9-alpha. All Tor directory authorities now generate it. Here, as planned, make it required, so that we can finally close proposal 157. The biggest change in the code is in the unit test data, where some old hardcoded certs that we made long ago have become no longer valid and now need to be replaced.
* | | Add a _GNU_SOURCE definition to backtrace.c to fix compilationNick Mathewson2013-11-18
| | |
* | | Whoops; changes files belong in changes.Nick Mathewson2013-11-18
| | |
* | | 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.
* | | Remove 'struct timeval now' that was shadowing 'struct timeval now'.Nick Mathewson2013-11-18
| | | | | | | | | | | | | | | | | | This was a mistake in the merge commit 7a2b30fe16eacc040b3dd11. It would have made the CellStatistics code give completely bogus results. 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_merged'Nick Mathewson2013-11-18
|\ \ \
| * \ \ 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
| | * | | Improve backtrace changes fileNick Mathewson2013-11-18
| | | | |
| | * | | Refactor format_*_number_sigsafe to have a common implementationNick Mathewson2013-11-18
| | | | |
| | * | | Reseolve DOCDOC and XXXXs in backtrace.cNick Mathewson2013-11-18
| | | | |
| | * | | Tests for backtrace.cNick Mathewson2013-11-18
| | | | | | | | | | | | | | | | | | | | | | | | | These need to be a separate executable, since the point of backtrace.c is that it can crash and write stuff.
| | * | | Unit tests for new functions in log.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.
| | * | | Use pc_from_ucontext.m4 from Google Performance ToolsNick Mathewson2013-11-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This M4 module lets us learn the right way (out of at least 18 possibilities) to extract the current PC for stack-trace-fixup-in-signal purposes. The Google Performance Tools license is 3-clause BSD.
| | * | | 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.
| | * | | On Linux (and some other systems) we need -rdynamic for backtracesNick Mathewson2013-11-18
| | | | |
| | * | | 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
| | | | |
* | | | | forward-port the 0.2.4.18-rc changelogRoger Dingledine2013-11-16
|/ / / /
* | | | 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 branch 'bug9093_023' into maint-0.2.3Nick Mathewson2013-11-15
| | |\ \ \
| | | * | | Improved circuit queue out-of-memory handlerNick Mathewson2013-11-07
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, when we ran low on memory, we'd close whichever circuits had the most queued cells. Now, we close those that have the *oldest* queued cells, on the theory that those are most responsible for us running low on memory, and that those are the least likely to actually drain on their own if we wait a little longer. Based on analysis from a forthcoming paper by Jansen, Tschorsch, Johnson, and Scheuermann. Fixes bug 9093.
* | | | | Fix test_cmdline_args to work with old opensslNick Mathewson2013-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If openssl was old, Tor would add a warning about its version in between saying "no torrc found, using reasonable defaults" and "configuration was valid".
* | | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-11-11
|\| | | |
| * | | | missing changes file for #10124Nick Mathewson2013-11-11
| | | | |
* | | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-11-10
|\| | | |
| * | | | Fix two more DirServer mentions in logNick Mathewson2013-11-10
| | | | |