logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt
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/comcast
or

Install via npx

npx @hexmos/ipm i tylertreat/comcast

Prerequisites

Go

language

Version: 1.18.0+ (or latest)

git

system_tool

For cloning the repository.

macOS

os

Version: 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@latest

Path Addition (Unix-like)

export PATH=$PATH:$HOME/go/bin

Comcast (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:2000

IPFW (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.1

TC (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.01

Post 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`