3 ms·
This is known as tarpitting, and apparently iptables can do it: https://en.wikipedia.org/wiki/Tarpit_%28networking%29 https://en.wikipedia.org/wiki/Tarpit_%28ne
by Tijdreiziger 3y ago
This is known as tarpitting, and apparently iptables can do it: https://en.wikipedia.org/wiki/Tarpit_%28networking%29 https://en.wikipedia.org/wiki/Tarpit_%28networking%29
- nvy 3y agoThis is hilarious
- diggan 3y agoNeat, didn't know that! Think before I've used Traffic Control (tc) for it, but iptables would be simpler. Available in `xtables-addons` it seems. After install: iptables -A INPUT -p tcp -s $SOURCE_IP -j TARPIT # add IP to tarpit iptables -D INPUT -p tcp -s $SOURCE_IP -j TARPIT # remove IP from tarpit