Total Commander FTP via IPv6 broken
Posted: 2016-04-18, 17:17 UTC
Hi,
FTP over IPv6 is currently not working because of missing support of Extended PASV (passive).
proftpd claims in log about:
- Unable to handle PASV for IPv6 address '2a01:238:***', rejecting command
According to ngrep TotalCommander uses even for IPv6 the standard PASV command, which it shouldn't:
PASV..................
A simple Linux FTP client shows the difference:
IPv4: 227 Entering Passive Mode (85,*,*,*,159,170)
PASV.........+.....xQU
IPv6: 229 Entering Extended Passive Mode (|||40536|)
EPSV 2.................. (Linux)
And ftp cmdline on Windows 10 Desktop:
EPRT |2|2001:***|50094| (extended PORT)
See also RFC2428
For testing, e.g. ftp deepspace6 net can be used
FTP over IPv6 is currently not working because of missing support of Extended PASV (passive).
proftpd claims in log about:
- Unable to handle PASV for IPv6 address '2a01:238:***', rejecting command
According to ngrep TotalCommander uses even for IPv6 the standard PASV command, which it shouldn't:
PASV..................
A simple Linux FTP client shows the difference:
IPv4: 227 Entering Passive Mode (85,*,*,*,159,170)
PASV.........+.....xQU
IPv6: 229 Entering Extended Passive Mode (|||40536|)
EPSV 2.................. (Linux)
And ftp cmdline on Windows 10 Desktop:
EPRT |2|2001:***|50094| (extended PORT)
See also RFC2428
For testing, e.g. ftp deepspace6 net can be used