Date: Wed, 5 Sep 2001 10:20:25 +0200 From: "Chojin" <freebsd@tarakan-network.com> To: "Fernando Gleiser" <fgleiser@cactus.fi.uba.ar> Cc: <freebsd-questions@FreeBSD.ORG>, <freebsd-hackers@FreeBSD.ORG> Subject: Re: ipnat, ipf, ipfstat devices not configured Message-ID: <010401c135e3$ac9886d0$0245a8c0@chojin> References: <20010904164621.N29260-100000@cactus.fi.uba.ar>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, #dmesg | grep IP plip0: <PLIP network interface> 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" <fgleiser@cactus.fi.uba.ar> To: "Chojin" <freebsd@tarakan-network.com> Cc: <freebsd-questions@FreeBSD.ORG> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?010401c135e3$ac9886d0$0245a8c0>