When specifying multiple log files they should be new line delimited not space delimited. It's taking the second file as the head/tail option of the first. Check out the jail.conf(5) man page.
On 9 November 2014 21:13:13 GMT+00:00, Alex Regan <[email protected]> wrote: >Hi, >I'm using fail2ban-0.9.0 on fedora20 and having some problems with the >apache filters: > >2014-11-09 15:58:04,261 fail2ban.server.transmitter[13964]: WARNING >Command ['set', 'apache-badbots', 'addlogpath', >'/var/log/httpd/ssl_access_log', '/var/www/*/logs/*access_log'] has >failed. Received ValueError("File option must be 'head' or 'tail'",) >2014-11-09 15:58:04,262 fail2ban.server.transmitter[13964]: WARNING >Command ['set', 'apache-badbots', 'addlogpath', >'/var/log/httpd/access_log', '/var/www/*/logs/*access_log'] has failed. > >Received ValueError("File option must be 'head' or 'tail'",) > >The same error occurs for apache-noscript and apache-botsearch. I've >verified that these log files exist. > >These are the default filters included with the RPM on fedora20. I've >only enabled them in a config.local: > >[apache-noscript] >enabled = true >maxretry = 3 > >How can I troubleshoot this further? > >Thanks, >Alex > >------------------------------------------------------------------------------ >_______________________________________________ >Fail2ban-users mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/fail2ban-users -- Steven Hiscocks ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk _______________________________________________ Fail2ban-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fail2ban-users
