You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
362 B
19 lines
362 B
# Fail2Ban Apache pass filter
|
|
# This filter is for access.log, NOT for error.log
|
|
#
|
|
# The knocking request must have a referer.
|
|
|
|
[Definition]
|
|
|
|
failregex = ^<HOST> - \w+ \[\] "GET <knocking_url> HTTP/1\.[01]" 200 \d+ ".*" "[^-].*"$
|
|
|
|
ignoreregex =
|
|
|
|
datepattern = ^[^\[]*\[({DATE})
|
|
{^LN-BEG}
|
|
|
|
[Init]
|
|
|
|
knocking_url = /knocking/
|
|
|
|
# Author: Viktor Szépe
|
|
|