Question about server load and PORTFLOOD setting in CSF/LFD

Bdzzld

Well-Known Member
Apr 3, 2004
412
5
168
Hi,

Can someone please clearify if the following setting in CSF/LFD :

Code:
PORTFLOOD = "80;tcp;20;5"
instead of the default one :

Code:
PORTFLOOD = ""
will cause a noticable increase in server load? And further more if this increase in server load (if any) is neglectable when the increase in safety is taken into account?

Thanks.
 

Bdzzld

Well-Known Member
Apr 3, 2004
412
5
168
Hi,

Thanks for being the first to answer.

That means you'll only allow ten connections per IP-address per five seconds. I'm not sure what type of server you're using but ain't that a bit low?

I myself was thinking about :

Code:
PORTFLOOD = "80;tcp;20;1"
(20 connections per IP-address per second to the httpd server)
 

nikey

Member
Aug 15, 2009
5
0
51
right now im running 25:5 to combat a 50k request per-second GET flood. it blocked most of it, but left another 10% of the attack for me to mitigate manually for a few hours.
 

nikey

Member
Aug 15, 2009
5
0
51
i must have missed that... right now im running 20:3 which seems to do a pretty good job. imo, 20:1 just seems way too lose and would allow GET based floods through the firewall. I found 20:5 a good tight setting for heavy attacks.
 

Bdzzld

Well-Known Member
Apr 3, 2004
412
5
168
Hi Nikey,

May I ask you what kind of services you're using the server CSF/LFD is installed on for?

Thanks.
 

nikey

Member
Aug 15, 2009
5
0
51
Webhosting. So far I've not noticed any issues with the 20:3 settings. However, I'm thinking 20:5 might work alright as well. right now i've been toying with the settings a lot since im under a 75k per-second get flood.
 

Bdzzld

Well-Known Member
Apr 3, 2004
412
5
168
Indeed a very old thread. Maybe it's better to ask the author of CSF/LFD yourself on its corresponding forum instead?