Date: Tue, 4 Sep 2001 16:51:22 -0300 (ART) From: Fernando Gleiser <fgleiser@cactus.fi.uba.ar> To: Chojin <freebsd@tarakan-network.com> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: ipnat, ipf, ipfstat devices not configured Message-ID: <20010904164621.N29260-100000@cactus.fi.uba.ar> In-Reply-To: <024e01c13531$33498390$0245a8c0@chojin>
next in thread | previous in thread | raw e-mail | index | archive | help
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?20010904164621.N29260-100000>