tylertreat / comcast

Simulating shitty network connections so you can build better systems.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: setup multiple rules independently

fffw opened this issue · comments

commented

Not sure if anyone else has that requirement, but it would be neat if we can setup multiple rules to different targets, say, one for 50ms latency and one for 200ms latency, to conduct tests without having to frequently setup and teardown comcast to switch rules. It's also beneficial when we need to simulate different network at the same time.

Currently executing comcast the second time results It looks like the packet rules are already setup. I'd be happy to create PR once having free time slot but before that, I want to ask you who already have experience on it: Are there any potential blocker to play with those various system tools for this purpose? To avoid bookkeeping, A simplification would be to set up multiple rules but teardown them all.

Do you mean setting up rules for multiple network devices or something else? I'm not sure if I quite understand what you mean, but feel free to make a PR.

when i want to configure multiple channel. it work only with the first one.
for example i whrite : comcast --device eth0 ...
comcast --device wlan0 ....
it work only for the interface eth0.
and i will get the message : "It look like the paquet rules are already setup" for the second commande.

How can i do to configure the both of channel? Thank you !! :(

Multiple devices is not currently supported. I do accept PRs though.