aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-15Add get_interface_address[6]_list for a list of interface IP addressesteor (Tim Wilson-Brown)
Add get_interface_address[6]_list by refactoring get_interface_address6. Add unit tests for new and existing functions. Preparation for ticket 17027. Patch by "teor". Patch on 42b8fb5a1523 (11 Nov 2007), released in 0.2.0.11-alpha.
2015-09-13Convince coverity that we do not have a particular memory leakNick Mathewson
2015-09-11Add a rend cache failure info dup functionDavid Goulet
When validating a new descriptor against our rend cache failure, we were added the failure entry to the new cache entry without duplicating. It was then freed just after the validation ending up in a very bad memory state that was making tor abort(). To fix this, a dup function has been added and used just before adding the failure entry. Fixes #17041 Signed-off-by: David Goulet <dgoulet@ev0ke.net>
2015-09-10Merge remote-tracking branch 'public/ed25519_hup_v2'Nick Mathewson
2015-09-10Merge remote-tracking branch 'teor/make-test-network-all'Nick Mathewson
2015-09-10Merge remote-tracking branch 'teor/configure-use-colon'Nick Mathewson
2015-09-10fixup Some slower configurations need 35 seconds to bootstrapteor (Tim Wilson-Brown)
Some slower configurations, like OS X i386, need 35 seconds to reliably bootstrap larger chutney networks. Increase default bootstrap time in src/test/test-network.h to 35 seconds.
2015-09-10Use : rather than /bin/true in configure.acteor (Tim Wilson-Brown)
Some platforms have true at different locations, like /usr/bin/true.
2015-09-09Bump default test-network bootstrap time to 35 sec (see 16953)Nick Mathewson
2015-09-09Merge remote-tracking branch 'yawning/feature15482_fixup'Nick Mathewson
2015-09-09Check NoKeepAliveIsolateSOCKSAuth in a better place.Yawning Angel
No functional changes, but since NoKeepAliveIsolateSOCKSAuth isn't part of isoflag, it should be checked where all other similar options are, and bypass the (no-op) masking at the end.
2015-09-09Fold changes files into changelogNick Mathewson
2015-09-09Fix warnings from lintChangesNick Mathewson
2015-09-08changes file for 16953Nick Mathewson
2015-09-08Merge remote-tracking branch 'teor/make-test-network-all'Nick Mathewson
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-08Make NoKeepAliveIsolateSOCKSAuth work as expectedNick Mathewson
2015-09-08Merge branch 'feature15482_squashed'Nick Mathewson
2015-09-08Add `KeepAliveIsolateSOCKSAuth` as a SOCKSPort option.Yawning Angel
This controls the circuit dirtyness reset behavior added for Tor Browser's user experience fix (#15482). Unlike previous iterations of this patch, the tunable actually works, and is documented.
2015-09-09make test-network-all exit 1 if any test network failsteor (Tim Wilson-Brown)
2015-09-08Merge branch 'bug16980'Nick Mathewson
2015-09-08Handle negative inputs to crypto_random_time_range().Nick Mathewson
(These inputs are possible when Shadow starts the world at time_t 0, and breaks our assumption that Tor didn't exist in the 1970s.) Fixes regression introduced in 241e6b09. Fixes #16980.
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-01Bug 15482: Don't abandon circuits that are still in use for browsing.Mike Perry
Only applies to connections with SOCKS auth set, so that non-web Tor activity is not affected. Simpler version of Nick's patch because the randomness worried me, and I'm not otherwise sure why we want a max here.
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".