head	1.1;
branch	1.1.1;
access;
symbols
	RELENG_8_4:1.1.1.17.0.18
	RELENG_9_1_0_RELEASE:1.1.1.17
	RELENG_9_1:1.1.1.17.0.16
	RELENG_9_1_BP:1.1.1.17
	RELENG_8_3_0_RELEASE:1.1.1.17
	RELENG_8_3:1.1.1.17.0.14
	RELENG_8_3_BP:1.1.1.17
	RELENG_9_0_0_RELEASE:1.1.1.17
	RELENG_9_0:1.1.1.17.0.12
	RELENG_9_0_BP:1.1.1.17
	RELENG_9:1.1.1.17.0.10
	RELENG_9_BP:1.1.1.17
	RELENG_7_4_0_RELEASE:1.1.1.16.2.1
	RELENG_8_2_0_RELEASE:1.1.1.17
	RELENG_7_4:1.1.1.16.2.1.0.10
	RELENG_7_4_BP:1.1.1.16.2.1
	RELENG_8_2:1.1.1.17.0.8
	RELENG_8_2_BP:1.1.1.17
	RELENG_8_1_0_RELEASE:1.1.1.17
	RELENG_8_1:1.1.1.17.0.6
	RELENG_8_1_BP:1.1.1.17
	RELENG_7_3_0_RELEASE:1.1.1.16.2.1
	RELENG_7_3:1.1.1.16.2.1.0.8
	RELENG_7_3_BP:1.1.1.16.2.1
	RELENG_8_0_0_RELEASE:1.1.1.17
	RELENG_8_0:1.1.1.17.0.4
	RELENG_8_0_BP:1.1.1.17
	RELENG_8:1.1.1.17.0.2
	RELENG_8_BP:1.1.1.17
	RELENG_7_2_0_RELEASE:1.1.1.16.2.1
	RELENG_7_2:1.1.1.16.2.1.0.6
	RELENG_7_2_BP:1.1.1.16.2.1
	RELENG_7_1_0_RELEASE:1.1.1.16.2.1
	RELENG_6_4_0_RELEASE:1.1.1.13.2.2
	RELENG_7_1:1.1.1.16.2.1.0.4
	RELENG_7_1_BP:1.1.1.16.2.1
	RELENG_6_4:1.1.1.13.2.2.0.4
	RELENG_6_4_BP:1.1.1.13.2.2
	RELENG_7_0_0_RELEASE:1.1.1.16.2.1
	RELENG_6_3_0_RELEASE:1.1.1.13.2.2
	RELENG_7_0:1.1.1.16.2.1.0.2
	RELENG_7_0_BP:1.1.1.16.2.1
	RELENG_6_3:1.1.1.13.2.2.0.2
	RELENG_6_3_BP:1.1.1.13.2.2
	v4-1-28:1.1.1.17
	RELENG_7:1.1.1.16.0.2
	RELENG_7_BP:1.1.1.16
	v4-1-23:1.1.1.16
	RELENG_6_2_0_RELEASE:1.1.1.13.2.1
	RELENG_6_2:1.1.1.13.2.1.0.2
	RELENG_6_2_BP:1.1.1.13.2.1
	v4-1-13:1.1.1.15
	RELENG_5_5_0_RELEASE:1.1.1.12
	RELENG_5_5:1.1.1.12.0.8
	RELENG_5_5_BP:1.1.1.12
	RELENG_6_1_0_RELEASE:1.1.1.13
	RELENG_6_1:1.1.1.13.0.6
	RELENG_6_1_BP:1.1.1.13
	v4-1-10:1.1.1.14
	RELENG_6_0_0_RELEASE:1.1.1.13
	RELENG_6_0:1.1.1.13.0.4
	RELENG_6_0_BP:1.1.1.13
	RELENG_6:1.1.1.13.0.2
	RELENG_6_BP:1.1.1.13
	RELENG_5_4_0_RELEASE:1.1.1.12
	v4-1-8:1.1.1.13
	RELENG_5_4:1.1.1.12.0.6
	RELENG_5_4_BP:1.1.1.12
	RELENG_4_11_0_RELEASE:1.1.1.4.2.6
	RELENG_4_11:1.1.1.4.2.6.0.2
	RELENG_4_11_BP:1.1.1.4.2.6
	RELENG_5_3_0_RELEASE:1.1.1.12
	RELENG_5_3:1.1.1.12.0.4
	RELENG_5_3_BP:1.1.1.12
	RELENG_5:1.1.1.12.0.2
	RELENG_5_BP:1.1.1.12
	v3-4-35:1.1.1.12
	RELENG_4_10_0_RELEASE:1.1.1.4.2.5
	RELENG_4_10:1.1.1.4.2.5.0.6
	RELENG_4_10_BP:1.1.1.4.2.5
	RELENG_5_2_1_RELEASE:1.1.1.11
	RELENG_5_2_0_RELEASE:1.1.1.11
	RELENG_5_2:1.1.1.11.0.4
	RELENG_5_2_BP:1.1.1.11
	RELENG_4_9_0_RELEASE:1.1.1.4.2.5
	RELENG_4_9:1.1.1.4.2.5.0.4
	RELENG_4_9_BP:1.1.1.4.2.5
	RELENG_5_1_0_RELEASE:1.1.1.11
	RELENG_5_1:1.1.1.11.0.2
	RELENG_5_1_BP:1.1.1.11
	RELENG_4_8_0_RELEASE:1.1.1.4.2.5
	RELENG_4_8:1.1.1.4.2.5.0.2
	RELENG_4_8_BP:1.1.1.4.2.5
	v3-4-31:1.1.1.11
	RELENG_5_0_0_RELEASE:1.1.1.10
	RELENG_5_0:1.1.1.10.0.2
	RELENG_5_0_BP:1.1.1.10
	RELENG_4_7_0_RELEASE:1.1.1.4.2.4
	RELENG_4_7:1.1.1.4.2.4.0.2
	RELENG_4_7_BP:1.1.1.4.2.4
	v3-4-29:1.1.1.10
	RELENG_4_6_2_RELEASE:1.1.1.4.2.3
	RELENG_4_6_1_RELEASE:1.1.1.4.2.3
	RELENG_4_6_0_RELEASE:1.1.1.4.2.3
	v3-4-28:1.1.1.10
	RELENG_4_6:1.1.1.4.2.3.0.2
	RELENG_4_6_BP:1.1.1.4.2.3
	v3-4-27:1.1.1.9
	v3-4-26:1.1.1.8
	v3-4-25:1.1.1.7
	RELENG_4_5_0_RELEASE:1.1.1.4.2.2
	RELENG_4_5:1.1.1.4.2.2.0.4
	RELENG_4_5_BP:1.1.1.4.2.2
	RELENG_4_4_0_RELEASE:1.1.1.4.2.2
	RELENG_4_4:1.1.1.4.2.2.0.2
	RELENG_4_4_BP:1.1.1.4.2.2
	v3-4-20:1.1.1.6
	RELENG_4_3_0_RELEASE:1.1.1.4.2.1
	RELENG_4_3:1.1.1.4.2.1.0.2
	RELENG_4_3_BP:1.1.1.4.2.1
	v3-4-16:1.1.1.5
	rev:1.1.1.5
	RELENG_4_2_0_RELEASE:1.1.1.4.2.1
	v3-4-13:1.1.1.5
	v3-4-12:1.1.1.5
	RELENG_4_1_1_RELEASE:1.1.1.4.2.1
	PRE_SMPNG:1.1.1.5
	v3-4-9:1.1.1.5
	RELENG_4_1_0_RELEASE:1.1.1.4.2.1
	v3-4-8:1.1.1.5
	RELENG_3_5_0_RELEASE:1.1.1.3
	v3_4_4:1.1.1.4
	RELENG_4_0_0_RELEASE:1.1.1.4
	RELENG_4:1.1.1.4.0.2
	RELENG_4_BP:1.1.1.4
	v3_3_8:1.1.1.4
	v3_3_6:1.1.1.4
	RELENG_3_4_0_RELEASE:1.1.1.3
	v3_3_3:1.1.1.4
	RELENG_3_3_0_RELEASE:1.1.1.3
	RELENG_3_2_PAO:1.1.1.3.0.4
	RELENG_3_2_PAO_BP:1.1.1.3
	RELENG_3_2_0_RELEASE:1.1.1.3
	RELENG_3_1_0_RELEASE:1.1.1.3
	RELENG_3:1.1.1.3.0.2
	RELENG_3_BP:1.1.1.3
	RELENG_3_0_0_RELEASE:1.1.1.3
	v3_2_7:1.1.1.3
	v3_2_3:1.1.1.3
	v3_2_1:1.1.1.3
	v3-2-a7:1.1.1.2
	V3_2_A4:1.1.1.1
	ipfilter3_1_8:1.1.1.1
	DARRENR:1.1.1
	ipfilter3_1_7:1.1.1.1
	DARRENREED:1.1.1;
locks; strict;
comment	@# @;


1.1
date	97.02.09.22.50.08;	author darrenr;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	97.02.09.22.50.08;	author darrenr;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	97.05.25.15.44.58;	author darrenr;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	97.11.16.04.52.19;	author peter;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	99.11.08.20.51.16;	author guido;	state Exp;
branches
	1.1.1.4.2.1;
next	1.1.1.5;

1.1.1.5
date	2000.07.19.13.52.45;	author darrenr;	state Exp;
branches;
next	1.1.1.6;

1.1.1.6
date	2001.07.28.11.59.32;	author darrenr;	state Exp;
branches;
next	1.1.1.7;

1.1.1.7
date	2002.03.19.11.45.20;	author darrenr;	state Exp;
branches;
next	1.1.1.8;

1.1.1.8
date	2002.04.25.03.34.24;	author darrenr;	state Exp;
branches;
next	1.1.1.9;

1.1.1.9
date	2002.04.27.17.01.30;	author darrenr;	state Exp;
branches;
next	1.1.1.10;

1.1.1.10
date	2002.06.07.08.58.22;	author darrenr;	state Exp;
branches;
next	1.1.1.11;

1.1.1.11
date	2003.02.15.06.27.40;	author darrenr;	state Exp;
branches;
next	1.1.1.12;

1.1.1.12
date	2004.06.21.22.47.51;	author darrenr;	state Exp;
branches;
next	1.1.1.13;

1.1.1.13
date	2005.04.25.17.31.25;	author darrenr;	state Exp;
branches
	1.1.1.13.2.1;
next	1.1.1.14;

1.1.1.14
date	2005.12.30.11.34.53;	author guido;	state Exp;
branches;
next	1.1.1.15;

1.1.1.15
date	2006.08.16.11.51.30;	author guido;	state Exp;
branches;
next	1.1.1.16;

1.1.1.16
date	2007.06.04.02.48.36;	author darrenr;	state Exp;
branches
	1.1.1.16.2.1;
next	1.1.1.17;

1.1.1.17
date	2007.10.18.21.41.09;	author darrenr;	state Exp;
branches
	1.1.1.17.18.1;
next	;

1.1.1.4.2.1
date	2000.07.19.14.28.05;	author darrenr;	state Exp;
branches;
next	1.1.1.4.2.2;

1.1.1.4.2.2
date	2001.07.28.13.34.25;	author darrenr;	state Exp;
branches;
next	1.1.1.4.2.3;

1.1.1.4.2.3
date	2002.04.27.17.31.02;	author darrenr;	state Exp;
branches;
next	1.1.1.4.2.4;

1.1.1.4.2.4
date	2002.08.31.16.26.46;	author darrenr;	state Exp;
branches;
next	1.1.1.4.2.5;

1.1.1.4.2.5
date	2003.03.01.03.55.53;	author darrenr;	state Exp;
branches;
next	1.1.1.4.2.6;

1.1.1.4.2.6
date	2004.07.04.09.24.41;	author darrenr;	state Exp;
branches;
next	;

1.1.1.13.2.1
date	2006.08.24.07.37.08;	author guido;	state Exp;
branches;
next	1.1.1.13.2.2;

1.1.1.13.2.2
date	2007.11.18.11.03.24;	author darrenr;	state Exp;
branches;
next	;

1.1.1.16.2.1
date	2007.10.31.05.00.36;	author darrenr;	state Exp;
branches;
next	;

1.1.1.17.18.1
date	2007.10.18.21.41.09;	author svnexp;	state dead;
branches;
next	1.1.1.17.18.2;

1.1.1.17.18.2
date	2013.03.28.13.01.21;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Initial revision
@
text
@#
# (C)opyright 1993-1996 by Darren Reed.
#
# This code may be freely distributed as long as it retains this notice
# and is not changed in any way.  The author accepts no responsibility
# for the use of this software.  I hate legaleese, don't you ?
#
# where to put things.
#
BINDEST=/usr/local/bin
SBINDEST=/sbin
MANDIR=/usr/share/man

tests: first 0 ftests ptests

first:
	-mkdir -p results

# Filtering tests
ftests: 1 2 3 4 5 6 7 8 9 10 11 12

# Rule parsing tests
ptests: i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11

0:
	@@(cd ..; make ipftest; )

1 2 3 4 5 6 7 8 9 10 11:
	@@./dotest $@@

12:
	@@./hextest $@@

i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11:
	@@./itest $@@

clean:
	/bin/rm -f 1 2 3 4 5 6 7 8 9 10 11 12 results/*
	/bin/rm -f i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11
@


1.1.1.1
log
@Import IP Filter v3.1.7 into FreeBSD tree
@
text
@@


1.1.1.2
log
@Import version 3.2alpha7
@
text
@d20 1
a20 1
ftests: 1 2 3 4 5 6 7 8 9 10 11 12 14
d28 1
a28 1
1 2 3 4 5 6 7 8 9 10 11 14:
@


1.1.1.3
log
@Import ipfilter 3.2.1 (update from 3.1.8)
@
text
@d4 5
a8 3
# Redistribution and use in source and binary forms are permitted
# provided that this notice is preserved and due credit is given
# to the original author and the contributors.
d29 1
a29 1
	@@/bin/sh ./dotest $@@
d32 1
a32 1
	@@/bin/sh ./hextest $@@
d35 1
a35 1
	@@/bin/sh ./itest $@@
@


1.1.1.4
log
@Import of ipfilter 3.3.3  in anticipation of its revival.
More to come in the next days.
@
text
@d12 1
a12 1
tests: first 0 ftests ptests ntests
d18 1
a18 1
ftests: f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f14
a22 2
ntests: n1 n2 n3 n4

d26 1
a26 1
f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f14:
d29 1
a29 1
f12:
a34 3
n1 n2 n3 n4:
	@@/bin/sh ./nattest $@@

d36 1
a36 1
	/bin/rm -f f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f14 results/*
a37 1
	/bin/rm -f n1 n2 n3 n4
@


1.1.1.4.2.1
log
@merge code changes from 3.4.4 to 3.4.8
@
text
@d23 1
a23 1
ntests: n1 n2 n3 n4 n5 n6 n7
d37 1
a37 1
n1 n2 n3 n4 n5 n6 n7:
d43 1
a43 1
	/bin/rm -f n1 n2 n3 n4 n5 n6 n7
@


1.1.1.4.2.2
log
@merge diffs for ipfilter 3.4.16 -> 3.4.20 into RELENG_4
@
text
@d18 1
a18 1
ftests: f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14
d31 1
a31 1
f12 f13:
d41 1
a41 1
	/bin/rm -f f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f13 f12 f14 results/*
@


1.1.1.4.2.3
log
@Update (finally) IPFilter on RELENG_4 CVS branch.
@
text
@d12 1
a12 1
tests: first 0 ftests ptests ntests nitests logtests ipv6 intests
d18 1
a18 1
ftests: f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17
a24 8
nitests: ni1 ni2 ni3 ni4 ni5

intests: in1 in2 in3 in4

logtests: l1

ipv6: ipv6.1 ipv6.2

a33 6
f15 f16:
	@@/bin/sh ./mtest $@@

f17:
	@@/bin/sh ./mhtest $@@

a39 12
ni1 ni2 ni3 ni4 ni5:
	@@/bin/sh ./natipftest $@@

in1 in2 in3 in4:
	@@/bin/sh ./intest $@@

l1:
	@@/bin/sh ./logtest $@@

ipv6.1 ipv6.2:
	@@/bin/sh ./dotest6 $@@

d41 1
a41 1
	/bin/rm -f f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f13 f12 f14 f15 f16 f17
a43 5
	/bin/rm -f ni1 ni2 ni3 ni4 ni5
	/bin/rm -f in1 in2 in3 in4
	/bin/rm -f l1
	/bin/rm -f ipv6.1 ipv6.2
	/bin/rm -f results/*
@


1.1.1.4.2.4
log
@Merge IPFilter 3.4.29 into RELENG_4 from -current
@
text
@d21 1
a21 1
ptests: i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12
d48 1
a48 1
i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12:
d68 1
a68 1
	/bin/rm -f i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12
@


1.1.1.4.2.5
log
@Merge IPFilter 3.4.31 from -current into RELENG_4  for upcoming 4.8 release.

Approved by:	murray@@freebsd.org / re@@freebsd.org
@
text
@d31 1
a31 1
ipv6: ipv6.1 ipv6.2 ipv6.3
d63 1
a63 1
ipv6.1 ipv6.2 ipv6.3:
d73 1
a73 1
	/bin/rm -f ipv6.1 ipv6.2 ipv6.3
@


1.1.1.4.2.6
log
@MFC of IPFilter 3.4.35.
@
text
@d54 1
a54 1
ni1 ni2 ni3 ni4 ni5 ni7 ni8 ni10 ni11:
@


1.1.1.5
log
@Import v3.4.8 into -current
@
text
@d23 1
a23 1
ntests: n1 n2 n3 n4 n5 n6 n7
d37 1
a37 1
n1 n2 n3 n4 n5 n6 n7:
d43 1
a43 1
	/bin/rm -f n1 n2 n3 n4 n5 n6 n7
@


1.1.1.6
log
@Import IPFilter version 3.4.20
@
text
@d18 1
a18 1
ftests: f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14
d31 1
a31 1
f12 f13:
d41 1
a41 1
	/bin/rm -f f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f13 f12 f14 results/*
@


1.1.1.7
log
@Import IPFilter 3.4.25
@
text
@d12 1
a12 1
tests: first 0 ftests ptests ntests nitests logtests
d18 1
a18 1
ftests: f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16
a24 4
nitests: ni1 ni2

logtests: l1

a33 3
f15 f16:
	@@/bin/sh ./mtest $@@

a39 6
ni1 ni2:
	@@/bin/sh ./natipftest $@@

l1:
	@@/bin/sh ./logtest $@@

d41 1
a41 1
	/bin/rm -f f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f13 f12 f14 f15 f16
a43 3
	/bin/rm -f ni1 ni2
	/bin/rm -f l1
	/bin/rm -f results/*
@


1.1.1.8
log
@Import IPFilter 3.4.26
@
text
@d12 1
a12 1
tests: first 0 ftests ptests ntests nitests logtests ipv6 intests
d18 1
a18 1
ftests: f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17
d25 1
a25 3
nitests: ni1 ni2 ni3 ni4

intests: in1 in2 in3 in4
a28 2
ipv6: ipv6.1 ipv6.2

a40 3
f17:
	@@/bin/sh ./mhtest $@@

d47 1
a47 1
ni1 ni2 ni3 ni4:
a49 3
in1 in2 in3 in4:
	@@/bin/sh ./intest $@@

a52 3
ipv6.1 ipv6.2:
	@@/bin/sh ./dotest6 $@@

d54 1
a54 1
	/bin/rm -f f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f13 f12 f14 f15 f16 f17
d57 1
a57 2
	/bin/rm -f ni1 ni2 ni3 ni4
	/bin/rm -f in1 in2 in3 in4
a58 1
	/bin/rm -f ipv6.1 ipv6.2
@


1.1.1.9
log
@Import 3.4.27
@
text
@d25 1
a25 1
nitests: ni1 ni2 ni3 ni4 ni5
d54 1
a54 1
ni1 ni2 ni3 ni4 ni5:
d70 1
a70 1
	/bin/rm -f ni1 ni2 ni3 ni4 ni5
@


1.1.1.10
log
@Import IPFilter 3.4.28
@
text
@d21 1
a21 1
ptests: i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12
d48 1
a48 1
i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12:
d68 1
a68 1
	/bin/rm -f i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12
@


1.1.1.11
log
@Import userland tools for IPFilter 3.4.31 into -current
@
text
@d31 1
a31 1
ipv6: ipv6.1 ipv6.2 ipv6.3
d63 1
a63 1
ipv6.1 ipv6.2 ipv6.3:
d73 1
a73 1
	/bin/rm -f ipv6.1 ipv6.2 ipv6.3
@


1.1.1.12
log
@Import ipfilter 3.4.35 onto vendor branch
@
text
@d54 1
a54 1
ni1 ni2 ni3 ni4 ni5 ni7 ni8 ni10 ni11:
@


1.1.1.13
log
@import ipfilter 4.1.8 into the vendor branch
@
text
@d4 3
a6 1
# See the IPFILTER.LICENCE file for details on licencing.
a10 1
all: results tests
d12 1
a12 8
results:
	mkdir -p results

tests: ipf nat logtests ipv6 pools

ipf: ftests ptests

nat: ntests nitests intests
d21 1
a21 1
ptests: i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15
d23 1
a23 1
ntests: n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12
d25 1
a25 1
nitests: ni1 ni2 ni3 ni4 ni5 ni6 ni7 ni8 ni9 ni10 ni11 ni12 ni13 ni14 ni15 ni16
d27 1
a27 1
intests: in1 in2 in3 in4 in5 in6
d31 1
a31 1
pools: p1 p2 p3 ip1
d33 2
a34 1
ipv6: ipv6.1 ipv6.2 ipv6.3
d36 2
a37 1
bpf: bpf1 bpf-f1
d39 2
a40 2
f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14:
	@@/bin/sh ./dotest `awk "/^$@@ / { print; } " test.format`
d42 2
a43 2
f15 f16 f17:
	@@/bin/sh ./mtest `awk "/^$@@ / { print; } " test.format`
d45 2
a46 2
i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15 bpf1:
	@@/bin/sh ./itest `awk "/^$@@ / { print; } " test.format`
d48 2
a49 2
n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12:
	@@/bin/sh ./nattest `awk "/^$@@ / { print; } " test.format`
d51 2
a52 2
ni1 ni2 ni3 ni4 ni5 ni7 ni8 ni9 ni10 ni11 ni12 ni13 ni14 ni15 ni16:
	@@/bin/sh ./natipftest single `awk "/^$@@ / { print; } " test.format`
d54 2
a55 2
ni6:
	@@/bin/sh ./natipftest multi `awk "/^$@@ / { print; } " test.format`
d57 2
a58 2
in1 in2 in3 in4 in5 in6:
	@@/bin/sh ./intest `awk "/^$@@ / { print; } " test.format`
d61 1
a61 1
	@@/bin/sh ./logtest `awk "/^$@@ / { print; } " test.format`
d64 1
a64 10
	@@/bin/sh ./dotest6 `awk "/^$@@ / { print; } " test.format`

p1 p2 p3:
	@@/bin/sh ./ptest `awk "/^$@@ / { print; } " test.format`

ip1:
	@@/bin/sh ./iptest `awk "/^$@@ / { print; } " test.format`

bpf-f1:
	/bin/sh ./bpftest `awk "/^$@@ / { print; } " test.format`
d67 5
a71 7
	/bin/rm -f f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17
	/bin/rm -f i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15
	/bin/rm -f n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12
	/bin/rm -f ni1 ni2 ni3 ni4 ni5 ni6 ni7 ni8 ni9
	/bin/rm -f ni10 ni11 ni12 ni13 ni14 ni15 ni16
	/bin/rm -f in1 in2 in3 in4 in5 in6
	/bin/rm -f p1 p2 p3 ip1
d74 1
a74 5
	/bin/rm -f bpf1 bpf-f1
	/bin/rm -f results/* logout

diffs:
	-cd expected; for i in *; do if [ -f $$i -a ! -f ../$$i -a -f ../results/$$i ] ; then  diff -c $$i ../results/$$i >> ../diff.out; fi done
@


1.1.1.13.2.1
log
@MFC: ipfilter 4.1.13
@
text
@d14 1
a14 1
tests: ipf nat logtests ipv6 pools bpf
d24 1
a24 1
ftests: f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17 f18 f19 f20
d27 1
a27 2
ptests: i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15 i16 i17 i18 i19 \
	i20 i21
d29 1
a29 1
ntests: n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14
d31 1
a31 2
nitests: ni1 ni2 ni3 ni4 ni5 ni6 ni7 ni8 ni9 ni10 ni11 ni12 ni13 ni14 ni15 \
	ni16 ni19 ni20 ni21
d43 1
a43 1
f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f19:
d46 1
a46 1
f15 f16 f17 f18 f20:
d49 1
a49 1
i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15 i16 i17 i18 i19 i20 i21 bpf1:
d52 1
a52 1
n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14:
d55 1
a55 1
ni1 ni2 ni3 ni4 ni5 ni7 ni8 ni9 ni10 ni11 ni12 ni13 ni14 ni15 ni16 ni19 ni20:
d58 1
a58 1
ni6 ni21:
d80 3
a82 3
	/bin/rm -f f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17 f18 f19 f20
	/bin/rm -f i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15 i16 i17 i18 i19 i20 i21
	/bin/rm -f n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14
d84 1
a84 1
	/bin/rm -f ni10 ni11 ni12 ni13 ni14 ni15 ni16 ni19 ni20 ni21
@


1.1.1.13.2.2
log
@MFC IPFilter update from 4.1.13 to 4.1.28, including additional fixes applied
post 4.1.28 for FreeBSD.  See src/contrib/ipfilter/HISTORY for more details
of the bugs fixed, etc.
@
text
@d9 1
a9 4
all: expected.d results tests

expected.d:
	(cd expected; make)
d24 1
a24 1
ftests: f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17 f18 f19 f20 f24
d30 1
a30 1
ntests: n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n16
d33 1
a33 1
	ni16 ni19 ni20 ni21 ni23
d39 1
a39 1
pools: p1 p2 p3 p5 ip1 ip2
d41 1
a41 1
ipv6: ipv6.1 ipv6.2 ipv6.3 ipv6.5 ipv6.6
d48 1
a48 1
f15 f16 f17 f18 f20 f24:
d54 1
a54 1
n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n16:
d57 1
a57 1
ni2 ni3 ni4 ni5 ni7 ni8 ni9 ni10 ni11 ni12 ni13 ni14 ni15 ni16 ni19 ni20:
d60 1
a60 1
ni1 ni6 ni21 ni23:
d69 1
a69 1
ipv6.1 ipv6.2 ipv6.3 ipv6.5 ipv6.6:
d72 1
a72 1
p1 p2 p3 p5:
d75 1
a75 1
ip1 ip2:
d82 1
a82 1
	/bin/rm -f f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17 f18 f19 f20 f24
d84 1
a84 1
	/bin/rm -f n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n16
d86 1
a86 1
	/bin/rm -f ni10 ni11 ni12 ni13 ni14 ni15 ni16 ni19 ni20 ni21 ni23
d88 1
a88 1
	/bin/rm -f p1 p2 p3 p5 ip1 ip2
d90 1
a90 1
	/bin/rm -f ipv6.1 ipv6.2 ipv6.3 ipv6.5 ipv6.6
a92 1
	(cd expected; make clean)
@


1.1.1.14
log
@Import IP Filter 4.1.10
@
text
@d14 1
a14 1
tests: ipf nat logtests ipv6 pools bpf
d24 1
a24 1
ftests: f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17 f18 f19
d27 1
a27 2
ptests: i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15 i16 i17 i18 i19 \
	i20 i21
d29 1
a29 1
ntests: n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14
d43 1
a43 1
f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f19:
d46 1
a46 1
f15 f16 f17 f18:
d49 1
a49 1
i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15 i16 i17 i18 i19 i20 i21 bpf1:
d52 1
a52 1
n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14:
d80 3
a82 3
	/bin/rm -f f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17 f18 f19
	/bin/rm -f i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15 i16 i17 i18 i19 i20 i21
	/bin/rm -f n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14
@


1.1.1.15
log
@Import IP Filter 4.1.13
@
text
@d24 1
a24 1
ftests: f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17 f18 f19 f20
d32 1
a32 2
nitests: ni1 ni2 ni3 ni4 ni5 ni6 ni7 ni8 ni9 ni10 ni11 ni12 ni13 ni14 ni15 \
	ni16 ni19 ni20 ni21
d47 1
a47 1
f15 f16 f17 f18 f20:
d56 1
a56 1
ni1 ni2 ni3 ni4 ni5 ni7 ni8 ni9 ni10 ni11 ni12 ni13 ni14 ni15 ni16 ni19 ni20:
d59 1
a59 1
ni6 ni21:
d81 1
a81 1
	/bin/rm -f f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17 f18 f19 f20
d85 1
a85 1
	/bin/rm -f ni10 ni11 ni12 ni13 ni14 ni15 ni16 ni19 ni20 ni21
@


1.1.1.16
log
@Import IPFilter 4.1.23 to vendor branch.
See src/contrib/ipfilter/HISTORY for details of changes since 4.1.13
@
text
@d33 1
a33 1
	ni16 ni19 ni20 ni21 ni23
d39 1
a39 1
pools: p1 p2 p3 p5 ip1 ip2
d41 1
a41 1
ipv6: ipv6.1 ipv6.2 ipv6.3 ipv6.5
d57 1
a57 1
ni2 ni3 ni4 ni5 ni7 ni8 ni9 ni10 ni11 ni12 ni13 ni14 ni15 ni16 ni19 ni20:
d60 1
a60 1
ni1 ni6 ni21 ni23:
d69 1
a69 1
ipv6.1 ipv6.2 ipv6.3 ipv6.5:
d72 1
a72 1
p1 p2 p3 p5:
d75 1
a75 1
ip1 ip2:
d86 1
a86 1
	/bin/rm -f ni10 ni11 ni12 ni13 ni14 ni15 ni16 ni19 ni20 ni21 ni23
d88 1
a88 1
	/bin/rm -f p1 p2 p3 p5 ip1 ip2
d90 1
a90 1
	/bin/rm -f ipv6.1 ipv6.2 ipv6.3 ipv6.5
@


1.1.1.16.2.1
log
@MFC the following:
Apply a few changes from ipfilter-current:
* Do not hold any locks over calls to copyin/copyout.
* Clean up some #ifdefs
* fix a possible mbuf leak when NAT fails on policy routed packets

PR:		117216
Approved by:	re
@
text
@d9 1
a9 4
all: expected.d results tests

expected.d:
	(cd expected; make)
d24 1
a24 1
ftests: f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17 f18 f19 f20 f24
d30 1
a30 1
ntests: n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n16
d41 1
a41 1
ipv6: ipv6.1 ipv6.2 ipv6.3 ipv6.5 ipv6.6
d48 1
a48 1
f15 f16 f17 f18 f20 f24:
d54 1
a54 1
n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n16:
d69 1
a69 1
ipv6.1 ipv6.2 ipv6.3 ipv6.5 ipv6.6:
d82 1
a82 1
	/bin/rm -f f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17 f18 f19 f20 f24
d84 1
a84 1
	/bin/rm -f n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n16
d90 1
a90 1
	/bin/rm -f ipv6.1 ipv6.2 ipv6.3 ipv6.5 ipv6.6
a92 1
	(cd expected; make clean)
@


1.1.1.17
log
@Import IPFilter 4.1.28
@
text
@d9 1
a9 4
all: expected.d results tests

expected.d:
	(cd expected; make)
d24 1
a24 1
ftests: f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17 f18 f19 f20 f24
d30 1
a30 1
ntests: n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n16
d41 1
a41 1
ipv6: ipv6.1 ipv6.2 ipv6.3 ipv6.5 ipv6.6
d48 1
a48 1
f15 f16 f17 f18 f20 f24:
d54 1
a54 1
n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n16:
d69 1
a69 1
ipv6.1 ipv6.2 ipv6.3 ipv6.5 ipv6.6:
d82 1
a82 1
	/bin/rm -f f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17 f18 f19 f20 f24
d84 1
a84 1
	/bin/rm -f n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n16
d90 1
a90 1
	/bin/rm -f ipv6.1 ipv6.2 ipv6.3 ipv6.5 ipv6.6
a92 1
	(cd expected; make clean)
@


1.1.1.17.18.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:01:21 +0000
@
text
@d1 99
@


1.1.1.17.18.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 99
#
# (C)opyright 1993-1996 by Darren Reed.
#
# See the IPFILTER.LICENCE file for details on licencing.
#
BINDEST=/usr/local/bin
SBINDEST=/sbin
MANDIR=/usr/share/man
all: expected.d results tests

expected.d:
	(cd expected; make)

results:
	mkdir -p results

tests: ipf nat logtests ipv6 pools bpf

ipf: ftests ptests

nat: ntests nitests intests

first:
	-mkdir -p results

# Filtering tests
ftests: f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17 f18 f19 f20 f24

# Rule parsing tests
ptests: i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15 i16 i17 i18 i19 \
	i20 i21

ntests: n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n16

nitests: ni1 ni2 ni3 ni4 ni5 ni6 ni7 ni8 ni9 ni10 ni11 ni12 ni13 ni14 ni15 \
	ni16 ni19 ni20 ni21 ni23

intests: in1 in2 in3 in4 in5 in6

logtests: l1

pools: p1 p2 p3 p5 ip1 ip2

ipv6: ipv6.1 ipv6.2 ipv6.3 ipv6.5 ipv6.6

bpf: bpf1 bpf-f1

f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f19:
	@@/bin/sh ./dotest `awk "/^$@@ / { print; } " test.format`

f15 f16 f17 f18 f20 f24:
	@@/bin/sh ./mtest `awk "/^$@@ / { print; } " test.format`

i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15 i16 i17 i18 i19 i20 i21 bpf1:
	@@/bin/sh ./itest `awk "/^$@@ / { print; } " test.format`

n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n16:
	@@/bin/sh ./nattest `awk "/^$@@ / { print; } " test.format`

ni2 ni3 ni4 ni5 ni7 ni8 ni9 ni10 ni11 ni12 ni13 ni14 ni15 ni16 ni19 ni20:
	@@/bin/sh ./natipftest single `awk "/^$@@ / { print; } " test.format`

ni1 ni6 ni21 ni23:
	@@/bin/sh ./natipftest multi `awk "/^$@@ / { print; } " test.format`

in1 in2 in3 in4 in5 in6:
	@@/bin/sh ./intest `awk "/^$@@ / { print; } " test.format`

l1:
	@@/bin/sh ./logtest `awk "/^$@@ / { print; } " test.format`

ipv6.1 ipv6.2 ipv6.3 ipv6.5 ipv6.6:
	@@/bin/sh ./dotest6 `awk "/^$@@ / { print; } " test.format`

p1 p2 p3 p5:
	@@/bin/sh ./ptest `awk "/^$@@ / { print; } " test.format`

ip1 ip2:
	@@/bin/sh ./iptest `awk "/^$@@ / { print; } " test.format`

bpf-f1:
	/bin/sh ./bpftest `awk "/^$@@ / { print; } " test.format`

clean:
	/bin/rm -f f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17 f18 f19 f20 f24
	/bin/rm -f i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15 i16 i17 i18 i19 i20 i21
	/bin/rm -f n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n16
	/bin/rm -f ni1 ni2 ni3 ni4 ni5 ni6 ni7 ni8 ni9
	/bin/rm -f ni10 ni11 ni12 ni13 ni14 ni15 ni16 ni19 ni20 ni21 ni23
	/bin/rm -f in1 in2 in3 in4 in5 in6
	/bin/rm -f p1 p2 p3 p5 ip1 ip2
	/bin/rm -f l1
	/bin/rm -f ipv6.1 ipv6.2 ipv6.3 ipv6.5 ipv6.6
	/bin/rm -f bpf1 bpf-f1
	/bin/rm -f results/* logout
	(cd expected; make clean)

diffs:
	-cd expected; for i in *; do if [ -f $$i -a ! -f ../$$i -a -f ../results/$$i ] ; then  diff -c $$i ../results/$$i >> ../diff.out; fi done
@


