From owner-freebsd-questions Tue Aug 10 12:56:26 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id D29531543B for ; Tue, 10 Aug 1999 12:56:22 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.9.3/8.9.3) with ESMTP id MAA80252; Tue, 10 Aug 1999 12:55:57 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Tue, 10 Aug 1999 12:55:57 -0700 (PDT) From: Doug White To: Cillian Sharkey Cc: questions@freebsd.org Subject: Re: Various Questions In-Reply-To: <37AFE3F5.E3EE47A1@baker.ie> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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