summaryrefslogtreecommitdiff
path: root/etc/functions/plonkhost
blob: d3020ed65f830b6fa83191b6f38fee5cb01b46f1 (plain)
1
2
3
4
## vim:ft=zsh
## "plonk" (as in ignore) a host via iptables
## Usage: plonkhost <host>
sudo iptables -I INPUT -s "$1" -j DROP