Subject: Re: experimental ftpd on ftp{,2}
To: Robert Elz <kre@munnari.OZ.AU>
From: Manuel Bouyer <>
List: current-users
Date: 08/01/2002 20:01:05
On Thu, Aug 01, 2002 at 12:29:24PM +0700, Robert Elz wrote:
>     Date:        Fri, 26 Jul 2002 12:16:45 +0200
>     From:        Manuel Bouyer <>
>     Message-ID:  <>
>   | (the primary reason is that some client, under some circunstances, issue
>   | SIZE comands in ascii mode, which on iso image takes a while to complete.
>   | The client time out, reconnects and redo a SIZE. After some hours there
>   | are dozens of ftpd reading the same file as fast as they can, to compute
>   | the size after NL/CR-NL translation).
> The server is allowed to just say "sorry, that file is too big" if it
> sees a file that is huge, and computing the SIZE result would take too

It seems the 1.6 ftpd already does this, but the max size is hardcoded.
It should probably be configurable, per class.

> long (though having the server reject attempts to do bogus transfers
> also sounds like a good idea, provided the test of "bogus" is reliable
> enough).

With my patch, the admin has to configure this in the ftpd.conf file.
I hope he knows what's on his ftp site :)

Manuel Bouyer <>