Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for creating heterogenous networks #10

Open
sporksmith opened this issue Jun 3, 2021 · 2 comments
Open

Support for creating heterogenous networks #10

sporksmith opened this issue Jun 3, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@sporksmith
Copy link
Contributor

Via conversation with mikeperry -

One nice thing about Shadow 2.0 is that we should be able to simulate a heterogenous network where not everyone is running the exact same tor binary. It'd be nice if tornettools had support for creating such networks.

I'm not sure of the best way to specify though. Naively maybe there could be an alternative to the --tor flag that took a path and a fraction, and either could be provided multiple times or took a list. e.g. --tor-mixed=0.8:~/bin/tor-latest;0.2:~/bin/tor-old.

I could imagine wanting more sophisticated models, or maybe even basing it on real network stats, but not sure whether that's needed. Will ping mikeperry to elaborate.

@sporksmith sporksmith added the enhancement New feature or request label Jun 3, 2021
@sporksmith
Copy link
Contributor Author

sporksmith commented Jun 3, 2021

Chatted with mike some more -

In the short term the immediate purpose is to test with a heterogenous mix of congestion control options; we'd be looking for a mix of clients, and they can be chosen uniformly at random. He also mentioned that it'd also work in this case to point them at different tor configs rather than using different tor binaries (and might even be preferable).

Even if we don't use it for this experiment, ahf did mention being excited to be able to use different tor binaries, including relays and exits. Apparently this has been one of the reasons to use chutney instead of shadow for testing.

mikeperry is going to spend a bit more time coming up with a concrete plan for the congestion control experiment(s) and what we'll need in the short term.

@ahf
Copy link

ahf commented Jun 3, 2021

In Chutney, we occasionally build mixed networks like this: https://gitlab.torproject.org/tpo/core/chutney/-/blob/main/networks/mixed+hs-v23 - here we have the ability to specify an alternative name of the Tor binary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants