How to install tylertreat/comcast. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.
tylertreat/comcast Installation Guide
How to install tylertreat/comcast. Official project installation instructions and setup guide.
⚡
Automated Install (Recommended)
Quick installation instructions for tylertreat/comcast. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i tylertreat/comcastor
Install via npx
npx @hexmos/ipm i tylertreat/comcastPrerequisites
Go
languageVersion: 1.18.0+ (or latest)
git
system_toolFor cloning the repository.
macOS
osVersion: 10.15.0+ (or latest)
Manual Installation Methods
Manual installation instructions. How to install from GitHub source.
Go Installation
go install github.com/tylertreat/comcast@latestPath Addition (Unix-like)
export PATH=$PATH:$HOME/go/binComcast (Linux)
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:2000IPFW (BSD-derived)
ipfw add 1 pipe 1 ip from me to any
ipfw add 2 pipe 1 ip from any to me
ipfw pipe 1 config delay 500ms bw 1Mbit/s plr 0.1TC (Linux)
tc qdisc add dev eth0 root netem delay 50ms 20ms distribution normal
tc qdisc change dev eth0 root netem reorder 0.02 duplicate 0.05 corrupt 0.01Post Installation Steps
- Run the following command to start the Comcast server: `./comcast`
- To check if Comcast is running, run the following command: `netstat -tulpn | grep comcast`
