Re: IP Filter

From: Matt Smith <matt_at_xtaz.net>
Date: Wed, 07 Jan 2004 10:13:58 +0000
zen8061_at_zen.co.uk wrote:
> Sorry is this not not correct place to mail this newbbie.
> 
> Has any one has problems in installing IPFilter I get a error
> 
>  5.2-RC2 FreeBSD 5.2-RC2 #0: Mon Dec 22 07:23:48 GMT 2003     root_at_wv1u.freebsd.org:/usr/obj/usr/src/sys/GENERIC  i386
> 
> -stack-boundary=2 -ffreestanding -Werror  /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c
> /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c: In function `fr_check_wrapper':
> /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:319: error: `PFIL_OUT' undeclared (first use in this function)
> /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:319: error: (Each undeclared identifier is reported only once
> /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:319: error: for each function it appears in.)
> /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c: In function `fr_check_wrapper6':
> /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:329: error: `PFIL_OUT' undeclared (first use in this function)
> /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c: In function `iplattach':
> /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:376: warning: unused variable `ph_inet'
> /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:378: warning: unused variable `ph_inet6'
> /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c: At top level:
> /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:317: warning: `fr_check_wrapper' defined but not used
> /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:327: warning: `fr_check_wrapper6' defined but not used
> 
> Any help would be great
> 

 From /usr/src/UPDATING:

20030925:
Configuring a system to use IPFILTER now requires that PFIL_HOOKS also 
be explicitly configured.  Previously this dependency was magically 
handled through some cruft in net/pfil.h; but that has been removed. 
Building a kernel with IPFILTER but not PFIL_HOOKS will fail with obtuse 
errors in ip_fil.c.

Regards, Matt.
Received on Wed Jan 07 2004 - 01:14:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:36 UTC