[This was the original reply that I sent to jidanni which for some reason was not sent to the wwwoffle-users mailing list.]
> If I go through WWWOFFLE (2.9d, latest Debian), ftp gets stuck. > > # tcpflow -i ppp0 -C > $ wwwoffle ftp://ftp.sri.com/risks/ > > 220 Welcome to ftp.sri.com FTP service. > USER anonymous > 331 Please specify the password. > PASS [email protected] > 230- Property of SRI International. All access is monitored. > 230 Login successful. > CWD /risks > 250 Directory successfully changed. > TYPE A > 200 Switching to ASCII mode. > EPSV > 229 Entering Extended Passive Mode (|||31523|) > [hangs] The funny thing is that WWWOFFLE is parsing the message correctly and getting the port number (31523 in your case). When I do it with the highest level of debugging enabled in WWWOFFLE I get this: wwwoffles[12893] 1235753691: ExtraDebug: FTP: connected; got: 220 Welcome to ftp.sri.com FTP service. wwwoffles[12893] 1235753691: ExtraDebug: FTP: sent 'USER anonymous'; got: 331 Please specify the password. wwwoffles[12893] 1235753692: ExtraDebug: FTP: sent 'PASS [email protected]'; got: 230- Property of SRI International. All access is monitored. wwwoffles[12893] 1235753692: ExtraDebug: FTP: sent 'PASS [email protected]'; got: 230 Login successful. wwwoffles[12893] 1235753692: ExtraDebug: FTP: sent 'CWD /risks' got: 250 Directory successfully changed. wwwoffles[12893] 1235753692: ExtraDebug: FTP: sent 'TYPE A'; got: 200 Switching to ASCII mode. wwwoffles[12893] 1235753692: ExtraDebug: FTP: sent 'EPSV'; got: 229 Entering Extended Passive Mode (|||36954|) wwwoffles[12893] 1235753722: Information: Failed to connect IPv4 socket to 'ftp.SRI.COM' port '36954' [Connection timed out]. wwwoffles[12893] 1235753722: Warning: Failed to create and connect client socket. wwwoffles[12893] 1235753722: Warning: Cannot open the FTP data connection [Connection timed out]. > Whereas > $ HOME=/tmp w3m ftp://ftp.sri.com/risks/ > works great: > > 220 Welcome to ftp.sri.com FTP service. > USER anonymous > 331 Please specify the password. > PASS anonymous@ > 230- Property of SRI International. All access is monitored. > 230 Login successful. > TYPE I > 200 Switching to Binary mode. > PASV > 227 Entering Passive Mode (128,18,30,42,177,30) > SYST > 215 UNIX Type: L8 > CWD /risks/ > 250 Directory successfully changed. > > But there is nary a configuration item to tell it to use plain of > Passive mode, not Extended Passive Mode. (All I note is If the server responds badly to EPSV mode then WWWOFFLE falls back to PASV. Obviously in this case the server said it could handle it but something goes wrong. The problem seems to be specific to the sri.com server. Using another FTP server I get this WWWOFFLE log. wwwoffles[13062] 1235754331: ExtraDebug: FTP: connected; got: 220 ftp.demon.co.uk (Demon/FTPd) Ready. wwwoffles[13062] 1235754331: ExtraDebug: FTP: sent 'USER anonymous'; got: 331 Anonymous login ok, send your complete email address as your password. wwwoffles[13062] 1235754331: ExtraDebug: FTP: sent 'PASS [email protected]'; got: 230 Anonymous access granted, restrictions apply. wwwoffles[13062] 1235754331: ExtraDebug: FTP: sent 'CWD /' got: 250 CWD command successful. wwwoffles[13062] 1235754331: ExtraDebug: FTP: sent 'TYPE A'; got: 200 Type set to A wwwoffles[13062] 1235754331: ExtraDebug: FTP: sent 'EPSV'; got: 229 Entering Extended Passive Mode (|||38415|) wwwoffles[13062] 1235754331: ExtraDebug: FTP: sent 'LIST -a'; got: 150 Opening ASCII mode data connection for file list > anon-password = (string) > The password to use for anonymous ftp (default determined at run time). > > Which one had better set, unless one "wants all one's beans spilt", as > you might note above, and better yet, with a warning on the man page > as to the detail.) They already know your IP address, the information that WWWOFFLE uses isn't any more secret than this is it? -- Andrew. ---------------------------------------------------------------------- Andrew M. Bishop [email protected] http://www.gedanken.demon.co.uk/ WWWOFFLE users page: http://www.gedanken.demon.co.uk/wwwoffle/version-2.9/user.html
