server disconnect / 0 byte transmission / SSL~TLS

tarzan

2010-05-23 09:59:10

hello!

since a few days, ftp over ssl sessions are terminated upon requesting "directory listings" that are followed by "0 byte transmitted (0 bytes/s) (42ms)" in the client's session log.

the problem still occurs after installing the latest edition 4.1116.0, and after disengage the client's firewall (= windows-built-in).

when using the same server - but without ssl/tls - the problem does NOT occur.

on a vista 32bit test system the problem does NOT occur (with TLS).

here some information about my system (which is different from the test system):

+- System -----------------------------
Microsoft Windows 7
(Build 7600)

CPU Speed : 1995 MHz
Total Memory : 3996 MB
Free Memory : 2808 MB

+- SmartFTP ---------------------------
Version : 4.0.1116.0
Time Stamp : 2010-05-22 21:14:41
Platform : x64
Id : 400037148
Maintenance : 2010-08-11
Days in use : 138

+- Language ---------------------------
de-DE

+- Internet Explorer ------------------
Version : 8.0.7600.16385

+- Winsock ----------------------------
Winsock : 2.2


and here are the last client's session log lines:

[10:06:30] CWD /html/xxx/admin/lib
[10:06:30] 250 Directory successfully changed.
[10:06:30] PWD
[10:06:30] 257 "/html/xxx/admin/lib"
[10:06:30] PASV
[10:06:30] 227 Entering Passive Mode (xxx,xxx,xxx,xxx,169,5)
[10:06:30] Öffne Datenverbindung zu xxx.xxx.xxx.xxx Port: 43269
[10:06:30] LIST -aLT
[10:06:30] 150 Here comes the directory listing.
[10:06:30] 0 Byte übertragen. (0 Bytes/s) (42 ms)
[10:06:30] Server hat Verbindung getrennt

thank you for examination...

mb

2010-05-23 12:05:58

Post the complete log from Vista and from Windows 7.

tarzan

2010-05-24 10:22:44

hello mb,

this is a complete log from the affected win7 machine:

[12:12:46] SmartFTP v4.0.1116.0
[12:12:46] Ermittle IP zu Hostnamen name.name.tld
[12:12:46] Verbindung mit xxx.xxx.xxx.xxx Port: 21
[12:12:46] Verbunden mit name.name.tld.
[12:12:47] 220 (vsFTPd 2.0.7)
[12:12:47] AUTH TLS
[12:12:47] 234 Proceed with negotiation.
[12:12:47] SSL: Server is requesting client certificate.
[12:12:47] TLS 1.0 verschlüsselte Sitzung hergestellt.
[12:12:47] Schlüsselaustausch: 1024 Bit RSA
[12:12:47] Sitzungsverschlüsselung: 168 Bit 3DES
[12:12:47] Befehls- Kanalschutz geändert in Gesichert.
[12:12:47] PBSZ 0
[12:12:47] 200 PBSZ set to 0.
[12:12:47] USER xxxx
[12:12:47] 331 Please specify the password.
[12:12:47] PASS (unsichtbar)
[12:12:47] 230 Login successful.
[12:12:47] SYST
[12:12:47] 215 UNIX Type: L8
[12:12:47] Erkannter Servertyp: UNIX
[12:12:47] RTT: 34.364 ms
[12:12:47] FEAT
[12:12:47] 211-Features:
[12:12:47] AUTH SSL
[12:12:47] AUTH TLS
[12:12:47] EPRT
[12:12:47] EPSV
[12:12:47] MDTM
[12:12:47] PASV
[12:12:47] PBSZ
[12:12:47] PROT
[12:12:47] REST STREAM
[12:12:47] SIZE
[12:12:47] TVFS
[12:12:47] UTF8
[12:12:47] 211 End
[12:12:47] OPTS UTF8 ON
[12:12:47] 200 Always in UTF8 mode.
[12:12:47] PWD
[12:12:47] 257 "/"
[12:12:47] TYPE A
[12:12:47] 200 Switching to ASCII mode.
[12:12:47] PROT P
[12:12:47] 200 PROT now Private.
[12:12:47] PASV
[12:12:47] 227 Entering Passive Mode (xxx,xxx,xxx,xxx,53,1)
[12:12:47] Öffne Datenverbindung zu xxx.xxx.xxx.xxx Port: 13569
[12:12:47] LIST -aLT
[12:12:47] 150 Here comes the directory listing.
[12:12:47] 691 Byte übertragen. (1,86 KB/s) (361 ms)
[12:12:48] 226 Directory send OK.
[12:12:48] MDTM .forward
[12:12:48] 213 20100427074611
[12:12:48] Time zone offset: 0 seconds (0.0 hours)
[12:12:55] CWD /html
[12:12:55] 250 Directory successfully changed.
[12:12:55] PWD
[12:12:55] 257 "/html"
[12:12:55] PASV
[12:12:55] 227 Entering Passive Mode (xxx,xxx,xxx,xxx,250,238)
[12:12:55] Öffne Datenverbindung zu xxx.xxx.xxx.xxx Port: 64238
[12:12:55] LIST -aLT
[12:12:55] 150 Here comes the directory listing.
[12:12:55] Server hat Verbindung getrennt

i have currently no access to the vista system mentioned yesterday. will post it later (unless you think it is no more required).

thank you, *wave*

tarzan

2010-05-24 10:31:39

the previous log does not show a "0 byte" line ... i have not omitted that, it was in fact not included in the log. however, after reconnecting and trying to open the /html directory as before, the "0 byte" line is there again in the log (as originally described):

(...)
[12:25:50] CWD /html
[12:25:50] 250 Directory successfully changed.
[12:25:50] PWD
[12:25:50] 257 "/html"
[12:25:50] PASV
[12:25:50] 227 Entering Passive Mode (xxx,xxx,xxx,xxx,81,48)
[12:25:50] Öffne Datenverbindung zu xxx.xxx.xxx.xxx Port: 20784
[12:25:50] LIST -aLT
[12:25:50] 150 Here comes the directory listing.
[12:25:50] 0 Byte übertragen. (0 Bytes/s) (42 ms)
[12:25:50] Server hat Verbindung getrennt

mb

2010-05-24 14:02:55

Try to uninstall the software firewall (You dont need to uninstall the Windows 7 firewall) and antivirus product and try again.

tarzan

2010-05-24 20:03:47

hello mb!

there is only win-7-built-in-FW [no matter whether engaged or disengaged] and "windows defender" [didn't yet warn me about any suspicious activities during ftp sessions, and the defender's warnings log is empty as well]. no other software firewall, no AV product. last software installations: various MS updates and GPU driver and accessories updates.

will try it on different location = different network hardware environment [though same ISP].

else, would you recommened to uninstall and reinstall smartftp?

mb

2010-05-24 20:47:29

Reinstalling SmartFTP does usually not fix problems like the one you have.

tarzan

2010-05-25 06:50:33

so ... obviously no known or reproducible issue, hm?
any more ideas?

mb

2010-05-25 11:54:02

Maybe the server error log would tell you more?