Code: Select all
Mar 30 20:20:43 ns drupal: SOMESITEURL|1396203643|BOTCHA|110.82.153.175|SOMESITEURL/contact|SOMESITEURL/contact|0||contact-mail-page post blocked by BOTCHA: submission looks like from a spambot.
I put this rule in /usr/local/csf/bin/regex.cusotm.pm
Code: Select all
if (($lgfile eq $config{CUSTOM3_LOG}) and ($line =~ /^\.{19}drupal: http(s)?:\/\/([a-z-_]*)?\.?[a-z-_]*\.[a-z]*\W\d+\WBOTCHA\W\d+\.\d+\.\d+\.\d+.*$/)) {
return ("Failed Botcha from",$1,"seeblockbotcha","1","80,443","3600");
}
Code: Select all
CUSTOM3_LOG = "/var/log/syslog"
Nothing happens, the attacks keep going on, nothing in IPTables.
I tried other kinds of rules with no success.
What am I doing wrong or forgetting?
Thanks for help