Forked from tellyworth/Tools for simulating network unreliability
Last active
January 5, 2023 00:24
-
-
Save ogxd/5675d74e01a490bb31f08c5489e752ad to your computer and use it in GitHub Desktop.
This file contains hidden or 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
sudo -i | |
dnctl pipe 1 config delay 300 | |
echo "dummynet in proto {tcp,icmp} from any to any pipe 1" | pfctl -f - | |
pfctl -e | |
pfctl -f /etc/pf.conf | |
dnctl -q flush |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment