diff options
author | darrenr <darrenr@FreeBSD.org> | 2001-07-28 11:59:33 +0000 |
---|---|---|
committer | darrenr <darrenr@FreeBSD.org> | 2001-07-28 11:59:33 +0000 |
commit | c51cd1facc817411a340278e6e0b901d53f11cc5 (patch) | |
tree | 503d2119100a8bd3735c0bda1607f3a64ed1ad33 /contrib/ipfilter/test | |
parent | c32397cc6efcbaabe335e3ec33e4a4dd78df29c7 (diff) | |
download | FreeBSD-src-c51cd1facc817411a340278e6e0b901d53f11cc5.zip FreeBSD-src-c51cd1facc817411a340278e6e0b901d53f11cc5.tar.gz |
Import IPFilter version 3.4.20
Diffstat (limited to 'contrib/ipfilter/test')
-rw-r--r-- | contrib/ipfilter/test/Makefile | 6 | ||||
-rw-r--r-- | contrib/ipfilter/test/expected/i7 | 4 | ||||
-rw-r--r-- | contrib/ipfilter/test/input/f13 | 4 |
3 files changed, 9 insertions, 5 deletions
diff --git a/contrib/ipfilter/test/Makefile b/contrib/ipfilter/test/Makefile index 0726cdd..385c1de 100644 --- a/contrib/ipfilter/test/Makefile +++ b/contrib/ipfilter/test/Makefile @@ -15,7 +15,7 @@ first: -mkdir -p results # Filtering tests -ftests: f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f14 +ftests: f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 # Rule parsing tests ptests: i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 @@ -28,7 +28,7 @@ ntests: n1 n2 n3 n4 n5 n6 n7 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f14: @/bin/sh ./dotest $@ -f12: +f12 f13: @/bin/sh ./hextest $@ i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11: @@ -38,6 +38,6 @@ n1 n2 n3 n4 n5 n6 n7: @/bin/sh ./nattest $@ clean: - /bin/rm -f f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f14 results/* + /bin/rm -f f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f13 f12 f14 results/* /bin/rm -f i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 /bin/rm -f n1 n2 n3 n4 n5 n6 n7 diff --git a/contrib/ipfilter/test/expected/i7 b/contrib/ipfilter/test/expected/i7 index d1b7978..db9cd01 100644 --- a/contrib/ipfilter/test/expected/i7 +++ b/contrib/ipfilter/test/expected/i7 @@ -1,4 +1,4 @@ pass in on ed0(!) proto tcp from 127.0.0.1/32 to 127.0.0.1/32 port = 23 flags S/SA -block in on lo0(!) proto tcp from any to any flags A/0xbf +block in on lo0(!) proto tcp from any to any flags A/FSRPAUC pass in on lo0(!) proto tcp from any to any flags /SPA -block in on lo0(!) proto tcp from any to any flags 0x80/A +block in on lo0(!) proto tcp from any to any flags C/A diff --git a/contrib/ipfilter/test/input/f13 b/contrib/ipfilter/test/input/f13 index 56ec16d..b90d6ba 100644 --- a/contrib/ipfilter/test/input/f13 +++ b/contrib/ipfilter/test/input/f13 @@ -33,6 +33,10 @@ 45 00 001c 0008 2000 3f 11 0000 01010101 02010101 0035003500040000 +# 1.1.1.1,1 -> 2.1.1.1,1 TTL=63 UDP MF FO=0 (short) +45 00 0018 0008 2000 3f 11 0000 01010101 02010101 +00350036 + # 1.1.1.1,53 -> 2.1.1.1,53 TTL=63 UDP FO=1 45 00 001c 0008 0001 3f 11 0000 01010101 02010101 0000000000000000 |