IP Filter on FreeBSD 5.2.1

Remko Lodder remko at elvandar.org
Tue Sep 7 11:07:35 PDT 2004


Hi Wayne,

Wayne Pascoe wrote:

> After a while, that dies with the error at the bottom of this message.
> 
> Can anyone advise me what is going wrong and how I can fix this ? 
> 
> Thanks in advance,
> 
> ---- ERROR MESSAGE - LINES LONGER THAN 72 CHARS FOLLOW ----
> cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 -fno-strict-aliasing  -mno-align-long-strings -mpreferred-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':

I think you missed this option:

options         PFIL_HOOKS              # pfil(9) framework

in your kernel config file..

Try it and see it's magic ;)

-- 
Kind regards,

Remko Lodder                   |remko at elvandar.org
Reporter DSINet                |remko at dsinet.org
Projectleader Mostly-Harmless  |remko at mostly-harmless.nl


More information about the freebsd-questions mailing list