tylertreat / comcast

Simulating shitty network connections so you can build better systems.
Apache License 2.0
10.31k stars 384 forks source link

Feature request: setup multiple rules independently #42

Open fffw opened 8 years ago

fffw commented 8 years ago

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.

tylertreat commented 8 years ago

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.

ilyesilyes commented 5 years ago

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 !! :(

tylertreat commented 5 years ago

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