regex.custom.pm trigger trigger level and temporary value ignored
Posted: 19 Aug 2017, 18:55
Hello,
I have configured this regex.custom.pm
As you can see, the trigger level is 20
and the temporary value is 3600
But the block is done on 10 triggers and 1800 seconds
1800 is my LF_INTERVAL configured value, but, should not the defined value in regex.custom.pm value have priority?
How can I fix? it's a bug?
Thanks!!!
I have configured this regex.custom.pm
Code: Select all
# setup-config
if (($globlogs{CUSTOM1_LOG}{$lgfile}) and ($line =~ /(\S+).*] "\w*(?:GET|POST) \/wp-admin\/setup-config\.php.*" /)) {
return ("setup-config attack",$1,"setup-config","20","80,443","3600");
}
and the temporary value is 3600
But the block is done on 10 triggers and 1800 seconds
Code: Select all
Time: Sat Aug 19 18:22:32 2017 +0200
IP: x.x.x.x
Failures: 10 (setup-config)
Interval: 1800 seconds
Blocked: Temporary Block
How can I fix? it's a bug?
Thanks!!!