Hi Eric, I tried it with tsocks. But right now I am investigating Dante.
Thanks and regards, Hanno -----Original Message----- From: BONIFACE,ERIC (HP-France,ex1) Sent: Montag, 23. Juni 2003 16:21 To: BORNS,HANNO (HP-Germany,ex1) Cc: '[EMAIL PROTECTED]' Subject: RE: Fatal error: SSL connect: error:140770FC:SSL routines:SSL23_G ET_S ERVER_HELLO:unknown protocol Hi Hanno, do you try Dante Socks library ? Regards Eric. -----Message d'origine----- De : BORNS,HANNO (HP-Germany,ex1) [mailto:[EMAIL PROTECTED] Envoy� : lundi 23 juin 2003 13:05 � : 'Alexander V. Lukyanov' Cc : '[EMAIL PROTECTED]' Objet : RE: Fatal error: SSL connect: error:140770FC:SSL routines:SSL23_G ET_S ERVER_HELLO:unknown protocol Hi Alexander, I am still fighting my problems ... I downloaded the newest Release 2.6.6 and installed it. But it has the same problem. What already came up to my mind is the following: I am using tsocks to socksify lftp. Do you think this might be an issue? As this problem does not raise when doing plain ftp session instead of ftps, could it also be that SSL has a bug? Should I use another socks-package? If yes, which one would you recommend? Thanks and regards, Hanno -----Original Message----- From: BORNS,HANNO (HP-Germany,ex1) Sent: Mittwoch, 4. Juni 2003 10:20 To: 'Alexander V. Lukyanov' Cc: '[EMAIL PROTECTED]' Subject: RE: Fatal error: SSL connect: error:140770FC:SSL routines:SSL23_G ET_S ERVER_HELLO:unknown protocol Hi, I installed a debian woody stable (3.0r1) now and the bug occurs there as well. Do you have any idea what might cause this behavior? Thanks and regards, Hanno -----Original Message----- From: BORNS,HANNO (HP-Germany,ex1) [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 28. Mai 2003 13:24 To: 'Alexander V. Lukyanov' Cc: '[EMAIL PROTECTED]' Subject: RE: Fatal error: SSL connect: error:140770FC:SSL routines:SSL23_G ET_S ERVER_HELLO:unknown protocol Hi, forgot the debug output when it works: --- ---- Resolving host address... ---- 1 address found dns cache hit [10574] www.serveriuse.com ---- Connecting to www.serveriuse.com (XX.XXX.XXX.XXX) port 990 Certificate depth: 0; subject: /CN=XX.XXX.XXX.XXX/L=GRENOBLE/ST=38/O=Company/C=FR/[EMAIL PROTECTED] /OU=Software; issuer: /CN=XX.XXX.XXX.XXX/L=GRENOBLE/ST=38/O=Company/C=FR/[EMAIL PROTECTED] /OU=Software WARNING: Certificate verification: self signed certificate [10574] www.serveriuse.com <--- 220 Serv-U FTP Server v4.0 for WinSock ready... [10574] www.serveriuse.com ---> USER user [10574] www.serveriuse.com <--- 331 User name okay, need password. [10574] www.serveriuse.com ---> PASS pass [10574] www.serveriuse.com <--- 230 User logged in, proceed. [10574] www.serveriuse.com ---> PWD [10574] www.serveriuse.com <--- 257 "/" is current directory. [10574] www.serveriuse.com ---> PBSZ 0 [10574] www.serveriuse.com <--- 200 PBSZ command OK. Protection buffer size set to 0. [10574] www.serveriuse.com ---> PROT C [10574] www.serveriuse.com <--- 200 PROT command OK. Using clear data connection. [10574] www.serveriuse.com ---> TYPE I [10574] www.serveriuse.com <--- 200 Type set to I. [10574] www.serveriuse.com ---> SIZE 13_tr.zip [10574] www.serveriuse.com <--- 213 105220 [10574] www.serveriuse.com ---> MDTM 13_tr.zip [10574] www.serveriuse.com <--- 213 20030515102455 [10574] www.serveriuse.com ---> PASV [10574] www.serveriuse.com <--- 227 Entering Passive Mode (XX,XXX,XXX,XXX,7,185) [10574] www.serveriuse.com ---- Connecting data socket to (XX.XXX.XXX.XXX) port 1977 [10574] www.serveriuse.com ---> RETR 13_tr.zip [10574] www.serveriuse.com <--- 150 Opening BINARY mode data connection for 13_tr.zip (105220 bytes). [10574] www.serveriuse.com <--- 226 Transfer complete. [10574] www.serveriuse.com ---- Closing data socket copy: get hit eof copy: put confirmed store copy: get is finished - all done [10574] www.serveriuse.com ---> QUIT [10574] www.serveriuse.com ---- Closing control socket --- Regards, Hanno -----Original Message----- From: BORNS,HANNO (HP-Germany,ex1) Sent: Mittwoch, 28. Mai 2003 13:15 To: 'Alexander V. Lukyanov' Cc: '[EMAIL PROTECTED]' Subject: RE: Fatal error: SSL connect: error:140770FC:SSL routines:SSL23_GET_S ERVER_HELLO:unknown protocol Hi, I cannot try plain ftp with that server, therefore I tried it with another server and it worked fine: --- debug -o /home/sftpgate/ftp-test/FTPS_IN3_AutoSingleRetrieval.10062.RES 10 open -u "user","pass" ftp://www.serveriuse.com cd /home/user/test ls > /home/sftpgate/ftp-test/FTPS_IN3_AutoSingleRetrieval.10062.LST bye --- Result of that is this: --- ---- Resolving host address... ---- 1 address found dns cache hit [10122] www.serveriuse.com ---- Connecting to www.serveriuse.com (XXX.XXX.XX.X) port 21 [10122] www.serveriuse.com <--- 220 ftp://www.serveriuse.com FTP server ready [10122] www.serveriuse.com ---> AUTH TLS [10122] www.serveriuse.com <--- 500 AUTH not understood. [10122] www.serveriuse.com ---> USER user [10122] www.serveriuse.com <--- 331 Password required for user. [10122] www.serveriuse.com ---> PASS pass [10122] www.serveriuse.com <--- 230 User user logged in. [10122] www.serveriuse.com ---> PWD [10122] www.serveriuse.com <--- 257 "/home/user" is current directory. [10122] www.serveriuse.com ---> CWD /home/user/test [10122] www.serveriuse.com <--- 250 CWD command successful. [10122] www.serveriuse.com ---> PASV [10122] www.serveriuse.com <--- 227 Entering Passive Mode (XXX,XXX,XX,X,200,37). [10122] www.serveriuse.com ---- Connecting data socket to (XXX.XXX.XX.X) port 51237 [10122] www.serveriuse.com ---> LIST [10122] www.serveriuse.com <--- 150 Opening ASCII mode data connection for file list [10122] www.serveriuse.com ---- Closing data socket [10122] www.serveriuse.com <--- 226 Transfer complete. copy: get hit eof copy: put confirmed store copy: get is finished - all done [10122] www.serveriuse.com ---> QUIT [10122] www.serveriuse.com ---- Closing control socket --- When trying with the server I am trying to connect to by ftps: --- debug -o /home/sftpgate/ftp-test/FTPS_IN3_AutoSingleRetrieval.10257.RES 10 open -u "user","pass" ftps://www.serveriuse.com cd . ls > /home/sftpgate/ftp-test/FTPS_IN3_AutoSingleRetrieval.10257.LST bye --- Result: --- ---- Resolving host address... ---- 1 address found dns cache hit [10317] www.serveriuse.com ---- Connecting to www.serveriuse.com (XX.XXX.XXX.XXX) port 990 [10317] www.serveriuse.com ---- Closing control socket dns cache hit [10317] www.serveriuse.com ---- Connecting to www.serveriuse.com (XX.XXX.XXX.XXX) port 990 [10317] www.serveriuse.com ---- Closing control socket --- The script invoking lftp was invoked like this: script & >OUT 2>ERR. When invoking lftp itself the same way the result is the same, also when getting everything invoked by cron. The content of the ERR file after some time is this: --- cd: Fatal error: SSL connect: unknown protocol ls: Fatal error: SSL connect: unknown protocol --- Thanks and regards, Hanno -----Original Message----- From: Alexander V. Lukyanov [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 28. Mai 2003 12:13 To: BORNS,HANNO (HP-Germany,ex1) Cc: '[EMAIL PROTECTED]' Subject: Re: Fatal error: SSL connect: error:140770FC:SSL routines:SSL23_GET_S ERVER_HELLO:unknown protocol On Wed, May 21, 2003 at 05:11:21PM +0200, BORNS,HANNO (HP-Germany,ex1) wrote: > open -u "user","pass" ftps://www.servericonnectto.com > > After some time and one retry of lftp I get this message on my screen: > > --- lftp 2.5.2 > Fatal error: SSL connect: error:140770FC:SSL > routines:SSL23_GET_SERVER_HELLO:unknown protocol What happens if you skip ftps url scheme and specify plain ftp? > When executing the command "lftp -f <cmdfile>" everything works > completely smooth. This is quite strange. What is the debug output in that case? -- Alexander.
