ipf regression tests are in regress/sys/kern/ipf
This commit is contained in:
parent
c4bcc0d1e6
commit
67c70b98e1
74
dist/ipf/test/Makefile
vendored
74
dist/ipf/test/Makefile
vendored
@ -1,74 +0,0 @@
|
||||
#
|
||||
# (C)opyright 1993-1996 by Darren Reed.
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
BINDEST=/usr/local/bin
|
||||
SBINDEST=/sbin
|
||||
MANDIR=/usr/share/man
|
||||
|
||||
tests: first 0 ftests ptests ntests nitests logtests ipv6 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
|
||||
|
||||
# Rule parsing tests
|
||||
ptests: i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11
|
||||
|
||||
ntests: n1 n2 n3 n4 n5 n6 n7
|
||||
|
||||
nitests: ni1 ni2 ni3 ni4 ni5
|
||||
|
||||
intests: in1 in2 in3 in4
|
||||
|
||||
logtests: l1
|
||||
|
||||
ipv6: ipv6.1 ipv6.2
|
||||
|
||||
0:
|
||||
@(cd ..; make ipftest; )
|
||||
|
||||
f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f14:
|
||||
@/bin/sh ./dotest $@
|
||||
|
||||
f12 f13:
|
||||
@/bin/sh ./hextest $@
|
||||
|
||||
f15 f16:
|
||||
@/bin/sh ./mtest $@
|
||||
|
||||
f17:
|
||||
@/bin/sh ./mhtest $@
|
||||
|
||||
i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11:
|
||||
@/bin/sh ./itest $@
|
||||
|
||||
n1 n2 n3 n4 n5 n6 n7:
|
||||
@/bin/sh ./nattest $@
|
||||
|
||||
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 $@
|
||||
|
||||
clean:
|
||||
/bin/rm -f f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f13 f12 f14 f15 f16 f17
|
||||
/bin/rm -f i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11
|
||||
/bin/rm -f n1 n2 n3 n4 n5 n6 n7
|
||||
/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/*
|
30
dist/ipf/test/dotest
vendored
30
dist/ipf/test/dotest
vendored
@ -1,30 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: dotest,v 1.2 1999/12/11 23:22:14 veego Exp $
|
||||
#
|
||||
if [ -f /usr/ucb/touch ] ; then
|
||||
TOUCH=/usr/ucb/touch
|
||||
else
|
||||
if [ -f /usr/bin/touch ] ; then
|
||||
TOUCH=/usr/bin/touch
|
||||
else
|
||||
if [ -f /bin/touch ] ; then
|
||||
TOUCH=/bin/touch
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
echo "$1...";
|
||||
/bin/cp /dev/null results/$1
|
||||
( while read rule; do
|
||||
echo "$rule" | ../ipftest -br - -i input/$1 >> results/$1;
|
||||
if [ $? -ne 0 ] ; then
|
||||
exit 1;
|
||||
fi
|
||||
echo "--------" >> results/$1
|
||||
done ) < regress/$1
|
||||
cmp expected/$1 results/$1
|
||||
status=$?
|
||||
if [ $status = 0 ] ; then
|
||||
$TOUCH $1
|
||||
fi
|
||||
exit $status
|
20
dist/ipf/test/expected/f1
vendored
20
dist/ipf/test/expected/f1
vendored
@ -1,20 +0,0 @@
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
--------
|
126
dist/ipf/test/expected/f10
vendored
126
dist/ipf/test/expected/f10
vendored
@ -1,126 +0,0 @@
|
||||
nomatch
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
--------
|
||||
block
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
--------
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
--------
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
--------
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
--------
|
||||
block
|
||||
block
|
||||
block
|
||||
block
|
||||
block
|
||||
block
|
||||
--------
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
--------
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
block
|
||||
--------
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
pass
|
||||
--------
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
block
|
||||
block
|
||||
block
|
||||
--------
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
--------
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
block
|
||||
nomatch
|
||||
block
|
||||
--------
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
pass
|
||||
--------
|
||||
block
|
||||
block
|
||||
block
|
||||
block
|
||||
block
|
||||
block
|
||||
--------
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
--------
|
||||
block
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
--------
|
119
dist/ipf/test/expected/f11
vendored
119
dist/ipf/test/expected/f11
vendored
@ -1,119 +0,0 @@
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
block
|
||||
nomatch
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
60
dist/ipf/test/expected/f12
vendored
60
dist/ipf/test/expected/f12
vendored
@ -1,60 +0,0 @@
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
pass
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
--------
|
72
dist/ipf/test/expected/f13
vendored
72
dist/ipf/test/expected/f13
vendored
@ -1,72 +0,0 @@
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
pass
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
block
|
||||
--------
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
48
dist/ipf/test/expected/f14
vendored
48
dist/ipf/test/expected/f14
vendored
@ -1,48 +0,0 @@
|
||||
block
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
block
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
--------
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
block
|
||||
block
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
9
dist/ipf/test/expected/f15
vendored
9
dist/ipf/test/expected/f15
vendored
@ -1,9 +0,0 @@
|
||||
block return-rst
|
||||
pass
|
||||
block return-icmp
|
||||
pass
|
||||
block
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
--------
|
9
dist/ipf/test/expected/f16
vendored
9
dist/ipf/test/expected/f16
vendored
@ -1,9 +0,0 @@
|
||||
block
|
||||
block
|
||||
pass
|
||||
block
|
||||
pass
|
||||
pass
|
||||
block
|
||||
block
|
||||
--------
|
10
dist/ipf/test/expected/f17
vendored
10
dist/ipf/test/expected/f17
vendored
@ -1,10 +0,0 @@
|
||||
pass
|
||||
block return-rst
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
--------
|
42
dist/ipf/test/expected/f2
vendored
42
dist/ipf/test/expected/f2
vendored
@ -1,42 +0,0 @@
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
--------
|
48
dist/ipf/test/expected/f3
vendored
48
dist/ipf/test/expected/f3
vendored
@ -1,48 +0,0 @@
|
||||
nomatch
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
--------
|
||||
block
|
||||
block
|
||||
block
|
||||
block
|
||||
block
|
||||
--------
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
--------
|
48
dist/ipf/test/expected/f4
vendored
48
dist/ipf/test/expected/f4
vendored
@ -1,48 +0,0 @@
|
||||
nomatch
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
--------
|
||||
block
|
||||
block
|
||||
block
|
||||
block
|
||||
block
|
||||
--------
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
--------
|
1392
dist/ipf/test/expected/f5
vendored
1392
dist/ipf/test/expected/f5
vendored
File diff suppressed because it is too large
Load Diff
1392
dist/ipf/test/expected/f6
vendored
1392
dist/ipf/test/expected/f6
vendored
File diff suppressed because it is too large
Load Diff
60
dist/ipf/test/expected/f7
vendored
60
dist/ipf/test/expected/f7
vendored
@ -1,60 +0,0 @@
|
||||
block
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
block
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
--------
|
42
dist/ipf/test/expected/f8
vendored
42
dist/ipf/test/expected/f8
vendored
@ -1,42 +0,0 @@
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
block
|
||||
nomatch
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
126
dist/ipf/test/expected/f9
vendored
126
dist/ipf/test/expected/f9
vendored
@ -1,126 +0,0 @@
|
||||
block
|
||||
block
|
||||
block
|
||||
block
|
||||
block
|
||||
block
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
--------
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
--------
|
13
dist/ipf/test/expected/i1
vendored
13
dist/ipf/test/expected/i1
vendored
@ -1,13 +0,0 @@
|
||||
pass in from any to any
|
||||
block out from any to any
|
||||
log in from any to any
|
||||
log body in from any to any
|
||||
count in from any to any
|
||||
pass in from !any to any
|
||||
block in from any to !any
|
||||
pass in on ed0(!) from 127.0.0.1/32 to 127.0.0.1/32
|
||||
block in log first on lo0(!) from any to any
|
||||
pass in log body quick from any to any
|
||||
block return-rst in quick on le0(!) proto tcp from any to any
|
||||
block return-icmp in on qe0(!) from any to any
|
||||
block return-icmp(host-unr) in on qe0(!) from any to any
|
4
dist/ipf/test/expected/i10
vendored
4
dist/ipf/test/expected/i10
vendored
@ -1,4 +0,0 @@
|
||||
pass in from 127.0.0.1/32 to 127.0.0.1/32 with opt sec
|
||||
block in from any to any with not opt sec-class topsecret
|
||||
block in from any to any with not opt sec-class topsecret,secret
|
||||
pass in from any to any with opt sec-class topsecret,confid not opt sec-class unclass
|
4
dist/ipf/test/expected/i11
vendored
4
dist/ipf/test/expected/i11
vendored
@ -1,4 +0,0 @@
|
||||
pass in on ed0(!) proto tcp from 127.0.0.1/32 to 127.0.0.1/32 port = 23 keep state
|
||||
block in log first on lo0(!) proto tcp/udp from any to any keep state
|
||||
pass in proto udp from 127.0.0.1/32 to 127.0.0.1/32 port = 2049 keep frags
|
||||
pass in proto udp from 127.0.0.1/32 to 127.0.0.1/32 port = 53 keep state keep frags
|
6
dist/ipf/test/expected/i2
vendored
6
dist/ipf/test/expected/i2
vendored
@ -1,6 +0,0 @@
|
||||
log in proto tcp from any to any
|
||||
pass in proto tcp from any to any
|
||||
pass in proto udp from 127.0.0.1/32 to 127.0.0.1/32
|
||||
block in proto udp from any to any
|
||||
block in proto 250 from any to any
|
||||
pass in proto tcp/udp from any to any
|
10
dist/ipf/test/expected/i3
vendored
10
dist/ipf/test/expected/i3
vendored
@ -1,10 +0,0 @@
|
||||
log in from any to any
|
||||
pass in from 128.0.0.0/24 to 128.0.0.0/16
|
||||
pass in from 128.0.0.0/24 to 128.0.0.0/16
|
||||
pass in from 128.0.0.0/24 to 128.0.0.0/16
|
||||
pass in from 128.0.0.0/24 to 128.0.0.0/16
|
||||
pass in from 128.0.0.0/24 to 128.0.0.0/16
|
||||
pass in from 127.0.0.1/32 to 127.0.0.1/32
|
||||
block in log from any to any
|
||||
block in log level auth.info on hme0(!) from any to any
|
||||
log level local5.warn out from any to any
|
7
dist/ipf/test/expected/i4
vendored
7
dist/ipf/test/expected/i4
vendored
@ -1,7 +0,0 @@
|
||||
log in proto tcp from any port > 0 to any
|
||||
log in proto tcp from any to any port > 0
|
||||
pass in proto tcp from any port != 0 to any port 0 >< 65535
|
||||
pass in proto udp from 127.0.0.1/32 port > 32000 to 127.0.0.1/32 port < 29000
|
||||
block in proto udp from any port != 123 to any port < 123
|
||||
block in proto tcp from any port = 25 to any port > 25
|
||||
pass in proto tcp/udp from any port 1 >< 3 to any port 1 <> 3
|
5
dist/ipf/test/expected/i5
vendored
5
dist/ipf/test/expected/i5
vendored
@ -1,5 +0,0 @@
|
||||
log in from any to any
|
||||
count in tos 0x80 from any to any
|
||||
pass in on ed0(!) tos 0x40 from 127.0.0.1/32 to 127.0.0.1/32
|
||||
block in log on lo0(!) ttl 0 from any to any
|
||||
pass in quick ttl 1 from any to any
|
4
dist/ipf/test/expected/i6
vendored
4
dist/ipf/test/expected/i6
vendored
@ -1,4 +0,0 @@
|
||||
pass in on lo0(!) fastroute from any to any
|
||||
pass in on lo0(!) dup-to qe0(!) from 127.0.0.1/32 to 127.0.0.1/32
|
||||
pass in on qe0(!) dup-to qe0(!):127.0.0.1 from 127.0.0.1/32 to 127.0.0.1/32
|
||||
block in quick on qe0(!) to qe1(!) from any to any
|
4
dist/ipf/test/expected/i7
vendored
4
dist/ipf/test/expected/i7
vendored
@ -1,4 +0,0 @@
|
||||
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/FSRPAUC
|
||||
pass in on lo0(!) proto tcp from any to any flags /SPA
|
||||
block in on lo0(!) proto tcp from any to any flags C/A
|
2
dist/ipf/test/expected/i8
vendored
2
dist/ipf/test/expected/i8
vendored
@ -1,2 +0,0 @@
|
||||
pass in proto icmp from 127.0.0.1/32 to 127.0.0.1/32 icmp-type timest
|
||||
block in proto icmp from any to any icmp-type unreach code 1
|
5
dist/ipf/test/expected/i9
vendored
5
dist/ipf/test/expected/i9
vendored
@ -1,5 +0,0 @@
|
||||
pass in from 127.0.0.1/32 to 127.0.0.1/32 with short
|
||||
block in from any to any with ipopt
|
||||
pass in from any to any with opt nop,rr,zsu
|
||||
pass in from any to any with opt nop,rr,zsu not opt lsrr,ssrr
|
||||
pass in from 127.0.0.1/32 to 127.0.0.1/32 with not frag
|
24
dist/ipf/test/expected/in1
vendored
24
dist/ipf/test/expected/in1
vendored
@ -1,24 +0,0 @@
|
||||
map le0 0.0.0.0/0 -> 0.0.0.0/32
|
||||
map le0 0.0.0.1/32 -> 0.0.0.1/32
|
||||
map le0 128.0.0.0/1 -> 0.0.0.0/0
|
||||
map le0 10.0.0.0/8 -> 1.2.3.0/24
|
||||
map le0 10.0.0.0/8 -> 1.2.3.0/24
|
||||
map le0 192.168.0.0/16 -> range 203.1.1.23-203.1.3.45
|
||||
map ppp0 192.168.0.0/16 -> 0.0.0.0/32 portmap tcp 10000:19999
|
||||
map ppp0 192.168.0.0/16 -> 0.0.0.0/32 portmap udp 20000:29999
|
||||
map ppp0 192.168.0.0/16 -> 0.0.0.0/32 portmap tcp/udp 30000:39999
|
||||
map ppp0 192.168.0.0/16 -> 0.0.0.0/32 portmap auto
|
||||
map ppp0 192.168.0.0/16 -> 0.0.0.0/32 portmap auto
|
||||
map ppp0 192.168.0.0/16 -> 0.0.0.0/32 portmap auto
|
||||
map ppp0 192.168.0.0/16 -> 0.0.0.0/32 proxy port ftp ftp/tcp
|
||||
map ppp0 192.168.0.0/16 -> 0.0.0.0/32 proxy port 1010 ftp/tcp
|
||||
map le0 0.0.0.0/0 -> 0.0.0.0/32 frag
|
||||
map le0 192.168.0.0/16 -> range 203.1.1.23-203.1.3.45 frag
|
||||
map ppp0 192.168.0.0/16 -> 0.0.0.0/32 portmap tcp 10000:19999 frag
|
||||
map ppp0 192.168.0.0/16 -> 0.0.0.0/32 proxy port ftp ftp/tcp frag
|
||||
map le0 0.0.0.0/0 -> 0.0.0.0/32 age 10/10
|
||||
map le0 192.168.0.0/16 -> range 203.1.1.23-203.1.3.45 age 10/20
|
||||
map ppp0 192.168.0.0/16 -> 0.0.0.0/32 portmap tcp 10000:19999 age 30/30
|
||||
map le0 0.0.0.0/0 -> 0.0.0.0/32 frag age 10/10
|
||||
map le0 192.168.0.0/16 -> range 203.1.1.23-203.1.3.45 frag age 10/20
|
||||
map ppp0 192.168.0.0/16 -> 0.0.0.0/32 portmap tcp 10000:19999 frag age 30/30
|
22
dist/ipf/test/expected/in2
vendored
22
dist/ipf/test/expected/in2
vendored
@ -1,22 +0,0 @@
|
||||
rdr le0 0.0.0.0/0 port 0 -> 1.1.1.1 port 0 tcp
|
||||
rdr le0 0.0.0.0/0 port 0 -> 1.1.1.1 port 0 ip
|
||||
rdr le0 0.0.0.0/0 port 80 -> 1.1.1.1 port 80 tcp
|
||||
rdr le0 0.0.0.0/0 port 0 -> 1.1.1.1 port 0 ip
|
||||
rdr le0 0.0.0.0/0 port 80 -> 1.1.1.1 port 80 tcp
|
||||
rdr le0 0.0.0.0/0 port 80 -> 1.1.1.1 port 80 udp
|
||||
rdr le0 0.0.0.0/0 port 80 -> 1.1.1.1 port 80 tcp/udp
|
||||
rdr le0 0.0.0.0/0 port 0 -> 1.1.1.1 port 0 icmp
|
||||
rdr le0 0.0.0.0/0 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp
|
||||
rdr le0 0.0.0.0/0 port 80 -> 1.1.1.1 port 80 tcp round-robin
|
||||
rdr le0 0.0.0.0/0 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp round-robin
|
||||
rdr le0 0.0.0.0/0 port 0 -> 1.1.1.1 port 0 ip frag
|
||||
rdr le0 0.0.0.0/0 port 0 -> 1.1.1.1 port 0 icmp frag
|
||||
rdr le0 0.0.0.0/0 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp frag
|
||||
rdr le0 0.0.0.0/0 port 80 -> 1.1.1.1 port 80 tcp round-robin frag
|
||||
rdr le0 0.0.0.0/0 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp round-robin frag
|
||||
rdr le0 0.0.0.0/0 port 0 -> 1.1.1.1 port 0 ip frag age 10/10
|
||||
rdr le0 0.0.0.0/0 port 0 -> 1.1.1.1 port 0 ip frag age 10/20
|
||||
rdr le0 0.0.0.0/0 port 0 -> 1.1.1.1 port 0 icmp frag age 10/10
|
||||
rdr le0 0.0.0.0/0 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp frag age 20/20
|
||||
rdr le0 0.0.0.0/0 port 80 -> 1.1.1.1 port 80 tcp round-robin frag age 30/30
|
||||
rdr le0 0.0.0.0/0 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp round-robin frag age 40/40
|
5
dist/ipf/test/expected/in3
vendored
5
dist/ipf/test/expected/in3
vendored
@ -1,5 +0,0 @@
|
||||
bimap le0 0.0.0.0/0 -> 0.0.0.0/32
|
||||
bimap le0 0.0.0.1/32 -> 0.0.0.1/32
|
||||
bimap le0 128.0.0.0/1 -> 0.0.0.0/0
|
||||
bimap le0 10.0.0.0/8 -> 1.2.3.0/24
|
||||
bimap le0 10.0.5.0/24 -> 1.2.3.0/24
|
5
dist/ipf/test/expected/in4
vendored
5
dist/ipf/test/expected/in4
vendored
@ -1,5 +0,0 @@
|
||||
map-block le0 10.0.0.0/24 -> 203.1.1.0/24 ports 0
|
||||
map-block le0 10.0.0.0/24 -> 203.1.1.0/24 ports 0
|
||||
map-block le0 10.0.0.0/24 -> 203.1.1.0/24 ports 256
|
||||
map-block le0 10.0.0.0/24 -> 203.1.1.0/24 ports auto
|
||||
map-block le0 10.0.0.0/16 -> 203.1.1.0/24 ports auto
|
5
dist/ipf/test/expected/ipv6.1
vendored
5
dist/ipf/test/expected/ipv6.1
vendored
@ -1,5 +0,0 @@
|
||||
.\" $NetBSD: ipv6.1,v 1.1.1.1 2002/05/02 16:58:52 martti Exp $
|
||||
.\"
|
||||
pass
|
||||
pass
|
||||
--------
|
17
dist/ipf/test/expected/ipv6.2
vendored
17
dist/ipf/test/expected/ipv6.2
vendored
@ -1,17 +0,0 @@
|
||||
.\" $NetBSD: ipv6.2,v 1.1.1.1 2002/05/02 16:58:52 martti Exp $
|
||||
.\"
|
||||
nomatch
|
||||
block
|
||||
nomatch
|
||||
block
|
||||
--------
|
||||
block
|
||||
nomatch
|
||||
block
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
--------
|
49
dist/ipf/test/expected/l1
vendored
49
dist/ipf/test/expected/l1
vendored
@ -1,49 +0,0 @@
|
||||
log in all
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -S IN
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -A IN
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,25 -> 1.1.1.1,1025 PR tcp len 20 40 -AS IN
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -F IN
|
||||
01/01/1970 00:00:00.000000 2x anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -A IN
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1 -> 4.4.4.4,53 PR udp len 20 40 IN
|
||||
01/01/1970 00:00:00.000000 2x anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2 -> 4.4.4.4 PR ip len 20 (20) IN
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 3.3.3.3,1023 -> 1.1.1.1,2049 PR udp len 20 28 IN
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,2049 -> 3.3.3.3,1023 PR udp len 20 28 IN
|
||||
--------
|
||||
pass in on anon0 all head 100
|
||||
--------
|
||||
pass in log quick from 3.3.3.3 to any group 100
|
||||
--------
|
||||
pass in log body quick from 2.2.2.2 to any
|
||||
01/01/1970 00:00:00.000000 anon0 @0:1 p 2.2.2.2,25 -> 1.1.1.1,1025 PR tcp len 20 40 -AS IN
|
||||
01/01/1970 00:00:00.000000 2x anon0 @0:1 p 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
|
||||
01/01/1970 00:00:00.000000 anon0 @0:1 p 2.2.2.2 -> 4.4.4.4 PR ip len 20 (20) IN
|
||||
--------
|
||||
pass in log quick proto tcp from 1.1.1.1 to any flags S keep state
|
||||
01/01/1970 00:00:00.000000 anon0 @0:1 p 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -S K-S IN
|
||||
01/01/1970 00:00:00.000000 anon0 @0:1 p 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -A K-S IN
|
||||
01/01/1970 00:00:00.000000 anon0 @0:1 p 2.2.2.2,25 -> 1.1.1.1,1025 PR tcp len 20 40 -AS K-S IN
|
||||
01/01/1970 00:00:00.000000 e1 @0:1 p 2.2.2.2,25 -> 1.1.1.1,1025 PR tcp len 20 40 -A K-S OUT
|
||||
01/01/1970 00:00:00.000000 anon0 @0:1 p 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -F K-S IN
|
||||
--------
|
||||
pass in log first quick proto tcp from 1.1.1.1 to any flags S keep state
|
||||
01/01/1970 00:00:00.000000 anon0 @0:1 p 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -S K-S IN
|
||||
--------
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -S IN
|
||||
01/01/1970 00:00:00.000000 anon0 @0:4 p 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -S K-S IN
|
||||
01/01/1970 00:00:00.000000 anon0 @0:4 p 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -A K-S IN
|
||||
01/01/1970 00:00:00.000000 anon0 @0:4 p 2.2.2.2,25 -> 1.1.1.1,1025 PR tcp len 20 40 -AS K-S IN
|
||||
01/01/1970 00:00:00.000000 e1 @0:4 p 2.2.2.2,25 -> 1.1.1.1,1025 PR tcp len 20 40 -A K-S OUT
|
||||
01/01/1970 00:00:00.000000 anon0 @0:4 p 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -F K-S IN
|
||||
01/01/1970 00:00:00.000000 2x anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -A IN
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1 -> 4.4.4.4,53 PR udp len 20 40 IN
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
|
||||
01/01/1970 00:00:00.000000 anon0 @0:3 p 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 56 IN
|
||||
01/01/1970 00:00:00.000000 anon0 @0:3 p 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 56 IN
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2 -> 4.4.4.4 PR ip len 20 (20) IN
|
||||
01/01/1970 00:00:00.000000 anon0 @0:3 p 2.2.2.2 -> 4.4.4.4 PR ip len 20 (20) IN
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 3.3.3.3,1023 -> 1.1.1.1,2049 PR udp len 20 28 IN
|
||||
01/01/1970 00:00:00.000000 anon0 @100:1 p 3.3.3.3,1023 -> 1.1.1.1,2049 PR udp len 20 28 IN
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,2049 -> 3.3.3.3,1023 PR udp len 20 28 IN
|
||||
--------
|
47
dist/ipf/test/expected/l1.b
vendored
47
dist/ipf/test/expected/l1.b
vendored
@ -1,47 +0,0 @@
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -S IN
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -A IN
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,25 -> 1.1.1.1,1025 PR tcp len 20 40 -AS IN
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -F IN
|
||||
01/01/1970 00:00:00.000000 2x anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -A IN
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1 -> 4.4.4.4,53 PR udp len 20 40 IN
|
||||
01/01/1970 00:00:00.000000 2x anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2 -> 4.4.4.4 PR ip len 20 (20) IN
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 3.3.3.3,1023 -> 1.1.1.1,2049 PR udp len 20 28 IN
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,2049 -> 3.3.3.3,1023 PR udp len 20 28 IN
|
||||
--------
|
||||
--------
|
||||
--------
|
||||
01/01/1970 00:00:00.000000 anon0 @0:1 p 2.2.2.2,25 -> 1.1.1.1,1025 PR tcp len 20 40 -AS IN
|
||||
01/01/1970 00:00:00.000000 2x anon0 @0:1 p 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
|
||||
01 02 03 04 05 06 07 08 09 0a 0b 0d ............
|
||||
01/01/1970 00:00:00.000000 anon0 @0:1 p 2.2.2.2 -> 4.4.4.4 PR ip len 20 (20) IN
|
||||
--------
|
||||
01/01/1970 00:00:00.000000 anon0 @0:1 p 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -S K-S IN
|
||||
01/01/1970 00:00:00.000000 anon0 @0:1 p 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -A K-S IN
|
||||
01/01/1970 00:00:00.000000 anon0 @0:1 p 2.2.2.2,25 -> 1.1.1.1,1025 PR tcp len 20 40 -AS K-S IN
|
||||
01/01/1970 00:00:00.000000 e1 @0:1 p 2.2.2.2,25 -> 1.1.1.1,1025 PR tcp len 20 40 -A K-S OUT
|
||||
01/01/1970 00:00:00.000000 anon0 @0:1 p 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -F K-S IN
|
||||
--------
|
||||
01/01/1970 00:00:00.000000 anon0 @0:1 p 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -S K-S IN
|
||||
--------
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -S IN
|
||||
01/01/1970 00:00:00.000000 anon0 @0:4 p 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -S K-S IN
|
||||
01/01/1970 00:00:00.000000 anon0 @0:4 p 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -A K-S IN
|
||||
01/01/1970 00:00:00.000000 anon0 @0:4 p 2.2.2.2,25 -> 1.1.1.1,1025 PR tcp len 20 40 -AS K-S IN
|
||||
01/01/1970 00:00:00.000000 e1 @0:4 p 2.2.2.2,25 -> 1.1.1.1,1025 PR tcp len 20 40 -A K-S OUT
|
||||
01/01/1970 00:00:00.000000 anon0 @0:4 p 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -F K-S IN
|
||||
01/01/1970 00:00:00.000000 2x anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -A IN
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1 -> 4.4.4.4,53 PR udp len 20 40 IN
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
|
||||
01/01/1970 00:00:00.000000 anon0 @0:3 p 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
|
||||
01 02 03 04 05 06 07 08 09 0a 0b 0d ............
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 56 IN
|
||||
01/01/1970 00:00:00.000000 anon0 @0:3 p 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 56 IN
|
||||
01 02 03 04 05 06 07 08 09 0a 0b 0d 0e 0f 40 61 ..............@a
|
||||
42 63 44 65 46 67 48 69 4a 6b 4c 6d BcDeFgHiJkLm
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2 -> 4.4.4.4 PR ip len 20 (20) IN
|
||||
01/01/1970 00:00:00.000000 anon0 @0:3 p 2.2.2.2 -> 4.4.4.4 PR ip len 20 (20) IN
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 3.3.3.3,1023 -> 1.1.1.1,2049 PR udp len 20 28 IN
|
||||
01/01/1970 00:00:00.000000 anon0 @100:1 p 3.3.3.3,1023 -> 1.1.1.1,2049 PR udp len 20 28 IN
|
||||
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,2049 -> 3.3.3.3,1023 PR udp len 20 28 IN
|
||||
--------
|
96
dist/ipf/test/expected/n1
vendored
96
dist/ipf/test/expected/n1
vendored
@ -1,96 +0,0 @@
|
||||
ip 20(20) 255 10.1.1.0 > 10.1.1.2
|
||||
ip 20(20) 255 10.2.2.2 > 10.1.1.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
ip 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025
|
||||
ip 20(20) 255 10.2.2.1 > 10.1.2.1
|
||||
ip 20(20) 255 10.2.2.2 > 10.1.2.1
|
||||
ip 20(20) 255 10.1.1.1 > 10.1.1.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
ip 20(20) 255 10.2.2.1 > 10.2.1.1
|
||||
ip 20(20) 255 10.2.2.2 > 10.2.1.1
|
||||
ip 20(20) 255 10.2.2.3 > 10.1.1.1
|
||||
ip 20(20) 255 10.2.3.4 > 10.2.2.2
|
||||
ip 20(20) 255 10.1.1.1 > 10.2.2.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
ip 20(20) 255 10.1.1.0 > 10.3.4.5
|
||||
ip 20(20) 255 10.1.1.1 > 10.3.4.5
|
||||
ip 20(20) 255 10.1.1.2 > 10.3.4.5
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.3.4.5,1025
|
||||
ip 48(20) 1 10.2.2.2 > 10.4.3.2
|
||||
ip 48(20) 1 10.4.3.2 > 10.1.1.1
|
||||
ip 48(20) 1 10.4.3.2 > 10.3.4.3
|
||||
ip 48(20) 1 10.4.3.2 > 10.3.4.5
|
||||
ip 20(20) 34 10.1.1.2 > 10.4.3.2
|
||||
ip 20(20) 34 10.4.3.2 > 10.3.4.4
|
||||
ip 20(20) 34 10.1.1.2 > 10.4.3.4
|
||||
ip 20(20) 34 10.4.3.4 > 10.3.4.5
|
||||
ip 20(20) 34 10.1.1.3 > 10.4.3.4
|
||||
ip 20(20) 34 10.4.3.4 > 10.3.4.6
|
||||
ip 20(20) 35 10.1.1.3 > 10.4.3.4
|
||||
ip 20(20) 35 10.4.3.4 > 10.3.4.7
|
||||
-------------------------------
|
||||
ip 20(20) 255 10.3.4.5 > 10.1.1.2
|
||||
ip 20(20) 255 10.1.1.1 > 10.1.1.2
|
||||
ip 20(20) 255 10.3.4.5 > 10.1.1.1
|
||||
ip 40(20) 6 10.3.4.5,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.3.4.5,1026 > 10.1.1.1,1025
|
||||
ip 20(20) 255 10.2.2.1 > 10.1.2.1
|
||||
ip 20(20) 255 10.2.2.2 > 10.1.2.1
|
||||
ip 20(20) 255 10.1.1.1 > 10.1.1.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
ip 20(20) 255 10.2.2.1 > 10.2.1.1
|
||||
ip 20(20) 255 10.2.2.2 > 10.2.1.1
|
||||
ip 20(20) 255 10.2.2.3 > 10.1.1.1
|
||||
ip 20(20) 255 10.2.3.4 > 10.2.2.2
|
||||
ip 20(20) 255 10.1.1.1 > 10.2.2.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.2.2.2
|
||||
ip 20(20) 255 10.1.1.0 > 10.3.4.5
|
||||
ip 20(20) 255 10.1.1.1 > 10.1.1.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.1.1.0
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
|
||||
ip 48(20) 1 10.3.4.5 > 10.4.3.2
|
||||
ip 48(20) 1 10.4.3.2 > 10.2.2.2
|
||||
ip 48(20) 1 10.4.3.2 > 10.3.4.3
|
||||
ip 48(20) 1 10.4.3.2 > 10.1.1.1
|
||||
ip 20(20) 34 10.3.4.5 > 10.4.3.2
|
||||
ip 20(20) 34 10.4.3.2 > 10.3.4.4
|
||||
ip 20(20) 34 10.3.4.5 > 10.4.3.4
|
||||
ip 20(20) 34 10.4.3.4 > 10.1.1.2
|
||||
ip 20(20) 34 10.1.1.3 > 10.4.3.4
|
||||
ip 20(20) 34 10.4.3.4 > 10.3.4.6
|
||||
ip 20(20) 35 10.3.4.5 > 10.4.3.4
|
||||
ip 20(20) 35 10.4.3.4 > 10.3.4.7
|
||||
-------------------------------
|
||||
ip 20(20) 255 10.3.4.1 > 10.1.1.2
|
||||
ip 20(20) 255 10.3.4.2 > 10.1.1.2
|
||||
ip 20(20) 255 10.3.4.3 > 10.1.1.1
|
||||
ip 40(20) 6 10.3.4.3,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.3.4.3,1026 > 10.1.1.1,1025
|
||||
ip 20(20) 255 10.2.2.1 > 10.1.2.1
|
||||
ip 20(20) 255 10.2.2.2 > 10.1.2.1
|
||||
ip 20(20) 255 10.1.1.1 > 10.1.1.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
ip 20(20) 255 10.2.2.1 > 10.2.1.1
|
||||
ip 20(20) 255 10.2.2.2 > 10.2.1.1
|
||||
ip 20(20) 255 10.2.2.3 > 10.1.1.1
|
||||
ip 20(20) 255 10.2.3.4 > 10.2.2.2
|
||||
ip 20(20) 255 10.1.1.1 > 10.2.2.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.2.2.2
|
||||
ip 20(20) 255 10.1.1.0 > 10.3.4.5
|
||||
ip 20(20) 255 10.1.1.1 > 10.3.4.5
|
||||
ip 20(20) 255 10.1.1.2 > 10.3.4.5
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.3.4.5,1025
|
||||
ip 48(20) 1 10.3.4.2 > 10.4.3.2
|
||||
ip 48(20) 1 10.4.3.2 > 10.2.2.2
|
||||
ip 48(20) 1 10.4.3.2 > 10.3.4.3
|
||||
ip 48(20) 1 10.4.3.2 > 10.3.4.5
|
||||
ip 20(20) 34 10.3.4.3 > 10.4.3.2
|
||||
ip 20(20) 34 10.4.3.2 > 10.3.4.4
|
||||
ip 20(20) 34 10.3.4.3 > 10.4.3.4
|
||||
ip 20(20) 34 10.4.3.4 > 10.3.4.5
|
||||
ip 20(20) 34 10.3.4.4 > 10.4.3.4
|
||||
ip 20(20) 34 10.4.3.4 > 10.3.4.6
|
||||
ip 20(20) 35 10.3.4.4 > 10.4.3.4
|
||||
ip 20(20) 35 10.4.3.4 > 10.3.4.7
|
||||
-------------------------------
|
80
dist/ipf/test/expected/n2
vendored
80
dist/ipf/test/expected/n2
vendored
@ -1,80 +0,0 @@
|
||||
ip 40(20) 6 10.2.2.2,10000 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.2.2.2,10001 > 10.1.1.2,1025
|
||||
ip 20(20) 0 10.1.1.0 > 10.1.1.2
|
||||
ip 20(20) 0 10.1.1.1 > 10.1.2.1
|
||||
ip 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025
|
||||
ip 28(20) 17 10.1.1.2,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.1.1.3,2000 > 10.1.2.1,80
|
||||
ip 40(20) 6 10.1.1.3,2001 > 10.1.3.1,80
|
||||
ip 40(20) 6 10.1.1.3,2002 > 10.1.4.1,80
|
||||
ip 40(20) 6 10.1.1.3,2003 > 10.1.4.1,80
|
||||
ip 20(20) 0 10.1.1.1 > 10.1.1.2
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
|
||||
ip 20(20) 0 10.1.1.2 > 10.1.1.1
|
||||
ip 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
|
||||
ip 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
|
||||
ip 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
|
||||
-------------------------------
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
|
||||
ip 20(20) 0 10.1.1.0 > 10.1.1.2
|
||||
ip 20(20) 0 10.1.1.1 > 10.1.2.1
|
||||
ip 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025
|
||||
ip 28(20) 17 10.3.4.5,10000 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.1.1.3,2000 > 10.1.2.1,80
|
||||
ip 40(20) 6 10.1.1.3,2001 > 10.1.3.1,80
|
||||
ip 40(20) 6 10.1.1.3,2002 > 10.1.4.1,80
|
||||
ip 40(20) 6 10.1.1.3,2003 > 10.1.4.1,80
|
||||
ip 20(20) 0 10.1.1.1 > 10.1.1.2
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
|
||||
ip 20(20) 0 10.1.1.2 > 10.1.1.1
|
||||
ip 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
|
||||
ip 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
|
||||
ip 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
|
||||
-------------------------------
|
||||
ip 40(20) 6 10.3.4.1,10000 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.3.4.1,10001 > 10.1.1.2,1025
|
||||
ip 20(20) 0 10.1.1.0 > 10.1.1.2
|
||||
ip 20(20) 0 10.1.1.1 > 10.1.2.1
|
||||
ip 40(20) 6 10.3.4.1,10002 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.3.4.1,10002 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.3.4.1,10003 > 10.1.1.1,1025
|
||||
ip 28(20) 17 10.3.4.1,10004 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.3.4.1,10005 > 10.1.2.1,80
|
||||
ip 40(20) 6 10.3.4.1,10006 > 10.1.3.1,80
|
||||
ip 40(20) 6 10.3.4.1,10007 > 10.1.4.1,80
|
||||
ip 40(20) 6 10.3.4.1,10008 > 10.1.4.1,80
|
||||
ip 20(20) 0 10.1.1.1 > 10.1.1.2
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
|
||||
ip 20(20) 0 10.1.1.2 > 10.1.1.1
|
||||
ip 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
|
||||
ip 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
|
||||
ip 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
|
||||
-------------------------------
|
||||
ip 40(20) 6 10.3.4.5,40000 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.3.4.5,40001 > 10.1.1.2,1025
|
||||
ip 20(20) 0 10.1.1.0 > 10.1.1.2
|
||||
ip 20(20) 0 10.1.1.1 > 10.1.2.1
|
||||
ip 40(20) 6 10.3.4.5,40001 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.3.4.5,40001 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025
|
||||
ip 28(20) 17 10.3.4.5,40000 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.3.4.5,40001 > 10.1.2.1,80
|
||||
ip 40(20) 6 10.3.4.5,40000 > 10.1.3.1,80
|
||||
ip 40(20) 6 10.3.4.5,40001 > 10.1.4.1,80
|
||||
ip 40(20) 6 10.3.4.5,40000 > 10.1.4.1,80
|
||||
ip 20(20) 0 10.1.1.1 > 10.1.1.2
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
|
||||
ip 20(20) 0 10.1.1.2 > 10.1.1.1
|
||||
ip 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.1.1.1,1025
|
||||
ip 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
|
||||
ip 40(20) 6 10.1.2.1,80 > 10.1.1.3,2000
|
||||
-------------------------------
|
12
dist/ipf/test/expected/n3
vendored
12
dist/ipf/test/expected/n3
vendored
@ -1,12 +0,0 @@
|
||||
ip 40(20) 6 192.168.2.1,1488 > 203.1.1.1,80
|
||||
ip 40(20) 6 192.168.2.1,1276 > 203.1.1.1,80
|
||||
ip 40(20) 6 192.168.2.1,1032 > 203.1.1.1,80
|
||||
ip 28(20) 17 192.168.2.1,1032 > 203.1.1.1,80
|
||||
ip 40(20) 6 192.168.2.1,65299 > 203.1.1.1,80
|
||||
-------------------------------
|
||||
ip 40(20) 6 192.168.1.1,1488 > 203.1.1.1,80
|
||||
ip 40(20) 6 192.168.1.1,1276 > 203.1.1.1,80
|
||||
ip 40(20) 6 192.168.1.0,1032 > 203.1.1.1,80
|
||||
ip 28(20) 17 192.168.1.0,1032 > 203.1.1.1,80
|
||||
ip 40(20) 6 192.168.1.255,65299 > 203.1.1.1,80
|
||||
-------------------------------
|
30
dist/ipf/test/expected/n4
vendored
30
dist/ipf/test/expected/n4
vendored
@ -1,30 +0,0 @@
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.2.2.1,10023
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.0.0,23
|
||||
ip 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
|
||||
-------------------------------
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.2.2.1,10023
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.0.0,23
|
||||
ip 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
|
||||
-------------------------------
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.2.2.1,10023
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.2.2.1,10023
|
||||
ip 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
|
||||
-------------------------------
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.1.1,23
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.0.0,23
|
||||
ip 28(20) 17 10.3.3.3,12345 > 10.2.2.1,10053
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
|
||||
-------------------------------
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.2.2.1,23
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.2.2.1,53
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.0.0,23
|
||||
ip 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.2.2.1,53
|
||||
-------------------------------
|
330
dist/ipf/test/expected/n5
vendored
330
dist/ipf/test/expected/n5
vendored
@ -1,330 +0,0 @@
|
||||
ip 20(20) 255 10.1.1.0 > 10.1.1.2
|
||||
ip 20(20) 255 10.2.2.2 > 10.1.1.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
ip 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025
|
||||
ip 20(20) 255 10.2.2.1 > 10.1.2.1
|
||||
ip 20(20) 255 10.2.2.2 > 10.1.2.1
|
||||
ip 20(20) 255 10.1.1.1 > 10.1.1.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
ip 20(20) 255 10.2.2.1 > 10.2.1.1
|
||||
ip 20(20) 255 10.2.2.2 > 10.2.1.1
|
||||
ip 20(20) 255 10.2.2.3 > 10.1.1.1
|
||||
ip 20(20) 255 10.2.3.4 > 10.2.2.2
|
||||
ip 20(20) 255 10.1.1.1 > 10.2.2.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
ip 20(20) 255 10.1.1.0 > 10.3.4.5
|
||||
ip 20(20) 255 10.1.1.1 > 10.3.4.5
|
||||
ip 20(20) 255 10.1.1.2 > 10.3.4.5
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.3.4.5,1025
|
||||
ip 48(20) 1 10.2.2.2 > 10.4.3.2
|
||||
ip 48(20) 1 10.4.3.2 > 10.1.1.1
|
||||
ip 48(20) 1 10.4.3.2 > 10.3.4.3
|
||||
ip 48(20) 1 10.4.3.2 > 10.3.4.5
|
||||
ip 20(20) 34 10.1.1.2 > 10.4.3.2
|
||||
ip 20(20) 34 10.4.3.2 > 10.3.4.4
|
||||
ip 20(20) 34 10.1.1.2 > 10.4.3.4
|
||||
ip 20(20) 34 10.4.3.4 > 10.3.4.5
|
||||
ip 20(20) 34 10.1.1.3 > 10.4.3.4
|
||||
ip 20(20) 34 10.4.3.4 > 10.3.4.6
|
||||
ip 20(20) 35 10.1.1.3 > 10.4.3.4
|
||||
ip 20(20) 35 10.4.3.4 > 10.3.4.7
|
||||
ip 40(20) 6 10.2.2.2,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.2.2.2,1025 > 10.1.1.2,1025
|
||||
ip 20(20) 0 10.1.1.0 > 10.1.1.2
|
||||
ip 20(20) 0 10.2.2.2 > 10.1.2.1
|
||||
ip 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025
|
||||
ip 28(20) 17 10.1.1.2,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.1.1.3,2000 > 10.1.2.1,80
|
||||
ip 40(20) 6 10.1.1.3,2001 > 10.1.3.1,80
|
||||
ip 40(20) 6 10.1.1.3,2002 > 10.1.4.1,80
|
||||
ip 40(20) 6 10.1.1.3,2003 > 10.1.4.1,80
|
||||
ip 20(20) 0 10.1.1.1 > 10.1.1.2
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
|
||||
ip 20(20) 0 10.1.1.2 > 10.1.1.1
|
||||
ip 40(20) 6 10.2.2.2,1026 > 10.3.4.5,40000
|
||||
ip 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
|
||||
ip 40(20) 6 10.2.2.2,1025 > 10.3.4.5,40000
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
|
||||
ip 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
|
||||
ip 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
|
||||
ip 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
|
||||
ip 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
|
||||
-------------------------------
|
||||
ip 20(20) 255 10.3.4.5 > 10.1.1.2
|
||||
ip 20(20) 255 10.1.1.1 > 10.1.1.2
|
||||
ip 20(20) 255 10.3.4.5 > 10.1.1.1
|
||||
ip 40(20) 6 10.3.4.5,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.3.4.5,1026 > 10.1.1.1,1025
|
||||
ip 20(20) 255 10.2.2.1 > 10.1.2.1
|
||||
ip 20(20) 255 10.2.2.2 > 10.1.2.1
|
||||
ip 20(20) 255 10.1.1.1 > 10.1.1.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
ip 20(20) 255 10.2.2.1 > 10.2.1.1
|
||||
ip 20(20) 255 10.2.2.2 > 10.2.1.1
|
||||
ip 20(20) 255 10.2.2.3 > 10.1.1.1
|
||||
ip 20(20) 255 10.2.3.4 > 10.2.2.2
|
||||
ip 20(20) 255 10.1.1.1 > 10.2.2.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.2.2.2
|
||||
ip 20(20) 255 10.1.1.0 > 10.3.4.5
|
||||
ip 20(20) 255 10.1.1.1 > 10.1.1.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.1.1.0
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
|
||||
ip 48(20) 1 10.1.1.1 > 10.4.3.2
|
||||
ip 48(20) 1 10.4.3.2 > 10.2.2.2
|
||||
ip 48(20) 1 10.4.3.2 > 10.3.4.3
|
||||
ip 48(20) 1 10.4.3.2 > 10.3.4.5
|
||||
ip 20(20) 34 10.1.1.2 > 10.4.3.2
|
||||
ip 20(20) 34 10.4.3.2 > 10.3.4.4
|
||||
ip 20(20) 34 10.1.1.2 > 10.4.3.4
|
||||
ip 20(20) 34 10.4.3.4 > 10.3.4.5
|
||||
ip 20(20) 34 10.1.1.3 > 10.4.3.4
|
||||
ip 20(20) 34 10.4.3.4 > 10.3.4.6
|
||||
ip 20(20) 35 10.1.1.3 > 10.4.3.4
|
||||
ip 20(20) 35 10.4.3.4 > 10.3.4.7
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.3.4.5,1025 > 10.1.1.2,1025
|
||||
ip 20(20) 0 10.3.4.5 > 10.1.1.2
|
||||
ip 20(20) 0 10.3.4.5 > 10.1.2.1
|
||||
ip 40(20) 6 10.3.4.5,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.3.4.5,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.3.4.5,1026 > 10.1.1.1,1025
|
||||
ip 28(20) 17 10.3.4.5,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.3.4.5,2000 > 10.1.2.1,80
|
||||
ip 40(20) 6 10.3.4.5,2001 > 10.1.3.1,80
|
||||
ip 40(20) 6 10.3.4.5,2002 > 10.1.4.1,80
|
||||
ip 40(20) 6 10.3.4.5,2003 > 10.1.4.1,80
|
||||
ip 20(20) 0 10.1.1.1 > 10.1.1.2
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
|
||||
ip 20(20) 0 10.1.1.2 > 10.1.1.1
|
||||
ip 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
|
||||
ip 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
|
||||
ip 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
|
||||
ip 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
|
||||
ip 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
|
||||
ip 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
|
||||
-------------------------------
|
||||
ip 20(20) 255 10.1.1.0 > 10.1.1.2
|
||||
ip 20(20) 255 10.1.1.1 > 10.1.1.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
ip 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025
|
||||
ip 20(20) 255 10.2.2.1 > 10.1.2.1
|
||||
ip 20(20) 255 10.2.2.2 > 10.1.2.1
|
||||
ip 20(20) 255 10.1.1.1 > 10.1.1.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
ip 20(20) 255 10.2.2.1 > 10.2.1.1
|
||||
ip 20(20) 255 10.2.2.2 > 10.2.1.1
|
||||
ip 20(20) 255 10.2.2.3 > 10.1.1.1
|
||||
ip 20(20) 255 10.2.3.4 > 10.2.2.2
|
||||
ip 20(20) 255 10.1.1.1 > 10.2.2.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.2.2.2
|
||||
ip 20(20) 255 10.1.1.0 > 10.3.4.5
|
||||
ip 20(20) 255 10.1.1.1 > 10.3.4.5
|
||||
ip 20(20) 255 10.1.1.2 > 10.3.4.5
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.3.4.5,1025
|
||||
ip 48(20) 1 10.3.4.1 > 10.4.3.2
|
||||
ip 48(20) 1 10.4.3.2 > 10.2.2.2
|
||||
ip 48(20) 1 10.4.3.2 > 10.3.4.3
|
||||
ip 48(20) 1 10.4.3.2 > 10.3.4.5
|
||||
ip 20(20) 34 10.3.4.1 > 10.4.3.2
|
||||
ip 20(20) 34 10.4.3.2 > 10.3.4.4
|
||||
ip 20(20) 34 10.3.4.1 > 10.4.3.4
|
||||
ip 20(20) 34 10.4.3.4 > 10.3.4.5
|
||||
ip 20(20) 34 10.3.4.2 > 10.4.3.4
|
||||
ip 20(20) 34 10.4.3.4 > 10.3.4.6
|
||||
ip 20(20) 35 10.3.4.2 > 10.4.3.4
|
||||
ip 20(20) 35 10.4.3.4 > 10.3.4.7
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
|
||||
ip 20(20) 0 10.1.1.0 > 10.1.1.2
|
||||
ip 20(20) 0 10.1.1.1 > 10.1.2.1
|
||||
ip 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025
|
||||
ip 28(20) 17 10.1.1.2,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.1.1.3,2000 > 10.1.2.1,80
|
||||
ip 40(20) 6 10.1.1.3,2001 > 10.1.3.1,80
|
||||
ip 40(20) 6 10.1.1.3,2002 > 10.1.4.1,80
|
||||
ip 40(20) 6 10.1.1.3,2003 > 10.1.4.1,80
|
||||
ip 20(20) 0 10.1.1.1 > 10.1.1.2
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
|
||||
ip 20(20) 0 10.1.1.2 > 10.1.1.1
|
||||
ip 40(20) 6 10.3.4.1,1026 > 10.3.4.5,40000
|
||||
ip 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
|
||||
ip 40(20) 6 10.3.4.1,1025 > 10.3.4.5,40000
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
|
||||
ip 28(20) 17 10.3.4.1,1025 > 10.3.4.5,40001
|
||||
ip 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
|
||||
ip 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
|
||||
ip 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
|
||||
-------------------------------
|
||||
ip 20(20) 255 10.1.1.0 > 10.1.1.2
|
||||
ip 20(20) 255 10.1.1.1 > 10.1.1.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
ip 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025
|
||||
ip 20(20) 255 10.2.2.1 > 10.1.2.1
|
||||
ip 20(20) 255 10.2.2.2 > 10.1.2.1
|
||||
ip 20(20) 255 10.1.1.1 > 10.1.1.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
ip 20(20) 255 10.2.2.1 > 10.2.1.1
|
||||
ip 20(20) 255 10.2.2.2 > 10.2.1.1
|
||||
ip 20(20) 255 10.2.2.3 > 10.1.1.1
|
||||
ip 20(20) 255 10.2.3.4 > 10.2.2.2
|
||||
ip 20(20) 255 10.1.1.1 > 10.2.2.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.2.2.2
|
||||
ip 20(20) 255 10.1.1.0 > 10.3.4.5
|
||||
ip 20(20) 255 10.1.1.1 > 10.3.4.5
|
||||
ip 20(20) 255 10.1.1.2 > 10.3.4.5
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.3.4.5,1025
|
||||
ip 48(20) 1 10.1.1.1 > 10.4.3.2
|
||||
ip 48(20) 1 10.4.3.2 > 10.2.2.2
|
||||
ip 48(20) 1 10.4.3.2 > 10.3.4.3
|
||||
ip 48(20) 1 10.4.3.2 > 10.3.4.5
|
||||
ip 20(20) 34 10.1.1.2 > 10.4.3.2
|
||||
ip 20(20) 34 10.4.3.2 > 10.3.4.4
|
||||
ip 20(20) 34 10.1.1.2 > 10.4.3.4
|
||||
ip 20(20) 34 10.4.3.4 > 10.3.4.5
|
||||
ip 20(20) 34 10.1.1.3 > 10.4.3.4
|
||||
ip 20(20) 34 10.4.3.4 > 10.3.4.6
|
||||
ip 20(20) 35 10.1.1.3 > 10.4.3.4
|
||||
ip 20(20) 35 10.4.3.4 > 10.3.4.7
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
|
||||
ip 20(20) 0 10.1.1.0 > 10.1.1.2
|
||||
ip 20(20) 0 10.1.1.1 > 10.1.2.1
|
||||
ip 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025
|
||||
ip 28(20) 17 10.3.4.5,10000 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.1.1.3,2000 > 10.1.2.1,80
|
||||
ip 40(20) 6 10.1.1.3,2001 > 10.1.3.1,80
|
||||
ip 40(20) 6 10.1.1.3,2002 > 10.1.4.1,80
|
||||
ip 40(20) 6 10.1.1.3,2003 > 10.1.4.1,80
|
||||
ip 20(20) 0 10.1.1.1 > 10.1.1.2
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
|
||||
ip 20(20) 0 10.1.1.2 > 10.1.1.1
|
||||
ip 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
|
||||
ip 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
|
||||
ip 28(20) 17 10.3.4.5,10001 > 10.3.4.5,40001
|
||||
ip 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
|
||||
ip 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
|
||||
ip 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
|
||||
-------------------------------
|
||||
ip 20(20) 255 10.1.1.0 > 10.1.1.2
|
||||
ip 20(20) 255 10.1.1.1 > 10.1.1.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
ip 40(20) 6 10.3.4.1,10000 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.3.4.1,10001 > 10.1.1.1,1025
|
||||
ip 20(20) 255 10.2.2.1 > 10.1.2.1
|
||||
ip 20(20) 255 10.2.2.2 > 10.1.2.1
|
||||
ip 20(20) 255 10.1.1.1 > 10.1.1.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
ip 20(20) 255 10.2.2.1 > 10.2.1.1
|
||||
ip 20(20) 255 10.2.2.2 > 10.2.1.1
|
||||
ip 20(20) 255 10.2.2.3 > 10.1.1.1
|
||||
ip 20(20) 255 10.2.3.4 > 10.2.2.2
|
||||
ip 20(20) 255 10.1.1.1 > 10.2.2.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.2.2.2
|
||||
ip 20(20) 255 10.1.1.0 > 10.3.4.5
|
||||
ip 20(20) 255 10.1.1.1 > 10.3.4.5
|
||||
ip 20(20) 255 10.1.1.2 > 10.3.4.5
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.3.4.5,1025
|
||||
ip 48(20) 1 10.1.1.1 > 10.4.3.2
|
||||
ip 48(20) 1 10.4.3.2 > 10.2.2.2
|
||||
ip 48(20) 1 10.4.3.2 > 10.3.4.3
|
||||
ip 48(20) 1 10.4.3.2 > 10.3.4.5
|
||||
ip 20(20) 34 10.1.1.2 > 10.4.3.2
|
||||
ip 20(20) 34 10.4.3.2 > 10.3.4.4
|
||||
ip 20(20) 34 10.1.1.2 > 10.4.3.4
|
||||
ip 20(20) 34 10.4.3.4 > 10.3.4.5
|
||||
ip 20(20) 34 10.1.1.3 > 10.4.3.4
|
||||
ip 20(20) 34 10.4.3.4 > 10.3.4.6
|
||||
ip 20(20) 35 10.1.1.3 > 10.4.3.4
|
||||
ip 20(20) 35 10.4.3.4 > 10.3.4.7
|
||||
ip 40(20) 6 10.3.4.1,10002 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.3.4.1,10003 > 10.1.1.2,1025
|
||||
ip 20(20) 0 10.1.1.0 > 10.1.1.2
|
||||
ip 20(20) 0 10.1.1.1 > 10.1.2.1
|
||||
ip 40(20) 6 10.3.4.1,10000 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.3.4.1,10000 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.3.4.1,10001 > 10.1.1.1,1025
|
||||
ip 28(20) 17 10.3.4.1,10004 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.3.4.1,10005 > 10.1.2.1,80
|
||||
ip 40(20) 6 10.3.4.1,10006 > 10.1.3.1,80
|
||||
ip 40(20) 6 10.3.4.1,10007 > 10.1.4.1,80
|
||||
ip 40(20) 6 10.3.4.1,10008 > 10.1.4.1,80
|
||||
ip 20(20) 0 10.1.1.1 > 10.1.1.2
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
|
||||
ip 20(20) 0 10.1.1.2 > 10.1.1.1
|
||||
ip 40(20) 6 10.3.4.1,10009 > 10.3.4.5,40000
|
||||
ip 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
|
||||
ip 40(20) 6 10.3.4.1,10010 > 10.3.4.5,40000
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
|
||||
ip 28(20) 17 10.3.4.1,10011 > 10.3.4.5,40001
|
||||
ip 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
|
||||
ip 40(20) 6 10.3.4.1,10012 > 10.3.4.5,40001
|
||||
ip 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
|
||||
-------------------------------
|
||||
ip 20(20) 255 10.1.1.0 > 10.1.1.2
|
||||
ip 20(20) 255 10.1.1.1 > 10.1.1.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
ip 40(20) 6 10.3.4.5,40000 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.3.4.5,40001 > 10.1.1.1,1025
|
||||
ip 20(20) 255 10.2.2.1 > 10.1.2.1
|
||||
ip 20(20) 255 10.2.2.2 > 10.1.2.1
|
||||
ip 20(20) 255 10.1.1.1 > 10.1.1.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
ip 20(20) 255 10.2.2.1 > 10.2.1.1
|
||||
ip 20(20) 255 10.2.2.2 > 10.2.1.1
|
||||
ip 20(20) 255 10.2.2.3 > 10.1.1.1
|
||||
ip 20(20) 255 10.2.3.4 > 10.2.2.2
|
||||
ip 20(20) 255 10.1.1.1 > 10.2.2.2
|
||||
ip 20(20) 255 10.1.1.2 > 10.2.2.2
|
||||
ip 20(20) 255 10.1.1.0 > 10.3.4.5
|
||||
ip 20(20) 255 10.1.1.1 > 10.3.4.5
|
||||
ip 20(20) 255 10.1.1.2 > 10.3.4.5
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.3.4.5,1025
|
||||
ip 48(20) 1 10.1.1.1 > 10.4.3.2
|
||||
ip 48(20) 1 10.4.3.2 > 10.2.2.2
|
||||
ip 48(20) 1 10.4.3.2 > 10.3.4.3
|
||||
ip 48(20) 1 10.4.3.2 > 10.3.4.5
|
||||
ip 20(20) 34 10.1.1.2 > 10.4.3.2
|
||||
ip 20(20) 34 10.4.3.2 > 10.3.4.4
|
||||
ip 20(20) 34 10.1.1.2 > 10.4.3.4
|
||||
ip 20(20) 34 10.4.3.4 > 10.3.4.5
|
||||
ip 20(20) 34 10.1.1.3 > 10.4.3.4
|
||||
ip 20(20) 34 10.4.3.4 > 10.3.4.6
|
||||
ip 20(20) 35 10.1.1.3 > 10.4.3.4
|
||||
ip 20(20) 35 10.4.3.4 > 10.3.4.7
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.3.4.5,40000 > 10.1.1.2,1025
|
||||
ip 20(20) 0 10.1.1.0 > 10.1.1.2
|
||||
ip 20(20) 0 10.1.1.1 > 10.1.2.1
|
||||
ip 40(20) 6 10.3.4.5,40000 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.3.4.5,40000 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.3.4.5,40001 > 10.1.1.1,1025
|
||||
ip 28(20) 17 10.3.4.5,40001 > 10.1.1.1,1025
|
||||
ip 40(20) 6 10.3.4.5,40000 > 10.1.2.1,80
|
||||
ip 40(20) 6 10.3.4.5,40001 > 10.1.3.1,80
|
||||
ip 40(20) 6 10.3.4.5,40000 > 10.1.4.1,80
|
||||
ip 40(20) 6 10.3.4.5,40001 > 10.1.4.1,80
|
||||
ip 20(20) 0 10.1.1.1 > 10.1.1.2
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
|
||||
ip 20(20) 0 10.1.1.2 > 10.1.1.1
|
||||
ip 40(20) 6 10.3.4.5,40000 > 10.3.4.5,40000
|
||||
ip 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
|
||||
ip 40(20) 6 10.3.4.5,40001 > 10.3.4.5,40000
|
||||
ip 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
|
||||
ip 28(20) 17 10.3.4.5,40000 > 10.3.4.5,40001
|
||||
ip 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
|
||||
ip 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
|
||||
ip 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
|
||||
-------------------------------
|
70
dist/ipf/test/expected/n6
vendored
70
dist/ipf/test/expected/n6
vendored
@ -1,70 +0,0 @@
|
||||
ip 40(20) 6 10.2.2.2,12345 > 10.2.2.1,10023
|
||||
ip 40(20) 6 10.2.2.2,12345 > 10.1.1.2,23
|
||||
ip 40(20) 6 10.3.0.1,12345 > 10.1.2.2,23
|
||||
ip 40(20) 6 10.3.0.1,12345 > 10.2.2.2,23
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.2.2.1,10023
|
||||
ip 40(20) 6 10.2.2.2,12345 > 10.1.1.1,53
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
|
||||
ip 40(20) 6 10.2.2.2,12345 > 10.1.0.0,23
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.0.0,23
|
||||
ip 28(20) 17 10.2.2.2,12345 > 10.1.1.0,53
|
||||
ip 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53
|
||||
ip 40(20) 6 10.2.2.2,12345 > 10.1.1.0,53
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
|
||||
-------------------------------
|
||||
ip 40(20) 6 10.2.2.2,12345 > 10.2.2.1,10023
|
||||
ip 40(20) 6 10.2.2.2,12345 > 10.2.2.1,10023
|
||||
ip 40(20) 6 10.3.0.1,12345 > 10.1.2.2,23
|
||||
ip 40(20) 6 10.3.0.1,12345 > 10.2.2.2,23
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.2.2.1,10023
|
||||
ip 40(20) 6 10.2.2.2,12345 > 10.1.1.1,53
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
|
||||
ip 40(20) 6 10.2.2.2,12345 > 10.1.0.0,23
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.0.0,23
|
||||
ip 28(20) 17 10.2.2.2,12345 > 10.1.1.0,53
|
||||
ip 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53
|
||||
ip 40(20) 6 10.2.2.2,12345 > 10.1.1.0,53
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
|
||||
-------------------------------
|
||||
ip 40(20) 6 10.2.2.2,12345 > 10.2.2.1,10023
|
||||
ip 40(20) 6 10.2.2.2,12345 > 10.2.2.1,10023
|
||||
ip 40(20) 6 10.3.0.1,12345 > 10.1.2.2,23
|
||||
ip 40(20) 6 10.3.0.1,12345 > 10.2.2.2,23
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.1.1,23
|
||||
ip 40(20) 6 10.2.2.2,12345 > 10.1.1.1,53
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
|
||||
ip 40(20) 6 10.2.2.2,12345 > 10.1.0.0,23
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.0.0,23
|
||||
ip 28(20) 17 10.2.2.2,12345 > 10.1.1.0,53
|
||||
ip 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53
|
||||
ip 40(20) 6 10.2.2.2,12345 > 10.1.1.0,53
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
|
||||
-------------------------------
|
||||
ip 40(20) 6 10.2.2.2,12345 > 10.1.1.1,23
|
||||
ip 40(20) 6 10.2.2.2,12345 > 10.1.1.2,23
|
||||
ip 40(20) 6 10.3.0.1,12345 > 10.2.2.1,10023
|
||||
ip 40(20) 6 10.3.0.1,12345 > 10.2.2.2,23
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.2.2.1,10023
|
||||
ip 40(20) 6 10.2.2.2,12345 > 10.1.1.1,53
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
|
||||
ip 40(20) 6 10.2.2.2,12345 > 10.1.0.0,23
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.2.2.1,10023
|
||||
ip 28(20) 17 10.2.2.2,12345 > 10.1.1.0,53
|
||||
ip 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53
|
||||
ip 40(20) 6 10.2.2.2,12345 > 10.1.1.0,53
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
|
||||
-------------------------------
|
||||
ip 40(20) 6 10.2.2.2,12345 > 10.1.1.1,23
|
||||
ip 40(20) 6 10.2.2.2,12345 > 10.1.1.2,23
|
||||
ip 40(20) 6 10.3.0.1,12345 > 10.1.2.2,23
|
||||
ip 40(20) 6 10.3.0.1,12345 > 10.2.2.2,23
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.1.1,23
|
||||
ip 40(20) 6 10.2.2.2,12345 > 10.1.1.1,53
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
|
||||
ip 40(20) 6 10.2.2.2,12345 > 10.1.0.0,23
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.0.0,23
|
||||
ip 28(20) 17 10.2.2.2,12345 > 10.1.1.0,53
|
||||
ip 28(20) 17 10.3.3.3,12345 > 10.2.2.1,10053
|
||||
ip 40(20) 6 10.2.2.2,12345 > 10.1.1.0,53
|
||||
ip 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
|
||||
-------------------------------
|
20
dist/ipf/test/expected/n7
vendored
20
dist/ipf/test/expected/n7
vendored
@ -1,20 +0,0 @@
|
||||
ip 40(20) 6 10.2.3.1,1230 > 10.1.1.1,22
|
||||
ip 40(20) 6 10.2.3.1,1231 > 10.2.2.1,10023
|
||||
ip 40(20) 6 10.2.3.1,1232 > 10.2.2.1,10050
|
||||
ip 40(20) 6 10.2.3.1,1233 > 10.2.2.1,10079
|
||||
ip 40(20) 6 10.2.3.1,1234 > 10.1.1.1,80
|
||||
ip 40(20) 6 10.2.3.1,1235 > 10.1.1.2,80
|
||||
ip 40(20) 6 10.2.3.1,1236 > 10.1.1.3,80
|
||||
ip 40(20) 6 10.2.3.1,1237 > 10.1.1.4,80
|
||||
ip 40(20) 6 10.2.3.1,1238 > 10.1.1.4,80
|
||||
-------------------------------
|
||||
ip 40(20) 6 10.2.3.1,1230 > 10.1.1.1,22
|
||||
ip 40(20) 6 10.2.3.1,1231 > 10.1.1.1,23
|
||||
ip 40(20) 6 10.2.3.1,1232 > 10.1.1.1,50
|
||||
ip 40(20) 6 10.2.3.1,1233 > 10.1.1.1,79
|
||||
ip 40(20) 6 10.2.3.1,1234 > 10.2.2.1,3128
|
||||
ip 40(20) 6 10.2.3.1,1235 > 1.2.2.129,3128
|
||||
ip 40(20) 6 10.2.3.1,1236 > 10.2.2.1,3128
|
||||
ip 40(20) 6 10.2.3.1,1237 > 1.2.2.129,3128
|
||||
ip 40(20) 6 10.2.3.1,1238 > 10.2.2.1,3128
|
||||
-------------------------------
|
3
dist/ipf/test/expected/ni1
vendored
3
dist/ipf/test/expected/ni1
vendored
@ -1,3 +0,0 @@
|
||||
4500 0028 4706 4000 0111 ced8 0606 0606 0404 0404 afc9 829e 0014 0b2d 0402 0000 3be5 468d 000a cfc3
|
||||
4500 0038 809a 0000 ff01 8f31 0303 0303 0202 0202 0b00 a537 0000 0000 4500 0028 4703 4000 0111 ef89 0202 0202 0404 0404 afc9 829e 0014 1d4f
|
||||
-------------------------------
|
10
dist/ipf/test/expected/ni2
vendored
10
dist/ipf/test/expected/ni2
vendored
@ -1,10 +0,0 @@
|
||||
4510 002c bd0d 4000 3e06 ea1d 0101 0101 c0a8 0133 9c40 0077 a664 2485 0000 0000 6002 4000 2ca8 0000 0204 05b4
|
||||
4500 002c ce83 4000 7e06 98b7 c0a8 0133 0a01 0201 0077 05f6 fbdf 1a21 a664 2486 6012 2238 c0a8 0000 0204 05b4
|
||||
4510 0028 bd0e 4000 3e06 ea20 0101 0101 c0a8 0133 9c40 0077 a664 2486 fbdf 1a22 5010 4470 29e3 0000
|
||||
4500 005b cf83 4000 7e06 9788 c0a8 0133 0a01 0201 0077 05f6 fbdf 1a22 a664 2486 5018 2238 ce2a 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0a
|
||||
4510 0028 bd18 4000 3e06 ea16 0101 0101 c0a8 0133 9c40 0077 a664 2486 fbdf 1a55 5010 4470 29b0 0000
|
||||
4510 002e bd1e 4000 3e06 ea0a 0101 0101 c0a8 0133 9c40 0077 a664 2486 fbdf 1a55 5018 4470 1c98 0000 0000 0000 0d0a
|
||||
4500 0048 e383 4000 7e06 839b c0a8 0133 0a01 0201 0077 05f6 fbdf 1a55 a664 248c 5018 2232 d80a 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
|
||||
4500 05dc e483 4000 7e06 7d07 c0a8 0133 0a01 0201 0077 05f6 fbdf 1a75 a664 248c 5010 2232 9f2d 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1111 2222 3331 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
|
||||
4500 0038 d71d 4000 4001 f0be 0101 0101 c0a8 0133 0304 348b 0000 05a0 4500 05dc e483 4000 7e06 8707 c0a8 0133 0101 0101 0077 9c40 fbdf 1a75
|
||||
-------------------------------
|
4
dist/ipf/test/expected/ni4
vendored
4
dist/ipf/test/expected/ni4
vendored
@ -1,4 +0,0 @@
|
||||
4500 003c 4706 4000 ff06 28aa 0606 0606 0404 0404 9c40 0050 0000 0001 0000 0000 a002 16d0 849a 0000 0204 05b4 0402 080a 0047 fbb0 0000 0000 0103 0300
|
||||
4500 0038 809a 0000 ff01 3323 0303 0303 0202 0202 0303 acab 0000 0000 4500 003c 4706 4000 ff06 28aa 0202 0202 0404 0404 5000 0050 0000 0001
|
||||
4500 0058 809a 0000 ff01 3303 0303 0303 0202 0202 0303 0937 0000 0000 4500 003c 4706 4000 ff06 28aa 0202 0202 0404 0404 5000 0050 0000 0001 0000 0000 a002 16d0 d8e2 0000 0204 05b4 0402 080a 0047 fbb0 0000 0000 0103 0300
|
||||
-------------------------------
|
47
dist/ipf/test/expected/ni5
vendored
47
dist/ipf/test/expected/ni5
vendored
@ -1,47 +0,0 @@
|
||||
4500 002c 10c9 4000 ff06 3289 0101 0101 96cb e002 8032 0015 bd6b c9c8 0000 0000 6002 2238 f5a2 0000 0204 05b4
|
||||
4500 002c ffdd 4000 ef06 5374 96cb e002 c0a8 0103 0015 8032 3786 76c4 bd6b c9c9 6012 269c 8369 0000 0204 0584
|
||||
4500 0028 10ca 4000 ff06 328c 0101 0101 96cb e002 8032 0015 bd6b c9c9 3786 76c5 5010 269c 5aa0 0000
|
||||
4500 006f ffde 4000 ef06 5330 96cb e002 c0a8 0103 0015 8032 3786 76c5 bd6b c9c9 5018 269c 967e 0000 3232 302d 636f 6f6d 6273 2e61 6e75 2e65 6475 2e61 7520 4e63 4654 5064 2053 6572 7665 7220 2866 7265 6520 6564 7563 6174 696f 6e61 6c20 6c69 6365 6e73 6529 2072 6561 6479 2e0d 0a
|
||||
4500 0028 10cb 4000 ff06 328b 0101 0101 96cb e002 8032 0015 bd6b c9c9 3786 770c 5010 269c 5a59 0000
|
||||
4500 00c7 ffdf 4000 ef06 52d7 96cb e002 c0a8 0103 0015 8032 3786 770c bd6b c9c9 5018 269c 1087 0000 3232 302d 0d0a 3232 302d 4d61 696e 7461 696e 6564 2062 7920 5253 5353 2061 6e64 2052 5350 4153 2049 5420 5374 6166 6620 2870 7265 7669 6f75 736c 7920 6b6e 6f77 6e20 6173 2043 6f6f 6d62 7320 436f 6d70 7574 696e 6720 556e 6974 290d 0a32 3230 2d41 6e79 2070 726f 626c 656d 7320 636f 6e74 6163 7420 6674 706d 6173 7465 7240 636f 6f6d 6273 2e61 6e75 2e65 6475 2e61 750d 0a32 3230 2d0d 0a32 3230 200d 0a
|
||||
4500 0028 10cc 4000 ff06 328a 0101 0101 96cb e002 8032 0015 bd6b c9c9 3786 77ab 5010 269c 59ba 0000
|
||||
4500 0038 10cd 4000 ff06 3279 0101 0101 96cb e002 8032 0015 bd6b c9c9 3786 77ab 5018 269c d1c5 0000 5553 4552 2061 6e6f 6e79 6d6f 7573 0d0a
|
||||
4500 0028 ffe0 4000 ef06 5375 96cb e002 c0a8 0103 0015 8032 3786 77ab bd6b c9d9 5010 269c 9a00 0000
|
||||
4500 006c ffe1 4000 ef06 5330 96cb e002 c0a8 0103 0015 8032 3786 77ab bd6b c9d9 5018 269c b00f 0000 3333 3120 4775 6573 7420 6c6f 6769 6e20 6f6b 2c20 7365 6e64 2079 6f75 7220 636f 6d70 6c65 7465 2065 2d6d 6169 6c20 6164 6472 6573 7320 6173 2070 6173 7377 6f72 642e 0d0a
|
||||
4500 0028 10ce 4000 ff06 3288 0101 0101 96cb e002 8032 0015 bd6b c9d9 3786 77ef 5010 269c 5966 0000
|
||||
4500 0036 10cf 4000 ff06 3279 0101 0101 96cb e002 8032 0015 bd6b c9d9 3786 77ef 5018 269c 373f 0000 5041 5353 2061 7661 6c6f 6e40 0d0a
|
||||
4500 005f ffe2 4000 ef06 533c 96cb e002 c0a8 0103 0015 8032 3786 77ef bd6b c9e7 5018 269c 895e 0000 3233 302d 596f 7520 6172 6520 7573 6572 2023 3420 6f66 2035 3020 7369 6d75 6c74 616e 656f 7573 2075 7365 7273 2061 6c6c 6f77 6564 2e0d 0a
|
||||
4500 0028 10d0 4000 ff06 3286 0101 0101 96cb e002 8032 0015 bd6b c9e7 3786 7826 5010 269c 5921 0000
|
||||
4500 0099 ffe3 4000 ef06 5301 96cb e002 c0a8 0103 0015 8032 3786 7826 bd6b c9e7 5018 269c d399 0000 3233 302d 0d0a 3233 302d 0d0a 3233 302d 4869 2e20 2057 6527 7265 2063 6c65 616e 696e 6720 7570 2e20 2041 6e79 2066 6565 6462 6163 6b20 6d6f 7374 2077 656c 636f 6d65 2e20 3130 2041 7567 2030 300d 0a32 3330 2d0d 0a32 3330 204c 6f67 6765 6420 696e 2061 6e6f 6e79 6d6f 7573 6c79 2e0d 0a
|
||||
4500 0028 10d1 4000 ff06 3285 0101 0101 96cb e002 8032 0015 bd6b c9e7 3786 7897 5010 269c 58b0 0000
|
||||
4500 0030 10d2 4000 ff06 327c 0101 0101 96cb e002 8032 0015 bd6b c9e7 3786 7897 5018 269c 86ae 0000 5459 5045 2049 0d0a
|
||||
4500 0038 ffe4 4000 ef06 5361 96cb e002 c0a8 0103 0015 8032 3786 7897 bd6b c9ef 5018 269c 5fae 0000 3230 3020 5479 7065 206f 6b61 792e 0d0a
|
||||
4500 0028 10d3 4000 ff06 3283 0101 0101 96cb e002 8032 0015 bd6b c9ef 3786 78a7 5010 269c 5898 0000
|
||||
4500 003d 10d4 4000 ff06 3269 0101 0101 96cb e002 8032 0015 bd6b c9ef 3786 78a7 5018 269c 4b67 0000 504f 5254 2031 2c31 2c31 2c31 2c31 3238 2c35 310d 0a
|
||||
4500 0046 ffe5 4000 ef06 5352 96cb e002 c0a8 0103 0015 8032 3786 78a7 bd6b ca0c 5018 269c dbc3 0000 3230 3020 504f 5254 2063 6f6d 6d61 6e64 2073 7563 6365 7373 6675 6c2e 0d0a
|
||||
4500 0030 10d5 4000 ff06 3279 0101 0101 96cb e002 8032 0015 bd6b ca04 3786 78c5 5018 269c 866b 0000 5459 5045 2041 0d0a
|
||||
4500 0038 ffe6 4000 ef06 535f 96cb e002 c0a8 0103 0015 8032 3786 78c5 bd6b ca14 5018 269c 5f5b 0000 3230 3020 5479 7065 206f 6b61 792e 0d0a
|
||||
4500 002e 10d6 4000 ff06 327a 0101 0101 96cb e002 8032 0015 bd6b ca0c 3786 78d5 5018 269c a994 0000 4e4c 5354 0d0a
|
||||
4500 002c ffe7 4000 ef06 536a 96cb e002 c0a8 0103 0014 8033 d9f8 11d4 0000 0000 6002 2238 d190 0000 0204 0584
|
||||
4500 002c 10d7 4000 ff06 327b c0a8 0103 96cb e002 8033 0014 bd78 5c12 d9f8 11d5 6012 02f8 d734 0000 0204 0584
|
||||
4500 0028 ffe8 4000 ef06 536d 96cb e002 c0a8 0103 0014 8033 d9f8 11d5 bd78 5c13 5010 269c cb1d 0000
|
||||
4500 005d ffe9 4000 ef06 5337 96cb e002 c0a8 0103 0015 8032 3786 78d5 bd6b ca1a 5018 269c eed0 0000 3135 3020 4f70 656e 696e 6720 4153 4349 4920 6d6f 6465 2064 6174 6120 636f 6e6e 6563 7469 6f6e 2066 6f72 202f 6269 6e2f 6c73 2e0d 0a
|
||||
4500 0028 10d8 4000 ff06 327e c0a8 0103 96cb e002 8033 0014 bd78 5c13 d9f8 11d5 5010 6348 8e71 0000
|
||||
4500 0063 ffea 4000 ef06 5330 96cb e002 c0a8 0103 0014 8033 d9f8 11d5 bd78 5c13 5018 269c a315 0000 636f 6f6d 6273 7061 7065 7273 0d0a 6465 7074 730d 0a66 6f75 6e64 2d66 696c 6573 0d0a 696e 636f 6d69 6e67 0d0a 6e6c 632d 7465 7374 0d0a 7075 620d 0a
|
||||
4500 0028 10d9 4000 ff06 327d c0a8 0103 96cb e002 8033 0014 bd78 5c13 d9f8 1210 5010 6348 8e36 0000
|
||||
4500 0028 ffeb 4000 ef06 536a 96cb e002 c0a8 0103 0014 8033 d9f8 1210 bd78 5c13 5011 269c cae1 0000
|
||||
4500 0028 10da 4000 ff06 327c c0a8 0103 96cb e002 8033 0014 bd78 5c13 d9f8 1211 5010 6348 8e35 0000
|
||||
4500 0028 10db 4000 ff06 327b c0a8 0103 96cb e002 8033 0014 bd78 5c13 d9f8 1211 5011 6348 8e34 0000
|
||||
4500 0028 ffec 4000 ef06 5369 96cb e002 c0a8 0103 0014 8033 d9f8 1211 bd78 5c14 5010 269c cae0 0000
|
||||
4500 0028 10dc 4000 ff06 327a 0101 0101 96cb e002 8032 0015 bd6b ca12 3786 790a 5010 269c 5812 0000
|
||||
4500 0040 ffed 4000 ef06 5350 96cb e002 c0a8 0103 0015 8032 3786 790a bd6b ca1a 5018 269c 7c9e 0000 3232 3620 4c69 7374 696e 6720 636f 6d70 6c65 7465 642e 0d0a
|
||||
4500 0030 10dd 4000 ff06 3271 0101 0101 96cb e002 8032 0015 bd6b ca12 3786 7922 5018 269c 85f8 0000 5459 5045 2049 0d0a
|
||||
4500 0038 ffee 4000 ef06 5357 96cb e002 c0a8 0103 0015 8032 3786 7922 bd6b ca22 5018 269c 5ef0 0000 3230 3020 5479 7065 206f 6b61 792e 0d0a
|
||||
4500 0028 10de 4000 ff06 3278 0101 0101 96cb e002 8032 0015 bd6b ca1a 3786 7932 5010 269c 57e2 0000
|
||||
4500 002e 10df 4000 ff06 3271 0101 0101 96cb e002 8032 0015 bd6b ca1a 3786 7932 5018 269c b020 0000 5155 4954 0d0a
|
||||
4500 0036 ffef 4000 ef06 5358 96cb e002 c0a8 0103 0015 8032 3786 7932 bd6b ca28 5018 269c a93c 0000 3232 3120 476f 6f64 6279 652e 0d0a
|
||||
4500 0028 10e0 4000 ff06 3276 0101 0101 96cb e002 8032 0015 bd6b ca20 3786 7940 5011 269c 57cd 0000
|
||||
4500 0028 fff0 4000 ef06 5365 96cb e002 c0a8 0103 0015 8032 3786 7940 bd6b ca28 5011 269c 981b 0000
|
||||
4500 0028 10e1 4000 ff06 3275 c0a8 0103 96cb e002 8032 0015 bd6b ca25 3786 7941 5010 269c 981e 0000
|
||||
4500 0028 fff1 4000 ef06 5364 96cb e002 c0a8 0103 0015 8032 3786 7941 bd6b ca29 5010 269c 981a 0000
|
||||
-------------------------------
|
30
dist/ipf/test/hextest
vendored
30
dist/ipf/test/hextest
vendored
@ -1,30 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: hextest,v 1.2 1999/12/11 23:22:14 veego Exp $
|
||||
#
|
||||
if [ -f /usr/ucb/touch ] ; then
|
||||
TOUCH=/usr/ucb/touch
|
||||
else
|
||||
if [ -f /usr/bin/touch ] ; then
|
||||
TOUCH=/usr/bin/touch
|
||||
else
|
||||
if [ -f /bin/touch ] ; then
|
||||
TOUCH=/bin/touch
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
echo "$1...";
|
||||
/bin/cp /dev/null results/$1
|
||||
( while read rule; do
|
||||
echo "$rule" | ../ipftest -br - -Hi input/$1 >> results/$1;
|
||||
if [ $? -ne 0 ] ; then
|
||||
exit 1;
|
||||
fi
|
||||
echo "--------" >> results/$1
|
||||
done ) < regress/$1
|
||||
cmp expected/$1 results/$1
|
||||
status=$?
|
||||
if [ $status = 0 ] ; then
|
||||
$TOUCH $1
|
||||
fi
|
||||
exit $status
|
4
dist/ipf/test/input/f1
vendored
4
dist/ipf/test/input/f1
vendored
@ -1,4 +0,0 @@
|
||||
in 127.0.0.1 127.0.0.1
|
||||
in 1.1.1.1 1.2.1.1
|
||||
out 127.0.0.1 127.0.0.1
|
||||
out 1.1.1.1 1.2.1.1
|
6
dist/ipf/test/input/f10
vendored
6
dist/ipf/test/input/f10
vendored
@ -1,6 +0,0 @@
|
||||
in 1.1.1.1 2.1.1.1 opt lsrr
|
||||
in 1.1.1.1 2.1.1.1
|
||||
in 1.1.1.1 2.1.1.1 opt ts
|
||||
in 1.1.1.1 2.1.1.1 opt sec-class=topsecret
|
||||
in 1.1.1.1 2.1.1.1 opt ssrr,sec-class=topsecret
|
||||
in 1.1.1.1 2.1.1.1 opt sec
|
16
dist/ipf/test/input/f11
vendored
16
dist/ipf/test/input/f11
vendored
@ -1,16 +0,0 @@
|
||||
in on e0 tcp 1.1.1.1,1 2.1.2.2,23 S
|
||||
in on e0 tcp 1.1.1.1,1 2.1.2.2,24 SA
|
||||
in on e1 tcp 2.1.2.2,23 1.1.1.1,2 SA
|
||||
in on e1 tcp 2.1.2.2,23 1.1.1.1,1 SA
|
||||
in on e0 tcp 1.1.1.1,1 2.1.2.2,23 A
|
||||
in on e0 tcp 1.1.1.1,1 2.1.2.2,25 A
|
||||
in on e1 tcp 2.1.2.2,23 1.1.1.1,1 A
|
||||
in on e1 tcp 2.1.2.2,25 1.1.1.1,1 A
|
||||
in on e0 tcp 1.1.1.1,1 2.1.2.2,23 F
|
||||
in on e0 tcp 1.1.1.1,1 2.1.2.2,23 A
|
||||
in on e0 tcp 1.1.1.1,2 2.1.2.2,23 A
|
||||
in on e1 udp 1.1.1.1,1 4.4.4.4,53
|
||||
in on e1 udp 2.2.2.2,2 4.4.4.4,53
|
||||
in on e0 udp 4.4.4.4,53 1.1.1.1,1
|
||||
in on e0 udp 4.4.4.4,1023 1.1.1.1,2049
|
||||
in on e0 udp 4.4.4.4,2049 1.1.1.1,1023
|
35
dist/ipf/test/input/f12
vendored
35
dist/ipf/test/input/f12
vendored
@ -1,35 +0,0 @@
|
||||
# 1.1.1.1,1025 -> 2.1.1.1,25 TTL=63 TCP DF SYN
|
||||
45 00 0028 0000 4000 3f 06 0000 01010101 02010101
|
||||
0401 0019 00000000 00000000 50 02 2000 0000 0000
|
||||
|
||||
# 1.1.1.1,1025 -> 2.1.1.1,25 TTL=63 TCP DF ACK
|
||||
45 00 0028 0000 4000 3f 06 0000 01010101 02010101
|
||||
0401 0019 00000000 00000000 50 10 2000 0000 0000
|
||||
|
||||
# 1.1.1.1,1025 -> 2.1.1.1,25 TTL=63 TCP DF MF FO=0 ACK
|
||||
45 00 0028 0000 6000 3f 06 0000 01010101 02010101
|
||||
0401 0019 00000000 00000000 50 10 2000 0000 0000
|
||||
|
||||
# 1.1.1.1,1025 -> 2.1.1.1,25 TTL=63 TCP DF FO=0
|
||||
45 00 001c 0000 6000 3f 06 0000 01010101 02010101
|
||||
0401 0019 00000000
|
||||
|
||||
# 1.1.1.1 -> 2.1.1.1 TTL=63 TCP DF FO=1 ACK
|
||||
45 00 001c 0000 6001 3f 06 0000 01010101 02010101
|
||||
00000000 50 10 2000
|
||||
|
||||
# 1.1.1.1 -> 2.1.1.1 TTL=63 UDP DF MF FO=0
|
||||
45 00 0014 0000 6000 3f 11 0000 01010101 02010101
|
||||
|
||||
# 1.1.1.1,53 -> 2.1.1.1,53 TTL=63 UDP MF FO=0
|
||||
45 00 0018 0000 2000 3f 11 0000 01010101 02010101
|
||||
0035 0035
|
||||
|
||||
# 1.1.1.1,1 -> 2.1.1.1,1 TTL=63 UDP MF FO=0
|
||||
45 00 001c 0000 2000 3f 11 0000 01010101 02010101
|
||||
0001 0001 0004 0000
|
||||
|
||||
# 1.1.1.1,53 -> 2.1.1.1,53 TTL=63 UDP MF FO=0
|
||||
45 00 001c 0000 2000 3f 11 0000 01010101 02010101
|
||||
0035 0035 0004 0000
|
||||
|
43
dist/ipf/test/input/f13
vendored
43
dist/ipf/test/input/f13
vendored
@ -1,43 +0,0 @@
|
||||
# 1.1.1.1,1025 -> 2.1.1.1,25 TTL=63 TCP DF,MF,FO=0 SYN
|
||||
45 00 0028 0001 4000 3f 06 0000 01010101 02010101
|
||||
0401 0019 00000000 00000000 50 02 2000 0000 0000
|
||||
|
||||
# 1.1.1.1,1025 -> 2.1.1.1,25 TTL=63 TCP MF ACK
|
||||
45 00 0024 0002 2000 3f 06 0000 01010101 02010101
|
||||
0401001900000000 0000000050102000
|
||||
|
||||
# 1.1.1.1,1025 -> 2.1.1.1,25 TTL=63 TCP FO=2 ACK
|
||||
45 00 002c 0002 0002 3f 06 0000 01010101 02010101
|
||||
0000000000010203 0405060708090a0b 0c0d0e0f10111213
|
||||
|
||||
# 1.1.1.1,1025 -> 2.1.1.1,25 TTL=63 TCP DF MF FO=0 SYN
|
||||
45 00 0028 0003 6000 3f 06 0000 01010101 02010101
|
||||
0401 0019 00000000 00000000 50 10 2000 0000 0000
|
||||
|
||||
# 1.1.1.1,1025 -> 2.1.1.1,25 TTL=63 TCP DF FO=0
|
||||
45 00 001c 0004 6000 3f 06 0000 01010101 02010101
|
||||
0401 0019 00000000
|
||||
|
||||
# 1.1.1.1 -> 2.1.1.1 TTL=63 TCP DF FO=1 SYN
|
||||
45 00 001c 0005 6001 3f 06 0000 01010101 02010101
|
||||
00000000 50 10 2000
|
||||
|
||||
# 1.1.1.1 -> 2.1.1.1 TTL=63 UDP DF MF FO=0
|
||||
45 00 0014 0006 6000 3f 11 0000 01010101 02010101
|
||||
|
||||
# 1.1.1.1,53 -> 2.1.1.1,53 TTL=63 UDP MF FO=0
|
||||
45 00 0018 0007 2000 3f 11 0000 01010101 02010101
|
||||
0035 0035
|
||||
|
||||
# 1.1.1.1,1 -> 2.1.1.1,1 TTL=63 UDP MF FO=0
|
||||
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
|
||||
|
5
dist/ipf/test/input/f14
vendored
5
dist/ipf/test/input/f14
vendored
@ -1,5 +0,0 @@
|
||||
in 127.0.0.1 127.0.0.1
|
||||
in 1.1.1.1 1.2.1.1
|
||||
in 1.1.1.2 1.2.1.1
|
||||
in 1.1.2.2 1.2.1.1
|
||||
in 1.2.2.2 1.2.1.1
|
8
dist/ipf/test/input/f15
vendored
8
dist/ipf/test/input/f15
vendored
@ -1,8 +0,0 @@
|
||||
in on hme0 tcp 10.1.2.3,1200 195.134.65.10,100 S
|
||||
in on hme0 tcp 10.1.2.3,1200 195.134.65.10,22 S
|
||||
in on hme0 udp 10.1.2.3,1200 195.134.65.10,100
|
||||
in on hme0 udp 10.1.2.3,53 195.134.65.10,53
|
||||
in on hme0 10.1.2.3 195.134.65.10
|
||||
in on hme1 195.134.65.10 10.1.2.3
|
||||
in on hme1 udp 195.134.65.10,53 10.1.2.3,53
|
||||
in on hme1 tcp 195.134.65.10,22 10.1.2.3,1200 SA
|
8
dist/ipf/test/input/f16
vendored
8
dist/ipf/test/input/f16
vendored
@ -1,8 +0,0 @@
|
||||
in 2.2.2.2 5.5.5.5
|
||||
in 2.2.2.2 1.1.1.1
|
||||
in udp 4.4.4.4,110 1.1.1.1,53
|
||||
in udp 4.4.4.9,101 1.1.1.3,35
|
||||
in udp 4.4.4.8,111 1.1.1.2,53
|
||||
in tcp 4.4.4.7,220 1.1.1.1,23
|
||||
in tcp 4.4.4.6,202 1.1.1.3,22
|
||||
in tcp 4.4.4.5,222 1.1.1.2,52
|
61
dist/ipf/test/input/f17
vendored
61
dist/ipf/test/input/f17
vendored
@ -1,61 +0,0 @@
|
||||
# (1.1.1.1,54076,seq=0xbfd08989) -> (2.2.2.2,25,seq=0) SYN
|
||||
[out,ppp0]
|
||||
4500 003c 8262 0000 4006 8417 0101 0101
|
||||
0202 0202 d33c 0019 bfd0 8989 0000 0000
|
||||
a002 4000 6190 0000 0204 05b4 0103 0300
|
||||
0101 080a 008e 17f7 0000 0000
|
||||
|
||||
# (2.2.2.2,25,seq=0x40203436) -> (1.1.1.1,54076,seq=0xbfdfcbc9) ACK
|
||||
[in,ppp0]
|
||||
4500 003c 8262 0000 1106 b317 0202 0202
|
||||
0101 0101 0019 d33c 4020 3436 bfdf cbc9
|
||||
5010 4000 fb0c 0000 0204 0584 0103 0300
|
||||
0101 080a 008e 17f7 0000 0000
|
||||
|
||||
# (1.1.1.1,54076,seq=0xbfd08989) -> (2.2.2.2,25,seq=0x0) SYN
|
||||
[out,ppp0]
|
||||
4500 003c 8265 0000 4006 8414 0101 0101
|
||||
0202 0202 d33c 0019 bfd0 8989 0000 0000
|
||||
a002 4000 6185 0000 0204 05b4 0103 0300
|
||||
0101 080a 008e 1802 0000 0000
|
||||
|
||||
# (2.2.2.2,25,seq=0xed674d4e) -> (1.1.1.1,54076,seq=0xbfd0898a) SYN-ACK
|
||||
[in,ppp0]
|
||||
4500 002c 7442 4000 2906 6947 0202 0202
|
||||
0101 0101 0019 d33c ed67 4d4e bfd0 898a
|
||||
6012 2118 ab84 0000 0204 0584
|
||||
|
||||
#
|
||||
# (2.2.2.2,25,seq=0xbfd0898a) -> (1.1.1.1,54076,seq=0xed674d4e) ACK
|
||||
[out,ppp0]
|
||||
4500 002c 8262 0000 4006 8417 0101 0101
|
||||
0202 0202 d33c 0019 bfd0 898a ed67 4d4e
|
||||
5010 4000 6190 0000 0000
|
||||
|
||||
# (1.1.1.1,54076,seq=0xcfd08989) -> (2.2.2.2,25,seq=0x0) SYN
|
||||
[out,ppp0]
|
||||
4500 003c 8265 0000 4006 8414 0101 0101
|
||||
0202 0202 d33c 0019 cfd0 8989 0000 0000
|
||||
a002 4000 6185 0000 0204 05b4 0103 0300
|
||||
0101 080a 008e 1802 0000 0000
|
||||
|
||||
# (1.1.1.1,54076,seq=0xcfd08989) -> (2.2.2.2,25,seq=0x0) SYN
|
||||
[out,ppp0]
|
||||
4500 003c 8266 0000 4006 8413 0101 0101
|
||||
0202 0202 d33c 0019 cfd0 8989 0000 0000
|
||||
a002 4000 6185 0000 0204 05b4 0103 0300
|
||||
0101 080a 008e 1802 0000 0000
|
||||
|
||||
# (2.2.2.2,25,seq=0xed674d4e) -> (1.1.1.1,54076,seq=0xcfd0898a) SYN-ACK
|
||||
[in,ppp0]
|
||||
4500 002c 7442 4000 2906 6947 0202 0202
|
||||
0101 0101 0019 d33c ed67 4d4e cfd0 898a
|
||||
6012 2118 ab84 0000 0204 0584
|
||||
|
||||
#
|
||||
# (2.2.2.2,25,seq=0xcfd0898a) -> (1.1.1.1,54076,seq=0xed674d4e) ACK
|
||||
[out,ppp0]
|
||||
4500 002c 8262 0000 4006 8417 0101 0101
|
||||
0202 0202 d33c 0019 cfd0 898a ed67 4d4e
|
||||
5010 4000 6190 0000 0000
|
||||
|
6
dist/ipf/test/input/f2
vendored
6
dist/ipf/test/input/f2
vendored
@ -1,6 +0,0 @@
|
||||
in tcp 127.0.0.1,1 127.0.0.1,21
|
||||
in tcp 1.1.1.1,1 1.2.1.1,21
|
||||
in udp 127.0.0.1,1 127.0.0.1,21
|
||||
in udp 1.1.1.1,1 1.2.1.1,21
|
||||
in icmp 127.0.0.1 127.0.0.1
|
||||
in icmp 1.1.1.1 1.2.1.1
|
5
dist/ipf/test/input/f3
vendored
5
dist/ipf/test/input/f3
vendored
@ -1,5 +0,0 @@
|
||||
in 127.0.0.1 127.0.0.1
|
||||
in 1.1.1.1 1.2.1.1
|
||||
in 1.1.1.2 1.2.1.1
|
||||
in 1.1.2.2 1.2.1.1
|
||||
in 1.2.2.2 1.2.1.1
|
5
dist/ipf/test/input/f4
vendored
5
dist/ipf/test/input/f4
vendored
@ -1,5 +0,0 @@
|
||||
in 127.0.0.1 127.0.0.1
|
||||
in 1.1.1.1 1.1.1.1
|
||||
in 1.1.1.1 1.1.1.2
|
||||
in 1.1.1.1 1.1.2.2
|
||||
in 1.1.1.1 1.2.2.2
|
28
dist/ipf/test/input/f5
vendored
28
dist/ipf/test/input/f5
vendored
@ -1,28 +0,0 @@
|
||||
in tcp 1.1.1.1,0 2.2.2.2,2222
|
||||
in tcp 1.1.1.1,1 2.2.2.2,2222
|
||||
in tcp 1.1.1.1,23 2.2.2.2,2222
|
||||
in tcp 1.1.1.1,21 2.2.2.2,2222
|
||||
in tcp 1.1.1.1,1023 2.2.2.2,2222
|
||||
in tcp 1.1.1.1,1024 2.2.2.2,2222
|
||||
in tcp 1.1.1.1,1025 2.2.2.2,2222
|
||||
in tcp 1.1.1.1,32767 2.2.2.2,2222
|
||||
in tcp 1.1.1.1,32768 2.2.2.2,2222
|
||||
in tcp 1.1.1.1,65535 2.2.2.2,2222
|
||||
in tcp 1.1.1.1,5999 2.2.2.2,2222
|
||||
in tcp 1.1.1.1,6000 2.2.2.2,2222
|
||||
in tcp 1.1.1.1,6009 2.2.2.2,2222
|
||||
in tcp 1.1.1.1,6010 2.2.2.2,2222
|
||||
in udp 1.1.1.1,0 2.2.2.2,2222
|
||||
in udp 1.1.1.1,1 2.2.2.2,2222
|
||||
in udp 1.1.1.1,23 2.2.2.2,2222
|
||||
in udp 1.1.1.1,21 2.2.2.2,2222
|
||||
in udp 1.1.1.1,1023 2.2.2.2,2222
|
||||
in udp 1.1.1.1,1024 2.2.2.2,2222
|
||||
in udp 1.1.1.1,1025 2.2.2.2,2222
|
||||
in udp 1.1.1.1,32767 2.2.2.2,2222
|
||||
in udp 1.1.1.1,32768 2.2.2.2,2222
|
||||
in udp 1.1.1.1,65535 2.2.2.2,2222
|
||||
in udp 1.1.1.1,5999 2.2.2.2,2222
|
||||
in udp 1.1.1.1,6000 2.2.2.2,2222
|
||||
in udp 1.1.1.1,6009 2.2.2.2,2222
|
||||
in udp 1.1.1.1,6010 2.2.2.2,2222
|
28
dist/ipf/test/input/f6
vendored
28
dist/ipf/test/input/f6
vendored
@ -1,28 +0,0 @@
|
||||
in tcp 2.2.2.2,2222 1.1.1.1,0
|
||||
in tcp 2.2.2.2,2222 1.1.1.1,1
|
||||
in tcp 2.2.2.2,2222 1.1.1.1,23
|
||||
in tcp 2.2.2.2,2222 1.1.1.1,21
|
||||
in tcp 2.2.2.2,2222 1.1.1.1,1023
|
||||
in tcp 2.2.2.2,2222 1.1.1.1,1024
|
||||
in tcp 2.2.2.2,2222 1.1.1.1,1025
|
||||
in tcp 2.2.2.2,2222 1.1.1.1,32767
|
||||
in tcp 2.2.2.2,2222 1.1.1.1,32768
|
||||
in tcp 2.2.2.2,2222 1.1.1.1,65535
|
||||
in tcp 2.2.2.2,2222 1.1.1.1,5999
|
||||
in tcp 2.2.2.2,2222 1.1.1.1,6000
|
||||
in tcp 2.2.2.2,2222 1.1.1.1,6009
|
||||
in tcp 2.2.2.2,2222 1.1.1.1,6010
|
||||
in udp 2.2.2.2,2222 1.1.1.1,0
|
||||
in udp 2.2.2.2,2222 1.1.1.1,1
|
||||
in udp 2.2.2.2,2222 1.1.1.1,23
|
||||
in udp 2.2.2.2,2222 1.1.1.1,21
|
||||
in udp 2.2.2.2,2222 1.1.1.1,1023
|
||||
in udp 2.2.2.2,2222 1.1.1.1,1024
|
||||
in udp 2.2.2.2,2222 1.1.1.1,1025
|
||||
in udp 2.2.2.2,2222 1.1.1.1,32767
|
||||
in udp 2.2.2.2,2222 1.1.1.1,32768
|
||||
in udp 2.2.2.2,2222 1.1.1.1,65535
|
||||
in udp 2.2.2.2,2222 1.1.1.1,5999
|
||||
in udp 2.2.2.2,2222 1.1.1.1,6000
|
||||
in udp 2.2.2.2,2222 1.1.1.1,6009
|
||||
in udp 2.2.2.2,2222 1.1.1.1,6010
|
9
dist/ipf/test/input/f7
vendored
9
dist/ipf/test/input/f7
vendored
@ -1,9 +0,0 @@
|
||||
in icmp 1.1.1.1 2.1.1.1 echo
|
||||
in icmp 1.1.1.1 2.1.1.1 echo,1
|
||||
in icmp 1.1.1.1 2.1.1.1 echo,3
|
||||
in icmp 1.1.1.1 2.1.1.1 unreach
|
||||
in icmp 1.1.1.1 2.1.1.1 unreach,1
|
||||
in icmp 1.1.1.1 2.1.1.1 unreach,3
|
||||
in icmp 1.1.1.1 2.1.1.1 echorep
|
||||
in icmp 1.1.1.1 2.1.1.1 echorep,1
|
||||
in icmp 1.1.1.1 2.1.1.1 echorep,3
|
6
dist/ipf/test/input/f8
vendored
6
dist/ipf/test/input/f8
vendored
@ -1,6 +0,0 @@
|
||||
in tcp 1.1.1.1,1 2.1.2.2,1 S
|
||||
in tcp 1.1.1.1,1 2.1.2.2,1 SA
|
||||
in tcp 1.1.1.1,1 2.1.2.2,1 SF
|
||||
in tcp 1.1.1.1,1 2.1.2.2,1 SFPAUR
|
||||
in tcp 1.1.1.1,1 2.1.2.2,1 PAU
|
||||
in tcp 1.1.1.1,1 2.1.2.2,1 A
|
6
dist/ipf/test/input/f9
vendored
6
dist/ipf/test/input/f9
vendored
@ -1,6 +0,0 @@
|
||||
in 1.1.1.1 2.1.1.1 opt lsrr
|
||||
in 1.1.1.1 2.1.1.1 opt lsrr,ssrr
|
||||
in 1.1.1.1 2.1.1.1 opt ts
|
||||
in 1.1.1.1 2.1.1.1 opt sec-class=topsecret
|
||||
in 1.1.1.1 2.1.1.1 opt ssrr,sec-class=topsecret
|
||||
in 1.1.1.1 2.1.1.1 opt sec
|
28
dist/ipf/test/input/ipv6.2
vendored
28
dist/ipf/test/input/ipv6.2
vendored
@ -1,28 +0,0 @@
|
||||
.\" $NetBSD: ipv6.2,v 1.1.1.1 2002/05/02 16:59:10 martti Exp $
|
||||
.\"
|
||||
[out,de0]
|
||||
6000 0000 0020 3aff ef00 0000 0000 0000
|
||||
0000 0000 0001 0013 ff02 0000 0000 0000
|
||||
0000 0001 ff01 000b 8700 ea32 0000 0000
|
||||
ef00 0000 0000 0000 0000 0000 0001 000b
|
||||
0101 0048 5487 5c6f
|
||||
|
||||
[in,de0]
|
||||
6000 0000 0020 3aff ef00 0000 0000 0000
|
||||
0000 0000 0001 000b ef00 0000 0000 0000
|
||||
0000 0000 0001 0013 8800 5322 6000 0000
|
||||
ef00 0000 0000 0000 0000 0000 0001 000b
|
||||
0201 0800 2071 cce1
|
||||
|
||||
[out,de0]
|
||||
6000 0000 0010 3a40 ef00 0000 0000 0000
|
||||
0000 0000 0001 0013 ef00 0000 0000 0000
|
||||
0000 0000 0001 000b 8000 3210 06ff 0002
|
||||
9ec3 3c3c 8a82 0300
|
||||
|
||||
[in,de0]
|
||||
6000 0000 0010 3aff ef00 0000 0000 0000
|
||||
0000 0000 0001 000b ef00 0000 0000 0000
|
||||
0000 0000 0001 0013 8100 3110 06ff 0002
|
||||
9ec3 3c3c 8a82 0300
|
||||
|
52
dist/ipf/test/input/l1
vendored
52
dist/ipf/test/input/l1
vendored
@ -1,52 +0,0 @@
|
||||
# 1.1.1.1,1025 -> 2.2.2.2,25 TTL=63 TCP DF SYN
|
||||
45 00 0028 0000 4000 3f 06 0000 01010101 02020202
|
||||
0401 0019 00000000 00000000 50 02 2000 0000 0000
|
||||
|
||||
#in on e0 tcp 1.1.1.1,1025 2.1.2.2,25 A
|
||||
45 00 0028 0000 4000 3f 06 0000 01010101 02020202
|
||||
0401 0019 00000000 00000000 50 10 2000 0000 0000
|
||||
|
||||
#in on e1 tcp 2.1.2.2,25 1.1.1.1,1025 AS
|
||||
45 00 0028 0000 4000 3f 06 0000 02020202 01010101
|
||||
0019 0401 00000000 00000000 50 12 2000 0000 0000
|
||||
|
||||
#in on e1 tcp 2.1.2.2,25 1.1.1.1,1025 A
|
||||
[out,e1] 45 00 0028 0000 4000 3f 06 0000 02020202 01010101
|
||||
0019 0401 00000000 00000000 50 10 2000 0000 0000
|
||||
|
||||
#in on e0 tcp 1.1.1.1,1025 2.1.2.2,25 F
|
||||
45 00 0028 0000 4000 3f 06 0000 01010101 02020202
|
||||
0401 0019 00000000 00000000 50 01 2000 0000 0000
|
||||
|
||||
#in on e0 tcp 1.1.1.1,1025 2.1.2.2,25 A
|
||||
45 00 0028 0000 4000 3f 06 0000 01010101 02020202
|
||||
0401 0019 00000000 00000000 50 10 2000 0000 0000
|
||||
|
||||
#in on e0 tcp 1.1.1.1,1025 2.1.2.2,25 A
|
||||
45 00 0028 0000 4000 3f 06 0000 01010101 02020202
|
||||
0401 0019 00000000 00000000 50 10 2000 0000 0000
|
||||
|
||||
#in on e1 udp 1.1.1.1,1 4.4.4.4,53
|
||||
45 00 0028 0000 4000 3f 11 0000 01010101 04040404
|
||||
0001 0035 0000 0000 0102 0304 0506 0708 090a 0b0d
|
||||
|
||||
#in on e1 udp 2.2.2.2,2 4.4.4.4,53
|
||||
45 00 0028 0000 4000 3f 11 0000 02020202 04040404
|
||||
0001 0035 0000 0000 0102 0304 0506 0708 090a 0b0d
|
||||
|
||||
#in on e1 udp 2.2.2.2,2 4.4.4.4,53
|
||||
45 00 0038 0000 4000 3f 11 0000 02020202 04040404
|
||||
0001 0035 0000 0000 0102 0304 0506 0708 090a 0b0d
|
||||
0e0f 4061 4263 4465 4667 4869 4a6b 4c6d
|
||||
|
||||
#in on e0 ip 4.4.4.4,53 1.1.1.1,1
|
||||
45 00 0014 0000 4000 3f 00 0000 02020202 04040404
|
||||
|
||||
#in on e0 udp 3.3.3.3,1023 1.1.1.1,2049
|
||||
45 00 001c 0000 4000 3f 11 0000 03030303 01010101
|
||||
03ff 0801 0000 0000
|
||||
|
||||
#in on e0 udp 1.1.1.1,2049 3.3.3.3,1023
|
||||
45 00 001c 0000 4000 3f 11 0000 01010101 03030303
|
||||
0801 03ff 0000 0000
|
||||
|
31
dist/ipf/test/input/n1
vendored
31
dist/ipf/test/input/n1
vendored
@ -1,31 +0,0 @@
|
||||
out on zx0 255 10.1.1.0 10.1.1.2
|
||||
out on zx0 255 10.1.1.1 10.1.1.2
|
||||
out on zx0 255 10.1.1.2 10.1.1.1
|
||||
out on zx0 tcp 10.1.1.2,1025 10.1.1.1,1025
|
||||
out on zx0 tcp 10.1.1.2,1026 10.1.1.1,1025
|
||||
out on zx0 255 10.2.2.1 10.1.2.1
|
||||
out on zx0 255 10.2.2.2 10.1.2.1
|
||||
in on zx0 255 10.1.1.1 10.1.1.2
|
||||
in on zx0 255 10.1.1.2 10.1.1.1
|
||||
in on zx0 255 10.2.2.1 10.2.1.1
|
||||
in on zx0 255 10.2.2.2 10.2.1.1
|
||||
in on zx0 255 10.2.2.3 10.1.1.1
|
||||
in on zx0 255 10.2.3.4 10.2.2.2
|
||||
in on zx0 255 10.1.1.1 10.2.2.2
|
||||
in on zx0 255 10.1.1.2 10.2.2.2
|
||||
in on zx0 255 10.1.1.0 10.3.4.5
|
||||
in on zx0 255 10.1.1.1 10.3.4.5
|
||||
in on zx0 255 10.1.1.2 10.3.4.5
|
||||
in on zx0 tcp 10.1.1.1,1025 10.3.4.5,1025
|
||||
out on zx0 icmp 10.1.1.1 10.4.3.2
|
||||
in on zx0 icmp 10.4.3.2 10.2.2.2
|
||||
in on zx0 icmp 10.4.3.2 10.3.4.3
|
||||
in on zx0 icmp 10.4.3.2 10.3.4.5
|
||||
out on zx0 34 10.1.1.2 10.4.3.2
|
||||
in on zx0 34 10.4.3.2 10.3.4.4
|
||||
out on zx0 34 10.1.1.2 10.4.3.4
|
||||
in on zx0 34 10.4.3.4 10.3.4.5
|
||||
out on zx0 34 10.1.1.3 10.4.3.4
|
||||
in on zx0 34 10.4.3.4 10.3.4.6
|
||||
out on zx0 35 10.1.1.3 10.4.3.4
|
||||
in on zx0 35 10.4.3.4 10.3.4.7
|
19
dist/ipf/test/input/n2
vendored
19
dist/ipf/test/input/n2
vendored
@ -1,19 +0,0 @@
|
||||
out on zx0 tcp 10.1.1.1,1025 10.1.1.1,1025
|
||||
out on zx0 tcp 10.1.1.1,1025 10.1.1.2,1025
|
||||
out on zx0 10.1.1.0 10.1.1.2
|
||||
out on zx0 10.1.1.1 10.1.2.1
|
||||
out on zx0 tcp 10.1.1.2,1025 10.1.1.1,1025
|
||||
out on zx0 tcp 10.1.1.2,1025 10.1.1.1,1025
|
||||
out on zx0 tcp 10.1.1.2,1026 10.1.1.1,1025
|
||||
out on zx0 udp 10.1.1.2,1025 10.1.1.1,1025
|
||||
out on zx0 tcp 10.1.1.3,2000 10.1.2.1,80
|
||||
out on zx0 tcp 10.1.1.3,2001 10.1.3.1,80
|
||||
out on zx0 tcp 10.1.1.3,2002 10.1.4.1,80
|
||||
out on zx0 tcp 10.1.1.3,2003 10.1.4.1,80
|
||||
in on zx0 10.1.1.1 10.1.1.2
|
||||
in on zx0 tcp 10.1.1.1,1025 10.1.1.2,1025
|
||||
in on zx0 10.1.1.2 10.1.1.1
|
||||
in on zx0 tcp 10.1.1.1,1026 10.3.4.5,40000
|
||||
in on zx0 tcp 10.1.1.1,1025 10.3.4.5,40000
|
||||
in on zx0 udp 10.1.1.2,1025 10.3.4.5,40001
|
||||
in on zx0 tcp 10.1.2.1,80 10.3.4.5,40001
|
5
dist/ipf/test/input/n3
vendored
5
dist/ipf/test/input/n3
vendored
@ -1,5 +0,0 @@
|
||||
out on zz0 tcp 10.1.1.1,5000 203.1.1.1,80
|
||||
out on zz0 tcp 10.1.1.1,252 203.1.1.1,80
|
||||
out on zz0 tcp 10.1.0.0,32768 203.1.1.1,80
|
||||
out on zz0 udp 10.1.0.0,32768 203.1.1.1,80
|
||||
out on zz0 tcp 10.1.255.255,65535 203.1.1.1,80
|
5
dist/ipf/test/input/n4
vendored
5
dist/ipf/test/input/n4
vendored
@ -1,5 +0,0 @@
|
||||
in on zx0 tcp 10.3.3.3,12345 10.1.1.1,23
|
||||
in on zx0 tcp 10.3.3.3,12345 10.1.1.1,53
|
||||
in on zx0 tcp 10.3.3.3,12345 10.1.0.0,23
|
||||
in on zx0 udp 10.3.3.3,12345 10.1.1.0,53
|
||||
in on zx0 tcp 10.3.3.3,12345 10.1.1.0,53
|
54
dist/ipf/test/input/n5
vendored
54
dist/ipf/test/input/n5
vendored
@ -1,54 +0,0 @@
|
||||
out on zx0 255 10.1.1.0 10.1.1.2
|
||||
out on zx0 255 10.1.1.1 10.1.1.2
|
||||
out on zx0 255 10.1.1.2 10.1.1.1
|
||||
out on zx0 tcp 10.1.1.2,1025 10.1.1.1,1025
|
||||
out on zx0 tcp 10.1.1.2,1026 10.1.1.1,1025
|
||||
out on zx0 255 10.2.2.1 10.1.2.1
|
||||
out on zx0 255 10.2.2.2 10.1.2.1
|
||||
in on zx0 255 10.1.1.1 10.1.1.2
|
||||
in on zx0 255 10.1.1.2 10.1.1.1
|
||||
in on zx0 255 10.2.2.1 10.2.1.1
|
||||
in on zx0 255 10.2.2.2 10.2.1.1
|
||||
in on zx0 255 10.2.2.3 10.1.1.1
|
||||
in on zx0 255 10.2.3.4 10.2.2.2
|
||||
in on zx0 255 10.1.1.1 10.2.2.2
|
||||
in on zx0 255 10.1.1.2 10.2.2.2
|
||||
in on zx0 255 10.1.1.0 10.3.4.5
|
||||
in on zx0 255 10.1.1.1 10.3.4.5
|
||||
in on zx0 255 10.1.1.2 10.3.4.5
|
||||
in on zx0 tcp 10.1.1.1,1025 10.3.4.5,1025
|
||||
out on zx0 icmp 10.1.1.1 10.4.3.2
|
||||
in on zx0 icmp 10.4.3.2 10.2.2.2
|
||||
in on zx0 icmp 10.4.3.2 10.3.4.3
|
||||
in on zx0 icmp 10.4.3.2 10.3.4.5
|
||||
out on zx0 34 10.1.1.2 10.4.3.2
|
||||
in on zx0 34 10.4.3.2 10.3.4.4
|
||||
out on zx0 34 10.1.1.2 10.4.3.4
|
||||
in on zx0 34 10.4.3.4 10.3.4.5
|
||||
out on zx0 34 10.1.1.3 10.4.3.4
|
||||
in on zx0 34 10.4.3.4 10.3.4.6
|
||||
out on zx0 35 10.1.1.3 10.4.3.4
|
||||
in on zx0 35 10.4.3.4 10.3.4.7
|
||||
out on zx0 tcp 10.1.1.1,1025 10.1.1.1,1025
|
||||
out on zx0 tcp 10.1.1.1,1025 10.1.1.2,1025
|
||||
out on zx0 10.1.1.0 10.1.1.2
|
||||
out on zx0 10.1.1.1 10.1.2.1
|
||||
out on zx0 tcp 10.1.1.2,1025 10.1.1.1,1025
|
||||
out on zx0 tcp 10.1.1.2,1025 10.1.1.1,1025
|
||||
out on zx0 tcp 10.1.1.2,1026 10.1.1.1,1025
|
||||
out on zx0 udp 10.1.1.2,1025 10.1.1.1,1025
|
||||
out on zx0 tcp 10.1.1.3,2000 10.1.2.1,80
|
||||
out on zx0 tcp 10.1.1.3,2001 10.1.3.1,80
|
||||
out on zx0 tcp 10.1.1.3,2002 10.1.4.1,80
|
||||
out on zx0 tcp 10.1.1.3,2003 10.1.4.1,80
|
||||
in on zx0 10.1.1.1 10.1.1.2
|
||||
in on zx0 tcp 10.1.1.1,1025 10.1.1.2,1025
|
||||
in on zx0 10.1.1.2 10.1.1.1
|
||||
out on zx0 tcp 10.1.1.1,1026 10.3.4.5,40000
|
||||
in on zx0 tcp 10.1.1.1,1026 10.3.4.5,40000
|
||||
out on zx0 tcp 10.1.1.1,1025 10.3.4.5,40000
|
||||
in on zx0 tcp 10.1.1.1,1025 10.3.4.5,40000
|
||||
out on zx0 udp 10.1.1.2,1025 10.3.4.5,40001
|
||||
in on zx0 udp 10.1.1.2,1025 10.3.4.5,40001
|
||||
out on zx0 tcp 10.1.2.1,80 10.3.4.5,40001
|
||||
in on zx0 tcp 10.1.2.1,80 10.3.4.5,40001
|
13
dist/ipf/test/input/n6
vendored
13
dist/ipf/test/input/n6
vendored
@ -1,13 +0,0 @@
|
||||
in on zx0 tcp 10.2.2.2,12345 10.1.1.1,23
|
||||
in on zx0 tcp 10.2.2.2,12345 10.1.1.2,23
|
||||
in on zx0 tcp 10.3.0.1,12345 10.1.2.2,23
|
||||
in on zx0 tcp 10.3.0.1,12345 10.2.2.2,23
|
||||
in on zx0 tcp 10.3.3.3,12345 10.1.1.1,23
|
||||
in on zx0 tcp 10.2.2.2,12345 10.1.1.1,53
|
||||
in on zx0 tcp 10.3.3.3,12345 10.1.1.1,53
|
||||
in on zx0 tcp 10.2.2.2,12345 10.1.0.0,23
|
||||
in on zx0 tcp 10.3.3.3,12345 10.1.0.0,23
|
||||
in on zx0 udp 10.2.2.2,12345 10.1.1.0,53
|
||||
in on zx0 udp 10.3.3.3,12345 10.1.1.0,53
|
||||
in on zx0 tcp 10.2.2.2,12345 10.1.1.0,53
|
||||
in on zx0 tcp 10.3.3.3,12345 10.1.1.0,53
|
9
dist/ipf/test/input/n7
vendored
9
dist/ipf/test/input/n7
vendored
@ -1,9 +0,0 @@
|
||||
in on zx0 tcp 10.2.3.1,1230 10.1.1.1,22
|
||||
in on zx0 tcp 10.2.3.1,1231 10.1.1.1,23
|
||||
in on zx0 tcp 10.2.3.1,1232 10.1.1.1,50
|
||||
in on zx0 tcp 10.2.3.1,1233 10.1.1.1,79
|
||||
in on zx0 tcp 10.2.3.1,1234 10.1.1.1,80
|
||||
in on zx0 tcp 10.2.3.1,1235 10.1.1.2,80
|
||||
in on zx0 tcp 10.2.3.1,1236 10.1.1.3,80
|
||||
in on zx0 tcp 10.2.3.1,1237 10.1.1.4,80
|
||||
in on zx0 tcp 10.2.3.1,1238 10.1.1.4,80
|
6
dist/ipf/test/input/ni1
vendored
6
dist/ipf/test/input/ni1
vendored
@ -1,6 +0,0 @@
|
||||
#v tos len id off ttl p sum src dst
|
||||
# ICMP timeout exceeded in reply to a ICMP packet going out.
|
||||
[out,df0] 45 00 0028 4706 4000 01 11 ced8 0202 0202 0404 0404 afc9 829e 0014 1335 0402 0000 3be5 468d 000a cfc3
|
||||
|
||||
[in,df0] 45 00 0038 809a 0000 ff 01 8f31 0303 0303 0101 0101 0b00 ad3f 0000 0000 4500 0028 4703 4000 0111 e781 0606 0606 0404 0404 afc9 829e 0014 1547
|
||||
|
161
dist/ipf/test/input/ni2
vendored
161
dist/ipf/test/input/ni2
vendored
@ -1,161 +0,0 @@
|
||||
# Test of fragmentation required coming from the inside.
|
||||
[out,xl0]
|
||||
4510 002c bd0d 4000 3e06 ea1d
|
||||
0a01 0201
|
||||
c0a8 0133
|
||||
05f6 0077 a664 2485 0000 0000
|
||||
6002 4000 b8f2 0000 0204 05b4
|
||||
|
||||
[in,xl0]
|
||||
4500 002c ce83 4000 7e06 98b7
|
||||
c0a8 0133
|
||||
0a01 0201
|
||||
0077 05f6 fbdf 1a21 a664 2486
|
||||
6012 2238 c0a8 0000 0204 05b4 0000
|
||||
|
||||
[out,xl0]
|
||||
4510 0028 bd0e 4000 3e06 ea20
|
||||
0a01 0201
|
||||
c0a8 0133
|
||||
05f6 0077 a664 2486 fbdf 1a22
|
||||
5010 4470 b62d 0000
|
||||
|
||||
[in,xl0]
|
||||
4500 005b cf83 4000 7e06 9788
|
||||
c0a8 0133
|
||||
0a01 0201
|
||||
0077 05f6 fbdf 1a22 a664 2486
|
||||
5018 2238 ce2a 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0a
|
||||
|
||||
[out,xl0]
|
||||
4510 0028 bd18 4000 3e06 ea16
|
||||
0a01 0201
|
||||
c0a8 0133
|
||||
05f6 0077 a664 2486 fbdf 1a55
|
||||
5010 4470 b5fa 0000
|
||||
|
||||
[out,xl0]
|
||||
4510 002e bd1e 4000 3e06 ea0a
|
||||
0a01 0201
|
||||
c0a8 0133
|
||||
05f6 0077 a664 2486 fbdf 1a55
|
||||
5018 4470 a8e2 0000 0000 0000 0d0a
|
||||
|
||||
[in,xl0]
|
||||
4500 0048 e383 4000 7e06 839b
|
||||
c0a8 0133
|
||||
0a01 0201
|
||||
0077 05f6 fbdf 1a55 a664 248c
|
||||
5018 2232 d80a 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000
|
||||
|
||||
[in,xl0]
|
||||
4500 05dc e483 4000 7e06 7d07
|
||||
c0a8 0133
|
||||
0a01 0201
|
||||
0077 05f6 fbdf 1a75 a664 248c
|
||||
5010 2232 9f2d 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 1111 2222 3333 0000 0000 0000 0000
|
||||
0000 0000 1111 2222 3333 0000 0000 0000
|
||||
0000 0000 0000 1111 2222 3333 0000 0000
|
||||
0000 0000 0000 0000 1111 2222 3333 0000
|
||||
0000 0000 0000 0000 0000 1111 2222 3333
|
||||
0000 0000 0000 0000 0000 0000 1111 2222
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 1111 2222 3333 0000 0000 0000 0000
|
||||
0000 0000 1111 2222 3333 0000 0000 0000
|
||||
0000 0000 0000 1111 2222 3333 0000 0000
|
||||
0000 0000 0000 0000 1111 2222 3333 0000
|
||||
0000 0000 0000 0000 0000 1111 2222 3333
|
||||
0000 0000 0000 0000 0000 0000 1111 2222
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 1111 2222 3333 0000 0000 0000 0000
|
||||
0000 0000 1111 2222 3333 0000 0000 0000
|
||||
0000 0000 0000 1111 2222 3333 0000 0000
|
||||
0000 0000 0000 0000 1111 2222 3333 0000
|
||||
0000 0000 0000 0000 0000 1111 2222 3333
|
||||
0000 0000 0000 0000 0000 0000 1111 2222
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 1111 2222 3333 0000 0000 0000 0000
|
||||
0000 0000 1111 2222 3333 0000 0000 0000
|
||||
0000 0000 0000 1111 2222 3333 0000 0000
|
||||
0000 0000 0000 0000 1111 2222 3333 0000
|
||||
0000 0000 0000 0000 0000 1111 2222 3333
|
||||
0000 0000 0000 0000 0000 0000 1111 2222
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 1111 2222 3333 0000 0000 0000 0000
|
||||
0000 0000 1111 2222 3333 0000 0000 0000
|
||||
0000 0000 0000 1111 2222 3333 0000 0000
|
||||
0000 0000 0000 0000 1111 2222 3333 0000
|
||||
0000 0000 0000 0000 0000 1111 2222 3333
|
||||
0000 0000 0000 0000 0000 0000 1111 2222
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 1111 2222 3333 0000 0000 0000 0000
|
||||
0000 0000 1111 2222 3333 0000 0000 0000
|
||||
0000 0000 0000 1111 2222 3333 0000 0000
|
||||
0000 0000 0000 0000 1111 2222 3333 0000
|
||||
0000 0000 0000 0000 0000 1111 2222 3333
|
||||
0000 0000 0000 0000 0000 0000 1111 2222
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 1111 2222 3331 0000 0000 0000 0000
|
||||
0000 0000 1111 2222 3333 0000 0000 0000
|
||||
0000 0000 0000 1111 2222 3333 0000 0000
|
||||
0000 0000 0000 0000 1111 2222 3333 0000
|
||||
0000 0000 0000 0000 0000 1111 2222 3333
|
||||
0000 0000 0000 0000 0000 0000 1111 2222
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 1111 2222 3333 0000 0000 0000 0000
|
||||
0000 0000 1111 2222 3333 0000 0000 0000
|
||||
0000 0000 0000 1111 2222 3333 0000 0000
|
||||
0000 0000 0000 0000 1111 2222 3333 0000
|
||||
0000 0000 0000 0000 0000 1111 2222 3333
|
||||
0000 0000 0000 0000 0000 0000 1111 2222
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 1111 2222 3333 0000 0000 0000 0000
|
||||
0000 0000 1111 2222 3333 0000 0000 0000
|
||||
0000 0000 0000 1111 2222 3333 0000 0000
|
||||
0000 0000 0000 0000 1111 2222 3333 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000 0000 0000
|
||||
0000 0000 0000 0000 0000 0000
|
||||
|
||||
[out,xl0]
|
||||
4500 0038 d71d 4000 4001 ce16
|
||||
c0a8 6401
|
||||
c0a8 0133
|
||||
0304 cad5 0000 05a0 4500 05dc
|
||||
e483 4000 7e06 7d07 c0a8 0133 0a01 0201
|
||||
0077 05f6 fbdf 1a75
|
||||
|
10
dist/ipf/test/input/ni4
vendored
10
dist/ipf/test/input/ni4
vendored
@ -1,10 +0,0 @@
|
||||
#v tos len id off ttl p sum src dst
|
||||
# ICMP dest unreachable with 64 bits in payload (in reply to a TCP packet
|
||||
# going out)
|
||||
[out,df0] 45 00 00 3c 47 06 40 00 ff 06 28 aa 02 02 02 02 04 04 04 04 50 00 00 50 00 00 00 01 00 00 00 00 a0 02 16 d0 d8 e2 00 00 02 04 05 b4 04 02 08 0a 00 47 fb b0 00 00 00 00 01 03 03 00
|
||||
|
||||
[in,df0] 45 00 00 38 80 9a 00 00 ff 01 33 23 03 03 03 03 01 01 01 01 03 03 60 6b 00 00 00 00 45 00 00 3c 47 06 40 00 ff 06 20 a2 06 06 06 06 04 04 04 04 9c 40 00 50 00 00 00 01
|
||||
|
||||
# ICMP dest unreachable with whole packet in payload (40 bytes = 320 bits)
|
||||
[in,df0] 45 00 00 58 80 9a 00 00 ff 01 33 03 03 03 03 03 01 01 01 01 03 03 11 3f 00 00 00 00 45 00 00 3c 47 06 40 00 ff 06 20 a2 06 06 06 06 04 04 04 04 9c 40 00 50 00 00 00 01 00 00 00 00 a0 02 16 d0 84 9a 00 00 02 04 05 b4 04 02 08 0a 00 47 fb b0 00 00 00 00 01 03 03 00
|
||||
|
276
dist/ipf/test/input/ni5
vendored
276
dist/ipf/test/input/ni5
vendored
@ -1,276 +0,0 @@
|
||||
[out,ppp0]
|
||||
4500 002c 10c9 4000 ff06 3289 c0a8 0103
|
||||
96cb e002 8032 0015 bd6b c9c8 0000 0000
|
||||
6002 2238 35f9 0000 0204 05b4 3cb9
|
||||
|
||||
[in,ppp0]
|
||||
4500 002c ffdd 4000 ef06 5374 96cb e002
|
||||
0101 0101 0015 8032 3786 76c4 bd6b c9c9
|
||||
6012 269c 4313 0000 0204 0584
|
||||
|
||||
[out,ppp0]
|
||||
4500 0028 10ca 4000 ff06 328c c0a8 0103
|
||||
96cb e002 8032 0015 bd6b c9c9 3786 76c5
|
||||
5010 269c 9af6 0000 c0a8 0103 0015
|
||||
|
||||
[in,ppp0]
|
||||
4500 006f ffde 4000 ef06 5330 96cb e002
|
||||
0101 0101 0015 8032 3786 76c5 bd6b c9c9
|
||||
5018 269c 5628 0000 3232 302d 636f 6f6d
|
||||
6273 2e61 6e75 2e65 6475 2e61 7520 4e63
|
||||
4654 5064 2053 6572 7665 7220 2866 7265
|
||||
6520 6564 7563 6174 696f 6e61 6c20 6c69
|
||||
6365 6e73 6529 2072 6561 6479 2e0d 0a
|
||||
|
||||
[out,ppp0]
|
||||
4500 0028 10cb 4000 ff06 328b c0a8 0103
|
||||
96cb e002 8032 0015 bd6b c9c9 3786 770c
|
||||
5010 269c 9aaf 0000 0111 aa28 c0a8
|
||||
|
||||
[in,ppp0]
|
||||
4500 00c7 ffdf 4000 ef06 52d7 96cb e002
|
||||
0101 0101 0015 8032 3786 770c bd6b c9c9
|
||||
5018 269c d030 0000 3232 302d 0d0a 3232
|
||||
302d 4d61 696e 7461 696e 6564 2062 7920
|
||||
5253 5353 2061 6e64 2052 5350 4153 2049
|
||||
5420 5374 6166 6620 2870 7265 7669 6f75
|
||||
736c 7920 6b6e 6f77 6e20 6173 2043 6f6f
|
||||
6d62 7320 436f 6d70 7574 696e 6720 556e
|
||||
6974 290d 0a32 3230 2d41 6e79 2070 726f
|
||||
626c 656d 7320 636f 6e74 6163 7420 6674
|
||||
706d 6173 7465 7240 636f 6f6d 6273 2e61
|
||||
6e75 2e65 6475 2e61 750d 0a32 3230 2d0d
|
||||
0a32 3230 200d 0a
|
||||
|
||||
[out,ppp0]
|
||||
4500 0028 10cc 4000 ff06 328a c0a8 0103
|
||||
96cb e002 8032 0015 bd6b c9c9 3786 77ab
|
||||
5010 269c 9a10 0000 c0a8 0103 206c
|
||||
|
||||
[out,ppp0]
|
||||
4500 0038 10cd 4000 ff06 3279 c0a8 0103
|
||||
96cb e002 8032 0015 bd6b c9c9 3786 77ab
|
||||
5018 269c 121c 0000 5553 4552 2061 6e6f
|
||||
6e79 6d6f 7573 0d0a
|
||||
|
||||
[in,ppp0]
|
||||
4500 0028 ffe0 4000 ef06 5375 96cb e002
|
||||
0101 0101 0015 8032 3786 77ab bd6b c9d9
|
||||
5010 269c 59aa 0000
|
||||
|
||||
[in,ppp0]
|
||||
4500 006c ffe1 4000 ef06 5330 96cb e002
|
||||
0101 0101 0015 8032 3786 77ab bd6b c9d9
|
||||
5018 269c 6fb9 0000 3333 3120 4775 6573
|
||||
7420 6c6f 6769 6e20 6f6b 2c20 7365 6e64
|
||||
2079 6f75 7220 636f 6d70 6c65 7465 2065
|
||||
2d6d 6169 6c20 6164 6472 6573 7320 6173
|
||||
2070 6173 7377 6f72 642e 0d0a
|
||||
|
||||
[out,ppp0]
|
||||
4500 0028 10ce 4000 ff06 3288 c0a8 0103
|
||||
96cb e002 8032 0015 bd6b c9d9 3786 77ef
|
||||
5010 269c 99bc 0000 c0a8 0103 0015
|
||||
|
||||
[out,ppp0]
|
||||
4500 0036 10cf 4000 ff06 3279 c0a8 0103
|
||||
96cb e002 8032 0015 bd6b c9d9 3786 77ef
|
||||
5018 269c 7795 0000 5041 5353 2061 7661
|
||||
6c6f 6e40 0d0a
|
||||
|
||||
[in,ppp0]
|
||||
4500 005f ffe2 4000 ef06 533c 96cb e002
|
||||
0101 0101 0015 8032 3786 77ef bd6b c9e7
|
||||
5018 269c 4908 0000 3233 302d 596f 7520
|
||||
6172 6520 7573 6572 2023 3420 6f66 2035
|
||||
3020 7369 6d75 6c74 616e 656f 7573 2075
|
||||
7365 7273 2061 6c6c 6f77 6564 2e0d 0a
|
||||
|
||||
[out,ppp0]
|
||||
4500 0028 10d0 4000 ff06 3286 c0a8 0103
|
||||
96cb e002 8032 0015 bd6b c9e7 3786 7826
|
||||
5010 269c 9977 0000 0000 0800 207a
|
||||
|
||||
[in,ppp0]
|
||||
4500 0099 ffe3 4000 ef06 5301 96cb e002
|
||||
0101 0101 0015 8032 3786 7826 bd6b c9e7
|
||||
5018 269c 9343 0000 3233 302d 0d0a 3233
|
||||
302d 0d0a 3233 302d 4869 2e20 2057 6527
|
||||
7265 2063 6c65 616e 696e 6720 7570 2e20
|
||||
2041 6e79 2066 6565 6462 6163 6b20 6d6f
|
||||
7374 2077 656c 636f 6d65 2e20 3130 2041
|
||||
7567 2030 300d 0a32 3330 2d0d 0a32 3330
|
||||
204c 6f67 6765 6420 696e 2061 6e6f 6e79
|
||||
6d6f 7573 6c79 2e0d 0a
|
||||
|
||||
[out,ppp0]
|
||||
4500 0028 10d1 4000 ff06 3285 c0a8 0103
|
||||
96cb e002 8032 0015 bd6b c9e7 3786 7897
|
||||
5010 269c 9906 0000 c0a8 0103 0015
|
||||
|
||||
[out,ppp0]
|
||||
4500 0030 10d2 4000 ff06 327c c0a8 0103
|
||||
96cb e002 8032 0015 bd6b c9e7 3786 7897
|
||||
5018 269c c704 0000 5459 5045 2049 0d0a
|
||||
|
||||
[in,ppp0]
|
||||
4500 0038 ffe4 4000 ef06 5361 96cb e002
|
||||
0101 0101 0015 8032 3786 7897 bd6b c9ef
|
||||
5018 269c 1f58 0000 3230 3020 5479 7065
|
||||
206f 6b61 792e 0d0a
|
||||
|
||||
[out,ppp0]
|
||||
4500 0028 10d3 4000 ff06 3283 c0a8 0103
|
||||
96cb e002 8032 0015 bd6b c9ef 3786 78a7
|
||||
5010 269c 98ee 0000 c0a8 0103 0015
|
||||
|
||||
[out,ppp0]
|
||||
4500 0041 10d4 4000 ff06 3269 c0a8 0103
|
||||
96cb e002 8032 0015 bd6b c9ef 3786 78a7
|
||||
5018 269c 1c4d 0000 504f 5254 2031 3932
|
||||
2c31 3638 2c31 2c33 2c31 3238 2c35 310d
|
||||
0a
|
||||
|
||||
[in,ppp0]
|
||||
4500 0046 ffe5 4000 ef06 5352 96cb e002
|
||||
0101 0101 0015 8032 3786 78a7 bd6b ca08
|
||||
5018 269c 9b71 0000 3230 3020 504f 5254
|
||||
2063 6f6d 6d61 6e64 2073 7563 6365 7373
|
||||
6675 6c2e 0d0a
|
||||
|
||||
[out,ppp0]
|
||||
4500 0030 10d5 4000 ff06 3279 c0a8 0103
|
||||
96cb e002 8032 0015 bd6b ca08 3786 78c5
|
||||
5018 269c c6bd 0000 5459 5045 2041 0d0a
|
||||
|
||||
[in,ppp0]
|
||||
4500 0038 ffe6 4000 ef06 535f 96cb e002
|
||||
0101 0101 0015 8032 3786 78c5 bd6b ca10
|
||||
5018 269c 1f09 0000 3230 3020 5479 7065
|
||||
206f 6b61 792e 0d0a
|
||||
|
||||
[out,ppp0]
|
||||
4500 002e 10d6 4000 ff06 327a c0a8 0103
|
||||
96cb e002 8032 0015 bd6b ca10 3786 78d5
|
||||
5018 269c e9e6 0000 4e4c 5354 0d0a
|
||||
|
||||
[in,ppp0]
|
||||
4500 002c ffe7 4000 ef06 536a 96cb e002
|
||||
0101 0101 0014 8033 d9f8 11d4 0000 0000
|
||||
6002 2238 913a 0000 0204 0584
|
||||
|
||||
[out,ppp0]
|
||||
4500 002c 10d7 4000 ff06 327b c0a8 0103
|
||||
96cb e002 8033 0014 bd78 5c12 d9f8 11d5
|
||||
6012 02f8 d734 0000 0204 0584 3cc7
|
||||
|
||||
[in,ppp0]
|
||||
4500 0028 ffe8 4000 ef06 536d 96cb e002
|
||||
0101 0101 0014 8033 d9f8 11d5 bd78 5c13
|
||||
5010 269c 8ac7 0000
|
||||
|
||||
[in,ppp0]
|
||||
4500 005d ffe9 4000 ef06 5337 96cb e002
|
||||
0101 0101 0015 8032 3786 78d5 bd6b ca16
|
||||
5018 269c ae7e 0000 3135 3020 4f70 656e
|
||||
696e 6720 4153 4349 4920 6d6f 6465 2064
|
||||
6174 6120 636f 6e6e 6563 7469 6f6e 2066
|
||||
6f72 202f 6269 6e2f 6c73 2e0d 0a
|
||||
|
||||
[out,ppp0]
|
||||
4500 0028 10d8 4000 ff06 327e c0a8 0103
|
||||
96cb e002 8033 0014 bd78 5c13 d9f8 11d5
|
||||
5010 6348 8e71 0000 c0a8 0103 0015
|
||||
|
||||
[in,ppp0]
|
||||
4500 0063 ffea 4000 ef06 5330 96cb e002
|
||||
0101 0101 0014 8033 d9f8 11d5 bd78 5c13
|
||||
5018 269c 62bf 0000 636f 6f6d 6273 7061
|
||||
7065 7273 0d0a 6465 7074 730d 0a66 6f75
|
||||
6e64 2d66 696c 6573 0d0a 696e 636f 6d69
|
||||
6e67 0d0a 6e6c 632d 7465 7374 0d0a 7075
|
||||
620d 0a
|
||||
|
||||
[out,ppp0]
|
||||
4500 0028 10d9 4000 ff06 327d c0a8 0103
|
||||
96cb e002 8033 0014 bd78 5c13 d9f8 1210
|
||||
5010 6348 8e36 0000 c0a8 0103 0014
|
||||
|
||||
[in,ppp0]
|
||||
4500 0028 ffeb 4000 ef06 536a 96cb e002
|
||||
0101 0101 0014 8033 d9f8 1210 bd78 5c13
|
||||
5011 269c 8a8b 0000
|
||||
|
||||
[out,ppp0]
|
||||
4500 0028 10da 4000 ff06 327c c0a8 0103
|
||||
96cb e002 8033 0014 bd78 5c13 d9f8 1211
|
||||
5010 6348 8e35 0000 c0a8 0103 0014
|
||||
|
||||
[out,ppp0]
|
||||
4500 0028 10db 4000 ff06 327b c0a8 0103
|
||||
96cb e002 8033 0014 bd78 5c13 d9f8 1211
|
||||
5011 6348 8e34 0000 c0a8 0103 0014
|
||||
|
||||
[in,ppp0]
|
||||
4500 0028 ffec 4000 ef06 5369 96cb e002
|
||||
0101 0101 0014 8033 d9f8 1211 bd78 5c14
|
||||
5010 269c 8a8a 0000
|
||||
|
||||
[out,ppp0]
|
||||
4500 0028 10dc 4000 ff06 327a c0a8 0103
|
||||
96cb e002 8032 0015 bd6b ca16 3786 790a
|
||||
5010 269c 9864 0000 c0a8 0103 0014
|
||||
|
||||
[in,ppp0]
|
||||
4500 0040 ffed 4000 ef06 5350 96cb e002
|
||||
0101 0101 0015 8032 3786 790a bd6b ca16
|
||||
5018 269c 3c4c 0000 3232 3620 4c69 7374
|
||||
696e 6720 636f 6d70 6c65 7465 642e 0d0a
|
||||
|
||||
[out,ppp0]
|
||||
4500 0030 10dd 4000 ff06 3271 c0a8 0103
|
||||
96cb e002 8032 0015 bd6b ca16 3786 7922
|
||||
5018 269c c64a 0000 5459 5045 2049 0d0a
|
||||
|
||||
[in,ppp0]
|
||||
4500 0038 ffee 4000 ef06 5357 96cb e002
|
||||
0101 0101 0015 8032 3786 7922 bd6b ca1e
|
||||
5018 269c 1e9e 0000 3230 3020 5479 7065
|
||||
206f 6b61 792e 0d0a
|
||||
|
||||
[out,ppp0]
|
||||
4500 0028 10de 4000 ff06 3278 c0a8 0103
|
||||
96cb e002 8032 0015 bd6b ca1e 3786 7932
|
||||
5010 269c 9834 0000 6720 636f 6d70
|
||||
|
||||
[out,ppp0]
|
||||
4500 002e 10df 4000 ff06 3271 c0a8 0103
|
||||
96cb e002 8032 0015 bd6b ca1e 3786 7932
|
||||
5018 269c f072 0000 5155 4954 0d0a
|
||||
|
||||
[in,ppp0]
|
||||
4500 0036 ffef 4000 ef06 5358 96cb e002
|
||||
0101 0101 0015 8032 3786 7932 bd6b ca24
|
||||
5018 269c 68ea 0000 3232 3120 476f 6f64
|
||||
6279 652e 0d0a
|
||||
|
||||
[out,ppp0]
|
||||
4500 0028 10e0 4000 ff06 3276 c0a8 0103
|
||||
96cb e002 8032 0015 bd6b ca24 3786 7940
|
||||
5011 269c 981f 0000 c0a8 0103 0015
|
||||
|
||||
[in,ppp0]
|
||||
4500 0028 fff0 4000 ef06 5365 96cb e002
|
||||
0101 0101 0015 8032 3786 7940 bd6b ca24
|
||||
5011 269c 57c9 0000
|
||||
|
||||
[out,ppp0]
|
||||
4500 0028 10e1 4000 ff06 3275 c0a8 0103
|
||||
96cb e002 8032 0015 bd6b ca25 3786 7941
|
||||
5010 269c 981e 0000 0663 6f6f 6d62
|
||||
|
||||
[in,ppp0]
|
||||
4500 0028 fff1 4000 ef06 5364 96cb e002
|
||||
0101 0101 0015 8032 3786 7941 bd6b ca25
|
||||
5010 269c 57c8 0000
|
||||
|
21
dist/ipf/test/intest
vendored
21
dist/ipf/test/intest
vendored
@ -1,21 +0,0 @@
|
||||
#!/bin/sh
|
||||
if [ -f /usr/ucb/touch ] ; then
|
||||
TOUCH=/usr/ucb/touch
|
||||
else
|
||||
if [ -f /usr/bin/touch ] ; then
|
||||
TOUCH=/usr/bin/touch
|
||||
else
|
||||
if [ -f /bin/touch ] ; then
|
||||
TOUCH=/bin/touch
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
echo "$1...";
|
||||
/bin/cp /dev/null results/$1
|
||||
../ipnat -nvf regress/$1 2>/dev/null > results/$1
|
||||
cmp expected/$1 results/$1
|
||||
status=$?
|
||||
if [ $status = 0 ] ; then
|
||||
$TOUCH $1
|
||||
fi
|
||||
exit $status
|
24
dist/ipf/test/itest
vendored
24
dist/ipf/test/itest
vendored
@ -1,24 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: itest,v 1.2 1999/12/11 23:22:14 veego Exp $
|
||||
#
|
||||
if [ -f /usr/ucb/touch ] ; then
|
||||
TOUCH=/usr/ucb/touch
|
||||
else
|
||||
if [ -f /usr/bin/touch ] ; then
|
||||
TOUCH=/usr/bin/touch
|
||||
else
|
||||
if [ -f /bin/touch ] ; then
|
||||
TOUCH=/bin/touch
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
echo "$1...";
|
||||
/bin/cp /dev/null results/$1
|
||||
../ipf -nvf regress/$1 2>/dev/null > results/$1
|
||||
cmp expected/$1 results/$1
|
||||
status=$?
|
||||
if [ $status = 0 ] ; then
|
||||
$TOUCH $1
|
||||
fi
|
||||
exit $status
|
48
dist/ipf/test/logtest
vendored
48
dist/ipf/test/logtest
vendored
@ -1,48 +0,0 @@
|
||||
#!/bin/sh
|
||||
if [ -f /usr/ucb/touch ] ; then
|
||||
TOUCH=/usr/ucb/touch
|
||||
else
|
||||
if [ -f /usr/bin/touch ] ; then
|
||||
TOUCH=/usr/bin/touch
|
||||
else
|
||||
if [ -f /bin/touch ] ; then
|
||||
TOUCH=/bin/touch
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
echo "$1...";
|
||||
|
||||
/bin/cp /dev/null results/$1
|
||||
/bin/cp /dev/null results/$1.b
|
||||
|
||||
( while read rule; do
|
||||
echo $rule >> results/$1
|
||||
echo $rule | ../ipftest -br - -Hi input/$1 -l logout > /dev/null
|
||||
if [ $? -ne 0 ] ; then
|
||||
/bin/rm -f logout
|
||||
exit 1
|
||||
fi
|
||||
TZ=GMT ../ipmon -P /dev/null -f logout >> results/$1
|
||||
echo "--------" >> results/$1
|
||||
TZ=GMT ../ipmon -P /dev/null -bf logout >> results/$1.b
|
||||
echo "--------" >> results/$1.b
|
||||
done ) < regress/$1
|
||||
../ipftest -br regress/$1 -Hi input/$1 -l logout > /dev/null
|
||||
TZ=GMT ../ipmon -P /dev/null -f logout >> results/$1
|
||||
echo "--------" >> results/$1
|
||||
TZ=GMT ../ipmon -P /dev/null -bf logout >> results/$1.b
|
||||
echo "--------" >> results/$1.b
|
||||
|
||||
cmp expected/$1 results/$1
|
||||
status=$?
|
||||
if [ $status -ne 0 ] ; then
|
||||
exit $status
|
||||
fi
|
||||
cmp expected/$1.b results/$1.b
|
||||
status=$?
|
||||
if [ $status -ne 0 ] ; then
|
||||
exit $status
|
||||
fi
|
||||
/bin/rm -f logout
|
||||
$TOUCH $1
|
||||
exit 0
|
36
dist/ipf/test/mhtest
vendored
36
dist/ipf/test/mhtest
vendored
@ -1,36 +0,0 @@
|
||||
#!/bin/sh
|
||||
# multiple rules at the same time
|
||||
|
||||
if [ -f /usr/ucb/touch ] ; then
|
||||
TOUCH=/usr/ucb/touch
|
||||
else
|
||||
if [ -f /usr/bin/touch ] ; then
|
||||
TOUCH=/usr/bin/touch
|
||||
else
|
||||
if [ -f /bin/touch ] ; then
|
||||
TOUCH=/bin/touch
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
echo "$1...";
|
||||
|
||||
/bin/cp /dev/null results/$1
|
||||
|
||||
../ipftest -br regress/$1 -Hi input/$1 > results/$1
|
||||
if [ $? -ne 0 ] ; then
|
||||
exit 1
|
||||
fi
|
||||
echo "--------" >> results/$1
|
||||
|
||||
cmp expected/$1 results/$1
|
||||
status=$?
|
||||
if [ $status -ne 0 ] ; then
|
||||
exit $status
|
||||
fi
|
||||
cmp expected/$1 results/$1
|
||||
status=$?
|
||||
if [ $status -ne 0 ] ; then
|
||||
exit $status
|
||||
fi
|
||||
$TOUCH $1
|
||||
exit 0
|
36
dist/ipf/test/mtest
vendored
36
dist/ipf/test/mtest
vendored
@ -1,36 +0,0 @@
|
||||
#!/bin/sh
|
||||
# multiple rules at the same time
|
||||
|
||||
if [ -f /usr/ucb/touch ] ; then
|
||||
TOUCH=/usr/ucb/touch
|
||||
else
|
||||
if [ -f /usr/bin/touch ] ; then
|
||||
TOUCH=/usr/bin/touch
|
||||
else
|
||||
if [ -f /bin/touch ] ; then
|
||||
TOUCH=/bin/touch
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
echo "$1...";
|
||||
|
||||
/bin/cp /dev/null results/$1
|
||||
|
||||
../ipftest -br regress/$1 -i input/$1 > results/$1
|
||||
if [ $? -ne 0 ] ; then
|
||||
exit 1
|
||||
fi
|
||||
echo "--------" >> results/$1
|
||||
|
||||
cmp expected/$1 results/$1
|
||||
status=$?
|
||||
if [ $status -ne 0 ] ; then
|
||||
exit $status
|
||||
fi
|
||||
cmp expected/$1 results/$1
|
||||
status=$?
|
||||
if [ $status -ne 0 ] ; then
|
||||
exit $status
|
||||
fi
|
||||
$TOUCH $1
|
||||
exit 0
|
28
dist/ipf/test/natipftest
vendored
28
dist/ipf/test/natipftest
vendored
@ -1,28 +0,0 @@
|
||||
#!/bin/sh
|
||||
if [ -f /usr/ucb/touch ] ; then
|
||||
TOUCH=/usr/ucb/touch
|
||||
else
|
||||
if [ -f /usr/bin/touch ] ; then
|
||||
TOUCH=/usr/bin/touch
|
||||
else
|
||||
if [ -f /bin/touch ] ; then
|
||||
TOUCH=/bin/touch
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
echo "$1...";
|
||||
/bin/cp /dev/null results/$1
|
||||
( while read rule; do
|
||||
echo "$rule" | ../ipftest -bHx -r regress/$1.ipf -Nr - -i input/$1 >> \
|
||||
results/$1;
|
||||
if [ $? -ne 0 ] ; then
|
||||
exit 1;
|
||||
fi
|
||||
echo "-------------------------------" >> results/$1
|
||||
done ) < regress/$1.nat
|
||||
cmp expected/$1 results/$1
|
||||
status=$?
|
||||
if [ $status = 0 ] ; then
|
||||
$TOUCH $1
|
||||
fi
|
||||
exit $status
|
30
dist/ipf/test/nattest
vendored
30
dist/ipf/test/nattest
vendored
@ -1,30 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: nattest,v 1.2 1999/12/11 23:22:14 veego Exp $
|
||||
#
|
||||
if [ -f /usr/ucb/touch ] ; then
|
||||
TOUCH=/usr/ucb/touch
|
||||
else
|
||||
if [ -f /usr/bin/touch ] ; then
|
||||
TOUCH=/usr/bin/touch
|
||||
else
|
||||
if [ -f /bin/touch ] ; then
|
||||
TOUCH=/bin/touch
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
echo "$1...";
|
||||
/bin/cp /dev/null results/$1
|
||||
( while read rule; do
|
||||
echo "$rule" | ../ipftest -Nbr - -i input/$1 >> results/$1;
|
||||
if [ $? -ne 0 ] ; then
|
||||
exit 1;
|
||||
fi
|
||||
echo "-------------------------------" >> results/$1
|
||||
done ) < regress/$1
|
||||
cmp expected/$1 results/$1
|
||||
status=$?
|
||||
if [ $status = 0 ] ; then
|
||||
$TOUCH $1
|
||||
fi
|
||||
exit $status
|
4
dist/ipf/test/regress/f1
vendored
4
dist/ipf/test/regress/f1
vendored
@ -1,4 +0,0 @@
|
||||
block in all
|
||||
pass in all
|
||||
block out all
|
||||
pass out all
|
18
dist/ipf/test/regress/f10
vendored
18
dist/ipf/test/regress/f10
vendored
@ -1,18 +0,0 @@
|
||||
block in from any to any with not ipopts
|
||||
pass in from any to any with not opt sec-class topsecret
|
||||
block in from any to any with not opt ssrr,sec-class topsecret
|
||||
pass in from any to any with not opt ssrr,sec-class topsecret
|
||||
block in from any to any with not opt ts,sec-class topsecret
|
||||
pass in from any to any with not opt ts,sec-class topsecret
|
||||
block in from any to any with not opt sec-class secret
|
||||
pass in from any to any with not opt sec-class secret
|
||||
block in from any to any with not opt lsrr,ssrr
|
||||
pass in from any to any with not opt lsrr,ssrr
|
||||
pass in from any to any with not ipopts
|
||||
block in from any to any with not opt lsrr
|
||||
pass in from any to any with not opt lsrr
|
||||
block in from any to any with not opt ssrr,ts
|
||||
pass in from any to any with not opt ssrr,ts
|
||||
block in from any to any with not opt rr
|
||||
pass in from any to any with not opt rr
|
||||
block in from any to any with not opt sec-class topsecret
|
7
dist/ipf/test/regress/f11
vendored
7
dist/ipf/test/regress/f11
vendored
@ -1,7 +0,0 @@
|
||||
pass in proto tcp from any to any port = 23 flags S/SA keep state
|
||||
block in proto tcp from any to any port = 23 flags S/SA keep state
|
||||
pass in proto udp from any to any port = 53 keep frags
|
||||
block in proto udp from any to any port = 53 keep frags
|
||||
pass in proto udp from any to any port = 53 keep state
|
||||
block in proto udp from any to any port = 53 keep state
|
||||
pass in on e0 proto tcp from any to any port = 25 keep state
|
6
dist/ipf/test/regress/f12
vendored
6
dist/ipf/test/regress/f12
vendored
@ -1,6 +0,0 @@
|
||||
pass in proto tcp from any port > 1024 to any port = 25 with not short
|
||||
pass in proto tcp from any port > 1024 to any port = 25
|
||||
block in proto tcp from any to any with short
|
||||
block in proto tcp from any to any with frag
|
||||
pass in proto udp from any port = 53 to any port = 53
|
||||
block in proto udp from any port = 53 to any port = 53 with not short
|
6
dist/ipf/test/regress/f13
vendored
6
dist/ipf/test/regress/f13
vendored
@ -1,6 +0,0 @@
|
||||
pass in proto tcp from any to any port = 25 flags S/SA keep frags
|
||||
block in proto tcp from any to any port = 25 flags S/SA keep frags
|
||||
pass in proto udp from any to any port = 53 keep frags
|
||||
block in proto udp from any to any port = 53 keep frags
|
||||
pass in proto tcp from any to any port = 25 flags S/SA keep state keep frags
|
||||
block in proto tcp from any to any port = 25 flags S/SA keep state keep frags
|
8
dist/ipf/test/regress/f14
vendored
8
dist/ipf/test/regress/f14
vendored
@ -1,8 +0,0 @@
|
||||
block in from !1.1.1.1 to any
|
||||
pass in from 1.1.1.1 to !any
|
||||
block in from 1.1.1.0/24 to !any
|
||||
pass in from !1.1.1.0/24 to any
|
||||
block in from !1.1.0.0/16 to any
|
||||
pass in from 1.1.0.0/16 to !1.2.0.0/16
|
||||
block in from any to !127.0.0.0/8
|
||||
pass in from !any to any
|
8
dist/ipf/test/regress/f15
vendored
8
dist/ipf/test/regress/f15
vendored
@ -1,8 +0,0 @@
|
||||
block in log quick on hme0 from any to 195.134.65.0/25 head 10
|
||||
block return-rst in log quick proto tcp all flags S head 100 group 10
|
||||
pass in quick proto tcp from any to any port = 22 keep state group 100
|
||||
pass in quick proto tcp from any to any port = 23 keep state group 100
|
||||
pass in quick proto tcp from any to any port = 21 keep state group 100
|
||||
block return-icmp in quick proto udp all keep state head 110 group 10
|
||||
pass in quick proto udp from any to any port = 53 keep state group 110
|
||||
block in log quick on hme0 from any to any
|
10
dist/ipf/test/regress/f16
vendored
10
dist/ipf/test/regress/f16
vendored
@ -1,10 +0,0 @@
|
||||
pass in all
|
||||
skip 2 in proto tcp all
|
||||
block in quick proto tcp all
|
||||
skip 4 in proto udp all
|
||||
block in quick proto udp all
|
||||
pass in quick proto tcp from any to 1.1.1.1
|
||||
pass in quick proto tcp from any to 1.1.1.2 port = 22
|
||||
block in quick proto udp from any to any port = 53
|
||||
pass in quick proto udp from any to any port = 53
|
||||
block in all
|
4
dist/ipf/test/regress/f17
vendored
4
dist/ipf/test/regress/f17
vendored
@ -1,4 +0,0 @@
|
||||
block in all
|
||||
block out all
|
||||
pass out quick on ppp0 proto tcp all flags S keep state
|
||||
block return-rst in quick proto tcp all
|
6
dist/ipf/test/regress/f2
vendored
6
dist/ipf/test/regress/f2
vendored
@ -1,6 +0,0 @@
|
||||
block in proto tcp from any to any
|
||||
pass in proto tcp from any to any
|
||||
block in proto udp from any to any
|
||||
pass in proto udp from any to any
|
||||
block in proto icmp from any to any
|
||||
pass in proto icmp from any to any
|
8
dist/ipf/test/regress/f3
vendored
8
dist/ipf/test/regress/f3
vendored
@ -1,8 +0,0 @@
|
||||
block in from 1.1.1.1 to any
|
||||
pass in from 1.1.1.1 to any
|
||||
block in from 1.1.1.1/24 to any
|
||||
pass in from 1.1.1.1/24 to any
|
||||
block in from 1.1.1.1/16 to any
|
||||
pass in from 1.1.1.1/16 to any
|
||||
block in from 1.1.1.1/0 to any
|
||||
pass in from 1.1.1.1/0 to any
|
8
dist/ipf/test/regress/f4
vendored
8
dist/ipf/test/regress/f4
vendored
@ -1,8 +0,0 @@
|
||||
block in from any to 1.1.1.1
|
||||
pass in from any to 1.1.1.1
|
||||
block in from any to 1.1.1.1/24
|
||||
pass in from any to 1.1.1.1/24
|
||||
block in from any to 1.1.1.1/16
|
||||
pass in from any to 1.1.1.1/16
|
||||
block in from any to 1.1.1.1/0
|
||||
pass in from any to 1.1.1.1/0
|
48
dist/ipf/test/regress/f5
vendored
48
dist/ipf/test/regress/f5
vendored
@ -1,48 +0,0 @@
|
||||
block in proto tcp from any port = 23 to any
|
||||
block in proto udp from any port = 23 to any
|
||||
block in proto tcp/udp from any port = 23 to any
|
||||
pass in proto tcp from any port <= 1023 to any
|
||||
pass in proto udp from any port <= 1023 to any
|
||||
pass in proto tcp/udp from any port <= 1023 to any
|
||||
block in proto tcp from any port >= 1024 to any
|
||||
block in proto udp from any port >= 1024 to any
|
||||
block in proto tcp/udp from any port >= 1024 to any
|
||||
pass in proto tcp from any port >= 1024 to any
|
||||
pass in proto udp from any port >= 1024 to any
|
||||
pass in proto tcp/udp from any port >= 1024 to any
|
||||
block in proto tcp from any port 0 >< 512 to any
|
||||
block in proto udp from any port 0 >< 512 to any
|
||||
block in proto tcp/udp from any port 0 >< 512 to any
|
||||
pass in proto tcp from any port 0 >< 512 to any
|
||||
pass in proto udp from any port 0 >< 512 to any
|
||||
pass in proto tcp/udp from any port 0 >< 512 to any
|
||||
block in proto tcp from any port 6000 <> 6009 to any
|
||||
block in proto udp from any port 6000 <> 6009 to any
|
||||
block in proto tcp/udp from any port 6000 <> 6009 to any
|
||||
pass in proto tcp from any port 6000 <> 6009 to any
|
||||
pass in proto udp from any port 6000 <> 6009 to any
|
||||
pass in proto tcp/udp from any port 6000 <> 6009 to any
|
||||
pass in proto tcp from any port = 23 to any
|
||||
pass in proto udp from any port = 23 to any
|
||||
pass in proto tcp/udp from any port = 23 to any
|
||||
block in proto tcp from any port != 21 to any
|
||||
block in proto udp from any port != 21 to any
|
||||
block in proto tcp/udp from any port != 21 to any
|
||||
pass in proto tcp from any port != 21 to any
|
||||
pass in proto udp from any port != 21 to any
|
||||
pass in proto tcp/udp from any port != 21 to any
|
||||
block in proto tcp from any port < 1024 to any
|
||||
block in proto udp from any port < 1024 to any
|
||||
block in proto tcp/udp from any port < 1024 to any
|
||||
pass in proto tcp from any port < 1024 to any
|
||||
pass in proto udp from any port < 1024 to any
|
||||
pass in proto tcp/udp from any port < 1024 to any
|
||||
block in proto tcp from any port > 1023 to any
|
||||
block in proto udp from any port > 1023 to any
|
||||
block in proto tcp/udp from any port > 1023 to any
|
||||
pass in proto tcp from any port > 1023 to any
|
||||
pass in proto udp from any port > 1023 to any
|
||||
pass in proto tcp/udp from any port > 1023 to any
|
||||
block in proto tcp from any port <= 1023 to any
|
||||
block in proto udp from any port <= 1023 to any
|
||||
block in proto tcp/udp from any port <= 1023 to any
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user