HomeNetworkSimulating a bad connection / packet loss with iptables Simulating a bad connection / packet loss with iptables Linux Network 24. November 201613. Mai 2024 Daniel This will randomly drop 60% of outgoing packages with a local process as source. Use it for testing purposes or if you need a good laugh. #!/bin/bash iptables -A OUTPUT -m statistic --mode random --probability 0.6 -j DROP
PHP Spickzettel Hier sammele ich nützliche PHP Codeschnipsel Pseudo Multithreading mit screen #!/usr/bin/php5 for ($i=1;$i
SFTP mit chroot unter Debian Squeeze einrichten Per SFTP können sicher Daten auf einen Server geschoben werden. Jedoch möchte man in der Regel nicht, dass der SFTP-Benutzer…
VAULT – A small script to create and mount encfs encrypted directories on the fly This small script will allow you to create, mount and unmount encfs directories on the fly. As the need for…