Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Oct 2000 23:42:03 -0700
From:      Kent Stewart <kstewart@urx.com>
To:        matthew zeier <matthew@intelenet.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Updating IP Filter
Message-ID:  <39DEC5BB.BAD958@urx.com>
References:  <20001006162428.Z22597@intelenet.net>

next in thread | previous in thread | raw e-mail | index | archive | help


matthew zeier wrote:
> 
> I'm new to FreeBSD and just installed 4.1.1 RELEASE.
> 
> I want to use IP Filter and noticed :
> 
> rose# ipf -V
> ipf: IP Filter: v3.4.8 (264)
> open device: Device not configured
> ioctl(SIOCGETFS: Bad file descriptor
> 
> The install docs for 3.4.10 mention building a loadable module or a
> statically compiled kernel.  What's the benefit of either for this
> application?
> 
> It also mentions using "modload" and "modstat" but I can't find either
> on my system.
> 
> I tried a 'make freebsd' and got:
> 
> In file included from /usr/include/sys/signal.h:46,
>                  from /usr/include/sys/proc.h:50,
>                  from ../../netinet/ip_compat.h:481,
>                  from ../../ip_fil.c:100:
> /usr/include/sys/_posix.h:45: opt_posix.h: No such file or directory
> *** Error code 1
> 
> Stop in /usr/local/build/ip_fil3.4.10/BSD/FreeBSD-4.1.1-RELEASE-i386.
> *** Error code 1

I'm assuming that you didn't do a config and a make depend first. You
probably should read
http://www.freebsd.org/handbook/kernelconfig-building.html before you
go too far.

There are 3 POSIX options that you probably need added to your new
kernel.

Kent

> 
> Any help?
> 
> Thanks.
> 
> --
> matthew zeier -  "There ain't no rules around here. We're trying to
> accomplish something." - Thomas Edison
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Kent Stewart
Richland, WA

mailto:kbstew99@hotmail.com
http://kstewart.urx.com/kstewart/index.html
FreeBSD News http://daily.daemonnews.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?39DEC5BB.BAD958>