mirror of https://github.com/fail2ban/fail2ban
Explicitly stating that knocking_url needs to be customized
parent
586703dcc2
commit
b638e807ad
|
@ -770,12 +770,14 @@ 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
|
||||||
filter = apache-pass
|
port = ftp,ftp-data,ftps,ftps-data
|
||||||
blocktype = RETURN
|
filter = apache-pass
|
||||||
returntype = DROP
|
|
||||||
# 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
|
||||||
port = ftp,ftp-data,ftps,ftps-data
|
# knocking URL needs to be customized per each deployment
|
||||||
bantime = 3600
|
knocking_url = /secret-knocking-url
|
||||||
maxretry = 1
|
blocktype = RETURN
|
||||||
findtime = 1
|
returntype = DROP
|
||||||
|
bantime = 3600
|
||||||
|
maxretry = 1
|
||||||
|
findtime = 1
|
||||||
|
|
Loading…
Reference in New Issue