summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | | | | | Split general util and address tests into their own files.Nick Mathewson2009-09-23
| | | | | |
* | | | | | Split container tests into their own moduleNick Mathewson2009-09-23
| | | | | |
* | | | | | Split crypto tests into a separate module.Nick Mathewson2009-09-23
| | | | | |
* | | | | | Remove a warning on ./autogen.shSebastian Hahn2009-09-23
| | | | | |
* | | | | | Move testing code into new src/test directory.Nick Mathewson2009-09-23
| | | | | |
* | | | | | Refactor unit tests to use the tinytest framework.Nick Mathewson2009-09-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Tinytest" is a minimalist C unit testing framework I wrote for Libevent. It supports some generally useful features, like being able to run separate unit tests in their own processes. I tried to do the refactoring to change test.c as little as possible. Thus, we mostly don't call the tinytest macros directly. Instead, the test.h header is now a wrapper on tinytest.h to make our existing test_foo() macros work. The next step(s) here will be: - To break test.c into separate files, each with its own test group. - To look into which things we can test - To refactor the more fiddly tests to use the tinytest macros directly and/or run forked. - To see about writing unit tests for things we couldn't previously test without forking.
* | | | | | Bump version to 0.2.2.3-alpha-devNick Mathewson2009-09-23
| |/ / / / |/| | | |
* | | | | finishing touches on the changelogtor-0.2.2.3-alphaRoger Dingledine2009-09-23
| | | | |
* | | | | bump to 0.2.2.3-alpha, plus add a changelog for bug 1103Roger Dingledine2009-09-22
| | | | |
* | | | | Be more robust to bad circwindow valuesRoger Dingledine2009-09-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the networkstatus consensus tells us that we should use a negative circuit package window, ignore it. Otherwise we'll believe it and then trigger an assert. Also, change the interface for networkstatus_get_param() so we don't have to lookup the consensus beforehand.
* | | | | Merge commit 'mikeperry/circuittimeout-1103'Nick Mathewson2009-09-21
|\ \ \ \ \
| * | | | | Fix Bug 1103.Mike Perry2009-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't pass in a quantile that is too high during pretimeout calcualtion.
* | | | | | Merge commit 'debian-tor-0.2.2.2-alpha-1'Nick Mathewson2009-09-21
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Build debian's micro-revision into the binaryPeter Palfrader2009-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we have a debian/micro-revision.i, replace the one in src/or with our copy so that this will be the revision that ends up in the binary. This is an informational only version string, but it'd be kinda nice if it was (more) accurate nonetheless. Of course this won't help if people manually patch around but it's still preferable to claiming we are exactly upstream's source. If we are building directly out of a git tree, update debian/micro-revision.i in the clean target.
| * | | | | Remove common_sha1.i and or_sha1.i in cleanPeter Palfrader2009-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The files src/common/common_sha1.i src/or/or_sha1.i get changed during the build - they contain the checksums of the individual files that end up in the binary. Of couse changes only end up in the debian diff.gz after building a second time in the same directory. So, remove those files in clean to get both a cleaner diff.gz and idempotent builds.
| * | | | | Merge branch 'debian-merge' into debianPeter Palfrader2009-09-21
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * debian-merge: (95 commits) New upstream version: 0.2.2.2-alpha downgrade a log severity, since this event has been known Update to the "September 4 2009" ip-to-country file. bump to 0.2.2.2-alpha Revert "Teach connection_ap_can_use_exit about Exclude*Nodes" fix grammar / add changelog for the torify commit Fix compile on Snow Leopard Fix build warnings on OSX 10.5.8 Change the condition on the nonlive timeout counting. Add a couple of time helper functions. Fix typos and comments, plus two bugs Implement and document new network liveness algorithm. Fix some precision-related asserts in unit tests. replace contrib/auto-naming with a readme saying where it went clarify our rules for assigning the Named flag disable the end of circuitbuildtimeout units tests draw in a lot of 0.2.1.20 changelog items into 0.2.2.2-alpha Fix compile on freebsd Let our config abbreviations rewrite more than once a mish-mash of stuff in my sandbox ...
| | * | | | | New upstream version: 0.2.2.2-alphaPeter Palfrader2009-09-21
| | | | | | |
| | * | | | | Merge commit 'tor-0.2.2.2-alpha' into debian-mergePeter Palfrader2009-09-21
| | |\ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'tor-0.2.2.2-alpha': (94 commits) downgrade a log severity, since this event has been known Update to the "September 4 2009" ip-to-country file. bump to 0.2.2.2-alpha Revert "Teach connection_ap_can_use_exit about Exclude*Nodes" fix grammar / add changelog for the torify commit Fix compile on Snow Leopard Fix build warnings on OSX 10.5.8 Change the condition on the nonlive timeout counting. Add a couple of time helper functions. Fix typos and comments, plus two bugs Implement and document new network liveness algorithm. Fix some precision-related asserts in unit tests. replace contrib/auto-naming with a readme saying where it went clarify our rules for assigning the Named flag disable the end of circuitbuildtimeout units tests draw in a lot of 0.2.1.20 changelog items into 0.2.2.2-alpha Fix compile on freebsd Let our config abbreviations rewrite more than once a mish-mash of stuff in my sandbox give proposal 151 a changelog and other touchups ...
| * | | | | | Merge branch 'debian-merge' into debianPeter Palfrader2009-09-03
| |\ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * debian-merge: (190 commits) Forward port patches/06_add_compile_time_defaults.dpatch Forward port patches/03_tor_manpage_in_section_8.dpatch New upstream version HiddenServiceVersion must be set to 2 currently. put karsten's changelog in the right place When Tor fails to parse a descriptor of any kind, dump it to disk. update fetch-all with dir auth changelog and spec changes for the .exit fix bump to 0.2.2.1-alpha typos in dir-spec mark off a done proposal clean up the changelog for 0.2.2.1-alpha A changelog entry and a bit more documentation for socks-client Clean up a couple of style issues in the socks-client branch. new proposals: params in consensus, and lower circwindow Add some fixes after discussion with Nick. Refactor geoip_get_dirreq_history() some more. Fix a memory leak in summarizing directory request timing. Add the first 8 bytes of the git commit digest to our versions. autoconf 2.59 appears not to support AC_PROG_SED ...
| | * | | | | Forward port patches/06_add_compile_time_defaults.dpatchPeter Palfrader2009-09-03
| | | | | | |
| | * | | | | Forward port patches/03_tor_manpage_in_section_8.dpatchPeter Palfrader2009-09-03
| | | | | | |
| | * | | | | New upstream versionPeter Palfrader2009-09-03
| | | | | | |
| | * | | | | Merge commit 'tor-0.2.2.1-alpha' into debian-mergePeter Palfrader2009-09-03
| | |\ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'tor-0.2.2.1-alpha': (187 commits) HiddenServiceVersion must be set to 2 currently. put karsten's changelog in the right place When Tor fails to parse a descriptor of any kind, dump it to disk. update fetch-all with dir auth changelog and spec changes for the .exit fix bump to 0.2.2.1-alpha typos in dir-spec mark off a done proposal clean up the changelog for 0.2.2.1-alpha A changelog entry and a bit more documentation for socks-client Clean up a couple of style issues in the socks-client branch. new proposals: params in consensus, and lower circwindow Add some fixes after discussion with Nick. Refactor geoip_get_dirreq_history() some more. Fix a memory leak in summarizing directory request timing. Add the first 8 bytes of the git commit digest to our versions. autoconf 2.59 appears not to support AC_PROG_SED Survive unparseable cached cert file Notice v3 cert parsing failures Make crypto_digest_get_digest nondestructive again. ...
* | | | | | | Bump version to 0.2.2.2-alpha-devNick Mathewson2009-09-21
| |_|/ / / / |/| | | | |
* | | | | | downgrade a log severity, since this event has been knowntor-0.2.2.2-alphaRoger Dingledine2009-09-21
| | | | | | | | | | | | | | | | | | | | | | | | to happen and there's nothing the user can do about it
* | | | | | Update to the "September 4 2009" ip-to-country file.Roger Dingledine2009-09-21
| | | | | |
* | | | | | bump to 0.2.2.2-alphaRoger Dingledine2009-09-21
| |_|/ / / |/| | | |
* | | | | Merge branch 'maint-0.2.1'Roger Dingledine2009-09-20
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Revert "Teach connection_ap_can_use_exit about Exclude*Nodes"Roger Dingledine2009-09-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit dc3229313b6d2aaff437c6fc7fa55ead4409e93d. We're going to do this more thoroughly in 0.2.2.x, and not in maint-0.2.1.
* | | | | fix grammar / add changelog for the torify commitRoger Dingledine2009-09-20
| | | | |
* | | | | Fix compile on Snow LeopardSebastian Hahn2009-09-20
| | | | |
* | | | | Merge commit 'sebastian/weasel_torify'Roger Dingledine2009-09-20
|\ \ \ \ \
| * | | | | Fix torify: Do not complain if we cannot find all socksifiersPeter Palfrader2009-09-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No longer complain if we cannot find both torify and tsocks. As long as we have one we are happy. Do not rely on which, it's not POSIX. Catch error if torsocks fails and print an error message.
* | | | | | Fix build warnings on OSX 10.5.8Nick Mathewson2009-09-20
| | | | | |
* | | | | | Change the condition on the nonlive timeout counting.Mike Perry2009-09-20
| | | | | | | | | | | | | | | | | | | | | | | | Try to clarify things in the comment too.
* | | | | | Add a couple of time helper functions.Mike Perry2009-09-20
| | | | | | | | | | | | | | | | | | | | | | | | Also add rounding support to tv_mdiff().
* | | | | | Fix typos and comments, plus two bugsRoger Dingledine2009-09-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A) We were considering a circuit had timed out in the special cases where we close rendezvous circuits because the final rendezvous circuit couldn't be built in time. B) We were looking at the wrong timestamp_created when considering a timeout.
* | | | | | Implement and document new network liveness algorithm.Mike Perry2009-09-20
| | | | | | | | | | | | | | | | | | | | | | | | Based on irc discussion with arma.
* | | | | | Fix some precision-related asserts in unit tests.Mike Perry2009-09-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mostly by storing the timeout as milliseconds and not seconds internally.
* | | | | | replace contrib/auto-naming with a readme saying where it wentRoger Dingledine2009-09-19
| | | | | |
* | | | | | clarify our rules for assigning the Named flagRoger Dingledine2009-09-18
| | | | | |
* | | | | | disable the end of circuitbuildtimeout units testsRoger Dingledine2009-09-18
| | | | | | | | | | | | | | | | | | | | | | | | until mike figures out some other way to make them pass reliably
* | | | | | draw in a lot of 0.2.1.20 changelog items into 0.2.2.2-alphaRoger Dingledine2009-09-17
| | | | | |
* | | | | | Fix compile on freebsdSebastian Hahn2009-09-18
| | | | | |
* | | | | | Let our config abbreviations rewrite more than onceRoger Dingledine2009-09-17
| | | | | |
* | | | | | a mish-mash of stuff in my sandboxRoger Dingledine2009-09-17
| | | | | |
* | | | | | give proposal 151 a changelog and other touchupsRoger Dingledine2009-09-17
| | | | | |
* | | | | | Choose early circuit idle timeout better.Roger Dingledine2009-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't discard all circuits every MaxCircuitDirtiness, because the user might legitimately have set that to a very lower number. Also don't use up all of our idle circuits with testing circuits, since that defeats the point of preemptive circuits.
* | | | | | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-09-17
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Work around a memory leak in openssl 0.9.8g (and maybe others)Nick Mathewson2009-09-17
| | | | | |