mirror of
https://github.com/linuxserver/fail2ban-confs.git
synced 2026-02-20 05:02:42 +08:00
18 lines
425 B
Plaintext
18 lines
425 B
Plaintext
## Version 2022/08/06
|
|
# Fail2Ban filter for fake Googlebot User Agents
|
|
|
|
[Definition]
|
|
|
|
failregex = ^\s*<HOST> \S+ \S+(?: \S+)?\s+\S+ "[A-Z]+ /\S* [^"]*" \d+ \d+ \"[^"]*\" "[^"]*\bGooglebot/[^"]*"
|
|
|
|
ignoreregex =
|
|
|
|
datepattern = ^[^\[]*(\[{DATE}\s*\])
|
|
{^LN-BEG}
|
|
|
|
# DEV Notes:
|
|
#
|
|
# Author: Lee Clemens
|
|
# Thanks: Johannes B. Ullrich, Ph.D.
|
|
# Reference: https://isc.sans.edu/forums/diary/When+Google+isnt+Google/15968/
|