Archive for the ‘ Network Nuisances ’ Category

Connecting…

ip rule add to 0.0.0.0/0 unreachable

N[eo]tworking…

iptables -I INPUT 1 -m statistic --mode random --probability 0.25 -j DROP

Slow down there a bit bro…

Fast network links getting you down?

for IF in $(ip l | awk -F': ' '/^[0-9]/{print $2}')
do
    ip l s ${IF} mtu 60
done

Especially fun if this machine is acting as a (nat-)router for other boxes…