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
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…
IP-Adressen in Apache Logfiles anonymisieren mit PipedLogs Ich hatte gestern eine Aufgabe, für die ich zunächst keine einfache Lösung gesehen habe: Ich wollte in den Apache-Logfiles die…
PHP Spickzettel Hier sammele ich nützliche PHP Codeschnipsel Pseudo Multithreading mit screen #!/usr/bin/php5 for ($i=1;$i