Update the apache-badbots configuration template to match the current apache-badbots.conf file

pull/3678/head
Mikhail Sandakov 2024-02-14 08:58:23 +02:00
parent dce2c608c1
commit 31d39afde6
1 changed files with 5 additions and 2 deletions

View File

@ -60,13 +60,16 @@ cat >| config/filter.d/apache-badbots.conf <<EOF
[Definition] [Definition]
badbotscustom = EmailCollector|WebEMailExtrac|TrackBack/1\.02|sogou music spider badbotscustom = EmailCollector|WebEMailExtrac|TrackBack/1\.02|sogou music spider|(?:Mozilla/\d+\.\d+ )?Jorgee
badbots = $badbots badbots = $badbots
failregex = ^<HOST> -.*"(GET|POST).*HTTP.*"(?:%(badbots)s|%(badbotscustom)s)"$ failregex = ^<HOST> -.*"(GET|POST|HEAD).*HTTP.*"(?:%(badbots)s|%(badbotscustom)s)"$
ignoreregex = ignoreregex =
datepattern = ^[^\[]*\[({DATE})
{^LN-BEG}
# DEV Notes: # DEV Notes:
# List of bad bots fetched from http://www.user-agents.org # List of bad bots fetched from http://www.user-agents.org
# Generated on `date` by $0. # Generated on `date` by $0.