Search found 2 matches

by geniosity
31 Dec 2013, 10:21
Forum: General Discussion (csf)
Topic: LF_APACHE_403 - how does it work
Replies: 1
Views: 3015

Re: LF_APACHE_403 - how does it work

Ok, I figured it out, different log file and different regex required. Nothing like people spamming your server to get you learning a new skill (PERL/regex) at 4am: In csf.conf: CUSTOM1_LOG = "/etc/httpd/logs/error_log" In regex.custom.pm: if (($lgfile eq $config{CUSTOM1_LOG}) and ($line =...
by geniosity
30 Dec 2013, 18:17
Forum: General Discussion (csf)
Topic: LF_APACHE_403 - how does it work
Replies: 1
Views: 3015

LF_APACHE_403 - how does it work

Hi I've set the following parameters: LF_APACHE_403 = "60" LF_APACHE_403_PERM = "3600" LF_INTERVAL = 300. The reason I needed to turn that on is because I'm being bombarded by attempts to access a blocked resource. The file "/etc/httpd/logs/error_log" is generating abou...