mirror of https://github.com/fail2ban/fail2ban
Update jail.conf
parent
f46ada023e
commit
4f5389fee5
|
@ -810,8 +810,9 @@ maxretry = 1
|
||||||
[pass2allow-ftp]
|
[pass2allow-ftp]
|
||||||
# this pass2allow example allows FTP traffic after successful HTTP authentication
|
# this pass2allow example allows FTP traffic after successful HTTP authentication
|
||||||
port = ftp,ftp-data,ftps,ftps-data
|
port = ftp,ftp-data,ftps,ftps-data
|
||||||
# knocking_url variable must be overridden to some secret value in filter.d/apache-pass.local
|
# knocking_url variable must be overridden to some secret value in jail.local
|
||||||
filter = apache-pass
|
knocking_url = /knocking/
|
||||||
|
filter = apache-pass[knocking_url="%(knocking_url)s"]
|
||||||
# access log of the website with HTTP auth
|
# access log of the website with HTTP auth
|
||||||
logpath = %(apache_access_log)s
|
logpath = %(apache_access_log)s
|
||||||
blocktype = RETURN
|
blocktype = RETURN
|
||||||
|
|
Loading…
Reference in New Issue