summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-09Increase default boostrap time in test-network.shteor (Tim Wilson-Brown)
Increase default boostrap time in test-network.sh to 30 seconds, for larger networks like bridges+ipv6+hs. This avoids the failure-hiding issues inherent in the retry approach in #16952.
2015-09-09make test-network-all exit 1 if any test network failsteor (Tim Wilson-Brown)
2015-09-08Add "make test-network-all" to verify multiple test networksteor (Tim Wilson-Brown)
make test-network-all is Makefile target which verifies a series of test networks generated using test-network.sh and chutney. It runs IPv6 and mixed version test networks if the prerequisites are available. Each test network reports PASS, FAIL, or SKIP. Closes ticket 16953. Patch by "teor". Also adds "--hs-multi-client 1" option to TEST_NETWORK_FLAGS. This resolves #17012. Larger networks, such as bridges+hs, may fail until #16952 is merged.
2015-09-08Make test-network.sh more robust against arguments containing spacesteor (Tim Wilson-Brown)
2015-09-04Fix an alignment issue in our extensions to ed25519_donnaNick Mathewson
Apparently this only happens with clang (or with some particular clang versions), and only on i386. Fixes 16970; bug not in any released Tor. Found by Teor; fix from Yawning.
2015-09-03Fix windows test_keygen.sh. This time I think I have it!Nick Mathewson
2015-09-03Now normalize_exit has a bug number.Nick Mathewson
2015-09-03Use absolute path for datadir in test_keygen.shNick Mathewson
2015-09-03Try to fix #16974; bug not in any released versionNick Mathewson
2015-09-03Make test_keygen.sh dump what the problem is on cmp failureNick Mathewson
2015-09-03Only return 0..255 from main().Nick Mathewson
I think this may fix some bugs with windows exit codes being screwy.
2015-09-03Add a little more output to test_keygen.sh: try to debug windowsNick Mathewson
2015-09-03Add doc/WritingTests.txt to distributionNick Mathewson
2015-09-02Merge remote-tracking branch 'dgoulet/bug15963_026_01'Nick Mathewson
2015-09-02Don't vote HSDir if we aren't voting FastDavid Goulet
Fixes #15963 Signed-off-by: David Goulet <dgoulet@ev0ke.net>
2015-09-02Fix crashes in testsNick Mathewson
2015-09-02Prohibit the use of one entry node with an HSDavid Goulet
In a nutshell, since a circuit can not exit at its entry point, it's very easy for an attacker to find the hidden service guard if only one EntryNodes is specified since for that guard, the HS will refuse to build a rendezvous circuit to it. For now, the best solution is to stop tor to allow a single EntryNodes for an hidden service. Fixes #14917 Signed-off-by: David Goulet <dgoulet@ev0ke.net>
2015-09-02Let recent relays run with the chutney sandbox.Nick Mathewson
Fixes 16965
2015-09-02Let bridge authorities run under the sandboxNick Mathewson
(found thanks to teor's chutney haxx)
2015-09-02Add test_keygen.sh to distNick Mathewson
2015-09-02Merge remote-tracking branch 'teor/autodetect-chutney-path'Nick Mathewson
2015-09-02Merge remote-tracking branch 'teor/master'Nick Mathewson
2015-09-02Merge remote-tracking branch 'dgoulet/bug15254_027_01'Nick Mathewson
2015-09-02correct the doc for find_rp_for_intro.Nick Mathewson
Thanks to Roger for spotting this!
2015-09-02Remove remaining references to "nulterminate" in commentsNick Mathewson
Thanks to Roger for spotting this!
2015-09-02Include dns_structs.h in tarballNick Mathewson
2015-09-02Enable hidden service statistics by defaultDavid Goulet
HiddenServiceStatistics option is now set to "1" by default. Fixes #15254 Signed-off-by: David Goulet <dgoulet@ev0ke.net>
2015-09-01Remove the unused "nulterminate" option to buf_pullup()Nick Mathewson
I was going to add a test for this, but I realized that it had no users. So, removed.
2015-09-02Test bridges and hidden services in make test-networkteor (Tim Wilson-Brown)
Make "bridges+hs" the default test network. This tests almost all tor functionality during make test-network, while allowing tests to succeed on non-IPv6 systems. Requires chutney commit 396da92 in test-network-bridges-hs. Closes tickets 16945 (tor), 16946 (chutney) . Patches by "teor".
2015-09-01Merge branch 'ticket16901'Nick Mathewson
2015-09-01missing semicolonNick Mathewson
2015-09-01Fix an always-false check with an assertionNick Mathewson
In validate_recommended_package_line, at this point in the function, n_entries is always >= 1. Coverity doesn't like us checking it for 0. CID 1268063.
2015-09-01Fix a false-positive in coverity scan with an assertionNick Mathewson
CID 1301373
2015-09-01Fix code for checking expired certificates on loadNick Mathewson
Fixes CID 1306915, which noticed that the check was dead.
2015-09-01Add a comment about CID 1311630 and why we won't worry about it.Nick Mathewson
2015-09-01Simplify API for find_rp_for_intro()Nick Mathewson
The function now unconditionally allocates a new extend_info_t. This should convince coverity that we're not leaking memory. (CID 1311875)
2015-09-01Merge remote-tracking branch 'sebastian/channel_free_list'Nick Mathewson
2015-09-01Include doc/TUNING in our release tarballsSebastian Hahn
2015-09-01properly delete current channel in channel_free_listSebastian Hahn
channel_unregister() removes channels from the current smartlist while we're in a SMORTLIST_FOREACH loop. This only works by accident.
2015-09-01Fail in configure when openssl is too old. #16901.Nick Mathewson
2015-08-30Remove -F from tor-resolve(1) usage message.rl1987
2015-08-27Autodetect CHUTNEY_PATH if chutney is next to torteor (Tim Wilson-Brown)
If the chutney and tor sources are side-by-side in the same parent directory, autodetect the chutney path. Closes ticket 16903. Patch by "teor".
2015-08-26Fix some memory issues in test_dns.cNick Mathewson
2015-08-26Resolve check-spaces in test_dns.cNick Mathewson
2015-08-26fix compilation warnings in test_dns.cNick Mathewson
2015-08-26Merge remote-tracking branch 'rl1987/test_dns_resolve_rebased'Nick Mathewson
2015-08-25Document callgraph analysis codeNick Mathewson
2015-08-25Make test_checkdir.c dirent include consistent with other filesNick Mathewson
2015-08-25Expand changes fileNick Mathewson
2015-08-25Log malformed hostnames in socks5 request respecting SafeLoggingAndreas Stieger