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
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…