Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Aug 1999 12:55:57 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Cillian Sharkey <cillian@baker.ie>
Cc:        questions@freebsd.org
Subject:   Re: Various Questions
Message-ID:  <Pine.BSF.4.10.9908101254110.79312-100000@resnet.uoregon.edu>
In-Reply-To: <37AFE3F5.E3EE47A1@baker.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 10 Aug 1999, Cillian Sharkey wrote:

> > > can the code for network interfaces be dynamically loded (by loadable
> > > kernel modules) when they are needed ? ie. when I run ppp which uses
> > > the tun0 interface I need to manually "kldload if_tun" as I don't have
> > > tun support included in my (3.2-STABLE) kernel..
> > 
> > We're getting there.  fxp is now a KLD and I expect more to follow.
> 
> Just a more general question about kld's : will the kld mechanism
> eventually become more similar to the Linux way (ie. modules for just
> about every doohickey that could be compiled into the kernel, and a
> mechanism that dynamically loads and _unloads_ them ie.kerneld under
> Linux) or something different ?

I don't know about dynamic unloading, but modules are the way of the
future.  The ultimate goal is to kill the need to rebuild kernels to
install/edit devices.  Sun did this years and years ago, we should too :)

> what I mean is at the moment if I have a (theoretical) rule set in a
> file (say /etc/ipf.conf) for IPFILTER I would (from what I can gather)
> have to create my own /etc/rc.firewall to get ipf to read in the
> ruleset (and optionally get ipnat to read in the ipnat.conf ruleset
> etc.)..

ipfilter isn't the official standard yet, so yes, you have to roll your
own rulesets.  That may change in the future.

> > Not without hacking the kernel printf().
> 
> well I might give it a try - it's high time I got my hands dirty and
> hacked
> some code.. :)

Have fun.

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9908101254110.79312-100000>