Which squid doesn't like and crashes:
Program received signal SIGSEGV, Segmentation fault.
Ip::Address::GetPort (this=0x8) at Address.cc:806
806 Address.cc: No such file or directory.
(gdb) bt
#0 Ip::Address::GetPort (this=0x8) at Address.cc:806
#1 0x0000559917ef0d68 in ftpSendEPRT (ftpState=ftpState@entry=0x5599192f9198) at ftp.cc:2925
I'll try the bzr commit diff from the upstream squid bug.
Easy to reproduce with proftpd and this config inside the default anonymous section:
<Limit EPSV PASV>
DenyAll
</Limit>
Proftpd's extended log shows squid trying passive mode and getting back a 501: squid-passive- ftp-1560429. lxd UNKNOWN - [04/Jul/ 2017:19: 35:24 +0000] "USER anonymous" 331 - squid-passive- ftp-1560429. lxd UNKNOWN ftp [04/Jul/ 2017:19: 35:24 +0000] "PASS (hidden)" 230 - squid-passive- ftp-1560429. lxd UNKNOWN ftp [04/Jul/ 2017:19: 35:24 +0000] "TYPE A" 200 - squid-passive- ftp-1560429. lxd UNKNOWN ftp [04/Jul/ 2017:19: 35:24 +0000] "MDTM readme.txt" 213 - squid-passive- ftp-1560429. lxd UNKNOWN ftp [04/Jul/ 2017:19: 35:24 +0000] "EPSV 1" 501 - squid-passive- ftp-1560429. lxd UNKNOWN ftp [04/Jul/ 2017:19: 35:24 +0000] "PASV" 501 -
trusty-
trusty-
trusty-
trusty-
trusty-
trusty-
Which squid doesn't like and crashes: :GetPort (this=0x8) at Address.cc:806 :GetPort (this=0x8) at Address.cc:806 ftpState@ entry=0x5599192 f9198) at ftp.cc:2925
Program received signal SIGSEGV, Segmentation fault.
Ip::Address:
806 Address.cc: No such file or directory.
(gdb) bt
#0 Ip::Address:
#1 0x0000559917ef0d68 in ftpSendEPRT (ftpState=
I'll try the bzr commit diff from the upstream squid bug.