Created
June 27, 2014 03:23
-
-
Save tjschuck/5128149c8525269ad666 to your computer and use it in GitHub Desktop.
Lossy network aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Lossy local network | |
alias lossy='sudo ipfw pipe 1 config bw 10bits && sudo ipfw add 10 pipe 1 tcp from any to me 80' | |
alias halflossy='sudo ipfw pipe 2 config bw 2000bits && sudo ipfw add 10 pipe 2 tcp from any to me 80' | |
alias delossy='sudo ipfw delete 10' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment