Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Apr 2000 08:55:51 -0600
From:      Wes Peters <wes@softweyr.com>
To:        Robert Watson <robert+freebsd@cyrus.watson.org>
Cc:        Arun Sharma <adsharma@sharmas.dhs.org>, freebsd-net@FreeBSD.ORG
Subject:   Re: kernel vs user level implementation of NAT
Message-ID:  <38EA0277.42E7B788@softweyr.com>
References:  <Pine.NEB.3.96L.1000403215047.17905A-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Watson wrote:
> 
> Keeping code in userland makes it *substantially* easier to develop,
> debug, and maintain.  It also makes the code far more portable, and
> avoids adding more baggage to the in-kernel IP stack, which would reduce
> our ability to modify the stack to reflect changing needs.
> 
> I understand that the BSD/OS folks have extended BPF to allow it to modify
> packets on the fly, as well as do other spiffy things, which provides a
> nice stack expensibility mechanism while reducing the kernel/userland
> switches.  It may be that as the BSD/OS+FreeBSD code bases draw closer
> together, we get to see more spiffy features such as that in the public
> FreeBSD source base.

You could also perform many of these tasks now with netgraph nodes in
FreeBSD, allowing you to load modules for the specific processing task
you have and attach them to specific stream(s) easily.  This does not
offer the ease of development and maintenance that user-mode daemons
do.

-- 
            "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                         Softweyr LLC
wes@softweyr.com                                           http://softweyr.com/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38EA0277.42E7B788>