패킷 손실과 대역폭을 테스트할 수 있는 툴이다.


https://github.com/tylertreat/Comcast


comcast --device=eth0 --latency=250 --target-bw=1000 --default-bw=1000000 --packet-loss=10% --target-addr=8.8.8.8,10.0.0.0/24 --target-proto=tcp,udp,icmp --target-port=80,22,1000:2000




Comcast를 래핑해서 도커로 말아서 사용할 수 있다. 


https://github.com/docker-in-practice/docker-comcast




$ docker pull dockerinpractice/comcast


$ alias comcast="docker run --rm --pid=host --privileged -v /var/run/docker.sock:/var/run/docker.sock dockerinpractice/comcast"

Posted by '김용환'
,