[x64] FTP passive mode does not work with IPv6

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Sob
Power Member
Power Member
Posts: 941
Joined: 2005-01-19, 17:33 UTC

[x64] FTP passive mode does not work with IPv6

Post by *Sob »

When connection is set to use passive mode, TC sends EPSV to server and immediatelly (no delay at all) follows with EPRT as if establishing passive data connection with server failed. But according to packet sniffer, TC does not try to establish the connection at all, no packet leaves the machine for port returned by server. Active connection then gets established without any problem.

Code: Select all

PWD
257 "/" is current directory.
Složka
TYPE A
200 Type set to A.
EPSV
229 Entering Extended Passive Mode (|||55009|)
EPRT |2|2001:db8:2ff6:80::10|61485|
200 EPRT command successful.
LIST -la
125 Data connection already open; Transfer starting.
Stahování
Čekání na server...
226 Transfer complete.
Tested on Windows 7 x64, Windows 2008 R2 and Windows XP x64 with clean ini, except for following in wcx_ftp.ini:

Code: Select all

[General]
PreferIPv6=1

[default]
pasvmode=1
Only affected is TC64 + IPv6, other combinations work correctly (TC64 + IPv4, TC32 + any protocol).
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Confirmed (and fixed for next version), thanks!
Author of Total Commander
https://www.ghisler.com
Sob
Power Member
Power Member
Posts: 941
Joined: 2005-01-19, 17:33 UTC

Post by *Sob »

Fix confirmed for beta2.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Great, thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply