comcast icon indicating copy to clipboard operation
comcast copied to clipboard

Command does not effect incoming traffic

Open puneetpratik opened this issue 8 years ago • 4 comments

./bin/comcast --latency=300 --target-bw=150 --default-bw=150 --packet-loss=3%

I see that the incoming traffic is having no effect.

puneetpratik avatar Aug 21 '16 15:08 puneetpratik

More information? Linux, BSD, Mac, Windows? Version?

ghost avatar Aug 27 '16 19:08 ghost

Sorry, I did not get any notification for your comment, thus the delay..

Linux ubuntu 4.4.0-22-generic #40-Ubuntu

puneetpratik avatar Sep 02 '16 15:09 puneetpratik

Looks like when running on linux, only outgoing traffic is blocked, incoming traffic is still enabled: comcast --packet-loss=100% --target-port=80 --target-addr=8.8.8.8

vacuumn avatar Apr 25 '17 23:04 vacuumn

it looks like tc doesn't do a very good job at ingress shaping, I don't think this is likely to be fixable. Most of the functionality has to do with how the kernel actually sends packets, meaning you're better off to put this on the egress side of things.

dalehamel avatar Jul 06 '17 13:07 dalehamel