From 4f5389fee5ae97630a6f68d2823378011e66345d Mon Sep 17 00:00:00 2001 From: "Serg G. Brester" Date: Thu, 24 Nov 2016 19:30:10 +0100 Subject: [PATCH] Update jail.conf --- config/jail.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/jail.conf b/config/jail.conf index 41d8d3b8..7200f4eb 100644 --- a/config/jail.conf +++ b/config/jail.conf @@ -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