Hello
I have also an installation with squid-4.13 and it's work correctly.
These are configurations:
4.14
acl ftp_permit dstdomain .xxx.yy
acl ftp_permit_ip dst xxx.xxx.xxx.xxx/32
acl Safe_ports port 21 # ftp
acl Safe_ports port 22 # sftp
acl FTP proto FTP
http_access allow FTP ftp_permit vvvv
http_access allow FTP ftp_permit_ip xxx.xxx.xxx.xxx/zz
http_access deny FTP
ftp_port 21
ftp_user proxy@xxxx
ftp_passive on
ftp_epsv_all off
refresh_pattern ^ftp: 1440 20% 10080
always_direct allow FTP
acl ftp_permit_ip dst xxx.xxx.xxx.xxx/32
acl Safe_ports port 21 # ftp
acl Safe_ports port 22 # sftp
acl FTP proto FTP
http_access allow FTP ftp_permit vvvv
http_access allow FTP ftp_permit_ip xxx.xxx.xxx.xxx/zz
http_access deny FTP
ftp_port 21
ftp_user proxy@xxxx
ftp_passive on
ftp_epsv_all off
refresh_pattern ^ftp: 1440 20% 10080
always_direct allow FTP
4.13
acl Safe_ports port 21 # ftp
acl FTP proto FTP
ftp_port 21
ftp_user proxy@xxxxxx
ftp_passive on
ftp_epsv off
refresh_pattern ^ftp: 1440 20% 10080
always_direct allow FTP
acl FTP proto FTP
ftp_port 21
ftp_user proxy@xxxxxx
ftp_passive on
ftp_epsv off
refresh_pattern ^ftp: 1440 20% 10080
always_direct allow FTP
Here the logs on connection with error:
1616678414.797 0 xxx:43806 NONE/400 NONE error:ftp-must-login-first - HIER_NONE/- - - HTTP/1.1 "-" 0 22 "-"
1616678414.798 0 xxx:43806 NONE/400 NONE error:ftp-must-login-first - HIER_NONE/- - - HTTP/1.1 "-" 0 22 "-"
1616678415.080 280 xxx:43806 TCP_MISS/204 GET ftp://ftp.zzz.it/ - HIER_DIRECT/ftp.zzz.it yyy - HTTP/1.1 "-" 29 21 "-"
1616678429.019 48 xxx:43806 TCP_MISS/204 GET ftp://ftp.zzz.it/ - HIER_DIRECT/ftp.zzz.it yyy - HTTP/1.1 "-" 14 27 "-"
1616678429.072 51 xxx:43806 TCP_MISS/204 GET ftp://ftp.zzz.it/ - HIER_DIRECT/ftp.zzz.it yyy - HTTP/1.1 "-" 6 77 "-"
1616678434.547 50 xxx:43806 TCP_MISS/204 GET ftp://ftp.zzz.it/ - HIER_DIRECT/ftp.zzz.it yyy - HTTP/1.1 "-" 12 70 "-"
1616678437.269 46 xxx:43806 TCP_MISS/204 GET ftp://ftp.zzz.it/ - HIER_DIRECT/ftp.zzz.it yyy - HTTP/1.1 "-" 29 42 "-"
1616678414.798 0 xxx:43806 NONE/400 NONE error:ftp-must-login-first - HIER_NONE/- - - HTTP/1.1 "-" 0 22 "-"
1616678415.080 280 xxx:43806 TCP_MISS/204 GET ftp://ftp.zzz.it/ - HIER_DIRECT/ftp.zzz.it yyy - HTTP/1.1 "-" 29 21 "-"
1616678429.019 48 xxx:43806 TCP_MISS/204 GET ftp://ftp.zzz.it/ - HIER_DIRECT/ftp.zzz.it yyy - HTTP/1.1 "-" 14 27 "-"
1616678429.072 51 xxx:43806 TCP_MISS/204 GET ftp://ftp.zzz.it/ - HIER_DIRECT/ftp.zzz.it yyy - HTTP/1.1 "-" 6 77 "-"
1616678434.547 50 xxx:43806 TCP_MISS/204 GET ftp://ftp.zzz.it/ - HIER_DIRECT/ftp.zzz.it yyy - HTTP/1.1 "-" 12 70 "-"
1616678437.269 46 xxx:43806 TCP_MISS/204 GET ftp://ftp.zzz.it/ - HIER_DIRECT/ftp.zzz.it yyy - HTTP/1.1 "-" 29 42 "-"
Thank you
Con Tiscali Mobile Smart 30 4G hai minuti illimitati, 100 SMS e 30 Giga in 4G a soli 8,99€ al mese. http://tisca.li/smart30
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users