deal with tests
This commit is contained in:
parent
c76c9d1fc1
commit
500828b37a
30
external/bsd/ipf/dist/test/README.TXT
vendored
30
external/bsd/ipf/dist/test/README.TXT
vendored
@ -1,30 +0,0 @@
|
||||
The contents of this directory sub tree is dedicated to regression testing
|
||||
of IPFilter.
|
||||
|
||||
The tests are broken down into these groups:
|
||||
f - filter rule tests
|
||||
i - parsing & printing test of ipf rules
|
||||
in - parsing & printing test of ipnat rules
|
||||
ipv6 - ipv6 filter rule tests
|
||||
l - logging test
|
||||
n - NAT testing
|
||||
ni - combined NAT & IPF tests
|
||||
|
||||
TEST
|
||||
f1 - block/pass, in/out.
|
||||
f2 - proto
|
||||
f3 - from IP#
|
||||
f4 - to #IP
|
||||
f5 - source port
|
||||
f6 - destination port
|
||||
f7 - icmp-type, code
|
||||
f8 - flags
|
||||
f9 - ipoptions
|
||||
f10 - ipoptions
|
||||
f11 - keep frag/state
|
||||
f12 - short/frag
|
||||
f13 - keep frag/state (fragmented packets)
|
||||
f14 - from !host, to !host
|
||||
f15 - groups
|
||||
f16 - skip
|
||||
f17 - TCP state transition on flags
|
19
external/bsd/ipf/dist/test/bpftest
vendored
19
external/bsd/ipf/dist/test/bpftest
vendored
@ -1,19 +0,0 @@
|
||||
#!/bin/sh
|
||||
name=$1
|
||||
|
||||
. ./ipflib.sh
|
||||
|
||||
test_init
|
||||
|
||||
echo "$name...";
|
||||
input=`expr $name : 'bpf-\(.*\)'`
|
||||
/bin/cp /dev/null results/$name
|
||||
( while read rule; do
|
||||
echo "$rule" | ../ipftest -Rbr - -i input/$input >> results/$name
|
||||
if [ $? -ne 0 ] ; then
|
||||
exit 1;
|
||||
fi
|
||||
echo "--------" >> results/$name
|
||||
done ) < regress/$name
|
||||
check_results $name
|
||||
exit $status
|
33
external/bsd/ipf/dist/test/dotest
vendored
33
external/bsd/ipf/dist/test/dotest
vendored
@ -1,33 +0,0 @@
|
||||
#!/bin/sh
|
||||
name=$1
|
||||
format=$2
|
||||
output=$3
|
||||
tuning=$4
|
||||
|
||||
. ./ipflib.sh
|
||||
|
||||
test_init
|
||||
|
||||
if [ "$tuning" != "" ] ; then
|
||||
case $tuning in
|
||||
-*)
|
||||
;;
|
||||
*)
|
||||
tuning="-T $tuning"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
echo "${name}...";
|
||||
n=1
|
||||
/bin/cp /dev/null results/${name}
|
||||
( while read rule; do
|
||||
set_core $name $n
|
||||
echo "$rule" | ../ipftest -F $format -Rbr - -i input/${name} $tuning>> results/${name} &
|
||||
back=$!
|
||||
wait $back
|
||||
test_end_leak $?
|
||||
n=`expr $n + 1`
|
||||
echo "--------" >> results/${name}
|
||||
done ) < regress/${name}
|
||||
check_results $name
|
||||
exit $status
|
35
external/bsd/ipf/dist/test/dotest6
vendored
35
external/bsd/ipf/dist/test/dotest6
vendored
@ -1,35 +0,0 @@
|
||||
#!/bin/sh
|
||||
format=$2
|
||||
mkdir -p results
|
||||
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 -6 -r /dev/null -i /dev/null >/dev/null 2>&1
|
||||
if [ $? -ne 0 ] ; then
|
||||
echo "skipping IPv6 tests"
|
||||
$TOUCH $1
|
||||
exit 0
|
||||
fi
|
||||
( while read rule; do
|
||||
echo "$rule" | ../ipftest -F $format -6br - -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
|
61
external/bsd/ipf/dist/test/e4to6
vendored
61
external/bsd/ipf/dist/test/e4to6
vendored
@ -1,61 +0,0 @@
|
||||
sed \
|
||||
-e 's/192.168.126.0/c0a8:7e00::/' \
|
||||
-e 's/\/32/\/128/g' \
|
||||
-e 's/\/24/\/112/g' \
|
||||
-e 's/\/16/\/32/g' \
|
||||
-e 's/10\.2\.0\.0/10::2:0:0/g' \
|
||||
-e 's/1\.\([0-9]\)\.\([0-9]\)\.\([0-9]\)/1:0:0:0:0:\1:\2:\3/g' \
|
||||
-e 's/2\.\([0-9]\)\.\([0-9]\)\.\([0-9]\)/2:0:0:0:0:\1:\2:\3/g' \
|
||||
-e 's/4\.\([0-9]\)\.\([0-9]\)\.\([0-9]\)/4:\1:\2:0:0:0:0:\3/g' \
|
||||
-e 's/3\.\([0-9]\)\.\([0-9]\)\.\([0-9]\)/3:0:\1:0:0:0:\2:\3/g' \
|
||||
-e 's/5\.\([0-9]\)\.\([0-9]\)\.\([0-9]\)/5:\1:0:0:0:0:\2:\3/g' \
|
||||
-e 's/9\.\([0-9]\)\.\([0-9]\)\.\([0-9]\)/9:\1:\2:0:0:0:0:\3/g' \
|
||||
-e 's/10\.1\.\([0-9]\)\.\([0-9]\)/10:1:\1:0:0:0:0:\2/g' \
|
||||
-e 's/10\.10\.\([0-9]*\)\.\([0-9]\)/10:10:\1:0:0:0:0:\2/g' \
|
||||
-e 's/10\.2\.\([0-9]\)\.\([0-9]\)/10:0:0:0:0:2:\1:\2/g' \
|
||||
-e 's/10\.4\.3\.\([0-9]\)/10:4:3:0:0:0:0:\1/g' \
|
||||
-e 's/10\.3\.4\.\([0-9]\)/10:0:0:0:0:3:4:\1/g' \
|
||||
-e 's/10\.3\.\([0-9]\)\.\([0-9]\)/10:3:\1:0:0:0:0:\2/g' \
|
||||
-e 's/0\.0\.0\.0/any/g' \
|
||||
-e 's/ 0\/0 / any /g' \
|
||||
-e 's/ip #0/ip6\/0/' \
|
||||
-e 's/40(20) 6 /20 0 6 /' \
|
||||
-e 's/28(20) 17 /8 0 17 /' \
|
||||
-e 's/20(20) 0 /1 0 41 /' \
|
||||
-e 's/48(20) 1 /88 0 58 /g' \
|
||||
-e 's/20(20) 34 /1 0 34 /g' \
|
||||
-e 's/20(20) 35 /1 0 35 /g' \
|
||||
-e 's/20(20) 255 /1 0 255 /g' \
|
||||
-e 's/ */ /g' | sed \
|
||||
-e '/use/s/:0:0:0:0:/::/g' \
|
||||
-e '/map/s/:0:0:0:0:/::/g' \
|
||||
-e '/rdr/s/:0:0:0:0:/::/g' \
|
||||
-e '/map/s/:0:0:0:/::/g' \
|
||||
-e '/rdr/s/:0:0:0:/::/g' \
|
||||
-e '/MAP/s/:0:0:0:0:0:/::/g' \
|
||||
-e '/RDR/s/:0:0:0:0:0:/::/g' \
|
||||
-e '/MAP/s/:0:0:0:0:/::/g' \
|
||||
-e '/RDR/s/:0:0:0:0:/::/g' \
|
||||
-e '/MAP/s/:0:0:0:/::/g' \
|
||||
-e '/RDR/s/:0:0:0:/::/g' \
|
||||
| sed \
|
||||
-e '/MAP/s/ \([0-9][0-9][0-9][0-9]\) / \1 /g' \
|
||||
-e '/MAP/s/ \([0-9][0-9][0-9]\) / \1 /g' \
|
||||
-e '/MAP/s/ \([0-9][0-9]\) / \1 /g' \
|
||||
-e '/RDR/s/ \([0-9][0-9][0-9][0-9]\) / \1 /g' \
|
||||
-e '/RDR/s/ \([0-9][0-9][0-9]\) / \1 /g' \
|
||||
-e '/RDR/s/ \([0-9][0-9]\) / \1 /g' \
|
||||
-e 's/::0:0\//::\//g' \
|
||||
-e 's/:0:0\//::\//g' \
|
||||
-e 's/::0\([^:0-9]\)/::\1/g' \
|
||||
-e 's/::0,/::,/g' \
|
||||
-e 's/::0:0 \([^>]\)/:: \1/g' \
|
||||
-e 's/:0:0 \([^>]\)/:: \1/g' \
|
||||
-e 's/::0 \([^>]\)/:: \1/g' \
|
||||
| sed \
|
||||
-e 's@::\([0-9]*\)::/16@::/16@g' \
|
||||
-e 's@::\([0-9]*\)::/32@::/32@g' \
|
||||
-e 's@::\([0-9]*\)::@::\1:0:0@g' \
|
||||
-e 's@::\([0-9]*\)::@::\1:0:0@g' \
|
||||
-e 's@::[:0-9]*\([^0-9:]\)/16@::/16@g' \
|
||||
-e 's@::[:0-9]*\([^0-9:]\)/32@::/32@g'
|
20
external/bsd/ipf/dist/test/expected/bpf-f1
vendored
20
external/bsd/ipf/dist/test/expected/bpf-f1
vendored
@ -1,20 +0,0 @@
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
4
external/bsd/ipf/dist/test/expected/bpf1
vendored
4
external/bsd/ipf/dist/test/expected/bpf1
vendored
@ -1,4 +0,0 @@
|
||||
pass in bpf-v4 { "0x20 0 0 0xc 0x15 0 0x1 0x1010101 0x6 0 0 0x60 0x6 0 0 0" }
|
||||
pass out bpf-v4 { "0 0 0 0 0x20 0 0 0xc 0x15 0 0x1 0x1010101 0x6 0 0 0x1 0x6 0 0 0" }
|
||||
pass in bpf-v4 { "0x20 0 0 0x10 0x15 0 0x1 0x1010101 0x6 0 0 0x60 0x6 0 0 0" }
|
||||
pass out bpf-v4 { "0 0 0 0 0x20 0 0 0x10 0x15 0 0x1 0x1010101 0x6 0 0 0x1 0x6 0 0 0" }
|
20
external/bsd/ipf/dist/test/expected/f1
vendored
20
external/bsd/ipf/dist/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
external/bsd/ipf/dist/test/expected/f10
vendored
126
external/bsd/ipf/dist/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
|
||||
--------
|
283
external/bsd/ipf/dist/test/expected/f11
vendored
283
external/bsd/ipf/dist/test/expected/f11
vendored
@ -1,283 +0,0 @@
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
List of active MAP/Redirect filters:
|
||||
|
||||
List of active sessions:
|
||||
|
||||
Hostmap table:
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
1 pass in proto tcp from any to any port = 23 flags S/SA keep state
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
--------
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
block
|
||||
nomatch
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
List of active MAP/Redirect filters:
|
||||
|
||||
List of active sessions:
|
||||
|
||||
Hostmap table:
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
1 block in proto tcp from any to any port = 23 flags S/SA keep state
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
List of active MAP/Redirect filters:
|
||||
|
||||
List of active sessions:
|
||||
|
||||
Hostmap table:
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
2 pass in proto udp from any to any port = 53 keep frags
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
List of active MAP/Redirect filters:
|
||||
|
||||
List of active sessions:
|
||||
|
||||
Hostmap table:
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
2 block in proto udp from any to any port = 53 keep frags
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
List of active MAP/Redirect filters:
|
||||
|
||||
List of active sessions:
|
||||
|
||||
Hostmap table:
|
||||
List of active state sessions:
|
||||
4:udp src:2.2.2.2,2 dst:4.4.4.4,53 240
|
||||
FWD: IN pkts 1 bytes 28 OUT pkts 0 bytes 0
|
||||
REV: IN pkts 0 bytes 0 OUT pkts 0 bytes 0
|
||||
tag 0 pass 0x2008402 = pass in keep state
|
||||
interfaces: in X[e1],X[] out X[],X[]
|
||||
Sync status: not synchronized
|
||||
4:udp src:1.1.1.1,1 dst:4.4.4.4,53 24
|
||||
FWD: IN pkts 1 bytes 28 OUT pkts 0 bytes 0
|
||||
REV: IN pkts 1 bytes 28 OUT pkts 0 bytes 0
|
||||
tag 0 pass 0x2008402 = pass in keep state
|
||||
interfaces: in X[e1],X[e0] out X[],X[]
|
||||
Sync status: not synchronized
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
2 pass in proto udp from any to any port = 53 keep state
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
List of active MAP/Redirect filters:
|
||||
|
||||
List of active sessions:
|
||||
|
||||
Hostmap table:
|
||||
List of active state sessions:
|
||||
4:udp src:2.2.2.2,2 dst:4.4.4.4,53 240
|
||||
FWD: IN pkts 1 bytes 28 OUT pkts 0 bytes 0
|
||||
REV: IN pkts 0 bytes 0 OUT pkts 0 bytes 0
|
||||
tag 0 pass 0x2008401 = block in keep state
|
||||
interfaces: in X[e1],X[] out X[],X[]
|
||||
Sync status: not synchronized
|
||||
4:udp src:1.1.1.1,1 dst:4.4.4.4,53 24
|
||||
FWD: IN pkts 1 bytes 28 OUT pkts 0 bytes 0
|
||||
REV: IN pkts 1 bytes 28 OUT pkts 0 bytes 0
|
||||
tag 0 pass 0x2008401 = block in keep state
|
||||
interfaces: in X[e1],X[e0] out X[],X[]
|
||||
Sync status: not synchronized
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
2 block in proto udp from any to any port = 53 keep state
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
List of active MAP/Redirect filters:
|
||||
|
||||
List of active sessions:
|
||||
|
||||
Hostmap table:
|
||||
List of active state sessions:
|
||||
4:tcp src:1.1.1.1,1 dst:2.1.2.2,25 state:3/4 864000
|
||||
2:66 4096<<0:16384<<0
|
||||
FWD: IN pkts 1 bytes 40 OUT pkts 0 bytes 0
|
||||
REV: IN pkts 1 bytes 40 OUT pkts 0 bytes 0
|
||||
tag 0 pass 0x2008402 = pass in keep state
|
||||
interfaces: in X[e0],X[e1] out X[],X[]
|
||||
Sync status: not synchronized
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
1 pass in on e0 proto tcp from any to any port = 25 keep state
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
--------
|
60
external/bsd/ipf/dist/test/expected/f12
vendored
60
external/bsd/ipf/dist/test/expected/f12
vendored
@ -1,60 +0,0 @@
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
bad-packet
|
||||
block
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
bad-packet
|
||||
block
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
pass
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
block
|
||||
--------
|
180
external/bsd/ipf/dist/test/expected/f13
vendored
180
external/bsd/ipf/dist/test/expected/f13
vendored
@ -1,180 +0,0 @@
|
||||
pass
|
||||
bad-packet
|
||||
nomatch
|
||||
pass
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
block
|
||||
bad-packet
|
||||
nomatch
|
||||
block
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
bad-packet
|
||||
pass
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
bad-packet
|
||||
block
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
block
|
||||
bad-packet
|
||||
nomatch
|
||||
pass
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
--------
|
||||
block
|
||||
bad-packet
|
||||
nomatch
|
||||
block
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
--------
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
bad-packet
|
||||
pass
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
block
|
||||
bad-packet
|
||||
nomatch
|
||||
pass
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
block
|
||||
block
|
||||
pass
|
||||
--------
|
||||
block
|
||||
bad-packet
|
||||
nomatch
|
||||
pass
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
bad-packet
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
--------
|
48
external/bsd/ipf/dist/test/expected/f14
vendored
48
external/bsd/ipf/dist/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
external/bsd/ipf/dist/test/expected/f15
vendored
9
external/bsd/ipf/dist/test/expected/f15
vendored
@ -1,9 +0,0 @@
|
||||
block return-rst
|
||||
pass
|
||||
block return-icmp
|
||||
pass
|
||||
block
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
--------
|
9
external/bsd/ipf/dist/test/expected/f16
vendored
9
external/bsd/ipf/dist/test/expected/f16
vendored
@ -1,9 +0,0 @@
|
||||
block
|
||||
block
|
||||
pass
|
||||
block
|
||||
pass
|
||||
pass
|
||||
block
|
||||
block
|
||||
--------
|
7
external/bsd/ipf/dist/test/expected/f17
vendored
7
external/bsd/ipf/dist/test/expected/f17
vendored
@ -1,7 +0,0 @@
|
||||
pass
|
||||
block return-rst
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
--------
|
27
external/bsd/ipf/dist/test/expected/f18
vendored
27
external/bsd/ipf/dist/test/expected/f18
vendored
@ -1,27 +0,0 @@
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
List of active MAP/Redirect filters:
|
||||
|
||||
List of active sessions:
|
||||
|
||||
Hostmap table:
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
2 pass in inet from 1.1.1.1/32 to any
|
||||
Rules configured (set 0, out)
|
||||
2 pass out inet from 2.2.2.2/32 to any
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
1 count in inet from 1.1.1.1/32 to 3.3.3.3/32
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
1 count out inet from 2.2.2.2/32 to 4.4.4.4/32
|
||||
Accounting rules configured (set 1, out)
|
||||
--------
|
10
external/bsd/ipf/dist/test/expected/f19
vendored
10
external/bsd/ipf/dist/test/expected/f19
vendored
@ -1,10 +0,0 @@
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
42
external/bsd/ipf/dist/test/expected/f2
vendored
42
external/bsd/ipf/dist/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
|
||||
--------
|
3
external/bsd/ipf/dist/test/expected/f20
vendored
3
external/bsd/ipf/dist/test/expected/f20
vendored
@ -1,3 +0,0 @@
|
||||
pass
|
||||
nomatch
|
||||
--------
|
5
external/bsd/ipf/dist/test/expected/f21
vendored
5
external/bsd/ipf/dist/test/expected/f21
vendored
@ -1,5 +0,0 @@
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
5
external/bsd/ipf/dist/test/expected/f22
vendored
5
external/bsd/ipf/dist/test/expected/f22
vendored
@ -1,5 +0,0 @@
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
5
external/bsd/ipf/dist/test/expected/f24
vendored
5
external/bsd/ipf/dist/test/expected/f24
vendored
@ -1,5 +0,0 @@
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
--------
|
35
external/bsd/ipf/dist/test/expected/f25
vendored
35
external/bsd/ipf/dist/test/expected/f25
vendored
@ -1,35 +0,0 @@
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
List of active MAP/Redirect filters:
|
||||
|
||||
List of active sessions:
|
||||
|
||||
Hostmap table:
|
||||
List of active state sessions:
|
||||
4:udp src:192.168.1.235,8008 dst:239.255.255.250,1900 240
|
||||
FWD: IN pkts 1 bytes 129 OUT pkts 0 bytes 0
|
||||
REV: IN pkts 0 bytes 0 OUT pkts 0 bytes 0
|
||||
tag 0 pass 0x2008402 = pass in keep state
|
||||
interfaces: in X[hme0],X[] out X[],X[]
|
||||
Sync status: not synchronized
|
||||
4:udp src:192.168.1.235,8008 dst:192.168.1.254,1900 24
|
||||
FWD: IN pkts 1 bytes 129 OUT pkts 0 bytes 0
|
||||
REV: IN pkts 0 bytes 0 OUT pkts 1 bytes 264
|
||||
tag 0 pass 0x2008402 = pass in keep state
|
||||
interfaces: in X[hme0],X[] out X[],X[hme0]
|
||||
Sync status: not synchronized
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
2 pass in on hme0 proto udp from any to any with mcast keep state
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
--------
|
84
external/bsd/ipf/dist/test/expected/f26
vendored
84
external/bsd/ipf/dist/test/expected/f26
vendored
@ -1,84 +0,0 @@
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
90
external/bsd/ipf/dist/test/expected/f27
vendored
90
external/bsd/ipf/dist/test/expected/f27
vendored
@ -1,90 +0,0 @@
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
--------
|
32
external/bsd/ipf/dist/test/expected/f28
vendored
32
external/bsd/ipf/dist/test/expected/f28
vendored
@ -1,32 +0,0 @@
|
||||
block
|
||||
block
|
||||
block
|
||||
> nic0 ip #0 20(20) 0 4.4.3.1 > 4.2.3.2
|
||||
pass
|
||||
> nic1 ip #0 20(20) 0 4.4.1.1 > 4.2.1.2
|
||||
pass
|
||||
> nic2 ip #0 20(20) 0 4.4.2.1 > 4.2.2.2
|
||||
pass
|
||||
> nic3 ip #0 20(20) 0 4.4.3.1 > 4.2.3.2
|
||||
pass
|
||||
List of active MAP/Redirect filters:
|
||||
|
||||
List of active sessions:
|
||||
|
||||
Hostmap table:
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
7 block in all
|
||||
4 pass in on nic0 to dstlist/spread inet from 4.4.0.0/16 to any
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
64
external/bsd/ipf/dist/test/expected/f29
vendored
64
external/bsd/ipf/dist/test/expected/f29
vendored
@ -1,64 +0,0 @@
|
||||
block
|
||||
block
|
||||
block
|
||||
> nic0 ip #0 28(20) 17 4.4.3.1,1000 > 4.2.3.2,2000
|
||||
pass
|
||||
> nic0 ip #0 28(20) 17 4.4.3.1,1000 > 4.2.3.2,2000
|
||||
pass
|
||||
> nic1 ip #0 28(20) 17 4.4.1.1,1001 > 4.2.1.2,2001
|
||||
pass
|
||||
> nic1 ip #0 28(20) 17 4.4.1.1,1001 > 4.2.1.2,2001
|
||||
pass
|
||||
> nic2 ip #0 28(20) 17 4.4.2.1,1002 > 4.2.2.2,2002
|
||||
pass
|
||||
> nic2 ip #0 28(20) 17 4.4.2.1,1002 > 4.2.2.2,2002
|
||||
pass
|
||||
> nic3 ip #0 28(20) 17 4.4.3.1,1003 > 4.2.3.2,2003
|
||||
pass
|
||||
> nic3 ip #0 28(20) 17 4.4.3.1,1003 > 4.2.3.2,2003
|
||||
pass
|
||||
List of active MAP/Redirect filters:
|
||||
|
||||
List of active sessions:
|
||||
|
||||
Hostmap table:
|
||||
List of active state sessions:
|
||||
4:udp src:4.4.3.1,1003 dst:4.2.3.2,2003 240
|
||||
FWD: IN pkts 2 bytes 56 OUT pkts 2 bytes 56
|
||||
REV: IN pkts 0 bytes 0 OUT pkts 0 bytes 0
|
||||
tag 0 pass 0x2008402 = pass in keep state
|
||||
interfaces: in X[nic0],X[] out X[nic3],X[]
|
||||
Sync status: not synchronized
|
||||
4:udp src:4.4.2.1,1002 dst:4.2.2.2,2002 240
|
||||
FWD: IN pkts 2 bytes 56 OUT pkts 2 bytes 56
|
||||
REV: IN pkts 0 bytes 0 OUT pkts 0 bytes 0
|
||||
tag 0 pass 0x2008402 = pass in keep state
|
||||
interfaces: in X[nic0],X[] out X[nic2],X[]
|
||||
Sync status: not synchronized
|
||||
4:udp src:4.4.1.1,1001 dst:4.2.1.2,2001 240
|
||||
FWD: IN pkts 2 bytes 56 OUT pkts 2 bytes 56
|
||||
REV: IN pkts 0 bytes 0 OUT pkts 0 bytes 0
|
||||
tag 0 pass 0x2008402 = pass in keep state
|
||||
interfaces: in X[nic0],X[] out X[nic1],X[]
|
||||
Sync status: not synchronized
|
||||
4:udp src:4.4.3.1,1000 dst:4.2.3.2,2000 240
|
||||
FWD: IN pkts 2 bytes 56 OUT pkts 2 bytes 56
|
||||
REV: IN pkts 0 bytes 0 OUT pkts 0 bytes 0
|
||||
tag 0 pass 0x2008402 = pass in keep state
|
||||
interfaces: in X[nic0],X[] out X[nic0],X[]
|
||||
Sync status: not synchronized
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
7 block in all
|
||||
4 pass in on nic0 to dstlist/spread inet from 4.4.0.0/16 to any keep state
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
48
external/bsd/ipf/dist/test/expected/f3
vendored
48
external/bsd/ipf/dist/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
|
||||
--------
|
68
external/bsd/ipf/dist/test/expected/f30
vendored
68
external/bsd/ipf/dist/test/expected/f30
vendored
@ -1,68 +0,0 @@
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
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
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
48
external/bsd/ipf/dist/test/expected/f4
vendored
48
external/bsd/ipf/dist/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
external/bsd/ipf/dist/test/expected/f5
vendored
1392
external/bsd/ipf/dist/test/expected/f5
vendored
File diff suppressed because it is too large
Load Diff
1392
external/bsd/ipf/dist/test/expected/f6
vendored
1392
external/bsd/ipf/dist/test/expected/f6
vendored
File diff suppressed because it is too large
Load Diff
144
external/bsd/ipf/dist/test/expected/f7
vendored
144
external/bsd/ipf/dist/test/expected/f7
vendored
@ -1,144 +0,0 @@
|
||||
block
|
||||
block
|
||||
block
|
||||
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
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
block
|
||||
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
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
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
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
--------
|
42
external/bsd/ipf/dist/test/expected/f8
vendored
42
external/bsd/ipf/dist/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
|
||||
--------
|
180
external/bsd/ipf/dist/test/expected/f9
vendored
180
external/bsd/ipf/dist/test/expected/f9
vendored
@ -1,180 +0,0 @@
|
||||
block
|
||||
block
|
||||
block
|
||||
block
|
||||
block
|
||||
block
|
||||
block
|
||||
block
|
||||
block
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
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
|
||||
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
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
--------
|
||||
block
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
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
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
block
|
||||
nomatch
|
||||
--------
|
17
external/bsd/ipf/dist/test/expected/i1
vendored
17
external/bsd/ipf/dist/test/expected/i1
vendored
@ -1,17 +0,0 @@
|
||||
pass in all
|
||||
block out all
|
||||
log in all
|
||||
log body in all
|
||||
count in from any to any
|
||||
pass in from !any to any pps 10
|
||||
block in from any to !any
|
||||
pass in on ed0(!) inet from 127.0.0.1/32 to 127.0.0.1/32
|
||||
pass in on ed0(!),vx0(!) inet 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 or-block 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
|
||||
block return-icmp-as-dest in on le0(!) from any to any
|
||||
block return-icmp-as-dest(port-unr) in on qe0(!) from any to any
|
||||
pass out on longNICname0(!) inet from 254.220.186.152/32 to 254.220.186.152/32
|
5
external/bsd/ipf/dist/test/expected/i10
vendored
5
external/bsd/ipf/dist/test/expected/i10
vendored
@ -1,5 +0,0 @@
|
||||
pass in inet from 127.0.0.1/32 to 127.0.0.1/32 with opt sec
|
||||
pass in inet from 127.0.0.1/32 to 127.0.0.1/32 with opt lsrr not opt sec
|
||||
block in inet from any to any with not opt sec-class topsecret
|
||||
block in inet from any to any with not opt sec-class topsecret,secret
|
||||
pass in inet from any to any with opt sec-class topsecret,confid not opt sec-class unclass
|
12
external/bsd/ipf/dist/test/expected/i11
vendored
12
external/bsd/ipf/dist/test/expected/i11
vendored
@ -1,12 +0,0 @@
|
||||
pass in on ed0(!) inet proto tcp from 127.0.0.1/32 to 127.0.0.1/32 port = 23 keep state # count 0
|
||||
block in log first on lo0(!) proto tcp/udp from any to any port = 7 keep state # count 0
|
||||
pass in inet proto udp from 127.0.0.1/32 to 127.0.0.1/32 port = 20499 keep frags
|
||||
pass in inet proto udp from 127.0.0.1/32 to 127.0.0.1/32 port = 2049 keep frags (strict)
|
||||
pass in inet proto udp from 127.0.0.1/32 to 127.0.0.1/32 port = 53 keep state keep frags # count 0
|
||||
pass in on ed0(!) out-via vx0(!) proto udp from any to any keep state # count 0
|
||||
pass out on ppp0(!) in-via le0(!) proto tcp from any to any keep state # count 0
|
||||
pass in on ed0(!),vx0(!) out-via vx0(!),ed0(!) proto udp from any to any keep state # count 0
|
||||
pass in inet proto tcp from any port > 1024 to 127.0.0.1/32 port = 1024 keep state # count 0
|
||||
pass in proto tcp from any to any flags S/FSRPAU keep state (limit 101,strict,newisn,no-icmp-err,age 600/600) # count 0
|
||||
pass in proto tcp from any to any flags S/FSRPAU keep state (limit 101,loose,newisn,no-icmp-err,age 600/600) # count 0
|
||||
pass in proto udp from any to any keep state (sync,age 10/20) # count 0
|
39
external/bsd/ipf/dist/test/expected/i12
vendored
39
external/bsd/ipf/dist/test/expected/i12
vendored
@ -1,39 +0,0 @@
|
||||
pass in inet from 1.1.1.1/32 to 2.2.2.2/32
|
||||
pass in inet from 2.2.2.0/24 to 4.4.4.4/32
|
||||
pass in inet from 3.3.3.3/32 to 4.4.4.4/32
|
||||
pass in inet from 2.2.2.0/24 to 5.5.5.5/32
|
||||
pass in inet from 3.3.3.3/32 to 5.5.5.5/32
|
||||
pass in inet from 2.2.2.0/24 to 6.6.6.6/32
|
||||
pass in inet from 3.3.3.3/32 to 6.6.6.6/32
|
||||
pass in inet from 2.2.2.0/24 to 5.5.5.5/32 port = 22
|
||||
pass in inet from 3.3.3.3/32 to 5.5.5.5/32 port = 22
|
||||
pass in inet from 2.2.2.0/24 to 6.6.6.6/32 port = 22
|
||||
pass in inet from 3.3.3.3/32 to 6.6.6.6/32 port = 22
|
||||
pass in inet from 2.2.2.0/24 to 5.5.5.5/32 port = 25
|
||||
pass in inet from 3.3.3.3/32 to 5.5.5.5/32 port = 25
|
||||
pass in inet from 2.2.2.0/24 to 6.6.6.6/32 port = 25
|
||||
pass in inet from 3.3.3.3/32 to 6.6.6.6/32 port = 25
|
||||
pass in inet proto tcp from 2.2.2.0/24 port = 53 to 5.5.5.5/32
|
||||
pass in inet proto tcp from 3.3.3.3/32 port = 53 to 5.5.5.5/32
|
||||
pass in inet proto tcp from 2.2.2.0/24 port = 9 to 5.5.5.5/32
|
||||
pass in inet proto tcp from 3.3.3.3/32 port = 9 to 5.5.5.5/32
|
||||
pass in inet proto tcp from 2.2.2.0/24 port = 53 to 6.6.6.6/32
|
||||
pass in inet proto tcp from 3.3.3.3/32 port = 53 to 6.6.6.6/32
|
||||
pass in inet proto tcp from 2.2.2.0/24 port = 9 to 6.6.6.6/32
|
||||
pass in inet proto tcp from 3.3.3.3/32 port = 9 to 6.6.6.6/32
|
||||
pass in inet proto udp from 2.2.2.0/24 to 5.5.5.5/32 port = 53
|
||||
pass in inet proto udp from 3.3.3.3/32 to 5.5.5.5/32 port = 53
|
||||
pass in inet proto udp from 2.2.2.0/24 to 6.6.6.6/32 port = 53
|
||||
pass in inet proto udp from 3.3.3.3/32 to 6.6.6.6/32 port = 53
|
||||
pass in inet proto udp from 2.2.2.0/24 to 5.5.5.5/32 port = 9
|
||||
pass in inet proto udp from 3.3.3.3/32 to 5.5.5.5/32 port = 9
|
||||
pass in inet proto udp from 2.2.2.0/24 to 6.6.6.6/32 port = 9
|
||||
pass in inet proto udp from 3.3.3.3/32 to 6.6.6.6/32 port = 9
|
||||
pass in inet from 10.10.10.10/32 to 11.11.11.11/32
|
||||
pass in from pool/101(!) to hash/202(!)
|
||||
pass in from hash/303(!) to pool/404(!)
|
||||
table role=ipf type=tree number=
|
||||
{ ! 1.1.1.1/32; 2.2.2.2/32; ! 2.2.0.0/16; };
|
||||
table role=ipf type=tree number=
|
||||
{ 1.1.0.0/16; };
|
||||
pass in from pool/0(!) to pool/0(!)
|
2
external/bsd/ipf/dist/test/expected/i13
vendored
2
external/bsd/ipf/dist/test/expected/i13
vendored
@ -1,2 +0,0 @@
|
||||
block in from any to any
|
||||
pass in from any to any
|
12
external/bsd/ipf/dist/test/expected/i14
vendored
12
external/bsd/ipf/dist/test/expected/i14
vendored
@ -1,12 +0,0 @@
|
||||
block in on eri0(!) all head 1
|
||||
pass in on eri0(!) inet proto icmp from any to any group 1
|
||||
pass out on ed0(!) all head 1000000
|
||||
block out on ed0(!) proto udp from any to any group 1000000
|
||||
block in on vm0(!) proto tcp/udp from any to any head 101
|
||||
pass in inet proto tcp/udp from 1.1.1.1/32 to 2.2.2.2/32 group 101
|
||||
pass in inet proto tcp from 1.0.0.1/32 to 2.0.0.2/32 group 101
|
||||
pass in inet proto udp from 2.0.0.2/32 to 3.0.0.3/32 group 101
|
||||
block in on vm0(!) proto tcp/udp from any to any head vm0-group
|
||||
pass in inet proto tcp/udp from 1.1.1.1/32 to 2.2.2.2/32 group vm0-group
|
||||
block in on vm0(!) proto tcp/udp from any to any head vm0-group
|
||||
pass in inet proto tcp/udp from 1.1.1.1/32 to 2.2.2.2/32 group vm0-group
|
4
external/bsd/ipf/dist/test/expected/i15
vendored
4
external/bsd/ipf/dist/test/expected/i15
vendored
@ -1,4 +0,0 @@
|
||||
pass out on fxp0(!) all set-tag(log=100)
|
||||
pass out on fxp0(!) all set-tag(nat=foo)
|
||||
pass out on fxp0(!) all set-tag(log=100, nat=200)
|
||||
pass out on fxp0(!) all set-tag(log=2147483648, nat=overtherainbowis)
|
3
external/bsd/ipf/dist/test/expected/i16
vendored
3
external/bsd/ipf/dist/test/expected/i16
vendored
@ -1,3 +0,0 @@
|
||||
block out all
|
||||
100 pass in all
|
||||
10101 pass out proto tcp from any to any
|
29
external/bsd/ipf/dist/test/expected/i17
vendored
29
external/bsd/ipf/dist/test/expected/i17
vendored
@ -1,29 +0,0 @@
|
||||
List of active MAP/Redirect filters:
|
||||
|
||||
List of active sessions:
|
||||
|
||||
Hostmap table:
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
0 pass in inet from 1.1.1.1/32 to any
|
||||
0 pass in all
|
||||
0 pass in inet from 3.3.3.3/32 to any
|
||||
0 pass in inet from any to 127.0.0.1/32
|
||||
0 pass in inet from 127.0.0.1/32 to any
|
||||
0 100 pass in inet from 127.0.0.1/32 to any
|
||||
0 100 pass in all
|
||||
0 110 pass in proto udp from any to any
|
||||
0 110 pass in inet from 2.2.2.2/32 to any
|
||||
0 110 pass in inet from 127.0.0.1/32 to any
|
||||
0 200 pass in proto tcp from any to any
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
11
external/bsd/ipf/dist/test/expected/i18
vendored
11
external/bsd/ipf/dist/test/expected/i18
vendored
@ -1,11 +0,0 @@
|
||||
pass in tos 0x50 from any to any
|
||||
pass in tos 0x80 from any to any
|
||||
pass in tos 0x80 from any to any
|
||||
pass in tos 0x50 from any to any
|
||||
block in ttl 0 from any to any
|
||||
block in ttl 1 from any to any
|
||||
block in ttl 2 from any to any
|
||||
block in ttl 3 from any to any
|
||||
block in ttl 4 from any to any
|
||||
block in ttl 5 from any to any
|
||||
block in ttl 6 from any to any
|
22
external/bsd/ipf/dist/test/expected/i19.dist
vendored
22
external/bsd/ipf/dist/test/expected/i19.dist
vendored
@ -1,22 +0,0 @@
|
||||
block in log level user.debug quick inet proto icmp from any to any
|
||||
block in log level mail.info quick inet proto icmp from any to any
|
||||
block in log level daemon.notice quick inet proto icmp from any to any
|
||||
block in log level auth.warn quick inet proto icmp from any to any
|
||||
block in log level syslog.err quick inet proto icmp from any to any
|
||||
block in log level lpr.crit quick inet proto icmp from any to any
|
||||
block in log level news.alert quick inet proto icmp from any to any
|
||||
block in log level uucp.emerg quick inet proto icmp from any to any
|
||||
block in log level cron.debug quick inet proto icmp from any to any
|
||||
block in log level ftp.info quick inet proto icmp from any to any
|
||||
block in log level authpriv.notice quick inet proto icmp from any to any
|
||||
block in log level logalert.warn quick inet proto icmp from any to any
|
||||
block in log level local0.err quick inet proto icmp from any to any
|
||||
block in log level local1.crit quick inet proto icmp from any to any
|
||||
block in log level local2.alert quick inet proto icmp from any to any
|
||||
block in log level local3.emerg quick inet proto icmp from any to any
|
||||
block in log level local4.debug quick inet proto icmp from any to any
|
||||
block in log level local5.info quick inet proto icmp from any to any
|
||||
block in log level local6.notice quick inet proto icmp from any to any
|
||||
block in log level local7.warn quick inet proto icmp from any to any
|
||||
block in log level kern.err quick inet proto icmp from any to any
|
||||
block in log level security.emerg quick inet proto icmp from any to any
|
9
external/bsd/ipf/dist/test/expected/i2
vendored
9
external/bsd/ipf/dist/test/expected/i2
vendored
@ -1,9 +0,0 @@
|
||||
log in proto tcp from any to any
|
||||
pass in proto tcp from any to any
|
||||
pass in inet proto udp from 127.0.0.1/32 to 127.0.0.1/32
|
||||
block in proto ipv6 from any to any
|
||||
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
|
||||
block in proto tcp/udp from any to any
|
||||
block in proto tcp/udp from any to any
|
4
external/bsd/ipf/dist/test/expected/i20
vendored
4
external/bsd/ipf/dist/test/expected/i20
vendored
@ -1,4 +0,0 @@
|
||||
pass in on ppp0(!) inet from ppp0/peer to ppp0/32
|
||||
block in on hme0(!) inet from any to hme0/bcast
|
||||
pass in on bge0(!) inet from bge0/net to bge0/32
|
||||
block in on eri0(!) inet from any to eri0/netmasked
|
16
external/bsd/ipf/dist/test/expected/i21
vendored
16
external/bsd/ipf/dist/test/expected/i21
vendored
@ -1,16 +0,0 @@
|
||||
pass in from any port = 10101 to any
|
||||
pass out from any to any port != 22
|
||||
block in from any port 20:21 to any
|
||||
block out from any to any port 10 <> 100
|
||||
pass out from any to any port = 3
|
||||
pass out from any to any port = 5
|
||||
pass out from any to any port = 7
|
||||
pass out from any to any port = 9
|
||||
block in from any port = 20 to any
|
||||
block in from any port = 25 to any
|
||||
pass in from any port 11:12 to any port 1:2
|
||||
pass in from any port 21:22 to any port 1:2
|
||||
pass in from any port 11:12 to any port 4:5
|
||||
pass in from any port 21:22 to any port 4:5
|
||||
pass in from any port 11:12 to any port 8:9
|
||||
pass in from any port 21:22 to any port 8:9
|
5
external/bsd/ipf/dist/test/expected/i22
vendored
5
external/bsd/ipf/dist/test/expected/i22
vendored
@ -1,5 +0,0 @@
|
||||
pass in exp { "ip.src != 1.1.1.0/24; tcp.dport = 80;" }
|
||||
pass in exp { "ip.addr = 1.2.3.4/32,5.6.7.8/32;" }
|
||||
block out exp { "ip.dst = 127.0.0.0/8;" }
|
||||
block in exp { "udp.sport = 53; udp.dport = 53;" }
|
||||
pass out exp { "tcp.sport = 22; tcp.port = 25;" }
|
0
external/bsd/ipf/dist/test/expected/i23
vendored
0
external/bsd/ipf/dist/test/expected/i23
vendored
11
external/bsd/ipf/dist/test/expected/i3
vendored
11
external/bsd/ipf/dist/test/expected/i3
vendored
@ -1,11 +0,0 @@
|
||||
log in all
|
||||
pass in inet from 128.16.0.0/16 to 129.10.10.0/24
|
||||
pass in inet from 128.0.0.0/24 to 128.0.0.0/16
|
||||
pass in inet from 128.0.0.0/24 to 128.0.0.0/16
|
||||
pass in inet from 128.0.0.0/24 to 128.0.0.0/16
|
||||
pass in inet from 128.0.0.0/24 to 128.0.0.0/16
|
||||
pass in inet from 128.0.0.0/24 to 128.0.0.0/16
|
||||
pass in inet from 127.0.0.1/32 to 127.0.0.1/32
|
||||
block in log inet from any to any
|
||||
block in log level auth.info on hme0(!) all
|
||||
log level local5.warn out all
|
9
external/bsd/ipf/dist/test/expected/i4
vendored
9
external/bsd/ipf/dist/test/expected/i4
vendored
@ -1,9 +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 inet 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 < 7
|
||||
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
|
||||
pass in proto tcp/udp from any port 2:2 to any port 10:20
|
||||
pass in log first quick proto tcp from any port > 1023 to any port = 1723 flags S/FSRPAU keep state # count 0
|
9
external/bsd/ipf/dist/test/expected/i5
vendored
9
external/bsd/ipf/dist/test/expected/i5
vendored
@ -1,9 +0,0 @@
|
||||
log in all
|
||||
count in tos 0x80 from any to any
|
||||
pass in on ed0(!) inet 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
|
||||
skip 3 out inet from 127.0.0.1/32 to any
|
||||
auth out on foo0(!) proto tcp from any to any port = 80
|
||||
preauth out on foo0(!) proto tcp from any to any port = 22
|
||||
nomatch out on foo0(!) proto tcp from any port < 1024 to any
|
12
external/bsd/ipf/dist/test/expected/i6
vendored
12
external/bsd/ipf/dist/test/expected/i6
vendored
@ -1,12 +0,0 @@
|
||||
pass in on lo0(!) fastroute from any to any
|
||||
pass in on lo0(!) to qe0(!) inet from 127.0.0.1/32 to 127.0.0.1/32
|
||||
pass in on le0(!) to qe0(!):127.0.0.1 inet from 127.0.0.1/32 to 127.0.0.1/32
|
||||
pass in on lo0(!) dup-to qe0(!) inet from 127.0.0.1/32 to 127.0.0.1/32
|
||||
pass in on le0(!) dup-to qe0(!):127.0.0.1 inet from 127.0.0.1/32 to 127.0.0.1/32
|
||||
pass in on le0(!) dup-to qe0(!):127.0.0.1 to hme0(!):10.1.1.1 inet from 127.0.0.1/32 to 127.0.0.1/32
|
||||
block in quick on qe0(!) to qe1(!) from any to any
|
||||
block in quick to qe1(!) from any to any
|
||||
pass out quick dup-to hme0(!) from any to any
|
||||
pass out quick on hme0(!) reply-to hme1(!) from any to any
|
||||
pass in on le0(!) dup-to qe0(!):127.0.0.1 reply-to hme1(!):10.10.10.10 inet all
|
||||
pass in quick fastroute all
|
14
external/bsd/ipf/dist/test/expected/i7
vendored
14
external/bsd/ipf/dist/test/expected/i7
vendored
@ -1,14 +0,0 @@
|
||||
pass in on ed0(!) inet 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/FSRPAU
|
||||
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
|
||||
pass in on lo0(!) proto tcp from any to any flags S/SA
|
||||
block in on lo0(!) proto tcp from any to any flags S/SA
|
||||
pass in on lo0(!) proto tcp from any to any flags S/FSRPAU
|
||||
block in on lo0(!) proto tcp from any to any flags /A
|
||||
pass in on lo0(!) proto tcp from any to any flags S/SA
|
||||
pass in on lo0(!) proto tcp from any to any flags S/SA
|
||||
block in on lo0(!) proto tcp from any to any flags S/SA
|
||||
pass in on lo0(!) proto tcp from any to any flags S/FSRPAU
|
||||
block in on lo0(!) proto tcp from any to any flags /A
|
||||
pass in on lo0(!) proto tcp from any to any flags S/SA
|
66
external/bsd/ipf/dist/test/expected/i8
vendored
66
external/bsd/ipf/dist/test/expected/i8
vendored
@ -1,66 +0,0 @@
|
||||
pass in inet proto icmp from 127.0.0.1/32 to 127.0.0.1/32 icmp-type timest
|
||||
block in inet proto icmp from any to any icmp-type unreach code 1
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 15
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 13
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 8
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 4
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 9
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 11
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 14
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 10
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 12
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 7
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 1
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 6
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 0
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 3
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 2
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 5
|
||||
pass in inet proto icmp from any to any icmp-type echo
|
||||
pass in inet proto icmp from any to any icmp-type echorep
|
||||
pass in inet proto icmp from any to any icmp-type inforeq
|
||||
pass in inet proto icmp from any to any icmp-type inforep
|
||||
pass in inet proto icmp from any to any icmp-type maskrep
|
||||
pass in inet proto icmp from any to any icmp-type maskreq
|
||||
pass in inet proto icmp from any to any icmp-type paramprob
|
||||
pass in inet proto icmp from any to any icmp-type redir
|
||||
pass in inet proto icmp from any to any icmp-type unreach
|
||||
pass in inet proto icmp from any to any icmp-type routerad
|
||||
pass in inet proto icmp from any to any icmp-type routersol
|
||||
pass in inet proto icmp from any to any icmp-type squench
|
||||
pass in inet proto icmp from any to any icmp-type timest
|
||||
pass in inet proto icmp from any to any icmp-type timestrep
|
||||
pass in inet proto icmp from any to any icmp-type timex
|
||||
pass in inet proto icmp from any to any icmp-type 254
|
||||
pass in inet proto icmp from any to any icmp-type 253 code 254
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 15
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 13
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 8
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 4
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 9
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 11
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 14
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 10
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 12
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 7
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 1
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 6
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 0
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 3
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 2
|
||||
pass in inet proto icmp from any to any icmp-type unreach code 5
|
||||
pass in inet proto icmp from any to any icmp-type echo
|
||||
pass in inet proto icmp from any to any icmp-type echorep
|
||||
pass in inet proto icmp from any to any icmp-type inforeq
|
||||
pass in inet proto icmp from any to any icmp-type inforep
|
||||
pass in inet proto icmp from any to any icmp-type maskrep
|
||||
pass in inet proto icmp from any to any icmp-type maskreq
|
||||
pass in inet proto icmp from any to any icmp-type paramprob
|
||||
pass in inet proto icmp from any to any icmp-type redir
|
||||
pass in inet proto icmp from any to any icmp-type unreach
|
||||
pass in inet proto icmp from any to any icmp-type routerad
|
||||
pass in inet proto icmp from any to any icmp-type routersol
|
||||
pass in inet proto icmp from any to any icmp-type squench
|
||||
pass in inet proto icmp from any to any icmp-type timest
|
||||
pass in inet proto icmp from any to any icmp-type timestrep
|
||||
pass in inet proto icmp from any to any icmp-type timex
|
17
external/bsd/ipf/dist/test/expected/i9
vendored
17
external/bsd/ipf/dist/test/expected/i9
vendored
@ -1,17 +0,0 @@
|
||||
pass in inet from 127.0.0.1/32 to 127.0.0.1/32 with short,frag
|
||||
block in from any to any with ipopts
|
||||
pass in inet from any to any with opt nop,rr,zsu
|
||||
pass in inet from any to any with opt nop,rr,zsu not opt lsrr,ssrr
|
||||
pass in inet from 127.0.0.1/32 to 127.0.0.1/32 with not frag
|
||||
pass in inet from 127.0.0.1/32 to 127.0.0.1/32 with frag,frag-body
|
||||
pass in proto tcp from any to any flags S/FSRPAU with not oow keep state # count 0
|
||||
block in proto tcp from any to any with oow
|
||||
pass in proto tcp from any to any flags S/FSRPAU with not bad,bad-src,bad-nat
|
||||
block in proto tcp from any to any flags S/FSRPAU with bad,not bad-src,not bad-nat
|
||||
pass in quick from any to any with not short
|
||||
block in quick from any to any with not nat
|
||||
pass in quick from any to any with not frag-body
|
||||
block in quick from any to any with not lowttl
|
||||
pass in from any to any with not ipopts,mbcast,not bcast,mcast,not state
|
||||
block in from any to any with not mbcast,bcast,not mcast,state
|
||||
pass in inet from any to any with opt mtup,mtur,encode,ts,tr,sec,e-sec,cipso,satid,ssrr,addext,visa,imitd,eip,finn,dps,sdb,nsapa,rtralrt,ump
|
31
external/bsd/ipf/dist/test/expected/in1
vendored
31
external/bsd/ipf/dist/test/expected/in1
vendored
@ -1,31 +0,0 @@
|
||||
map le0 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
|
||||
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 10.0.0.0/8 -> 1.2.3.0/24
|
||||
map le0 0.0.0.5/0.0.0.255 -> 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/32 portmap tcp 10000:19999
|
||||
map ppp0 192.168.0.0/16 -> 0/32 portmap udp 20000:29999
|
||||
map ppp0 192.168.0.0/16 -> 0/32 portmap tcp/udp 30000:39999
|
||||
map ppp0 192.168.0.0/16 -> 0/32 portmap tcp auto
|
||||
map ppp0 192.168.0.0/16 -> 0/32 portmap udp auto
|
||||
map ppp0 192.168.0.0/16 -> 0/32 portmap tcp/udp auto
|
||||
map ppp0 192.168.0.0/16 -> 0/32 proxy port 21 ftp/tcp
|
||||
map ppp0 192.168.0.0/16 -> 0/32 proxy port 1010 ftp/tcp
|
||||
map le0 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/32 portmap tcp 10000:19999 frag
|
||||
map ppp0 192.168.0.0/16 -> 0/32 proxy port 21 ftp/tcp frag
|
||||
map le0 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/32 portmap tcp 10000:19999 age 30/30
|
||||
map le0 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/32 portmap tcp 10000:19999 frag age 30/30
|
||||
map fxp0 from 192.168.0.0/18 to 0/0 port = 21 -> 1.2.3.4/32 proxy port 21 ftp/tcp
|
||||
map thisisalonginte 0/0 -> 0/32 mssclamp 1452 tag freddyliveshere
|
||||
map bar0 0/0 -> 0/32 icmpidmap icmp 1000:2000
|
||||
map ppp0,adsl0 0/0 -> 0/32
|
||||
map ppp0 from 192.168.0.0/16 to 0/0 port = 123 -> 0/32 age 30/1 udp
|
3
external/bsd/ipf/dist/test/expected/in100
vendored
3
external/bsd/ipf/dist/test/expected/in100
vendored
@ -1,3 +0,0 @@
|
||||
rewrite in on bge0 from 1.1.1.1/32 to 2.2.2.2/32 -> src 3.3.3.3/32 dst 4.4.4.4/32;
|
||||
rewrite out on bge0 from 1.1.1.1/32 to 2.2.2.2/32 -> src 3.3.3.0/24 dst 4.4.4.4/32;
|
||||
rewrite in on bge0 from 1.1.1.1/32 to 2.2.2.2/32 -> src 3.3.3.0/24 dst 4.4.4.0/24;
|
4
external/bsd/ipf/dist/test/expected/in101
vendored
4
external/bsd/ipf/dist/test/expected/in101
vendored
@ -1,4 +0,0 @@
|
||||
rewrite in on bge0 proto icmp from 1.1.1.1/32 to 2.2.2.2/32 -> src 3.3.3.3/32 dst 4.4.4.4/32;
|
||||
rewrite in on bge0 proto udp from 1.1.1.1/32 to 2.2.2.2/32 -> src 3.3.3.3/32 dst 4.4.4.4/32;
|
||||
rewrite out on bge0 proto tcp from 1.1.1.1/32 to 2.2.2.2/32 -> src 3.3.3.0/24 dst 4.4.4.4/32;
|
||||
rewrite in on bge0 proto tcp/udp from 1.1.1.1/32 to 2.2.2.2/32 -> src 3.3.3.0/24,20202 dst 4.4.4.0/24,10101;
|
5
external/bsd/ipf/dist/test/expected/in102
vendored
5
external/bsd/ipf/dist/test/expected/in102
vendored
@ -1,5 +0,0 @@
|
||||
rewrite in on bge0 proto tcp from 0/0 to 0/0 -> src 0/0 dst dstlist/a;
|
||||
rewrite in on bge0 proto tcp from 1.1.1.1/32 to 0/0 -> src 0/0 dst dstlist/bee;
|
||||
rewrite in on bge0 proto tcp from 1.1.1.1/32 to 2.2.2.2/32 -> src 0/0 dst dstlist/cat;
|
||||
rewrite in on bge0 proto tcp from pool/a(!) to 2.2.2.2/32 -> src 0/0 dst dstlist/bat;
|
||||
rewrite in on bge0 proto tcp from pool/a(!) to pool/1(!) -> src 0/0 dst dstlist/ant;
|
71
external/bsd/ipf/dist/test/expected/in2
vendored
71
external/bsd/ipf/dist/test/expected/in2
vendored
@ -1,71 +0,0 @@
|
||||
rdr le0 9.8.7.6/32 port 0 -> 1.1.1.1/32 port 0 tcp
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 255
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1/32 port 80 tcp
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 ip
|
||||
rdr le0 9.0.0.0/8 -> 1.1.1.1/32 ip
|
||||
rdr le0 9.8.0.0/16 -> 1.1.1.1/32 ip
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1/32 port 80 tcp
|
||||
rdr le0 9.8.7.6/32 port 80 -> 0/0 port 80 tcp
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1/32 port 80 udp
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1/32 port 80 tcp/udp
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 icmp
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1/32 port 80 tcp round-robin
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp round-robin
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 ip frag
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 icmp frag
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp/udp frag
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1/32 port 80 tcp round-robin frag
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp round-robin frag
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 ip frag age 10/10
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 ip frag age 10/20
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 icmp frag age 10/10
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp frag age 20/20
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1/32 port 80 tcp round-robin frag age 30/30
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp round-robin frag age 40/40
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 ip
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 ip frag
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 icmp frag
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp frag sticky
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1/32 port 80 tcp round-robin frag sticky
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp round-robin frag sticky
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 ip frag age 10/10
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 ip frag age 10/20
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 icmp frag age 10/10
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp frag age 20/20 sticky
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1/32 port 80 tcp round-robin frag age 30/30 sticky
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp round-robin frag age 40/40 sticky
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 ip mssclamp 1000
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 ip mssclamp 1000
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 ip frag mssclamp 1000
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 icmp frag mssclamp 1000
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp frag sticky mssclamp 1000
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1/32 port 80 tcp round-robin frag sticky mssclamp 1000
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp round-robin frag sticky mssclamp 1000
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 ip frag age 10/10 mssclamp 1000
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 ip frag age 10/20 mssclamp 1000
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 icmp frag age 10/10 mssclamp 1000
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp frag age 20/20 sticky mssclamp 1000
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1/32 port 80 tcp round-robin frag age 30/30 sticky mssclamp 1000
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp round-robin frag age 40/40 sticky mssclamp 1000
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 ip tag nattagcacheline
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 ip mssclamp 1000 tag nattagcacheline
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 ip mssclamp 1000 tag nattagcacheline
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 ip frag mssclamp 1000 tag nattagcacheline
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 icmp frag mssclamp 1000 tag nattagcacheline
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp frag sticky mssclamp 1000 tag nattagcacheline
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1/32 port 80 tcp round-robin frag sticky mssclamp 1000 tag nattagcacheline
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp round-robin frag sticky mssclamp 1000 tag nattagcacheline
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 ip frag age 10/10 mssclamp 1000 tag nattagcacheline
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 ip frag age 10/20 mssclamp 1000 tag nattagcacheline
|
||||
rdr le0 9.8.7.6/32 -> 1.1.1.1/32 icmp frag age 10/10 mssclamp 1000 tag nattagcacheline
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp frag age 20/20 sticky mssclamp 1000 tag nattagcacheline
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1/32 port 80 tcp round-robin frag age 30/30 sticky mssclamp 1000 tag nattagcacheline
|
||||
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp round-robin frag age 40/40 sticky mssclamp 1000 tag nattagcacheline
|
||||
rdr ge0 9.8.7.6/32 port 21 -> 1.1.1.1/32 port 21 tcp proxy ftp
|
||||
rdr ge0 9.8.7.6/32 port 21 -> 1.1.1.1/32 port 21 tcp proxy ftp
|
||||
rdr le0 9.8.7.6/32 port 1000-2000 -> 1.1.1.1/32 port 5555 tcp
|
||||
rdr le0 9.8.7.6/32 port 1000-2000 -> 1.1.1.1/32 port = 5555 tcp
|
||||
rdr le0 0/0 -> 254.220.186.152/32 ip
|
||||
rdr le0 0/0 -> 254.220.186.152,254.220.186.152 ip
|
||||
rdr adsl0,ppp0 9.8.7.6/32 port 1000-2000 -> 1.1.1.1/32 port 5555-7777 tcp
|
5
external/bsd/ipf/dist/test/expected/in3
vendored
5
external/bsd/ipf/dist/test/expected/in3
vendored
@ -1,5 +0,0 @@
|
||||
bimap le0 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
|
||||
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
external/bsd/ipf/dist/test/expected/in4
vendored
5
external/bsd/ipf/dist/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
|
24
external/bsd/ipf/dist/test/expected/in5
vendored
24
external/bsd/ipf/dist/test/expected/in5
vendored
@ -1,24 +0,0 @@
|
||||
map le0 from 9.8.7.6/32 port > 1024 to 0/0 -> 1.1.1.1/32 portmap tcp 10000:20000
|
||||
map le0 from 9.8.7.6/32 port > 1024 ! to 1.2.3.4/32 -> 1.1.1.1/32 portmap tcp 10000:20000
|
||||
rdr le0 from 0/0 to 9.8.7.6/32 port = 0 -> 1.1.1.1/32 port 0 tcp
|
||||
rdr le0 from 0/0 to 9.8.7.6/32 -> 1.1.1.1/32 ip
|
||||
rdr le0 ! from 1.2.3.4/32 to 9.8.7.6/32 port = 8888 -> 1.1.1.1/32 port 888 tcp
|
||||
rdr le0 from 0/0 to 9.8.7.6/32 -> 1.1.1.1/32 ip
|
||||
rdr le0 from 0/0 to 9.8.7.6/32 port = 8888 -> 1.1.1.1/32 port 888 tcp
|
||||
rdr le0 from 0/0 to 9.8.7.6/32 port = 8888 -> 1.1.1.1/32 port 888 udp
|
||||
rdr le0 from 0/0 to 9.8.7.6/32 port = 8888 -> 1.1.1.1/32 port 888 tcp/udp
|
||||
rdr le0 from 0/0 to 9.8.7.6/32 -> 1.1.1.1/32 icmp
|
||||
rdr le0 from 0/0 to 9.8.7.6/32 port = 8888 -> 1.1.1.1,1.1.1.2 port 888 tcp
|
||||
rdr le0 from 0/0 to 9.8.7.6/32 port = 8888 -> 1.1.1.1/32 port 888 tcp round-robin
|
||||
rdr le0 from 0/0 to 9.8.7.6/32 port = 8888 -> 1.1.1.1,1.1.1.2 port 888 tcp round-robin
|
||||
rdr le0 from 0/0 to 9.8.7.6/32 -> 1.1.1.1/32 ip frag
|
||||
rdr le0 from 0/0 to 9.8.7.6/32 -> 1.1.1.1/32 icmp frag
|
||||
rdr le0 from 0/0 to 9.8.7.6/32 port = 8888 -> 1.1.1.1,1.1.1.2 port 888 tcp frag
|
||||
rdr le0 from 0/0 to 9.8.7.6/32 port = 8888 -> 1.1.1.1/32 port 888 tcp round-robin frag
|
||||
rdr le0 from 0/0 to 9.8.7.6/32 port = 8888 -> 1.1.1.1,1.1.1.2 port 888 tcp round-robin frag
|
||||
rdr le0 from 0/0 to 9.8.7.6/32 -> 1.1.1.1/32 ip frag age 10/10
|
||||
rdr le0 from 0/0 to 9.8.7.6/32 -> 1.1.1.1/32 ip frag age 10/20
|
||||
rdr le0 from 0/0 to 9.8.7.6/32 -> 1.1.1.1/32 icmp frag age 10/10
|
||||
rdr le0 from 0/0 to 9.8.7.6/32 port = 8888 -> 1.1.1.1,1.1.1.2 port 888 tcp frag age 20/20
|
||||
rdr le0 from 0/0 to 9.8.7.6/32 port = 8888 -> 1.1.1.1/32 port 888 tcp round-robin frag age 30/30
|
||||
rdr le0 from 0/0 to 9.8.7.6/32 port = 8888 -> 1.1.1.1,1.1.1.2 port 888 tcp round-robin frag age 40/40
|
8
external/bsd/ipf/dist/test/expected/in6
vendored
8
external/bsd/ipf/dist/test/expected/in6
vendored
@ -1,8 +0,0 @@
|
||||
map foo0 from 0/0 port = 1 to 0/0 port != 0 -> 0/32 udp
|
||||
map foo0 from 0/0 port = 1 to 0/0 port != 0 -> 0/32 udp
|
||||
map foo0 from 0/0 port < 1 to 0/0 port > 0 -> 0/32 tcp
|
||||
map foo0 from 0/0 port < 1 to 0/0 port > 0 -> 0/32 tcp
|
||||
map foo0 from 0/0 port <= 1 to 0/0 port >= 0 -> 0/32 tcp/udp
|
||||
map foo0 from 0/0 port <= 1 to 0/0 port >= 0 -> 0/32 tcp/udp
|
||||
map foo0 from 0/0 port 1 >< 20 to 0/0 port 20 <> 40 -> 0/32 tcp/udp
|
||||
map foo0 from 0/0 port 10:20 to 0/0 port 30:40 -> 0/32 tcp/udp
|
0
external/bsd/ipf/dist/test/expected/in7
vendored
0
external/bsd/ipf/dist/test/expected/in7
vendored
68
external/bsd/ipf/dist/test/expected/ip1
vendored
68
external/bsd/ipf/dist/test/expected/ip1
vendored
@ -1,68 +0,0 @@
|
||||
table role=ipf type=tree number=1
|
||||
{; };
|
||||
table role=ipf type=tree number=100
|
||||
{ 2.2.2.0/24; ! 2.2.0.0/16; 1.2.3.4/32; };
|
||||
table role=ipf type=tree number=110
|
||||
{ 2.2.2.0/24; ! 2.2.0.0/16; 1.2.3.4/32; };
|
||||
table role=ipf type=tree number=120
|
||||
{ 2.2.2.0/24; ! 2.2.0.0/16; 1.2.3.4/32; };
|
||||
table role=ipf type=tree number=130
|
||||
{ 2.2.2.0/24; ! 2.2.0.0/16; 1.2.3.4/32; };
|
||||
table role=ipf type=hash number=2 size=1
|
||||
{; };
|
||||
table role=ipf type=hash number=200 size=5
|
||||
{ 0/0; 1/32; 1.2.3.4/32; };
|
||||
table role=nat type=hash number=210 size=5
|
||||
{ 0/0; 2/32; 1.2.3.4/32; };
|
||||
table role=auth type=hash number=220 size=5
|
||||
{ 0/0; 3/32; 1.2.3.4/32; };
|
||||
table role=count type=hash number=230 size=5
|
||||
{ 0/0; 4/32; 1.2.3.4/32; };
|
||||
table role=ipf type=hash number=240 size=5 seed=101
|
||||
{ 0/0; 1/32; 1.2.3.4/32; };
|
||||
table role=nat type=hash number=250 size=5 seed=101
|
||||
{ 0/0; 2/32; 1.2.3.4/32; };
|
||||
table role=auth type=hash number=260 size=5 seed=101
|
||||
{ 0/0; 3/32; 1.2.3.4/32; };
|
||||
table role=count type=hash number=270 size=5 seed=101
|
||||
{ 0/0; 4/32; 1.2.3.4/32; };
|
||||
table role=ipf type=hash number=2000 size=1001
|
||||
{ 0/0; 1/32; 1.2.3.4/32; };
|
||||
table role=nat type=hash number=2000 size=1001
|
||||
{ 0/0; 2/32; 1.2.3.4/32; };
|
||||
table role=auth type=hash number=2000 size=1001
|
||||
{ 0/0; 3/32; 1.2.3.4/32; };
|
||||
table role=count type=hash number=2000 size=1001
|
||||
{ 0/0; 4/32; 1.2.3.4/32; };
|
||||
table role=ipf type=hash number=100 size=1001 seed=101
|
||||
{ 0/0; 1/32; 1.2.3.4/32; };
|
||||
table role=nat type=hash number=100 size=1001 seed=101
|
||||
{ 0/0; 2/32; 1.2.3.4/32; };
|
||||
table role=auth type=hash number=100 size=1001 seed=101
|
||||
{ 0/0; 3/32; 1.2.3.4/32; };
|
||||
table role=count type=hash number=100 size=1001 seed=101
|
||||
{ 0/0; 4/32; 1.2.3.4/32; };
|
||||
group-map in role=ipf number=300 size=5
|
||||
{ 0/0, group=303; 5/32, group=303; 1.2.3.4/32, group=303; };
|
||||
group-map in role=nat number=300 size=5
|
||||
{ 0/0, group=303; 6/32, group=303; 1.2.3.4/32, group=303; };
|
||||
group-map in role=auth number=300 size=5
|
||||
{ 0/0, group=303; 7/32, group=303; 1.2.3.4/32, group=303; };
|
||||
group-map in role=count number=300 size=5
|
||||
{ 0/0, group=303; 8/32, group=303; 1.2.3.4/32, group=303; };
|
||||
group-map out role=ipf number=400 size=5
|
||||
{ 0/0, group=303; 5/32, group=303; 1.2.3.4/32, group=606; };
|
||||
group-map out role=nat number=400 size=5
|
||||
{ 0/0, group=303; 6/32, group=303; 1.2.3.4/32, group=606; };
|
||||
group-map out role=auth number=400 size=5
|
||||
{ 0/0, group=303; 7/32, group=303; 1.2.3.4/32, group=606; };
|
||||
group-map out role=count number=400 size=5
|
||||
{ 0/0, group=303; 8/32, group=303; 1.2.3.4/32, group=606; };
|
||||
group-map in role=ipf number=500 size=5
|
||||
{ 0/0, group=10; 5/32, group=800; 1.2.3.4/32, group=606; };
|
||||
group-map in role=nat number=500 size=5
|
||||
{ 0/0, group=10; 6/32, group=800; 1.2.3.4/32, group=606; };
|
||||
group-map in role=auth number=500 size=5
|
||||
{ 0/0, group=10; 7/32, group=800; 1.2.3.4/32, group=606; };
|
||||
group-map in role=count number=500 size=5
|
||||
{ 0/0, group=10; 8/32, group=800; 1.2.3.4/32, group=606; };
|
2
external/bsd/ipf/dist/test/expected/ip2
vendored
2
external/bsd/ipf/dist/test/expected/ip2
vendored
@ -1,2 +0,0 @@
|
||||
table role=ipf type=tree name=letters
|
||||
{ 2.2.2.0/24; ! 2.2.0.0/16; 1.1.1.1/32; };
|
14
external/bsd/ipf/dist/test/expected/ip3
vendored
14
external/bsd/ipf/dist/test/expected/ip3
vendored
@ -1,14 +0,0 @@
|
||||
pool ipf/dstlist (name fred; policy round-robin;)
|
||||
{ 3.3.3.3; };
|
||||
pool ipf/dstlist (name jack; policy weighting connection;)
|
||||
{ 4.4.4.4; bge0:5.5.5.5; };
|
||||
pool ipf/dstlist (name jill; policy random;)
|
||||
{ 1.1.1.1; bge0:2.2.2.2; };
|
||||
table role=nat type=hash name=noproxy size=3
|
||||
{ 1.1.1.1/32; 2.2.2.2/32; };
|
||||
table role=ipf type=tree name=raw
|
||||
{ 2.2.2.2/32; 1.1.1.1/32; };
|
||||
pool all/dstlist (name jill; policy random;)
|
||||
{ 1.1.1.1; bge0:2.2.2.2; };
|
||||
table role=all type=hash name=noproxy size=3
|
||||
{ 1.1.1.1/32; 2.2.2.2/32; };
|
4
external/bsd/ipf/dist/test/expected/ipv6.1
vendored
4
external/bsd/ipf/dist/test/expected/ipv6.1
vendored
@ -1,4 +0,0 @@
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
--------
|
15
external/bsd/ipf/dist/test/expected/ipv6.2
vendored
15
external/bsd/ipf/dist/test/expected/ipv6.2
vendored
@ -1,15 +0,0 @@
|
||||
nomatch
|
||||
block
|
||||
nomatch
|
||||
block
|
||||
--------
|
||||
block
|
||||
nomatch
|
||||
block
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
--------
|
6
external/bsd/ipf/dist/test/expected/ipv6.3
vendored
6
external/bsd/ipf/dist/test/expected/ipv6.3
vendored
@ -1,6 +0,0 @@
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
--------
|
51
external/bsd/ipf/dist/test/expected/ipv6.4
vendored
51
external/bsd/ipf/dist/test/expected/ipv6.4
vendored
@ -1,51 +0,0 @@
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
block
|
||||
nomatch
|
||||
nomatch
|
||||
nomatch
|
||||
pass
|
||||
pass
|
||||
--------
|
6
external/bsd/ipf/dist/test/expected/ipv6.5
vendored
6
external/bsd/ipf/dist/test/expected/ipv6.5
vendored
@ -1,6 +0,0 @@
|
||||
pass
|
||||
nomatch
|
||||
--------
|
||||
block
|
||||
nomatch
|
||||
--------
|
10
external/bsd/ipf/dist/test/expected/ipv6.6
vendored
10
external/bsd/ipf/dist/test/expected/ipv6.6
vendored
@ -1,10 +0,0 @@
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
--------
|
||||
nomatch
|
||||
nomatch
|
||||
block
|
||||
nomatch
|
||||
--------
|
56
external/bsd/ipf/dist/test/expected/l1
vendored
56
external/bsd/ipf/dist/test/expected/l1
vendored
@ -1,56 +0,0 @@
|
||||
log in all
|
||||
missed 1 ipf log entries: 0 1
|
||||
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 -AF 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 @-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 @-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
|
||||
missed 1 ipf log entries: 0 1
|
||||
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 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,1 -> 4.4.4.4,53 PR udp len 20 56 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
|
||||
missed 1 ipf log entries: 0 1
|
||||
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 -AF K-S IN
|
||||
--------
|
||||
pass in log first quick proto tcp from 1.1.1.1 to any flags S keep state
|
||||
missed 1 ipf log entries: 0 1
|
||||
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
|
||||
--------
|
||||
missed 1 ipf log entries: 0 1
|
||||
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 -AF 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
|
||||
--------
|
56
external/bsd/ipf/dist/test/expected/l1.b
vendored
56
external/bsd/ipf/dist/test/expected/l1.b
vendored
@ -1,56 +0,0 @@
|
||||
missed 1 ipf log entries: 0 1
|
||||
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 -AF 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 @-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 @-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
|
||||
--------
|
||||
--------
|
||||
--------
|
||||
missed 1 ipf log entries: 0 1
|
||||
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 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,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 @0:1 p 2.2.2.2 -> 4.4.4.4 PR ip len 20 (20) IN
|
||||
--------
|
||||
missed 1 ipf log entries: 0 1
|
||||
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 -AF K-S IN
|
||||
--------
|
||||
missed 1 ipf log entries: 0 1
|
||||
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
|
||||
--------
|
||||
missed 1 ipf log entries: 0 1
|
||||
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 -AF 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
|
||||
--------
|
197
external/bsd/ipf/dist/test/expected/n1
vendored
197
external/bsd/ipf/dist/test/expected/n1
vendored
@ -1,197 +0,0 @@
|
||||
> zx0 ip #0 20(20) 255 10.1.1.0 > 10.1.1.2
|
||||
> zx0 ip #0 20(20) 255 10.2.2.2 > 10.1.1.2
|
||||
> zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
> zx0 ip #0 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
|
||||
> zx0 ip #0 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025
|
||||
> zx0 ip #0 20(20) 255 10.2.2.1 > 10.1.2.1
|
||||
> zx0 ip #0 20(20) 255 10.2.2.2 > 10.1.2.1
|
||||
< zx0 ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
|
||||
< zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
< zx0 ip #0 20(20) 255 10.2.2.1 > 10.2.1.1
|
||||
< zx0 ip #0 20(20) 255 10.2.2.2 > 10.2.1.1
|
||||
< zx0 ip #0 20(20) 255 10.2.2.3 > 10.1.1.1
|
||||
< zx0 ip #0 20(20) 255 10.2.3.4 > 10.2.2.2
|
||||
< zx0 ip #0 20(20) 255 10.1.1.1 > 10.2.2.2
|
||||
< zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
< zx0 ip #0 20(20) 255 10.1.1.0 > 10.3.4.5
|
||||
< zx0 ip #0 20(20) 255 10.1.1.1 > 10.3.4.5
|
||||
< zx0 ip #0 20(20) 255 10.1.1.2 > 10.3.4.5
|
||||
< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,1025
|
||||
> zx0 ip #0 48(20) 1 10.2.2.2 > 10.4.3.2
|
||||
< zx0 ip #0 48(20) 1 10.4.3.2 > 10.1.1.1
|
||||
< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.1
|
||||
< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.2
|
||||
< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.3
|
||||
< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.4
|
||||
< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.5
|
||||
> zx0 ip #0 20(20) 34 10.1.1.2 > 10.4.3.2
|
||||
< zx0 ip #0 20(20) 34 10.4.3.2 > 10.3.4.4
|
||||
> zx0 ip #0 20(20) 34 10.1.1.2 > 10.4.3.4
|
||||
< zx0 ip #0 20(20) 34 10.4.3.4 > 10.3.4.5
|
||||
> zx0 ip #0 20(20) 34 10.1.1.3 > 10.4.3.4
|
||||
< zx0 ip #0 20(20) 34 10.4.3.4 > 10.3.4.6
|
||||
> zx0 ip #0 20(20) 35 10.1.1.3 > 10.4.3.4
|
||||
< zx0 ip #0 20(20) 35 10.4.3.4 > 10.3.4.7
|
||||
List of active MAP/Redirect filters:
|
||||
map zx0 10.1.1.1/32 -> 10.2.2.2/32
|
||||
|
||||
List of active sessions:
|
||||
MAP 10.1.1.1 <- -> 10.2.2.2 [10.4.3.2]
|
||||
MAP 10.1.1.1 <- -> 10.2.2.2 [10.1.1.2]
|
||||
|
||||
Hostmap table:
|
||||
10.1.1.1,10.4.3.2 -> 10.2.2.2,0.0.0.0 (use = 1)
|
||||
10.1.1.1,10.1.1.2 -> 10.2.2.2,0.0.0.0 (use = 1)
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
||||
> zx0 ip #0 20(20) 255 10.3.4.5 > 10.1.1.2
|
||||
15
|
||||
> zx0 ip #0 20(20) 255 10.3.4.5 > 10.1.1.1
|
||||
> zx0 ip #0 40(20) 6 10.3.4.5,1025 > 10.1.1.1,1025
|
||||
> zx0 ip #0 40(20) 6 10.3.4.5,1026 > 10.1.1.1,1025
|
||||
> zx0 ip #0 20(20) 255 10.2.2.1 > 10.1.2.1
|
||||
> zx0 ip #0 20(20) 255 10.2.2.2 > 10.1.2.1
|
||||
< zx0 ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
|
||||
< zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
< zx0 ip #0 20(20) 255 10.2.2.1 > 10.2.1.1
|
||||
< zx0 ip #0 20(20) 255 10.2.2.2 > 10.2.1.1
|
||||
< zx0 ip #0 20(20) 255 10.2.2.3 > 10.1.1.1
|
||||
< zx0 ip #0 20(20) 255 10.2.3.4 > 10.2.2.2
|
||||
< zx0 ip #0 20(20) 255 10.1.1.1 > 10.2.2.2
|
||||
< zx0 ip #0 20(20) 255 10.1.1.2 > 10.2.2.2
|
||||
< zx0 ip #0 20(20) 255 10.1.1.0 > 10.3.4.5
|
||||
< zx0 ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
|
||||
< zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.0
|
||||
< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
|
||||
> zx0 ip #0 48(20) 1 10.3.4.5 > 10.4.3.2
|
||||
< zx0 ip #0 48(20) 1 10.4.3.2 > 10.2.2.2
|
||||
< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.1
|
||||
< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.2
|
||||
< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.3
|
||||
< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.4
|
||||
< zx0 ip #0 48(20) 1 10.4.3.2 > 10.1.1.1
|
||||
> zx0 ip #0 20(20) 34 10.3.4.5 > 10.4.3.2
|
||||
< zx0 ip #0 20(20) 34 10.4.3.2 > 10.3.4.4
|
||||
> zx0 ip #0 20(20) 34 10.3.4.5 > 10.4.3.4
|
||||
< zx0 ip #0 20(20) 34 10.4.3.4 > 10.1.1.2
|
||||
15
|
||||
< zx0 ip #0 20(20) 34 10.4.3.4 > 10.3.4.6
|
||||
> zx0 ip #0 20(20) 35 10.3.4.5 > 10.4.3.4
|
||||
< zx0 ip #0 20(20) 35 10.4.3.4 > 10.3.4.7
|
||||
List of active MAP/Redirect filters:
|
||||
map zx0 10.1.1.0/24 -> 10.3.4.5/32
|
||||
|
||||
List of active sessions:
|
||||
MAP 10.1.1.3 <- -> 10.3.4.5 [10.4.3.4]
|
||||
MAP 10.1.1.2 <- -> 10.3.4.5 [10.4.3.4]
|
||||
MAP 10.1.1.2 <- -> 10.3.4.5 [10.4.3.2]
|
||||
MAP 10.1.1.1 <- -> 10.3.4.5 [10.4.3.2]
|
||||
MAP 10.1.1.2 1026 <- -> 10.3.4.5 1026 [10.1.1.1 1025]
|
||||
MAP 10.1.1.2 1025 <- -> 10.3.4.5 1025 [10.1.1.1 1025]
|
||||
MAP 10.1.1.2 <- -> 10.3.4.5 [10.1.1.1]
|
||||
MAP 10.1.1.0 <- -> 10.3.4.5 [10.1.1.2]
|
||||
|
||||
Hostmap table:
|
||||
10.1.1.3,10.4.3.4 -> 10.3.4.5,0.0.0.0 (use = 1)
|
||||
10.1.1.2,10.4.3.4 -> 10.3.4.5,0.0.0.0 (use = 1)
|
||||
10.1.1.2,10.4.3.2 -> 10.3.4.5,0.0.0.0 (use = 1)
|
||||
10.1.1.1,10.4.3.2 -> 10.3.4.5,0.0.0.0 (use = 1)
|
||||
10.1.1.2,10.1.1.1 -> 10.3.4.5,0.0.0.0 (use = 3)
|
||||
10.1.1.0,10.1.1.2 -> 10.3.4.5,0.0.0.0 (use = 1)
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
||||
> zx0 ip #0 20(20) 255 10.3.4.1 > 10.1.1.2
|
||||
> zx0 ip #0 20(20) 255 10.3.4.2 > 10.1.1.2
|
||||
> zx0 ip #0 20(20) 255 10.3.4.3 > 10.1.1.1
|
||||
> zx0 ip #0 40(20) 6 10.3.4.3,1025 > 10.1.1.1,1025
|
||||
> zx0 ip #0 40(20) 6 10.3.4.3,1026 > 10.1.1.1,1025
|
||||
> zx0 ip #0 20(20) 255 10.2.2.1 > 10.1.2.1
|
||||
> zx0 ip #0 20(20) 255 10.2.2.2 > 10.1.2.1
|
||||
< zx0 ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
|
||||
< zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
< zx0 ip #0 20(20) 255 10.2.2.1 > 10.2.1.1
|
||||
< zx0 ip #0 20(20) 255 10.2.2.2 > 10.2.1.1
|
||||
< zx0 ip #0 20(20) 255 10.2.2.3 > 10.1.1.1
|
||||
< zx0 ip #0 20(20) 255 10.2.3.4 > 10.2.2.2
|
||||
< zx0 ip #0 20(20) 255 10.1.1.1 > 10.2.2.2
|
||||
< zx0 ip #0 20(20) 255 10.1.1.2 > 10.2.2.2
|
||||
< zx0 ip #0 20(20) 255 10.1.1.0 > 10.3.4.5
|
||||
< zx0 ip #0 20(20) 255 10.1.1.1 > 10.3.4.5
|
||||
< zx0 ip #0 20(20) 255 10.1.1.2 > 10.3.4.5
|
||||
< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,1025
|
||||
> zx0 ip #0 48(20) 1 10.3.4.3 > 10.4.3.2
|
||||
< zx0 ip #0 48(20) 1 10.4.3.2 > 10.2.2.2
|
||||
< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.1
|
||||
< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.2
|
||||
< zx0 ip #0 48(20) 1 10.4.3.2 > 10.1.1.1
|
||||
< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.4
|
||||
< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.5
|
||||
> zx0 ip #0 20(20) 34 10.3.4.3 > 10.4.3.2
|
||||
< zx0 ip #0 20(20) 34 10.4.3.2 > 10.3.4.4
|
||||
> zx0 ip #0 20(20) 34 10.3.4.3 > 10.4.3.4
|
||||
< zx0 ip #0 20(20) 34 10.4.3.4 > 10.3.4.5
|
||||
> zx0 ip #0 20(20) 34 10.3.4.4 > 10.4.3.4
|
||||
< zx0 ip #0 20(20) 34 10.4.3.4 > 10.3.4.6
|
||||
> zx0 ip #0 20(20) 35 10.3.4.4 > 10.4.3.4
|
||||
< zx0 ip #0 20(20) 35 10.4.3.4 > 10.3.4.7
|
||||
List of active MAP/Redirect filters:
|
||||
map zx0 10.1.1.0/24 -> 10.3.4.0/24
|
||||
|
||||
List of active sessions:
|
||||
MAP 10.1.1.3 <- -> 10.3.4.4 [10.4.3.4]
|
||||
MAP 10.1.1.3 <- -> 10.3.4.4 [10.4.3.4]
|
||||
MAP 10.1.1.2 <- -> 10.3.4.3 [10.4.3.4]
|
||||
MAP 10.1.1.2 <- -> 10.3.4.3 [10.4.3.2]
|
||||
MAP 10.1.1.1 <- -> 10.3.4.3 [10.4.3.2]
|
||||
MAP 10.1.1.2 1026 <- -> 10.3.4.3 1026 [10.1.1.1 1025]
|
||||
MAP 10.1.1.2 1025 <- -> 10.3.4.3 1025 [10.1.1.1 1025]
|
||||
MAP 10.1.1.2 <- -> 10.3.4.3 [10.1.1.1]
|
||||
MAP 10.1.1.1 <- -> 10.3.4.2 [10.1.1.2]
|
||||
MAP 10.1.1.0 <- -> 10.3.4.1 [10.1.1.2]
|
||||
|
||||
Hostmap table:
|
||||
10.1.1.3,10.4.3.4 -> 10.3.4.4,0.0.0.0 (use = 2)
|
||||
10.1.1.2,10.4.3.4 -> 10.3.4.3,0.0.0.0 (use = 1)
|
||||
10.1.1.2,10.4.3.2 -> 10.3.4.3,0.0.0.0 (use = 1)
|
||||
10.1.1.1,10.4.3.2 -> 10.3.4.3,0.0.0.0 (use = 1)
|
||||
10.1.1.2,10.1.1.1 -> 10.3.4.3,0.0.0.0 (use = 3)
|
||||
10.1.1.1,10.1.1.2 -> 10.3.4.2,0.0.0.0 (use = 1)
|
||||
10.1.1.0,10.1.1.2 -> 10.3.4.1,0.0.0.0 (use = 1)
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
72
external/bsd/ipf/dist/test/expected/n10
vendored
72
external/bsd/ipf/dist/test/expected/n10
vendored
@ -1,72 +0,0 @@
|
||||
4500 002c 10c9 4000 ff06 5c9d cbcb cbcb 96cb e002 8032 0015 bd6b c9c8 0000 0000 6002 2238 655d 0000 0204 0064
|
||||
|
||||
List of active MAP/Redirect filters:
|
||||
map ppp0 0/0 -> 203.203.203.203/32 mssclamp 100
|
||||
|
||||
List of active sessions:
|
||||
MAP 192.168.1.3 32818 <- -> 203.203.203.203 32818 [150.203.224.2 21]
|
||||
|
||||
Hostmap table:
|
||||
192.168.1.3,150.203.224.2 -> 203.203.203.203,0.0.0.0 (use = 1)
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
||||
4500 002c 10c9 4000 ff06 5c9d cbcb cbcb 96cb e002 8032 0015 bd6b c9c8 0000 0000 6002 2238 61d9 0000 0204 03e8
|
||||
|
||||
List of active MAP/Redirect filters:
|
||||
map ppp0 0/0 -> 203.203.203.203/32 mssclamp 1000
|
||||
|
||||
List of active sessions:
|
||||
MAP 192.168.1.3 32818 <- -> 203.203.203.203 32818 [150.203.224.2 21]
|
||||
|
||||
Hostmap table:
|
||||
192.168.1.3,150.203.224.2 -> 203.203.203.203,0.0.0.0 (use = 1)
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
||||
4500 002c 10c9 4000 ff06 5c9d cbcb cbcb 96cb e002 8032 0015 bd6b c9c8 0000 0000 6002 2238 600d 0000 0204 05b4
|
||||
|
||||
List of active MAP/Redirect filters:
|
||||
map ppp0 0/0 -> 203.203.203.203/32 mssclamp 10000
|
||||
|
||||
List of active sessions:
|
||||
MAP 192.168.1.3 32818 <- -> 203.203.203.203 32818 [150.203.224.2 21]
|
||||
|
||||
Hostmap table:
|
||||
192.168.1.3,150.203.224.2 -> 203.203.203.203,0.0.0.0 (use = 1)
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
33
external/bsd/ipf/dist/test/expected/n100
vendored
33
external/bsd/ipf/dist/test/expected/n100
vendored
@ -1,33 +0,0 @@
|
||||
> zx0 ip #0 20(20) 255 1.1.1.1 > 2.3.2.3
|
||||
> zx0 ip #0 20(20) 255 4.4.4.4 > 6.6.0.1
|
||||
> zx0 ip #0 20(20) 255 4.4.4.4 > 6.6.0.2
|
||||
> zx0 ip #0 20(20) 255 4.4.4.4 > 6.6.0.3
|
||||
> zx0 ip #0 20(20) 255 4.4.4.4 > 6.6.0.4
|
||||
> zx0 ip #0 20(20) 255 4.4.4.4 > 6.6.0.1
|
||||
> zx0 ip #0 40(20) 6 1.1.1.1,101 > 2.3.2.3,203
|
||||
> zx0 ip #0 40(20) 6 4.4.4.4,101 > 6.6.0.5,203
|
||||
List of active MAP/Redirect filters:
|
||||
rewrite out on zx0 from 0/0 to 2.2.0.0/16 -> src 4.4.4.4/32 dst 6.6.0.0/16;
|
||||
|
||||
List of active sessions:
|
||||
RWR-MAP 1.1.1.1 101 2.2.2.3 203 <- -> 4.4.4.4 101 6.6.0.5 203
|
||||
RWR-MAP 1.1.1.1 2.2.2.4 <- -> 4.4.4.4 6.6.0.4
|
||||
RWR-MAP 1.2.1.2 2.2.2.3 <- -> 4.4.4.4 6.6.0.3
|
||||
RWR-MAP 1.1.1.2 2.2.2.3 <- -> 4.4.4.4 6.6.0.2
|
||||
RWR-MAP 1.1.1.1 2.2.2.3 <- -> 4.4.4.4 6.6.0.1
|
||||
|
||||
Hostmap table:
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
29
external/bsd/ipf/dist/test/expected/n101
vendored
29
external/bsd/ipf/dist/test/expected/n101
vendored
@ -1,29 +0,0 @@
|
||||
> zx0 ip #0 20(20) 255 1.1.1.1 > 2.3.2.3
|
||||
> zx0 ip #0 20(20) 255 1.1.1.1 > 2.2.2.3
|
||||
> zx0 ip #0 20(20) 255 1.1.1.2 > 2.2.2.3
|
||||
> zx0 ip #0 20(20) 255 1.2.1.2 > 2.2.2.3
|
||||
> zx0 ip #0 20(20) 255 1.1.1.1 > 2.2.2.4
|
||||
> zx0 ip #0 20(20) 255 1.1.1.1 > 2.2.2.3
|
||||
> zx0 ip #0 40(20) 6 1.1.1.1,101 > 2.3.2.3,203
|
||||
> zx0 ip #0 40(20) 6 4.4.4.4,101 > 6.6.0.1,203
|
||||
List of active MAP/Redirect filters:
|
||||
rewrite out on zx0 proto tcp from 0/0 to 2.2.0.0/16 -> src 4.4.4.4/32 dst 6.6.0.0/16;
|
||||
|
||||
List of active sessions:
|
||||
RWR-MAP 1.1.1.1 101 2.2.2.3 203 <- -> 4.4.4.4 101 6.6.0.1 203
|
||||
|
||||
Hostmap table:
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
29
external/bsd/ipf/dist/test/expected/n102
vendored
29
external/bsd/ipf/dist/test/expected/n102
vendored
@ -1,29 +0,0 @@
|
||||
> zx0 ip #0 20(20) 255 1.1.1.1 > 2.3.2.3
|
||||
> zx0 ip #0 20(20) 255 1.1.1.1 > 2.2.2.3
|
||||
> zx0 ip #0 20(20) 255 1.1.1.2 > 2.2.2.3
|
||||
> zx0 ip #0 20(20) 255 1.2.1.2 > 2.2.2.3
|
||||
> zx0 ip #0 20(20) 255 1.1.1.1 > 2.2.2.4
|
||||
> zx0 ip #0 20(20) 255 1.1.1.1 > 2.2.2.3
|
||||
> zx0 ip #0 40(20) 6 1.1.1.1,101 > 2.3.2.3,203
|
||||
> zx0 ip #0 40(20) 6 4.4.4.4,1000 > 6.6.0.1,203
|
||||
List of active MAP/Redirect filters:
|
||||
rewrite out on zx0 proto tcp from 0/0 to 2.2.0.0/16 -> src 4.4.4.4/32,1000-2000 dst 6.6.0.0/16;
|
||||
|
||||
List of active sessions:
|
||||
RWR-MAP 1.1.1.1 101 2.2.2.3 203 <- -> 4.4.4.4 1000 6.6.0.1 203
|
||||
|
||||
Hostmap table:
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
33
external/bsd/ipf/dist/test/expected/n103
vendored
33
external/bsd/ipf/dist/test/expected/n103
vendored
@ -1,33 +0,0 @@
|
||||
> zx0 ip #0 40(20) 6 1.1.1.1,101 > 2.3.2.3,203
|
||||
> zx0 ip #0 40(20) 6 4.4.4.4,1000 > 6.6.0.1,4000
|
||||
> zx0 ip #0 40(20) 6 4.4.4.4,1000 > 6.6.0.1,4000
|
||||
> zx0 ip #0 40(20) 6 4.4.4.4,1001 > 6.6.0.1,4000
|
||||
> zx0 ip #0 40(20) 6 4.4.4.4,1001 > 6.6.0.2,4000
|
||||
> zx0 ip #0 40(20) 6 4.4.4.4,1001 > 6.6.0.2,4001
|
||||
< zx0 ip #0 40(20) 6 2.2.2.3,4000 > 4.4.4.4,1000
|
||||
> zx0 ip #0 40(20) 6 4.4.4.4,1000 > 6.6.0.2,4001
|
||||
List of active MAP/Redirect filters:
|
||||
rewrite out on zx0 proto tcp from 0/0 to 2.2.0.0/16 -> src 4.4.4.4/32,1000-1001 dst 6.6.0.0/16,4000-4001;
|
||||
|
||||
List of active sessions:
|
||||
RWR-MAP 7.7.7.7 101 2.2.2.3 203 <- -> 4.4.4.4 1000 6.6.0.2 4001
|
||||
RWR-MAP 5.5.5.5 101 2.2.2.3 203 <- -> 4.4.4.4 1001 6.6.0.2 4001
|
||||
RWR-MAP 10.10.10.10 101 2.2.2.3 203 <- -> 4.4.4.4 1001 6.6.0.2 4000
|
||||
RWR-MAP 1.1.1.2 101 2.2.2.3 203 <- -> 4.4.4.4 1001 6.6.0.1 4000
|
||||
RWR-MAP 1.1.1.1 101 2.2.2.3 203 <- -> 4.4.4.4 1000 6.6.0.1 4000
|
||||
|
||||
Hostmap table:
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
50
external/bsd/ipf/dist/test/expected/n104
vendored
50
external/bsd/ipf/dist/test/expected/n104
vendored
@ -1,50 +0,0 @@
|
||||
4500 0028 0001 0000 ff06 b1c3 0404 0001 0606 0001 03e8 0fa0 0000 0001 1000 0001 5010 2000 623f 0000
|
||||
|
||||
4500 0028 0002 0000 ff06 b5c8 0202 0202 0101 0101 00cb 0065 0000 0001 1000 0001 5010 2000 789d 0000
|
||||
|
||||
4500 0028 0003 0000 ff06 b1c0 0404 0002 0606 0001 03e8 0fa0 0000 0001 1000 0001 5010 2000 623e 0000
|
||||
|
||||
4500 0028 0004 0000 ff06 b5c6 0202 0202 0101 0101 00cb 0066 0000 0001 1000 0001 5010 2000 789c 0000
|
||||
|
||||
4500 0028 0005 0000 ff06 b1be 0404 0002 0606 0001 03e9 0fa0 0000 0001 1000 0001 5010 2000 623d 0000
|
||||
|
||||
4500 0028 0006 0000 ff06 b5c4 0202 0202 0101 0101 00cb 0067 0000 0001 1000 0001 5010 2000 789b 0000
|
||||
|
||||
4500 0028 0007 0000 ff06 b1bb 0404 0002 0606 0002 03e9 0fa0 0000 0001 1000 0001 5010 2000 623c 0000
|
||||
|
||||
4500 0028 0008 0000 ff06 b5c2 0202 0202 0101 0101 00cb 0068 0000 0001 1000 0001 5010 2000 789a 0000
|
||||
|
||||
4500 0028 0009 0000 ff06 b1b9 0404 0002 0606 0002 03e9 0fa1 0000 0001 1000 0001 5010 2000 623b 0000
|
||||
|
||||
4500 0028 000a 0000 ff06 b5c0 0202 0202 0101 0101 00cb 0069 0000 0001 1000 0001 5010 2000 7899 0000
|
||||
|
||||
4500 0028 000b 0000 ff06 b1b6 0404 0003 0606 0002 03e9 0fa1 0000 0001 1000 0001 5010 2000 623a 0000
|
||||
|
||||
4500 0028 000c 0000 ff06 b5be 0202 0202 0101 0101 00cb 006a 0000 0001 1000 0001 5010 2000 7898 0000
|
||||
|
||||
List of active MAP/Redirect filters:
|
||||
rewrite out on zx0 proto tcp from 0/0 to 2.2.0.0/16 -> src 4.4.0.0/24,1000-1001 dst 6.6.0.0/16,4000-4001;
|
||||
|
||||
List of active sessions:
|
||||
RWR-MAP 1.1.1.1 106 2.2.2.2 203 <- -> 4.4.0.3 1001 6.6.0.2 4001
|
||||
RWR-MAP 1.1.1.1 105 2.2.2.2 203 <- -> 4.4.0.2 1001 6.6.0.2 4001
|
||||
RWR-MAP 1.1.1.1 104 2.2.2.2 203 <- -> 4.4.0.2 1001 6.6.0.2 4000
|
||||
RWR-MAP 1.1.1.1 103 2.2.2.2 203 <- -> 4.4.0.2 1001 6.6.0.1 4000
|
||||
RWR-MAP 1.1.1.1 102 2.2.2.2 203 <- -> 4.4.0.2 1000 6.6.0.1 4000
|
||||
RWR-MAP 1.1.1.1 101 2.2.2.2 203 <- -> 4.4.0.1 1000 6.6.0.1 4000
|
||||
|
||||
Hostmap table:
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
25
external/bsd/ipf/dist/test/expected/n105
vendored
25
external/bsd/ipf/dist/test/expected/n105
vendored
@ -1,25 +0,0 @@
|
||||
4500 0028 0001 0000 ff06 adc0 0404 0404 0606 0001 03e8 0c38 0000 0001 1000 0001 5010 2000 61a4 0000
|
||||
|
||||
4500 0028 0001 0000 ff06 b5c9 0202 0202 0101 0101 0050 0065 0000 0001 1000 0001 5010 2000 7918 0000
|
||||
|
||||
List of active MAP/Redirect filters:
|
||||
rewrite in on zx0 proto tcp from 0/0 to 2.2.0.0/16 port = 80 -> src 4.4.4.4/32,1000-1001 dst 6.6.0.0/16,port = 3128;
|
||||
|
||||
List of active sessions:
|
||||
RWR-RDR 1.1.1.1 101 2.2.2.2 80 <- -> 4.4.4.4 1000 6.6.0.1 3128
|
||||
|
||||
Hostmap table:
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
25
external/bsd/ipf/dist/test/expected/n106
vendored
25
external/bsd/ipf/dist/test/expected/n106
vendored
@ -1,25 +0,0 @@
|
||||
4500 0028 0001 0000 ff06 adc0 0404 0404 0606 0001 03e8 0c38 0000 0001 1000 0001 5010 2000 61a4 0000
|
||||
|
||||
4500 0028 0001 0000 ff06 b5c9 0202 0202 0101 0101 0050 0065 0000 0001 1000 0001 5010 2000 7918 0000
|
||||
|
||||
List of active MAP/Redirect filters:
|
||||
rewrite out on zx0 proto tcp from 0/0 to 2.2.0.0/16 port = 80 -> src 4.4.4.4/32,1000-1001 dst 6.6.0.0/16,port = 3128;
|
||||
|
||||
List of active sessions:
|
||||
RWR-MAP 1.1.1.1 101 2.2.2.2 80 <- -> 4.4.4.4 1000 6.6.0.1 3128
|
||||
|
||||
Hostmap table:
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
124
external/bsd/ipf/dist/test/expected/n11
vendored
124
external/bsd/ipf/dist/test/expected/n11
vendored
@ -1,124 +0,0 @@
|
||||
> zx0 ip #0 20(20) 255 10.1.1.0 > 10.1.1.2
|
||||
> zx0 ip #0 20(20) 255 1.6.7.8 > 10.1.1.2
|
||||
> zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
> zx0 ip #0 20(20) 255 10.2.2.1 > 10.1.2.1
|
||||
> zx0 ip #0 20(20) 255 10.2.2.2 > 10.1.2.1
|
||||
< zx0 ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
|
||||
< zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
< zx0 ip #0 20(20) 255 10.2.2.1 > 10.2.1.1
|
||||
< zx0 ip #0 20(20) 255 10.2.2.2 > 10.2.1.1
|
||||
< zx0 ip #0 20(20) 255 10.2.2.3 > 10.1.1.1
|
||||
< zx0 ip #0 20(20) 255 10.2.3.4 > 10.2.2.2
|
||||
< zx0 ip #0 20(20) 255 10.1.1.1 > 10.2.2.2
|
||||
< zx0 ip #0 20(20) 255 10.1.1.2 > 10.2.2.2
|
||||
< zx0 ip #0 20(20) 255 10.1.1.0 > 10.3.4.5
|
||||
< zx0 ip #0 20(20) 255 10.1.1.1 > 10.3.4.5
|
||||
< zx0 ip #0 20(20) 255 10.1.1.2 > 10.3.4.5
|
||||
List of active MAP/Redirect filters:
|
||||
bimap zx0 10.1.1.1/32 -> 1.6.7.8/32
|
||||
|
||||
List of active sessions:
|
||||
BIMAP 10.1.1.1 <- -> 1.6.7.8 [10.1.1.2]
|
||||
|
||||
Hostmap table:
|
||||
10.1.1.1,10.1.1.2 -> 1.6.7.8,0.0.0.0 (use = 1)
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
||||
> zx0 ip #0 20(20) 255 10.2.2.2 > 10.1.1.2
|
||||
15
|
||||
> zx0 ip #0 20(20) 255 10.2.2.2 > 10.1.1.1
|
||||
> zx0 ip #0 20(20) 255 10.2.2.1 > 10.1.2.1
|
||||
> zx0 ip #0 20(20) 255 10.2.2.2 > 10.1.2.1
|
||||
< zx0 ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
|
||||
< zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
< zx0 ip #0 20(20) 255 10.2.2.1 > 10.2.1.1
|
||||
< zx0 ip #0 20(20) 255 10.2.2.2 > 10.2.1.1
|
||||
< zx0 ip #0 20(20) 255 10.2.2.3 > 10.1.1.1
|
||||
< zx0 ip #0 20(20) 255 10.2.3.4 > 10.1.1.0
|
||||
< zx0 ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
|
||||
< zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.0
|
||||
< zx0 ip #0 20(20) 255 10.1.1.0 > 10.3.4.5
|
||||
< zx0 ip #0 20(20) 255 10.1.1.1 > 10.3.4.5
|
||||
< zx0 ip #0 20(20) 255 10.1.1.2 > 10.3.4.5
|
||||
List of active MAP/Redirect filters:
|
||||
bimap zx0 10.1.1.0/24 -> 10.2.2.2/32
|
||||
|
||||
List of active sessions:
|
||||
BIMAP 10.1.1.0 <- -> 10.2.2.2 [10.2.3.4]
|
||||
BIMAP 10.1.1.2 <- -> 10.2.2.2 [10.1.1.1]
|
||||
BIMAP 10.1.1.0 <- -> 10.2.2.2 [10.1.1.2]
|
||||
|
||||
Hostmap table:
|
||||
10.1.1.2,10.1.1.1 -> 10.2.2.2,0.0.0.0 (use = 1)
|
||||
10.1.1.0,10.1.1.2 -> 10.2.2.2,0.0.0.0 (use = 1)
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
||||
> zx0 ip #0 20(20) 255 10.3.4.0 > 10.1.1.2
|
||||
> zx0 ip #0 20(20) 255 10.3.4.1 > 10.1.1.2
|
||||
> zx0 ip #0 20(20) 255 10.3.4.2 > 10.1.1.1
|
||||
> zx0 ip #0 20(20) 255 10.2.2.1 > 10.1.2.1
|
||||
> zx0 ip #0 20(20) 255 10.2.2.2 > 10.1.2.1
|
||||
< zx0 ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
|
||||
< zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
|
||||
< zx0 ip #0 20(20) 255 10.2.2.1 > 10.2.1.1
|
||||
< zx0 ip #0 20(20) 255 10.2.2.2 > 10.2.1.1
|
||||
< zx0 ip #0 20(20) 255 10.2.2.3 > 10.1.1.1
|
||||
< zx0 ip #0 20(20) 255 10.2.3.4 > 10.2.2.2
|
||||
< zx0 ip #0 20(20) 255 10.1.1.1 > 10.2.2.2
|
||||
< zx0 ip #0 20(20) 255 10.1.1.2 > 10.2.2.2
|
||||
< zx0 ip #0 20(20) 255 10.1.1.0 > 10.1.1.5
|
||||
< zx0 ip #0 20(20) 255 10.1.1.1 > 10.1.1.5
|
||||
< zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.5
|
||||
List of active MAP/Redirect filters:
|
||||
bimap zx0 10.1.1.0/24 -> 10.3.4.0/24
|
||||
|
||||
List of active sessions:
|
||||
BIMAP 10.1.1.5 <- -> 10.3.4.5 [10.1.1.2]
|
||||
BIMAP 10.1.1.5 <- -> 10.3.4.5 [10.1.1.1]
|
||||
BIMAP 10.1.1.5 <- -> 10.3.4.5 [10.1.1.0]
|
||||
BIMAP 10.1.1.2 <- -> 10.3.4.2 [10.1.1.1]
|
||||
BIMAP 10.1.1.1 <- -> 10.3.4.1 [10.1.1.2]
|
||||
BIMAP 10.1.1.0 <- -> 10.3.4.0 [10.1.1.2]
|
||||
|
||||
Hostmap table:
|
||||
10.1.1.2,10.1.1.1 -> 10.3.4.1,0.0.0.0 (use = 1)
|
||||
10.1.1.1,10.1.1.2 -> 10.3.4.1,0.0.0.0 (use = 1)
|
||||
10.1.1.0,10.1.1.2 -> 10.3.4.1,0.0.0.0 (use = 1)
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
124
external/bsd/ipf/dist/test/expected/n11_6
vendored
124
external/bsd/ipf/dist/test/expected/n11_6
vendored
@ -1,124 +0,0 @@
|
||||
> zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:0 > 10:1:1:0:0:0:0:2
|
||||
> zx0 ip6/0 1 0 255 1:0:0:0:0:6:7:8 > 10:1:1:0:0:0:0:2
|
||||
> zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:2 > 10:1:1:0:0:0:0:1
|
||||
> zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:1 > 10:1:2:0:0:0:0:1
|
||||
> zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:2 > 10:1:2:0:0:0:0:1
|
||||
< zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:1 > 10:1:1:0:0:0:0:2
|
||||
< zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:2 > 10:1:1:0:0:0:0:1
|
||||
< zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:1 > 10:0:0:0:0:2:1:1
|
||||
< zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:2 > 10:0:0:0:0:2:1:1
|
||||
< zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:3 > 10:1:1:0:0:0:0:1
|
||||
< zx0 ip6/0 1 0 255 10:0:0:0:0:2:3:4 > 10:0:0:0:0:2:2:2
|
||||
< zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:1 > 10:0:0:0:0:2:2:2
|
||||
< zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:2 > 10:0:0:0:0:2:2:2
|
||||
< zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:0 > 10:0:0:0:0:3:4:5
|
||||
< zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:1 > 10:0:0:0:0:3:4:5
|
||||
< zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:2 > 10:0:0:0:0:3:4:5
|
||||
List of active MAP/Redirect filters:
|
||||
bimap zx0 10:1:1::1/128 -> 1::6:7:8/128
|
||||
|
||||
List of active sessions:
|
||||
BIMAP 10:1:1::1 <- -> 1::6:7:8 [10:1:1::2]
|
||||
|
||||
Hostmap table:
|
||||
10:1:1::1,10:1:1::2 -> 1::6:7:8,any (use = 1)
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
||||
> zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:2 > 10:1:1:0:0:0:0:2
|
||||
17
|
||||
> zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:2 > 10:1:1:0:0:0:0:1
|
||||
> zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:1 > 10:1:2:0:0:0:0:1
|
||||
> zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:2 > 10:1:2:0:0:0:0:1
|
||||
< zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:1 > 10:1:1:0:0:0:0:2
|
||||
< zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:2 > 10:1:1:0:0:0:0:1
|
||||
< zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:1 > 10:0:0:0:0:2:1:1
|
||||
< zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:2 > 10:0:0:0:0:2:1:1
|
||||
< zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:3 > 10:1:1:0:0:0:0:1
|
||||
< zx0 ip6/0 1 0 255 10:0:0:0:0:2:3:4 > 10:1:1:0:0:0:0:0
|
||||
< zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:1 > 10:1:1:0:0:0:0:2
|
||||
< zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:2 > 10:1:1:0:0:0:0:0
|
||||
< zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:0 > 10:0:0:0:0:3:4:5
|
||||
< zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:1 > 10:0:0:0:0:3:4:5
|
||||
< zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:2 > 10:0:0:0:0:3:4:5
|
||||
List of active MAP/Redirect filters:
|
||||
bimap zx0 10:1:1::/112 -> 10::2:2:2/128
|
||||
|
||||
List of active sessions:
|
||||
BIMAP 10:1:1:: <- -> 10::2:2:2 [10::2:3:4]
|
||||
BIMAP 10:1:1::2 <- -> 10::2:2:2 [10:1:1::1]
|
||||
BIMAP 10:1:1:: <- -> 10::2:2:2 [10:1:1::2]
|
||||
|
||||
Hostmap table:
|
||||
10:1:1::2,10:1:1::1 -> 10::2:2:2,any (use = 1)
|
||||
10:1:1::,10:1:1::2 -> 10::2:2:2,any (use = 1)
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
||||
> zx0 ip6/0 1 0 255 10:0:0:0:0:3:4:0 > 10:1:1:0:0:0:0:2
|
||||
> zx0 ip6/0 1 0 255 10:0:0:0:0:3:4:1 > 10:1:1:0:0:0:0:2
|
||||
> zx0 ip6/0 1 0 255 10:0:0:0:0:3:4:2 > 10:1:1:0:0:0:0:1
|
||||
> zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:1 > 10:1:2:0:0:0:0:1
|
||||
> zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:2 > 10:1:2:0:0:0:0:1
|
||||
< zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:1 > 10:1:1:0:0:0:0:2
|
||||
< zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:2 > 10:1:1:0:0:0:0:1
|
||||
< zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:1 > 10:0:0:0:0:2:1:1
|
||||
< zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:2 > 10:0:0:0:0:2:1:1
|
||||
< zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:3 > 10:1:1:0:0:0:0:1
|
||||
< zx0 ip6/0 1 0 255 10:0:0:0:0:2:3:4 > 10:0:0:0:0:2:2:2
|
||||
< zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:1 > 10:0:0:0:0:2:2:2
|
||||
< zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:2 > 10:0:0:0:0:2:2:2
|
||||
< zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:0 > 10:1:1:0:0:0:0:5
|
||||
< zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:1 > 10:1:1:0:0:0:0:5
|
||||
< zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:2 > 10:1:1:0:0:0:0:5
|
||||
List of active MAP/Redirect filters:
|
||||
bimap zx0 10:1:1::/112 -> 10::3:4:0/112
|
||||
|
||||
List of active sessions:
|
||||
BIMAP 10:1:1::5 <- -> 10::3:4:5 [10:1:1::2]
|
||||
BIMAP 10:1:1::5 <- -> 10::3:4:5 [10:1:1::1]
|
||||
BIMAP 10:1:1::5 <- -> 10::3:4:5 [10:1:1::]
|
||||
BIMAP 10:1:1::2 <- -> 10::3:4:2 [10:1:1::1]
|
||||
BIMAP 10:1:1::1 <- -> 10::3:4:1 [10:1:1::2]
|
||||
BIMAP 10:1:1:: <- -> 10::3:4:0 [10:1:1::2]
|
||||
|
||||
Hostmap table:
|
||||
10:1:1::2,10:1:1::1 -> 10::3:4:1,any (use = 1)
|
||||
10:1:1::1,10:1:1::2 -> 10::3:4:1,any (use = 1)
|
||||
10:1:1::,10:1:1::2 -> 10::3:4:1,any (use = 1)
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
28
external/bsd/ipf/dist/test/expected/n12
vendored
28
external/bsd/ipf/dist/test/expected/n12
vendored
@ -1,28 +0,0 @@
|
||||
4510 0040 2020 4000 4006 9478 c0a8 01bc c0a8 0303 2710 0017 4e33 298e 0000 0000 b002 4000 6ff8 0000 0204 05b4 0101 0402 0103 0300 0101 080a 0c72 549e 0000 0000
|
||||
|
||||
4500 003c 00b0 4000 fe06 7964 c0a8 0303 c0a8 7e53 0017 12c2 f674 e02c 4e33 298f a012 2798 7ace 0000 0101 080a 2c05 b797 0c72 549e 0103 0300 0204 05b4
|
||||
|
||||
4510 0034 493b 4000 4006 6b69 c0a8 01bc c0a8 0303 2710 0017 4e33 298f f674 e02d 8010 4000 f673 0000 0101 080a 0c72 549e 2c05 b797
|
||||
|
||||
List of active MAP/Redirect filters:
|
||||
map le0 192.168.126.0/24 -> 0/32 portmap tcp/udp 10000:20000
|
||||
|
||||
List of active sessions:
|
||||
MAP 192.168.126.83 4802 <- -> 192.168.1.188 10000 [192.168.3.3 23]
|
||||
|
||||
Hostmap table:
|
||||
192.168.126.83,192.168.3.3 -> 0.0.0.0,0.0.0.0 (use = 1)
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
28
external/bsd/ipf/dist/test/expected/n12_6
vendored
28
external/bsd/ipf/dist/test/expected/n12_6
vendored
@ -1,28 +0,0 @@
|
||||
6000 0000 002c 0640 c0a8 0100 0000 0000 0000 0000 0000 00bc c0a8 0300 0000 0000 0000 0000 0000 0003 2710 0017 4e33 298e 0000 0000 b002 4000 6ff8 0000 0204 05b4 0101 0402 0103 0300 0101 080a 0c72 549e 0000 0000
|
||||
|
||||
6000 0000 0028 06fe c0a8 0300 0000 0000 0000 0000 0000 0003 c0a8 7e00 0000 0000 0000 0000 0000 0053 0017 12c2 f674 e02c 4e33 298f a012 2798 7ace 0000 0101 080a 2c05 b797 0c72 549e 0103 0300 0204 05b4
|
||||
|
||||
6000 0000 0020 0640 c0a8 0100 0000 0000 0000 0000 0000 00bc c0a8 0300 0000 0000 0000 0000 0000 0003 2710 0017 4e33 298f f674 e02d 8010 4000 f673 0000 0101 080a 0c72 549e 2c05 b797
|
||||
|
||||
List of active MAP/Redirect filters:
|
||||
map le0 c0a8:7e00::/112 -> ::/128 portmap tcp/udp 10000:20000
|
||||
|
||||
List of active sessions:
|
||||
MAP c0a8:7e00::53 4802 <- -> c0a8:100::bc 10000 [c0a8:300::3 23]
|
||||
|
||||
Hostmap table:
|
||||
c0a8:7e00::53,c0a8:300::3 -> any,any (use = 1)
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
32
external/bsd/ipf/dist/test/expected/n13
vendored
32
external/bsd/ipf/dist/test/expected/n13
vendored
@ -1,32 +0,0 @@
|
||||
> le0 ip #0 20(20) 0 203.1.1.23 > 150.1.1.1
|
||||
> le0 ip #0 20(20) 0 203.1.1.23 > 150.1.1.2
|
||||
> le0 ip #0 20(20) 0 203.1.1.24 > 150.1.1.2
|
||||
> le0 ip #0 20(20) 0 203.1.1.25 > 150.1.1.1
|
||||
List of active MAP/Redirect filters:
|
||||
map le0 192.168.0.0/16 -> range 203.1.1.23-203.1.3.45
|
||||
|
||||
List of active sessions:
|
||||
MAP 192.168.1.3 <- -> 203.1.1.25 [150.1.1.1]
|
||||
MAP 192.168.1.2 <- -> 203.1.1.24 [150.1.1.2]
|
||||
MAP 192.168.1.1 <- -> 203.1.1.23 [150.1.1.2]
|
||||
MAP 192.168.1.1 <- -> 203.1.1.23 [150.1.1.1]
|
||||
|
||||
Hostmap table:
|
||||
192.168.1.3,150.1.1.1 -> 203.1.1.25,0.0.0.0 (use = 1)
|
||||
192.168.1.2,150.1.1.2 -> 203.1.1.24,0.0.0.0 (use = 1)
|
||||
192.168.1.1,150.1.1.2 -> 203.1.1.23,0.0.0.0 (use = 1)
|
||||
192.168.1.1,150.1.1.1 -> 203.1.1.23,0.0.0.0 (use = 1)
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
32
external/bsd/ipf/dist/test/expected/n13_6
vendored
32
external/bsd/ipf/dist/test/expected/n13_6
vendored
@ -1,32 +0,0 @@
|
||||
> le0 ip6/0 1 0 41 203:0:1:0:0:0:1:23 > 150.1.1.1
|
||||
> le0 ip6/0 1 0 41 203:0:1:0:0:0:1:23 > 150.1.1.2
|
||||
> le0 ip6/0 1 0 41 203:0:1:0:0:0:1:24 > 150.1.1.2
|
||||
> le0 ip6/0 1 0 41 203:0:1:0:0:0:1:25 > 150.1.1.1
|
||||
List of active MAP/Redirect filters:
|
||||
map le0 192.168.0.0/32 -> range 203:0:1::1:23-203:0:1::3:45
|
||||
|
||||
List of active sessions:
|
||||
MAP 192.168.1.3 <- -> 203:0:1::1:25 [150.1.1.1]
|
||||
MAP 192.168.1.2 <- -> 203:0:1::1:24 [150.1.1.2]
|
||||
MAP 192.168.1.1 <- -> 203:0:1::1:23 [150.1.1.2]
|
||||
MAP 192.168.1.1 <- -> 203:0:1::1:23 [150.1.1.1]
|
||||
|
||||
Hostmap table:
|
||||
192.168.1.3,150.1.1.1 -> 203:0:1:0:0:0:1:25,any (use = 1)
|
||||
192.168.1.2,150.1.1.2 -> 203:0:1:0:0:0:1:24,any (use = 1)
|
||||
192.168.1.1,150.1.1.2 -> 203:0:1:0:0:0:1:23,any (use = 1)
|
||||
192.168.1.1,150.1.1.1 -> 203:0:1:0:0:0:1:23,any (use = 1)
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
30
external/bsd/ipf/dist/test/expected/n14
vendored
30
external/bsd/ipf/dist/test/expected/n14
vendored
@ -1,30 +0,0 @@
|
||||
< gre0 ip #0 40(20) 6 10.2.2.5,2000 > 10.1.1.254,80
|
||||
< gre0 ip #0 40(20) 6 10.2.2.6,2000 > 10.1.1.253,80
|
||||
< gre0 ip #0 40(20) 6 10.2.2.7,2000 > 10.1.1.254,80
|
||||
16
|
||||
List of active MAP/Redirect filters:
|
||||
rdr gre0 0/0 port 80 -> 10.1.1.254,10.1.1.253 port 80 tcp sticky
|
||||
|
||||
List of active sessions:
|
||||
RDR 10.1.1.254 80 <- -> 203.1.1.1 80 [10.2.2.7 2000]
|
||||
RDR 10.1.1.253 80 <- -> 203.1.1.1 80 [10.2.2.6 2000]
|
||||
RDR 10.1.1.254 80 <- -> 203.1.1.1 80 [10.2.2.5 2000]
|
||||
|
||||
Hostmap table:
|
||||
10.2.2.7,203.1.1.1 -> 254.1.1.10,0.0.0.0 (use = 1)
|
||||
10.2.2.6,203.1.1.1 -> 253.1.1.10,0.0.0.0 (use = 1)
|
||||
10.2.2.5,203.1.1.1 -> 254.1.1.10,0.0.0.0 (use = 1)
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
30
external/bsd/ipf/dist/test/expected/n14_6
vendored
30
external/bsd/ipf/dist/test/expected/n14_6
vendored
@ -1,30 +0,0 @@
|
||||
< gre0 ip6/0 20 0 6 10:0:0:0:0:2:2:5,2000 > 10:1:1:0:0:0:0:254,80
|
||||
< gre0 ip6/0 20 0 6 10:0:0:0:0:2:2:6,2000 > 10:1:1:0:0:0:0:253,80
|
||||
< gre0 ip6/0 20 0 6 10:0:0:0:0:2:2:7,2000 > 10:1:1:0:0:0:0:254,80
|
||||
< gre0 ip6/0 20 0 6 10:0:0:0:0:2:2:5,2001 > 203:0:1:0:0:0:1:1,80
|
||||
List of active MAP/Redirect filters:
|
||||
rdr gre0 any port 80 -> 10:1:1::254,10:1:1::253 port 80 tcp sticky
|
||||
|
||||
List of active sessions:
|
||||
RDR 10:1:1::254 80 <- -> 203:0:1::1:1 80 [10::2:2:7 2000]
|
||||
RDR 10:1:1::253 80 <- -> 203:0:1::1:1 80 [10::2:2:6 2000]
|
||||
RDR 10:1:1::254 80 <- -> 203:0:1::1:1 80 [10::2:2:5 2000]
|
||||
|
||||
Hostmap table:
|
||||
10::2:2:7,203:0:1:0:0:0:1:1 -> 254:1:1::10,any (use = 1)
|
||||
10::2:2:6,203:0:1:0:0:0:1:1 -> 253:0:1:0:0:0:1:10,any (use = 1)
|
||||
10::2:2:5,203:0:1:0:0:0:1:1 -> 254:1:1::10,any (use = 3)
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
47
external/bsd/ipf/dist/test/expected/n15
vendored
47
external/bsd/ipf/dist/test/expected/n15
vendored
@ -1,47 +0,0 @@
|
||||
< le0 ip #0 40(20) 6 9.9.9.9,10011 > 3.3.3.3,80
|
||||
16
|
||||
List of active MAP/Redirect filters:
|
||||
rdr le0 0/0 port 80 -> 3.3.3.3/32 port 80 tcp
|
||||
|
||||
List of active sessions:
|
||||
RDR 3.3.3.3 80 <- -> 5.5.5.5 80 [9.9.9.9 10011]
|
||||
|
||||
Hostmap table:
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
||||
< le0 ip #0 40(20) 6 9.9.9.9,10011 > 3.3.3.3,80
|
||||
< le0 ip #0 40(20) 6 9.9.9.9,10011 > 3.3.3.3,81
|
||||
List of active MAP/Redirect filters:
|
||||
rdr le0 0/0 port 80 -> 3.3.3.3/32 port 80-88 tcp
|
||||
|
||||
List of active sessions:
|
||||
RDR 3.3.3.3 81 <- -> 2.2.2.2 80 [9.9.9.9 10011]
|
||||
RDR 3.3.3.3 80 <- -> 5.5.5.5 80 [9.9.9.9 10011]
|
||||
|
||||
Hostmap table:
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
47
external/bsd/ipf/dist/test/expected/n15_6
vendored
47
external/bsd/ipf/dist/test/expected/n15_6
vendored
@ -1,47 +0,0 @@
|
||||
< le0 ip6/0 20 0 6 9:9:9:0:0:0:0:9,10011 > 3:0:3:0:0:0:3:3,80
|
||||
18
|
||||
List of active MAP/Redirect filters:
|
||||
rdr le0 any port 80 -> 3:0:3::3:3/128 port 80 tcp
|
||||
|
||||
List of active sessions:
|
||||
RDR 3:0:3::3:3 80 <- -> 5:5::5:5 80 [9:9:9::9 10011]
|
||||
|
||||
Hostmap table:
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
||||
< le0 ip6/0 20 0 6 9:9:9:0:0:0:0:9,10011 > 3:0:3:0:0:0:3:3,80
|
||||
< le0 ip6/0 20 0 6 9:9:9:0:0:0:0:9,10011 > 3:0:3:0:0:0:3:3,81
|
||||
List of active MAP/Redirect filters:
|
||||
rdr le0 any port 80 -> 3:0:3::3:3/128 port 80-88 tcp
|
||||
|
||||
List of active sessions:
|
||||
RDR 3:0:3::3:3 81 <- -> 2::2:2:2 80 [9:9:9::9 10011]
|
||||
RDR 3:0:3::3:3 80 <- -> 5:5::5:5 80 [9:9:9::9 10011]
|
||||
|
||||
Hostmap table:
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
29
external/bsd/ipf/dist/test/expected/n16
vendored
29
external/bsd/ipf/dist/test/expected/n16
vendored
@ -1,29 +0,0 @@
|
||||
4520 0068 17e4 0000 6b11 cbba c05b ac33 ac1f 5318 1194 07dd 0054 0000 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5
|
||||
|
||||
4520 0068 17e4 0000 6a11 ccba c05b ac33 ac1f 5318 1194 07dd 0054 0000 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5
|
||||
|
||||
4500 0084 ee0f 0000 8001 e0a2 ac1f 5318 c05b ac33 0303 4ca1 0000 0000 4520 0068 17e4 0000 6a11 ccba c05b ac33 ac1f 5318 1194 07dd 0054 0000 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5
|
||||
|
||||
4500 0084 ee0f 0000 8001 4a21 45f8 4fc1 c05b ac33 0303 bf85 0000 0000 4520 0068 17e4 0000 6a11 3639 c05b ac33 45f8 4fc1 1194 94f8 0054 0000 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5 a5a5
|
||||
|
||||
List of active MAP/Redirect filters:
|
||||
rdr vlan0 from 0/0 to 69.248.79.193/32 port = 38136 -> 172.31.83.24/32 port 2013 udp
|
||||
|
||||
List of active sessions:
|
||||
RDR 172.31.83.24 2013 <- -> 69.248.79.193 38136 [192.91.172.51 4500]
|
||||
|
||||
Hostmap table:
|
||||
List of active state sessions:
|
||||
List of configured pools
|
||||
List of configured hash tables
|
||||
List of groups configured (set 0)
|
||||
List of groups configured (set 1)
|
||||
Rules configured (set 0, in)
|
||||
Rules configured (set 0, out)
|
||||
Rules configured (set 1, in)
|
||||
Rules configured (set 1, out)
|
||||
Accounting rules configured (set 0, in)
|
||||
Accounting rules configured (set 0, out)
|
||||
Accounting rules configured (set 1, in)
|
||||
Accounting rules configured (set 1, out)
|
||||
-------------------------------
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user