Your browser (Internet Explorer 6) is out of date. It has known security flaws and may not display all features of this and other websites. Learn how to update your browser.
X

Archive for January, 2011

Post

block ssh brute via iptables

hello there, i have received some ssh brute force attacks on my servers.
so i have found very simple solution :)

1
2
3
4
iptables -A INPUT -p tcp --dport 22 --syn -m limit --limit 1/m --limit-burst 3 -j ACCEPT
iptables -A INPUT -p tcp --dport 22 --syn -j DROP
service iptables save
service iptables restart
Stop SOPA