tylertreat / comcast

Simulating shitty network connections so you can build better systems.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Download bandwidth not restricted in LAN

Mido22 opened this issue · comments

commented

I am simulating a webrtc call under bad network conditions, both the peer's machines(one windows one linux) are connected through lan, below is the command I used to restrict the bandwidth on the linux machine

comcast --target-proto="tcp,udp,icmp"  --mode="start" --target-port="1:65535" --target-bw=300 --default-bw='300'

this cap has effect when I am connecting to the internet, and also reflected on the data recievied on the windows machine, but for some wierd reason, my bandwidth for recieving data on linux has not reduced( remains about 1.5Mbps) i.e windows peer recivies poor quality video of linux one, but Linux peer recieves video in good quality. Am I doing something wrong? Sorry, my knowledge is limited in networking field.

The quotes there for default-bw, since it's parsed as an int. Maybe that's the problem?

Could you paste the output with a dry-run?