2015-02-02 05:42:01 +00:00
|
|
|
# Fail2Ban filter for fake Googlebot User Agents
|
|
|
|
|
|
|
|
[Definition]
|
|
|
|
|
2021-05-11 11:47:48 +00:00
|
|
|
failregex = ^\s*<HOST> \S+ \S+(?: \S+)?\s+\S+ "[A-Z]+ /\S* [^"]*" \d+ \d+ \"[^"]*\" "[^"]*\bGooglebot/[^"]*"
|
2015-02-02 05:42:01 +00:00
|
|
|
|
|
|
|
ignoreregex =
|
|
|
|
|
2021-05-11 11:47:48 +00:00
|
|
|
datepattern = ^[^\[]*(\[{DATE}\s*\])
|
2016-10-07 12:57:45 +00:00
|
|
|
{^LN-BEG}
|
2015-02-02 05:42:01 +00:00
|
|
|
|
|
|
|
# DEV Notes:
|
|
|
|
#
|
|
|
|
# Author: Lee Clemens
|
|
|
|
# Thanks: Johannes B. Ullrich, Ph.D.
|
|
|
|
# Reference: https://isc.sans.edu/forums/diary/When+Google+isnt+Google/15968/
|