summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Add a minimal network with a hidden service and an exitHEADmasterteor2017-06-19
| | | | Implements #22667.
* Add an hs-intro networkteor2017-06-14
| | | | | | This network has different hidden service intro point counts. Implements #22599.
* Use LogTimeGranularity 1 because precision is sometimes usefulteor2017-05-25
| | | | Implements #22373.
* Use POSIX shell arithmetic syntax, not a bashismTaylor Yu2017-05-19
| | | | | | | Some distributions have a /bin/sh that isn't bash. Use POSIX syntax for shell arithmetic, instead of a deprecated bash-specific syntax. Fixes 22302.
* Fix a shell variable increment that was accidentally executedteor2017-05-11
|
* Add an option for test-network.sh to run multiple verify roundsteor2017-05-11
| | | | | | | | | This option can be used via --rounds or CHUTNEY_ROUNDS. The default is 1. Also clarify that connections are opened simultaneously. Implements #22225.
* Merge remote-tracking branch 'nickm/misc_bugs'teor2017-05-08
|\
| * Numerous additional debugging logsNick Mathewson2017-05-02
| | | | | | | | These have helped me track down a couple of issues in traffic.py
| * Traffic.py: make want_to_write() correctNick Mathewson2017-05-02
| | | | | | | | | | | | | | | | | | The first two parts were correct before: CONNECTING sockets should check for write, and any socket with a nonempty outbuf should try to write it. But the third was wrong: only CONNECTED sockets should try to write because their repetitions and data fields are set -- because on_writable does not actually do anything with those fields unless the state happens to be CONNECTED.
| * Traffic.py: Actually detect EOFNick Mathewson2017-05-02
| | | | | | | | | | If recv() returns an empty string, that's the last you'll be getting from it.
* | Merge branch 'tor-termination'teor2017-05-08
|\ \ | |/ |/| | | Multiple options were added to the README, this resolves the conflict.
| * Make all chutney tors exit when tools/test-network.sh exitsteor2017-05-03
| | | | | | | | | | Fixes #20409, as long as chutney and tools/test-network.sh do not hang. (Hangs shouldn't happen, if they do, it's a separate bug.)
| * Edit chutney's docs for recent tor and chutney changesteor2017-05-03
| |
| * Add documentation comments for some chutney internal optionsteor2017-05-03
| |
| * Fix an inconsistent echo call in tools/test-network.shteor2017-05-03
| | | | | | | | No behaviour change
| * Make tor clean up connections before stopping a chutney networkteor2017-05-03
| | | | | | | | | | | | | | This increases integration test coverage, and improves the reliability of any statistics being gathered on chutney networks. Implements feature #21901.
* | Give chutney a CHUTNEY_DEBUG optionNick Mathewson2017-05-02
|/ | | | | test-network.sh gets a --debug flag, and they both get documented in the README. debug_flag is no longer recommended.
* Fix a comment typo in test-network.shteor2017-03-01
|
* Produce a sensible output from warnings.sh if readlink is not availableteor2017-03-01
|
* Use sh rather than bashteor2017-03-01
| | | | | | | | And fix some bash-isms. This restores support for BSDs without bash installed. Reverts 0d57f92. Closes 21575.
* Now bug 17090 is fixed, remove the comment about ignoring its warningteor2017-02-28
|
* Make the formatting of warnings slightly more consistentteor2017-02-28
| | | | Part of tor's 21570.
* Reserve an exit status of 2 for "unknown command-line argument"teor2017-02-28
| | | | Required for tor's 21570 to work.
* If there are warnings, always echo the canonical nodes pathteor2017-02-28
| | | | Revision of 21571 to better suit tor's needs in 21570.
* Add a warning-only mode to test-network.shteor2017-02-28
| | | | | | | | And provide a canonical path to the nodes directory in warnings.sh. This is part of tor feature 21570. Closes 21572.
* Add a quiet mode to test-network.sh and warnings.shteor2017-02-28
| | | | | | This prepares for the tor changes in 21570. Closes 21571.
* Fix a typo in the update messageteor2017-02-28
|
* Make a unique directory each chutney run, and symlink to a standard nameteor2017-02-27
| | | | | | | | Instead of moving the directory to a unique path at the start of the next run, which makes it impossible to find if running several networks in succession, like we do in 'make test-network-all'. Closes 21567.
* Handle CHUTNEY_DATA_DIR correctly, even if it's relativeteor2017-02-27
| | | | | | And handle it consistently across chutney and scripts. Closes 21568.
* Minor updates to the READMEteor2017-02-27
|
* Make chutney accept relative paths, as well as the scriptsteor2017-02-27
| | | | Closes 21467 (finally!)
* When we fail to parse an option, remind the user to update chutneyteor2017-02-27
| | | | Partial fix for 20091.
* Make warnings summary mode even quieterteor2017-02-27
| | | | Follow-up to #21371.
* Use bash rather than the default shellteor2017-02-27
| | | | Closes #21563, related to tor's #21562.
* Check that relative paths actually have what we need in themteor2017-02-27
| | | | | | If they don't, use the script path. Finally fixes #21521, I hope!
* Change the default mode when creating directoriescypherpunks2017-02-27
| | | | | | | | Every call to `mkdir_p` uses mode 448 which is a sensible default. Using this mode as the global default prevents future problems, removes duplicate comments and simplifies existing calls. Closes #21552.
* Don't set DirPort on bridge relaysteor2017-02-24
| | | | Closes #17088.
* Ignore more tor warningsteor2017-02-24
| | | | | | Maybe we should fix the configs (or tor) instead? Part of #21371.
* Don't colour warnings when outputting to a fileteor2017-02-24
| | | | Fixes #21548.
* Refactor and document the warnings.sh codeteor2017-02-24
| | | | | | | Add arguments to test-network.sh for warnings Make the enviromental variables strings rather than integers Fixes #21371.
* Make chutney shell scripts support relative pathsteor2017-02-23
| | | | | | Part of #21521. Remaining work: make chutney python code use CHUTNEY_PATH.
* Handle hidden services on old tor versions in hsaddress.shteor2017-02-23
| | | | Closes #21533.
* Add SUMMARY and IGNORE_EXISTING modes to warnings.shteor2017-02-23
| | | | Closes #21371.
* Make warnings.sh output errs as wellteor2017-02-23
| | | | Closes #21532.
* Fix warnings.sh spacingteor2017-02-23
| | | | | | | uniq -c prints counts with variable spacing. We shouldn't carry that through to the output. Closes #21531.
* Log all warnings generated by tor after testing a networkteor2017-02-23
| | | | Part of #21371.
* Make non-exit relays actually not be exitsteor2017-02-23
| | | | | | | | | Tor's default is to exit based on the exit policy, but log a warning if ExitRelay is not set. (Chutney also had some configs using the default exit policy, which does not exit to localhost, so chutney could not use it to verify.) Fixes #17090.
* Remove commented-out duplicate TestingDirAuthVote* optionsteor2017-02-23
| | | | Fixes #16999.
* Make chutney tools work with relative pathsteor2017-02-15
| | | | | | This bug was introduced when we added the test scripts in #9087. Closes #21467.
* Create client data directories in mode 0700teor2017-02-15
| | | | | | This allows control sockets to work by default. Fixes #21464.