3 ms·
Give yourself some breathing room. I limit connections to four in a three minute window. iptables -A INPUT -p tcp -m tcp --dport 22 -m recent --update --se
by blfr 9y ago
Give yourself some breathing room. I limit connections to four in a three minute window.
iptables -A INPUT -p tcp -m tcp --dport 22 -m recent --update --seconds 180 --hitcount 4 --rttl --name SSH --mask 255.255.255.255 --rsource -j DROP