2012-11-05, 05:57 AM
(2012-09-24, 10:23 PM)Solidus Wrote: [ -> ](2012-09-21, 05:23 AM)echofloripa Wrote: [ -> ](2011-12-17, 07:55 PM)Solidus Wrote: [ -> ]Now you are protected from DOS and SYN flood attacks, and will be notified by email when an IP is blocked.
To which email is it going to email to?
Whichever email you put into "LF_ALERT_TO =", or if that is blank, your email from cPanel, DirectAdmin or Plesk.
(2012-09-17, 06:04 PM)Marks-Mans Wrote: [ -> ]Everything Is Configured Correct
But I Couldnt Find A Way To Block Ip Thats Open Many Requests On Server Automaticaly
Find "CONNLIMIT =" in the CSF config file. Here is how it works:
If you want a maximum of 5 connections per ip to port 80(http), this is what you'd put,
CONNLIMIT = 80;5
now if you want to add more, for example, 3 maximum connections to port 22(ftp), add this,
CONNLIMIT = 80;5, 22;3
Fixed broken images in OP.
did it but when i run /etc/csf/csftest.pl it gives error on connlimit like this:
testing xt_connlimit.....failed [error: iptables: unknown error [18446744073709551615] - required for CONNlIMIT feature
How to solve it