> > > It looks like 1.3.0 is causing 0-byte tcp connections here, which tend to
> > > get blocked...

> > I suggest you try one of the proftpd-1.3.1 RC releases.

I also tried doing something like this:
// eyck test NLST
if (res == 0 ) {
pr_response_add_err(R_450, "No files found");
pr_data_close(TRUE);
return ERROR(cmd);
};
// end eyck test NLST
and it seems like it fixed the issue I encountered, but then it seems to mess up
some structures, as connection dies on next 'PASV':

212.182.127.203 UNKNOWN ftp [04/Jul/2007:21:02:28 +0200] "USER user007" 331 - (-) ()
212.182.127.203 UNKNOWN user007 [04/Jul/2007:21:02:28 +0200] "PASS (hidden)" 230 - (-) ()
212.182.127.203 UNKNOWN user007 [04/Jul/2007:21:02:35 +0200] "CWD /export/" 250 - (-) (/fs/ftp/users/007/export)
212.182.127.203 UNKNOWN user007 [04/Jul/2007:21:02:35 +0200] "PASV" 227 - (-) ()
212.182.127.203 UNKNOWN user007 [04/Jul/2007:21:02:35 +0200] "NLST" 450 - (-) ()
212.182.127.203 UNKNOWN user007 [04/Jul/2007:21:02:35 +0200] "CWD /dir2/export" 250 - (-) (/fs/ftp/users/007/dir2/export)
212.182.127.203 UNKNOWN user007 [04/Jul/2007:21:02:35 +0200] "PASV" 227 - (-) ()
212.182.127.203 UNKNOWN ftp [04/Jul/2007:21:02:40 +0200] "USER user007" 331 - (-) ()

(this, although obviously broken and ugly, is way better then the 'correct' 226 on NLST
as nothing is blocking and stopping client in it's tracks, and it correctly detects the
error, re-connects and continues it's work).

--
Dariush Pietrzak,
Key fingerprint = 40D0 9FFB 9939 7320 8294 05E0 BCC7 02C4 75CC 50D9

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
ProFTPD Users List
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html