summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-07-10Start work on fancy compiler tricks to expose extra stuff to our testsNick Mathewson
This is mainly a matter of automake trickery: we build each static library in two versions now: one with the TOR_UNIT_TESTS macro defined, and one without. When TOR_UNIT_TESTS is defined, we can enable mocking and expose more functions. When it's not defined, we can lock the binary down more. The alternatives would be to have alternate build modes: a "testing configuration" for building the libraries with test support, and a "production configuration" for building them without. I don't favor that approach, since I think it would mean more people runnning binaries build for testing, or more people not running unit tests.
2013-07-08Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
2013-07-08Merge branch 'bug9200' into maint-0.2.4Nick Mathewson
2013-07-08Add a comment and a check for why flag indices will be <= 63Nick Mathewson
2013-07-08Merge remote-tracking branch 'karsten/geoip-manual-update-jul2013'Nick Mathewson
2013-07-08Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
2013-07-08Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson
2013-07-08Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3Nick Mathewson
2013-07-08Update to the July 2013 GeoIP database.Karsten Loesing
2013-07-08Add 2 new manual A1 substitutions.Karsten Loesing
2013-07-03FIx undefined behavior in dirvote.cNick Mathewson
Fix a bug in the voting algorithm that could yield incorrect results when a non-naming authority declared too many flags. Fixes bug 9200; bugfix on 0.2.0.3-alpha. Found by coverity scan.
2013-06-29Merge remote-tracking branch 'linus/bug8530'Nick Mathewson
2013-06-29Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
2013-06-29Merge branch 'bug9147' into maint-0.2.4Nick Mathewson
2013-06-29Give a warning when bufferevents are enabled.Nick Mathewson
Ticket 9147.
2013-06-24Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
2013-06-24Fix bug 9122: don't allow newdefaultoptions to be NULLNick Mathewson
(This caused a crash that was reported as bug 9122, but the underlying behavior has been wrong for a while.) Fix on 0.2.3.9-alpha.
2013-06-24Fix #5584 - raise awareness of safer logging - warn about potentially unsafe ↵Marek Majkowski
config options
2013-06-18Forward-port the 0.2.4.14-alpha changelogNick Mathewson
2013-06-18Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
2013-06-18Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson
2013-06-18Check more return values in the unit testsNick Mathewson
2013-06-18Fix some problems with the bug9002 fix.Nick Mathewson
Fixes bug 9090; bug not in any released Tor.
2013-06-18Attempt to un-confuse coverity about (false) double-free in bench_onion_ntor.Nick Mathewson
2013-06-18Fix a couple of resource leaks in test_config.cNick Mathewson
Spotted by Coverity Scan. Not in any released Tor.
2013-06-18Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
2013-06-18Tweak bug9063_redux patch: {n_p}_chan_cells, not {n,p}_conn_cellsNick Mathewson
2013-06-18Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson
Conflicts: src/or/config.c src/or/relay.c
2013-06-18Merge branch 'bug9063_redux_023_squashed' into maint-0.2.3Nick Mathewson
2013-06-18Implement a real OOM-killer for too-long circuit queues.Nick Mathewson
This implements "algorithm 1" from my discussion of bug #9072: on OOM, find the circuits with the longest queues, and kill them. It's also a fix for #9063 -- without the side-effects of bug #9072. The memory bounds aren't perfect here, and you need to be sure to allow some slack for the rest of Tor's usage. This isn't a perfect fix; the rest of the solutions I describe on codeable.
2013-06-18Invoke binaries in $PATH rather than by absolute path.Linus Nordberg
That security measure costs more than it gives. So, keep your PATH sane and we can run this script on more than one system.
2013-06-17Merge remote-tracking branch 'public/bug9082'Nick Mathewson
2013-06-17Fix bug 9082: avoid leak when freeing destroy cell queuesNick Mathewson
In my #7912 fix, there wasn't any code to remove entries from the (channel, circuit ID)->circuit map corresponding to queued but un-sent DESTROYs. Spotted by skruffy. Fixes bug 9082; bug not in any released Tor.
2013-06-16Limit hidden service descriptors to at most 10 guard nodes.Nick Mathewson
Fixes bug 9002; bugfix on 0.1.1.11-alpha (which introduced guard nodes), or on 0.0.6pre1 (which introduced hidden services).
2013-06-16forward-port 0.2.4.13-alpha changelogRoger Dingledine
2013-06-15Merge branch 'bug9072-024' into bug9072-025Andrea Shepard
2013-06-15Merge branch 'bug9072-023' into bug9072-024Andrea Shepard
2013-06-15Disable middle relay queue overfill detection code due to possible guard ↵Andrea Shepard
discovery attack
2013-06-14Instead of testing for __GNUC__, use CHECK_SCANF, like CHECK_PRINTF.dana koch
This lets us have the possibility of fine-tuning the check in the tor_sscanf test cases at a later date.
2013-06-14Use CHUTNEY_PATH to find Chutney.Linus Nordberg
2013-06-14Merge branch 'circuit_queue_cap-0.2.5-squashed'Nick Mathewson
Conflicts: src/or/relay.c
2013-06-14Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
Using "ours" strategy to avoid taking commits
2013-06-14Merge branch 'circuit_queue_cap-0.2.4-squashed' into maint-0.2.4Nick Mathewson
2013-06-14Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson
Using "ours" strategy to avoid taking changes.
2013-06-14Merge branch 'circuit_queue_cap-0.2.3-squashed' into maint-0.2.3Nick Mathewson
2013-06-14Fix signed/unsigned comparison warningNick Mathewson
2013-06-14Increase the limit so leaky pipe might workNick Mathewson
2013-06-14Increase the limit so leaky pipe might workNick Mathewson
2013-06-14Increase the limit so leaky pipe might workNick Mathewson
2013-06-13Don't queue more cells as a middle relay than the spec allows to be in flightAndrea Shepard