Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- === apache w00t w00t messages jail - regex and filter ===
- Jail
- <code>
- [apache-wootwoot]
- enabled = true
- filter = apache-wootwoot
- action = iptables[name=HTTP, port="80,443", protocol=tcp]
- logpath = /var/log/apache2/error.log
- maxretry = 0
- bantime = 864000
- findtime = 3600
- </code>
- Filter
- <code>
- # Fail2Ban configuration file
- #
- # Author: Jackie Craig Sparks
- #
- # $Revision: 728 $
- #
- [Definition]
- #Woot woot messages
- 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}
- ignoreregex =
- </code>
Advertisement
Add Comment
Please, Sign In to add comment