Hi,
I'm getting a strange error with lftp since version 3.0.2
When using PASV mode, all seems ok
When using PORT mode, I got random 'unsupported network protocol'
errors during connection, listing is almost impossible.
The error is reported _before_ any PORT command is issued.
(see attachment for details)
Now, what is strange is that the error seems to happen only with my
own ftp server (wzdftpd) so at the first moment I suspected an error
in wzdftpd ... I couldn't find anything suspect sniffing the
connection, protocol seems definitly RFC-compliant.
Now what gets even weird is that all other clients I've tried worked
perfectly with wzdftpd, the connection looks exactly the same
Clearly, I'm not sure this is a lftp-related problem, but I'll need to
help on how to find the bug: the 'debug' mode of lftp did not help
much, nor strace.
Does someone have a clue on what's happening?
In case this is important, here's some details on installed packages:
distro: debian unstable
kernel: vanilla 2.6.5
lftp: 3.0.2
Thanks
* Please CC: me as I'm not on list
/P
--
bug, n:
A son of a glitch.
lftp [EMAIL PROTECTED]:~> rels
---- Connecting to localhost (127.0.0.1) port 6969
<--- 220 wzd server ready.
---> USER pollux
<--- 331 User pollux okay, need password.
---> PASS *********
<--- 230-command ok
<--- 230 User logged in, proceed.
---> PWD
<--- 257 "/" is current directory.
---> PASV
<--- 227 Entering Passive Mode (127,0,0,1,9,196)
---- Connecting data socket to (127.0.0.1) port 2500
---> LIST
<--- 150 Status OK, about to open data connection.
---- Closing data socket
<--- 226-Closing data connection.
<--- 226 - [Section: ALL] - [Free: 4.53 G] - [Dl: 1009.72 M] - [Ul: 75.71 M] -
drwxr-xr-x 3 pollux ftp 96 Feb 11 15:20 ftp
lftp [EMAIL PROTECTED]:/> set ftp:passive-mode no
lftp [EMAIL PROTECTED]:/> rels
---- Closing data socket
rels: Fatal error: unsupported network protocol