nanog mailing list archives

Re: ARIN Policy on IP-based Web Hosting


From: Peter van Dijk <petervd () vuurwerk nl>
Date: Thu, 31 Aug 2000 15:40:57 +0200


On Thu, Aug 31, 2000 at 09:34:43AM -0400, Andrew Brown wrote:
[snip]

two things would improve ftp: some sort of tls for the control channel
(and maybe the data channel as well), and kernel support for the data
channel.  all i mean by this is the ftpd opens the file to be sent,
the socket to which the data needs to be read, and passes them both to
the kernel saying "splice these together, would you?"  no more kernel-
to-userland-and-back copies, the kernel will *know* when the receiver
can take more data, and the ftpd can "abor" whenever it needs to by
closing the data socket.  this feature would, of course, be mutually
exclusive with the optional encryption.

That feature has been present in Linux and FreeBSD for some time now.
It's called 'sendfile'.

Greetz, Peter.
-- 
[ircoper]        petervd () vuurwerk nl - Peter van Dijk / Hardbeat
[student]        Undernet:#groningen/wallops | IRCnet:/#alliance
[developer]                                _____________
[disbeliever - the world is backwards]    (__VuurWerk__(--*-



Current thread: