From owner-freebsd-questions Wed Sep 5 1:20:49 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tarakan-network.com (chojin.adsl.nerim.net [62.4.22.98]) by hub.freebsd.org (Postfix) with ESMTP id D797F37B405; Wed, 5 Sep 2001 01:20:40 -0700 (PDT) Received: from chojin (Cho@chojin.lan.tarakan-network.com [192.168.69.2] (may be forged)) by tarakan-network.com (8.11.6/8.11.3) with SMTP id f858KTj92538; Wed, 5 Sep 2001 10:20:29 +0200 (CEST) (envelope-from freebsd@tarakan-network.com) Message-ID: <010401c135e3$ac9886d0$0245a8c0@chojin> From: "Chojin" To: "Fernando Gleiser" Cc: , References: <20010904164621.N29260-100000@cactus.fi.uba.ar> Subject: Re: ipnat, ipf, ipfstat devices not configured Date: Wed, 5 Sep 2001 10:20:25 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2526.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2526.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, #dmesg | grep IP plip0: on ppbus0 IP Filter: v3.4.16 initialized. Default = pass all, Logging = enabled IP Filter: already initialized IP Filter: v3.4.16 unloaded module_register_init: MOD_LOAD (IP Filter: v3.4.16, c0388278, 0) error 16 It seems there is an error in the module. I'll test with generic when I'll have time :o) ----- Original Message ----- From: "Fernando Gleiser" To: "Chojin" Cc: Sent: Tuesday, September 04, 2001 9:51 PM Subject: Re: ipnat, ipf, ipfstat devices not configured > On Tue, 4 Sep 2001, Chojin wrote: > > > Hello, > > > > Since I recompiled my system and kernel (4.3-RELEASE) I can't use ipnat ipf > > and ipfstat: > > > > #ipnat > > /dev/ipnat: open: Device not configured > > > > #ipf -Fa -f /etc/ipf.rules > > open device: Device not configured > > ioctl(SIOCIPFFL): Bad file descriptor > > open device: Device not configured > > 2:ioctl(add/insert rule): Bad file descriptor > > 3:ioctl(add/insert rule): Bad file descriptor > > It seems you don't have IP Filter support in your kernel. The kernel options > are fine, maybe you recompiled the kernel but forgot to install it. > > Do a 'dmesg | grep IP', a line like this should apear: > > IP Filter: v3.4.16 initialized. Default = pass all, Logging = enabled > > Try booting GENERIC and kldload ipl, to load IP Filter as a module. > I load ipf as a module, to keep it up to date with Darren's fixes. The upgrade > is easier. > > > Hope This helps. > > > Fer > > > > > > #ipfstat > > open: Device not configured > > > > I did all things needed as MAKEDEV all (done by mergemaster). > > > > There are all options unchanged in my kernel configuration file: > > options IPFILTER #ipfilter support > > options IPFILTER_LOG #ipfilter logging > > options IPFIREWALL > > options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity > > options IPFIREWALL_DEFAULT_TO_ACCEPT > > options IPDIVERT > > > > I don't understand why there is this problem. > > Anyone could help me ? > > > > Chojin > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message