Re: fail2ban increase loadaverage to 18
Thomas Goirand <[email protected]> Fri, 07 Sep 2012 00:08:17 +0800
| Newsgroups | gmane.linux.debian.user.isp |
|---|---|
| Organization | Debian |
| Message-ID | <[email protected]> |
On 08/19/2012 06:06 AM, Max wrote: > It is necessary to limit the number of connections to sshwithiptables, > for example: > /sbin/iptables -p tcp -syn -dport 22-m connlimit -connlimit-above 3 -j DROP And do not forget: echo "1" > /proc/sys/net/ipv4/tcp_syncookies (note: there's even an example in /etc/sysctl.conf with a link to an article explaining what syncookies are...) Thomas