summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Allow tor and tor-gencert to be specified on the chutney command-lineteor (Tim Wilson-Brown)2016-07-18
| | | | | Now works via --tor and --tor-gencert. Overridden by the build directory set via --tor-path and $TOR_DIR.
* Fix some typos in test-network.shteor (Tim Wilson-Brown)2016-07-18
|
* Apparently time.time() is a more reliable time.clock()teor (Tim Wilson-Brown)2016-07-18
|
* Don't burn through a client's HSDirs too fast in hs-minteor (Tim Wilson-Brown)2016-07-18
|
* Make chutney verify retry until successteor (Tim Wilson-Brown)2016-07-18
| | | | | | | | Return immediately on success. Only return failure after 60 seconds with no successes. This makes networks that bootstrap quickly verify much faster, and networks that bootstrap slowly are much more reliable.
* We fixed #15937, update the READMEteor (Tim Wilson-Brown)2016-07-18
|
* Document test-network.sh in the READMEteor (Tim Wilson-Brown)2016-07-18
|
* Copy changes from Tor's test-network.shteor (Tim Wilson-Brown)2016-07-17
| | | | | | Rewrite test-network.sh so out-of-tree and $PATH binaries work Add a dry run mode to test-network.sh We fixed #15937, update a comment
* Add a copy of src/test/test-network.sh from Torteor (Tim Wilson-Brown)2016-07-17
| | | | This script comes from Tor git 9932544 on 2016-07-13.
* Document CHUTNEY_LISTEN_ADDRESS in the READMEteor (Tim Wilson-Brown)2016-07-02
| | | | | Uses the text from the #18826 commit message, with modifications. Adds a note about IPv6, which is a work in progress.
* Add git mergetool backups to the git ignore listcypherpunks2016-07-02
|
* Add vim swap files to the git ignore listcypherpunks2016-07-02
|
* Add more information about chutney_tests to the READMEteor (Tim Wilson-Brown)2016-07-02
| | | | | You can replace the standard chutney tests with custom scripts. But you probably shouldn't.
* Move network tests to separate Python filescypherpunks2016-07-02
| | | | | | Based on a patch from chobe. Closes ticket 9087.
* Allow specifying the Chutney listen address.anonym2016-06-30
| | | | | | It's controlled via the CHUTNEY_LISTEN_ADDRESS environment variable (default: localhost). Setting it to some interface's IP address allows us to make the simulated Tor network available on the network.
* use CHUTNEY_DATA_DIR in one more placeNick Mathewson2016-06-19
|
* Remove trailing spacescypherpunks2016-06-19
|
* Fix PEP8 errorscypherpunks2016-06-19
|
* Document CHUTNEY_DATA_DIRNick Mathewson2016-06-17
|
* Allow specifying the Chutney data directory.anonym2016-06-17
| | | | | It is controlled with the CHUTNEY_DATA_DIR environment variable, but defaults to the 'net' sub-directory of the Chutney source tree.
* Merge remote-tracking branch 'teor/clarify-exit-policies'Nick Mathewson2016-06-17
|\
| * Clarify exit policies for IPv4 and IPv6, including private addressesteor2015-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | Allow chutney exits to exit to all private addresses. Tidy up exit policies, so each part of the policy is clearly identified. Document alternatives to work around #11264, the microdescriptor 2x /8 requirement for exits. Prepare for resolving #15353 by making sure the exit policies *should* work when localhost is the only available IP. This still requires further investigation.
* | Merge remote-tracking branch 'teor/debug-on-fail'Nick Mathewson2016-06-17
|\ \
| * | On chutney verify failure, inform user about debug modeteor2015-04-24
| |/ | | | | | | | | | | | | When chutney verify fails, tell the user how to activate debug mode by editing the source code. Eventually, we'll make debug mode an argument, see #15418.
* | Do not use the system torrc when generating router keys.anonym2016-05-10
| | | | | | | | | | Otherwise it may make this step of the configuration fail, e.g. if a hidden service is configured system wise.
* | Fix borken print() function calls in lib/chutney/TorNet.py.Isis Lovecruft2016-02-18
| | | | | | | | | | | | | | | | The `%` operator needs to go inside the call to the `print()` function. Otherwise, the format string operation is being done on the return value of `print()`, which is `None`. * FIXES #18341: https://bugs.torproject.org/18341.
* | Rewrite Python detection in Chutney shell scriptcypherpunks2016-02-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes Chutney on systems which have python2 in their PATH but not python. Portability of the script has improved by avoiding `command` and instead walking through PATH. This code is based on the program detection in Autoconf. Usability has improved by displaying a message when no compatible Python version has been found which advises the user to check their Python installation and PATH. When a compatible Python version has been found, the script displays the Python version before initializing Chutney. Fixes ticket 17631.
* | fixup #15353 - Sleep when transmitting bytes temporarily failsteor (Tim Wilson-Brown)2015-10-09
| | | | | | | | | | When we fail to send bytes, sleep for 1 second before retrying. This avoids trying a few thousand times a second.
* | If chutney repeatedly sends no bytes, stop tryingteor (Tim Wilson-Brown)2015-10-06
| | | | | | | | | | | | | | | | | | This only seems to happen when all external network interfaces are down. But Tor should still work using 127.0.0.1. This requires further investigation. Investigatory changes for #15353.
* | Enable sandboxing in chutney testsNick Mathewson2015-09-02
| |
* | Merge remote-tracking branch 'teor/fallback-to-python'Nick Mathewson2015-09-02
|\ \
| * | If $PYTHON isn't set, use python2 or pythonteor (Tim Wilson-Brown)2015-08-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If $PYTHON isn't set, use "command" to check for python2, then python. (python3 check is disabled due to #16904 - chutney doesn't work with python3.) If neither of the "command" checks work, assume a strange shell or "command", and fall back to python2. Fixes default install of chutney on OS X, which has neither $PYTHON set, nor python2; but does have python, which happens to be version 2. Resolves #16902.
* | | Add bridges+hs network to test bridges and hidden services togetherteor (Tim Wilson-Brown)2015-09-02
|/ / | | | | | | This network allows non-IPv6 systems to test almost all tor functionality.
* | Merge remote-tracking branch 'DonnchaC/client-control-port'Nick Mathewson2015-08-12
|\ \
| * | Enable control port for Tor clientsDonncha O'Cearbhaill2015-06-24
| | |
* | | Implement chutney performance testingteor2015-07-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following environmental variables affect chutney verify: CHUTNEY_DATA_BYTES=n sends n bytes per test connection (10 KBytes) CHUTNEY_CONNECTIONS=n makes n test connections per client (1) CHUTNEY_HS_MULTI_CLIENT=1 makes each client connect to each HS (0) When enough data is transmitted, chutney verify reports: Single Stream Bandwidth: the speed of the slowest stream, end-to-end Overall tor Bandwidth: the sum of the bandwidth across each tor instance This approximates the CPU-bound tor performance on the current machine, assuming everything is multithreaded and network performance is infinite. These new features are all documented in the README.
* | | Add new networks for performance testingteor2015-07-06
| | | | | | | | | | | | Each network has exits flagged with exit=1
* | | Modify existing networks to flag each exit with exit=1teor2015-07-06
| | | | | | | | | | | | | | | | | | Also perform minor clean-up in some files. This is required for the performance testing changes.
* | | Create Exit and Non-Exit Authority and Bridge Authority Templatesteor2015-07-06
|/ / | | | | | | | | | | Refactor existing templates to avoid duplication. This makes flagging each exit for performance testing much easier.
* | Wait a second before checking if tor has launchedteor2015-06-11
|/ | | | Resolves bug 16310 - chutney thinks tor fails to launch under high load.
* Create empty /net directorySebastian Hahn2015-03-21
| | | | | This means setting CHUTNEY_PATH to the git checkout just works from inside Tor.
* Document the environment variables CHUTNEY_TOR and CHUTNEY_TOR_GENCERT.cypherpunks2015-01-23
|
* recommend python 2.7; nobody reasonable supports 2.6 and we do not work with 2.6Nick Mathewson2015-01-21
|
* Add bridge clients and hidden services to chutney verifyteor2015-01-10
| | | | | | | | | | | | | | | | | | | | | Chutney verify now verifies bridge clients and hidden services. Bridge clients are verified just like clients, by using an exit to connect to the TrafficTester's listening port. Hidden services are verified by using an arbitrary client (the first one in the list) to connect to the hidden service. The hidden service is configured to redirect data to the TrafficTester's listening host:port. This works almost exactly like the standard client / bridge client tests. The only difference is that the client connects via a hidden service port pre-configured with a specific redirect, rather than via an exit which could handle arbitrary hosts and ports. Also review the number of relays/exits/authorities required for the 25% guard changes. For 2 guards, 8 relays are required in total, including authorities and exits.
* Include bridge clients in chutney verifyteor2015-01-10
| | | | Test bridge clients using chutney verify, the same way we test clients.
* Automatically create hidden service directory for hidden servicesteor2014-12-30
| | | | | | | | | Add a new env hs (boolean) that is set to 1 for hidden services. Add a new env hs_directory (string) that is set to the name of the hidden service directory ('hidden_service' by default). When hs is 1, create hs_directory with mode 0700 (448 decimal).
* Merge commit '05d9d63548dff686f66b2f1322a7f80e452462a1'Nick Mathewson2014-12-30
|\
| * Speed up tor bootstrap phase (chutney portion)teor2014-12-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Speed up the tor bootstrap by modifying both tor and chutney. Comprehensive bootstrap: (30s) Reduce the consensus interval to 10 seconds Depends on corresponding tor changes Don't require any bandwith for an exit flag Depends on corresponding tor changes Fast Bootstrap: (10s) Assume that everything is reachable and an exit Start building paths once the minimum number of descriptors are available Reduce consensus validity to 2 intervals Also make other minor config fixes Resolves bug 13823. Tests resolution of (tor) bug 13718 and children.
* | Now that chutney moves dirs on config, bootstrap-network.sh can stopNick Mathewson2014-12-29
| |
* | A few python3 fixesNick Mathewson2014-12-29
| |