On 11/02/2015 07:50 AM, Tom Hendrikx wrote:
> Hi,
>
> Please show jail config for the related apache jail.
>
[apache-noscanners]
enabled  = true
port = http,https
filter = apache-noscanners
action = iptables-multiport[name=apache-noscanners,port="80,443"]
                sendmail-whois-lines[name=apache-noscanners, 
dest=i...@domain.com, sender=fail2...@domain.com, sendername="Fail2Ban"]
logpath  = /var/log/httpd/*access_log
maxretry = 2
bantime  = 172800

>
> On 02-11-15 16:09, Bond Masuda wrote:
>> I'm using the sendmail-whois-lines action (default, not modified) in
>> hopes of seeing some of the log entries associated to a ban. But I get
>> this in the email:
>>
>> Lines containing IP:5.178.68.237 in /dev/null
>>
>>
>> Surely, the log it is monitoring was not /dev/null. It was suppose to be
>> /var/log/httpd/*access_log. Am I doing something wrong here?
>>    thx
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Fail2ban-users mailing list
>> Fail2ban-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/fail2ban-users
>>
> ------------------------------------------------------------------------------
> _______________________________________________
> Fail2ban-users mailing list
> Fail2ban-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fail2ban-users


------------------------------------------------------------------------------
_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to