Skip to content

Instantly share code, notes, and snippets.

@rhrn
Created April 26, 2013 15:00
Show Gist options
  • Save rhrn/5467937 to your computer and use it in GitHub Desktop.
Save rhrn/5467937 to your computer and use it in GitHub Desktop.
Development tips
# creates a pipe that only allows up to 15KB/s to go through.
sudo ipfw pipe 1 config bw 15KByte/s
# will attach that pipe to the outgoing traffic on port 80, effectively limiting the outgoing traffic of the web server.
sudo ipfw add 1 pipe 1 src-port 80
# will remove the pipe from the port.
sudo ipfw delete 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment