From owner-freebsd-bugs Mon Feb 26 22:20:11 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1467E37B684 for ; Mon, 26 Feb 2001 22:20:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1R6K2Q24064; Mon, 26 Feb 2001 22:20:02 -0800 (PST) (envelope-from gnats) Received: from news.IAEhv.nl (news.IAE.nl [194.151.64.4]) by hub.freebsd.org (Postfix) with ESMTP id 38BE037B444 for ; Mon, 26 Feb 2001 22:15:14 -0800 (PST) (envelope-from Arjan.deVet@adv.iae.nl) Received: (from uucp@localhost) by news.IAEhv.nl (8.9.1/8.9.1) with IAEhv.nl id HAA20337 for FreeBSD-gnats-submit@freebsd.org; Tue, 27 Feb 2001 07:15:12 +0100 (MET) Received: by adv.devet.org (Postfix, from userid 100) id 6A11F3EB9; Mon, 26 Feb 2001 21:26:35 +0100 (CET) Message-Id: <20010226202635.6A11F3EB9@adv.devet.org> Date: Mon, 26 Feb 2001 21:26:35 +0100 (CET) From: Arjan de Vet Reply-To: Arjan de Vet To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/25403: ipfilter: enable IPv6 and STATETOP in 4.2-stable Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 25403 >Category: bin >Synopsis: ipfilter: enable ipv6 and STATETOP in 4.2-stable >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 26 22:20:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Arjan de Vet >Release: FreeBSD 4.2-STABLE i386 >Organization: >Environment: FreeBSD adv.devet.org 4.2-STABLE FreeBSD 4.2-STABLE #2: Sun Feb 18 21:54:27 CET 2001 root@adv.devet.org:/home/obj/usr/src/sys/ADV i386 >Description: The ipfilter 3.4.16 binaries in FreeBSD 4.2-stable are not built with IPv6 support and ipfstat does not support the -t (STATETOP) option. It would be nice if those could be enabled before 4.3-release such that FreeBSD 4.3 users have a fully functional version of IP Filter again. -current already has IPv6 and STATETOP enabled for some time. >How-To-Repeat: 'cvs diff -r stable -r current Makefile' for the ipfilter binaries. >Fix: Apply the following patch to FreeBSD 4.2-stable. It synchronizes all -stable Makefiles with those in -current. Index: sbin/ipf/Makefile =================================================================== RCS file: /home/freebsd/CVS/src/sbin/ipf/Makefile,v retrieving revision 1.4.2.1 diff -u -r1.4.2.1 Makefile --- sbin/ipf/Makefile 2000/07/20 04:57:19 1.4.2.1 +++ sbin/ipf/Makefile 2000/11/12 10:57:02 @@ -7,7 +7,7 @@ MAN5= ipf.5 MAN8= ipf.8 SRCS= ipf.c parse.c opt.c facpri.c common.c -CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../contrib/ipfilter +CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../contrib/ipfilter MAINTAINER= guido@freebsd.org Index: sbin/ipfstat/Makefile =================================================================== RCS file: /home/freebsd/CVS/src/sbin/ipfstat/Makefile,v retrieving revision 1.4.2.1 diff -u -r1.4.2.1 Makefile --- sbin/ipfstat/Makefile 2000/07/20 05:15:19 1.4.2.1 +++ sbin/ipfstat/Makefile 2000/11/12 10:59:17 @@ -5,7 +5,10 @@ PROG= ipfstat MAN8= ipfstat.8 SRCS= fils.c parse.c opt.c kmem.c facpri.c common.c -CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter +CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -DSTATETOP -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter + +DPADD= ${NCURSES} +LDADD= -lncurses MAINTAINER= guido@freebsd.org Index: sbin/ipmon/Makefile =================================================================== RCS file: /home/freebsd/CVS/src/sbin/ipmon/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- sbin/ipmon/Makefile 2000/02/09 21:01:35 1.6 +++ sbin/ipmon/Makefile 2000/11/12 12:14:00 @@ -7,7 +7,7 @@ MAN8= ipmon.8 SRCS= ipmon.c -CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter +CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter MAINTAINER= guido@freebsd.org Index: sbin/ipnat/Makefile =================================================================== RCS file: /home/freebsd/CVS/src/sbin/ipnat/Makefile,v retrieving revision 1.4.2.1 diff -u -r1.4.2.1 Makefile --- sbin/ipnat/Makefile 2000/07/20 05:46:06 1.4.2.1 +++ sbin/ipnat/Makefile 2000/11/12 11:48:15 @@ -6,8 +6,9 @@ MAN1= ipnat.1 MAN4= ipnat.4 MAN5= ipnat.5 +MLINKS= ipnat.5 ipnat.conf.5 SRCS= ipnat.c kmem.c natparse.c common.c -CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter +CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter MAINTAINER= guido@freebsd.org Index: usr.sbin/ipftest/Makefile =================================================================== RCS file: /home/freebsd/CVS/src/usr.sbin/ipftest/Makefile,v retrieving revision 1.4.2.1 diff -u -r1.4.2.1 Makefile --- usr.sbin/ipftest/Makefile 2000/07/20 06:40:45 1.4.2.1 +++ usr.sbin/ipftest/Makefile 2000/11/12 11:01:52 @@ -10,7 +10,7 @@ ipft_tx.c misc.c ip_frag.c ip_state.c ip_nat.c ip_proxy.c \ ip_auth.c ipft_hx.c ip_fil.c natparse.c facpri.c common.c -CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.OBJDIR} -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter +CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -I- -I${.OBJDIR} -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter CLEANFILES+= opt_ipfilter.h Index: usr.sbin/ipresend/Makefile =================================================================== RCS file: /home/freebsd/CVS/src/usr.sbin/ipresend/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- usr.sbin/ipresend/Makefile 1999/12/06 20:50:01 1.4 +++ usr.sbin/ipresend/Makefile 2000/11/12 11:03:46 @@ -8,6 +8,7 @@ SRCS= ipresend.c ip.c resend.c opt.c ipft_ef.c ipft_hx.c ipft_sn.c ipft_td.c ipft_tx.c sbpf.c 44arp.c ipft_pc.c CFLAGS+=-DDOSOCKET -DIPL_NAME=\"/dev/ipl\" \ + -DUSE_INET6 \ -I- -I${.CURDIR}/../../sys/netinet \ -I${.CURDIR}/../../contrib/ipfilter/ipsend \ -I${.CURDIR}/../../contrib/ipfilter Index: usr.sbin/ipsend/Makefile =================================================================== RCS file: /home/freebsd/CVS/src/usr.sbin/ipsend/Makefile,v retrieving revision 1.8 diff -u -r1.8 Makefile --- usr.sbin/ipsend/Makefile 1999/12/06 20:50:02 1.8 +++ usr.sbin/ipsend/Makefile 2000/11/12 11:04:23 @@ -11,6 +11,7 @@ y.tab.h CFLAGS+=-DDOSOCKET -DIPL_NAME=\"/dev/ipl\" \ + -DUSE_INET6 \ -I- -I. -I${.CURDIR}/../../sys/netinet \ -I${.CURDIR}/../../contrib/ipfilter/ipsend \ -I${.CURDIR}/../../contrib/ipfilter/iplang \ Index: usr.sbin/iptest/Makefile =================================================================== RCS file: /home/freebsd/CVS/src/usr.sbin/iptest/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- usr.sbin/iptest/Makefile 1999/12/06 20:50:03 1.4 +++ usr.sbin/iptest/Makefile 2000/11/12 11:05:11 @@ -8,6 +8,7 @@ SRCS= iptest.c iptests.c ip.c sbpf.c 44arp.c sock.c CFLAGS+=-DDOSOCKET -DIPL_NAME=\"/dev/ipl\" \ + -DUSE_INET6 \ -I- -I${.CURDIR}/../../sys/netinet \ -I${.CURDIR}/../../contrib/ipfilter/ipsend \ -I${.CURDIR}/../../contrib/ipfilter This patch supersedes the statetop patch in bin/20074. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message