iptables rules for rate-limiting SSH connections
TweetThis is what I use on my CentOS boxes/VMs, it rate-limits the connections and also rate-limits the log messages (to prevent attacks that attempt to fill up the server’s disk). iptables -F iptables -X iptables -N LOGDROP #Create the LOGDROP chain iptables -A LOGDROP -m limit –limit 1/s -j LOG –log-prefix “LOGDROP: ” # Rate-limit [...]

Recent Comments