Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Oct 2004 05:47:11 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        sonjaya <son_jaya@yahoo.com>
Cc:        freebsd-quest <freebsd-questions@freebsd.org>
Subject:   Re: ipfilter
Message-ID:  <20041030024711.GA39489@gothmog.gr>
In-Reply-To: <20041030020019.61384.qmail@web40909.mail.yahoo.com>
References:  <20041030014215.GA69218@xor.obsecurity.org> <20041030020019.61384.qmail@web40909.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2004-10-29 19:00, sonjaya <son_jaya@yahoo.com> wrote:
> --- Kris Kennaway <kris@obsecurity.org> wrote:
> > On Fri, Oct 29, 2004 at 06:15:27PM -0700, sonjaya
> > wrote:
> > > dear all
> > > i try use ipnat in my kernel i use this :
> > > options IPFILTER
> > > options IPFILTER_LOG
> > >
> > > this is correct because when i try make after make
> > > depend i get error
> > >
> > > what should i do  ?
> >
> > Show us the error.
>
> here the log
> ./../../contrib/ipfilter/netinet/ip_fil.c: In function `fr_check_wrapper':
> ../../../contrib/ipfilter/netinet/ip_fil.c:319: error: `PFIL_OUT' undeclared (first use in this function)
> ../../../contrib/ipfilter/netinet/ip_fil.c:319: error: (Each undeclared identifier is reported only once
> ../../../contrib/ipfilter/netinet/ip_fil.c:319: error: for each function it appears in.)
> ../../../contrib/ipfilter/netinet/ip_fil.c: In function `fr_check_wrapper6':
> ../../../contrib/ipfilter/netinet/ip_fil.c:329: error: `PFIL_OUT' undeclared (first use in this function)
> ../../../contrib/ipfilter/netinet/ip_fil.c: In function `iplattach':
> ../../../contrib/ipfilter/netinet/ip_fil.c:376: warning: unused variable `ph_inet'
> ../../../contrib/ipfilter/netinet/ip_fil.c:378: warning: unused variable `ph_inet6'
> ../../../contrib/ipfilter/netinet/ip_fil.c: At top level:
> ../../../contrib/ipfilter/netinet/ip_fil.c:317: warning: `fr_check_wrapper' defined but not used
> ../../../contrib/ipfilter/netinet/ip_fil.c:327: warning: `fr_check_wrapper6' defined but not used
> *** Error code 1
>
> Stop in /usr/src/sys/i386/compile/MTC.

You didn't mention what version of FreeBSD you're running, but it seems
you have a version older than 5.3 and your kernel config does not have
the PFIL_HOOKS option.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041030024711.GA39489>