- 01 Sep, 2020 1 commit
-
-
Karsten Loesing authored
This commit tweaks the recently added --drop-guards switch as follows: - Guards are dropped right at startup and then every N hours. Otherwise we might not receive the first round of GUARD NEW/UP events. It's unclear why we don't receive those events, but finding out might be time-consuming whereas dropping guards at startup is basically free. - Right after guards are dropped, circuit build timeouts are dropped, too, if supported by the Tor version. If the Tor version does not support this, there's going to be a warning, and the control log will simply not contain BUILDTIMEOUT_SET events. Still part of the reopened #33399.
-
- 27 Aug, 2020 2 commits
-
-
Karsten Loesing authored
-
Karsten Loesing authored
-
- 20 Aug, 2020 2 commits
-
-
Karsten Loesing authored
- Add a change log entry. - Pick are more sensible default for `drop_guards_interval_hours`, also to fix unit tests.
-
Karsten Loesing authored
-
- 16 Aug, 2020 1 commit
-
-
Karsten Loesing authored
- Change timeout back to 270 seconds and stallout back to 0 seconds. - Change initial pause to 300 seconds to keep default behavior unchanged. - Change model, so that pause_between starts in parallel to a stream, not when the stream is completed. This is the same behavior as before. Also add a change log entry for all changes.
-
- 14 Aug, 2020 3 commits
-
-
Philipp Winter authored
Thanks to Rob for pointing this out.
-
Philipp Winter authored
initial_pause -> pause_initial inter_transfer_pause -> pause_between Thanks to Rob for the suggestion.
-
Philipp Winter authored
-
- 08 Aug, 2020 3 commits
-
-
Philipp Winter authored
We tell TGen client to finish on its own by passing the count option to the end node: https://github.com/shadow/tgen/blob/master/doc/TGen-Options.md#end-options This patch adds another argument to the function watchdog_thread_task(), no_relaunch, which instructs the function to not re-launch its process if it fails.
-
Philipp Winter authored
This patch removes the --oneshot subcommand and replaces it with several new subcommands for OnionPerf's "measure" command: --tgen-start-pause (Initial pause before file transfers.) --tgen-num-transfers (Number of file transfers.) --tgen-intertransfer-pause (Pause in between file transfers.) --tgen-transfer-size (Size of each file transfer.) By default, OnionPerf continues to run in "continuous" mode. One can simulate oneshot mode by running onionperf with the following flags: onionperf measure --tgen-num-transfers=1 In addition to the above subcommands, this patch improves the code base by 1) adding a TGenConf class to hold TGen's configuration and by 2) adding a TGenModelConf class to hold TGen's traffic model. This fixes #33432.
-
Karsten Loesing authored
-
- 24 Jul, 2020 2 commits
-
-
Karsten Loesing authored
-
Karsten Loesing authored
-
- 23 Jul, 2020 6 commits
-
-
Karsten Loesing authored
-
Karsten Loesing authored
Still part of #34218.
-
Karsten Loesing authored
Latest TGenTools contain a fix for correctly computing the start time of failed streams. We have to update our unit tests. Related to #30362.
-
Karsten Loesing authored
Fixes #40006.
-
Karsten Loesing authored
-
Ana Custura authored
-
- 22 Jul, 2020 1 commit
-
-
Ana Custura authored
-
- 17 Jul, 2020 1 commit
-
-
Karsten Loesing authored
With this change we include more detailed error codes in visualization output. In order to do so we map TGen transfers/streams to TorCtl STREAM event details based on source ports and unix_ts_end timestamps. This code reuses some concepts used in metrics-lib. Implements #34218.
-
- 16 Jul, 2020 5 commits
-
-
Karsten Loesing authored
-
Karsten Loesing authored
-
Karsten Loesing authored
-
Ana Custura authored
-
Karsten Loesing authored
Implements #40005.
-
- 14 Jul, 2020 4 commits
-
-
Karsten Loesing authored
The bug was that we were using the wrong Analysis class in measure mode: AttributeError: 'Analysis' object has no attribute 'add_torctl_file'
-
Karsten Loesing authored
-
Karsten Loesing authored
-
Karsten Loesing authored
-
- 13 Jul, 2020 1 commit
-
-
Karsten Loesing authored
-
- 12 Jul, 2020 8 commits
-
-
Karsten Loesing authored
Turns out that stream_info/recvsize contains a string, not an int.
-
Karsten Loesing authored
-
Karsten Loesing authored
-
Karsten Loesing authored
-
Karsten Loesing authored
-
Karsten Loesing authored
This schema can be used to validate an analysis file using version 3.0 by using the following commands: ``` pip3 install jsonschema unxz final_onionperf.analysis.json.xz jsonschema -i final_onionperf.analysis.json onionperf-3.0.json ``` Implements #40003.
-
Ana Custura authored
-
Ana Custura authored
-