From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 15 14:06:48 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A888016A4CE for ; Thu, 15 Jan 2004 14:06:48 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD37C43D2F for ; Thu, 15 Jan 2004 14:06:44 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.10/8.12.10) with ESMTP id i0FM4xUd077331; Thu, 15 Jan 2004 17:04:59 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i0FM4xT1077328; Thu, 15 Jan 2004 17:04:59 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Thu, 15 Jan 2004 17:04:59 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Matt Freitag In-Reply-To: <40070D9E.6060407@inodes.us> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org Subject: Re: 5.1->5.2 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2004 22:06:48 -0000 On Thu, 15 Jan 2004, Matt Freitag wrote: > Building 5.2-RELEASE from 5.1-RELEASE-p10 w/ipf+ipfw+ipfw6+dummynet, 5.1 > Compiled fine with this setup. I need ipfilter as it's doing my source > routing for ipv6 (multiple transits) since ip6fw doesn't support fwd. (I > just use ip6fw for filtering, and ipf for forwarding to the correct > interface according to source) Am I just being stupid here somehow? IPFILTER now relies on the PFIL_HOOKS kernel option; this is something that is somewhat poorly documented, and we should add it to the errate I suspect. If you add "options PFIL_HOOKS" to your kernel config, it should work. Moving to PFIL_HOOKS for all the "funky IP input/ouput" feature is a goal for 5.3 (in fact, I believe Sam has it almost entirely done in one of his development branches), and should both simplify the input/output paths, and also simplify locking for the IP stack. So the change is for a good cause :-). Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research > > > cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. > -I../../.. -I../../../contrib/dev/acpica -I../../../contrib/ipfilter > -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd > -I../../../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 > ../../../contrib/ipfilter/netinet/ip_fil.c > ../../../contrib/ipfilter/netinet/ip_fil.c: In function `fr_check_wrapper': > ../../../contrib/ipfilter/netinet/ip_fil.c:319: `PFIL_OUT' undeclared > (first use in this function) > ../../../contrib/ipfilter/netinet/ip_fil.c:319: (Each undeclared > identifier is reported only once > ../../../contrib/ipfilter/netinet/ip_fil.c:319: for each function it > appears in.) > ../../../contrib/ipfilter/netinet/ip_fil.c: In function `fr_check_wrapper6': > ../../../contrib/ipfilter/netinet/ip_fil.c:329: `PFIL_OUT' undeclared > (first use in this function) > cc1: warnings being treated as errors > ../../../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' > machine/in_cksum.h: 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/funk. > > > > -mpf > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >