Merge pull request #1620 from fail2ban/close-gh-1120

jail.conf: added  `knocking_url` filter-parameter of `pass2allow-ftp`...
pull/1624/head
Serg G. Brester 2016-11-25 19:29:10 +01:00 committed by GitHub
commit ac1729e473
1 changed files with 3 additions and 2 deletions

View File

@ -810,8 +810,9 @@ maxretry = 1
[pass2allow-ftp]
# this pass2allow example allows FTP traffic after successful HTTP authentication
port = ftp,ftp-data,ftps,ftps-data
# knocking_url variable must be overridden to some secret value in filter.d/apache-pass.local
filter = apache-pass
# knocking_url variable must be overridden to some secret value in jail.local
knocking_url = /knocking/
filter = apache-pass[knocking_url="%(knocking_url)s"]
# access log of the website with HTTP auth
logpath = %(apache_access_log)s
blocktype = RETURN