#9 add ignoreregex

closed
None
5
2006-11-12
2005-09-06
No

I'd like to see the addition of the opposite of a
"failregex",
which we might call an "ignoreregex". This new regex would
specify log lines to ignore, even though they may match
failregex.

For example, fail2ban might monitor Apache logs to identify
sites trying to hack the server with unusual URL
requests. A
simple way to do this would be to block a site after
too many
404s. However, some 404 errors are innocuous, such as
looking
for a non-existent "/robots.txt" or "/favicon.ico". These
harmless 404s could be removed from the failures count by
using ignoreregex to match them.

I have fail2ban 0.5.2.

Discussion

  • Cyril Jaquier

    Cyril Jaquier - 2006-11-12

    Logged In: YES
    user_id=933467

    Added to Subversion. Will be in 0.7.5.

    Thanks

     
  • Cyril Jaquier

    Cyril Jaquier - 2006-11-12
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks