Re: kernel mode httpd/ftpd for FreeBSD?

From: Alexey Zelkin (phantom_at_FreeBSD.org.ua)
Date: 02/10/05

  • Next message: Alexey Zelkin: "Re: kernel mode httpd/ftpd for FreeBSD?"
    Date: Thu, 10 Feb 2005 13:37:56 +0200
    To: Julian Elischer <julian@elischer.org>
    
    

    hi,

    On Mon, Feb 07, 2005 at 05:30:34PM -0800, Julian Elischer wrote:
    >
    > Max Laier wrote:
    >
    > >On Monday 07 February 2005 10:20, CHOI Junho wrote:
    > >
    > >
    > >>Anyone knows about kernel-mode httpd/ftpd for FreeBSD? (just like tux
    > >>of linuxI searched several times but failed.
    > >>
    > >>
    > >
    > >No there is not. In my humble opinion it's a *really* bad idea to
    > >implement something that vulnarable to external attacks and buffer
    > >overflows inside the kernel. The often claimed performance benefit can as
    > >easily be achieved with accept filters (see esp. accf_http(9)) and
    > >kqueue(9). There is really no need to put this into the kernel.

    Two years ago I did some initial work (more proof of concept, than
    something for real use) in order to learn netgraph, but realworld
    issues forced me to switch to other areas. Actually all basic stuff
    was done, but it was very poor on performance and parallelism.

    > actually there is..
    > it was written by ummm
    > umm
    > jpd I think.. (unless it was imp)
    >
    > but it is not released.

    Actually, as John said, it was not pure kernel server able to handle real
    traffic. It was something like stress testing helper tool.

    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Alexey Zelkin: "Re: kernel mode httpd/ftpd for FreeBSD?"

    Relevant Pages

    • Re: Merging relayfs?
      ... > kernel to implement speculative tracing, ... relayfs was prepared for low latency on move data outside kernel space, ... getting data from probes do not require organize all them in regular ... Only in all cases where buffer must be neccessarly moved outside kernel ...
      (Linux-Kernel)
    • [PATCH] Documentation update for relay interface
      ... Here's updated documentation for the relay interface, ... +efficiently log and transfer large quantities of data from the kernel ... +A 'relay channel' is a kernel->user data relay mechanism implemented ... +buffer data. ...
      (Linux-Kernel)
    • [RFC] Userspace tracing memory mappings
      ... 16 per cpu trace buffers at the same time. ... - Also need some space for the kernel to export control information. ... When the process issues its first buffer switch (that's a second added ...
      (Linux-Kernel)
    • Re: Question about memory mapping mechanism
      ... The thing is that I'd like to prevent kernel to swap these pages out, ... the buffer pages, I should increase the referrence of the pages by calling ... Well it wasn't this code in particular, but another driver I was putting ... use the infiniband approach to mmap() the user-space pages and send them ...
      (Linux-Kernel)
    • Re: contigmalloc() and mmap()
      ... there seems no big differences between the kernel ... > to the card on another node, it will be DMAed to memory too. ... The buffer is mmaped to user process space, ... > mmap driver's buffer (allocated by contigmalloc()) and is killed, ...
      (freebsd-hackers)