skraps

woot woot messages in apache logs.

Aug 19th, 2011
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. === apache w00t w00t messages jail - regex and filter ===
  2. Jail
  3. <code>
  4. [apache-wootwoot]
  5. enabled = true
  6. filter = apache-wootwoot
  7. action = iptables[name=HTTP, port="80,443", protocol=tcp]
  8. logpath = /var/log/apache2/error.log
  9. maxretry = 0
  10. bantime = 864000
  11. findtime = 3600
  12. </code>
  13. Filter
  14. <code>
  15. # Fail2Ban configuration file
  16. #
  17. # Author: Jackie Craig Sparks
  18. #
  19. # $Revision: 728 $
  20. #
  21. [Definition]
  22. #Woot woot messages
  23. failregex = ^\[\w{1,3} \w{1,3} \d{1,2} \d{1,2}:\d{1,2}:\d{1,2} \d{1,4}] \[error] \[client 195.140.144.30] File does not exist: \/.{1,20}\/(w00tw00t|wootwoot|WootWoot|WooTWooT).{1,250}
  24. ignoreregex =
  25. </code>
Advertisement
Add Comment
Please, Sign In to add comment