Re: [Zope] Zope FTP Hang File List Problem
Hi Dieter. Yes, we have tried both passive and non passive FTP. In either case, according to the Z2.log we get enter Zope successfully, but the session appears to hang on the FTP "LIST" command. No files or directories are visible. Several folks have pointed to NAT problems, but why this problem would only show up only at the "LIST" request does not make sense to me. Here's the whole Z2.log entry: ==> 220 FTP server (Medusa Async V1.18 [experimental]) ready. <== USER ***** ==> 331 Password required. <== PASS <password> ==> 230 Login successful. <== PWD ==> 257 "/" is the current directory. <== SYST ==> 215 UNIX Type: L8 <== PORT 10,0,0,6,4,13 ==> 200 PORT command successful. <== LIST ==> 150 Opening ASCII mode data connection for file list ... Session hangs and will not list directories or files. Harlow Pinson Indepth Learning Email: hpinson@indepthl.com Web: http://www.indepthl.com Voice: 505-994-2135 FAX: 208-475-7678
hpinson@indepthl.com wrote:
Hi Dieter. Yes, we have tried both passive and non passive FTP. In either case, according to the Z2.log we get enter Zope successfully, but the session appears to hang on the FTP "LIST" command. No files or directories are visible.
Several folks have pointed to NAT problems, but why this problem would only show up only at the "LIST" request does not make sense to me.
because "LIST" is handeld by FTP data connection. passive FTP goes like this: 1) FTP-Client Port >= 1024 ==== contol connection;SYN ====> FTP-Server Port 21 2) FTP-Client Port >= 1024 <=== contol connection ===== FTP-Server Port 21 3) FTP-Client Port >= 1024 ==== contol connection PASV ====> FTP-Server Port 21 4) FTP-Client Port >= 1024 <=== contol connection OK 4546 ===== FTP-Server Port 21 5) FTP-Client Port >= 1024 ==== data connection SYN ====> FTP-Server Port 4546 6) FTP-Client Port >= 1024 <=== data connecton ===== FTP-Server Port 4546 I would check my NAT rules (high ports >= 1024). There must be something wrong with data connection on high ports. Hope you'll find it. Bye Marcus
hpinson@indepthl.com writes:
Hi Dieter. Yes, we have tried both passive and non passive FTP. In either case, according to the Z2.log we get enter Zope successfully, but the session appears to hang on the FTP "LIST" command. No files or directories are visible.
Several folks have pointed to NAT problems, but why this problem would only show up only at the "LIST" request does not make sense to me.
Here's the whole Z2.log entry:
==> 220 FTP server (Medusa Async V1.18 [experimental]) ready. <== USER ***** ==> 331 Password required. <== PASS <password> ==> 230 Login successful. <== PWD ==> 257 "/" is the current directory. <== SYST ==> 215 UNIX Type: L8 <== PORT 10,0,0,6,4,13 ==> 200 PORT command successful. <== LIST ==> 150 Opening ASCII mode data connection for file list Here, it tells you that it tries a (new) connect.
It is well possible that your firewall blocks this connect. The other communication went probably through the already open connection. Dieter
participants (3)
-
Dieter Maurer -
hpinson@indepthl.com -
Marcus Schopen