preventing-brute-force-attacks-using-iptables-recent-matching
Software requirements Linux kernel and iptables with ‘recent’ patch. (It seems that this patch has entered the mainline some time ago. ‘Recent’ matching e.g. is known to be included with kernels 2.4.31 and 2.6.8 ofDebian Sarge 4.0.) Implementation We begin with empty tables… iptables -F and add all the chains that we will use: iptables -N ssh iptables -N blacklist […]