On Tue, 11 Mar 2014 10:02:41 +0100, Alexander Lukyanov <lavv...@gmail.com> wrote:

I think you can try to use strace to find out what data lftp receives from the connection (if any). Then compare that with the data lftp receives from
other sftp servers.
Also it would help if you provided me with access to a FreeBSD sftp account.


strace is not available for FreeBSD 64bit, so I used "truss".

Output here: http://gurder.ross.cx/misc/lftp/

As far as I can make sense of it, the password is not send,

in test-good ( Linux machine AFAIK ):
read(8,"xxxxx...@www.ross.cx's password:"...,65536) = 33 (0x21)
read(6,0x8039fa000,65536)                        ERR#35 'Resource temporarily 
unavailable'
wait4(86218,{ EXITED,val=0 },WNOHANG|WUNTRACED,0x0) = 0 (0x0)
madvise(0x8039e9000,0x11000,0x5,0x1e8,0x7fffffffce90,0xffffffff) = 0 (0x0)
madvise(0x803a13000,0x8000,0x5,0x212,0x7fffffffcf80,0xffffffff) = 0 (0x0)
madvise(0x803a0b000,0x1000,0x5,0x20a,0x7fffffffcf80,0xffffffff) = 0 (0x0)
madvise(0x803978000,0x1000,0x5,0x177,0x7fffffffcf80,0xffffffff) = 0 (0x0)
read(8,0x803a6b025,65536)                        ERR#35 'Resource temporarily 
unavailable'
write(8,"XXXXXXXX\n",10)                       = 10 (0xa)


in test-bad:
read(8,"Password for root@lftp:",65536)                = 23 (0x17)
read(6,0x8039fa000,65536)                        ERR#35 'Resource temporarily 
unavailable'
wait4(86221,{ EXITED,val=0 },WNOHANG|WUNTRACED,0x0) = 0 (0x0)
madvise(0x8039e9000,0x11000,0x5,0x1e8,0x7fffffffcf70,0xffffffff) = 0 (0x0)
madvise(0x803978000,0x1000,0x5,0x177,0x7fffffffcf70,0xffffffff) = 0 (0x0)
read(8,0x803a0b017,65536)                        ERR#35 'Resource temporarily 
unavailable'
read(6,0x8039fa000,65536)                        ERR#35 'Resource temporarily 
unavailable'
wait4(86221,{ EXITED,val=0 },WNOHANG|WUNTRACED,0x0) = 0 (0x0)
poll({8/POLLIN 6/POLLIN},2,241)                  = 0 (0x0)
read(8,0x803a0b017,65536)                        ERR#35 'Resource temporarily 
unavailable'
read(6,0x8039fa000,65536)                        ERR#35 'Resource temporarily 
unavailable'
wait4(86221,{ EXITED,val=0 },WNOHANG|WUNTRACED,0x0) = 0 (0x0)
poll({8/POLLIN 6/POLLIN},2,500)                  = 0 (0x0)
read(8,0x803a0b017,65536)                        ERR#35 'Resource temporarily 
unavailable'
read(6,0x8039fa000,65536)                        ERR#35 'Resource temporarily 
unavailable'

and the last lines keep repeating until I kill the process.


Sending you account details privately,

Thank you,

Michael
_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to