Update to the tests from 5.1.1

This commit is contained in:
christos 2012-03-23 23:08:00 +00:00
parent 94fecd4647
commit 22ab6602b0
263 changed files with 7851 additions and 1758 deletions

View File

@ -1,108 +1,160 @@
# $NetBSD: Makefile,v 1.4 2012/02/15 17:55:24 riz Exp $
# $NetBSD: Makefile,v 1.5 2012/03/23 23:08:00 christos Exp $
TESTSDIR= ${TESTSBASE}/ipf
ATFFILE= no
FILESDIR= ${TESTSDIR}/expected
FILES= bpf-f1
FILES+= bpf1
FILES+= f1
FILES+= f10
FILES+= f11
FILES+= f12
FILES+= f13
FILES+= f14
FILES+= f15
FILES+= f16
FILES+= f17
FILES+= f18
FILES+= f19
FILES+= f2
FILES+= f20
FILES+= f24
FILES+= f3
FILES+= f4
FILES+= f5
FILES+= f6
FILES+= f7
FILES+= f8
FILES+= f9
FILES+= i1
FILES+= i10
FILES+= i11
FILES+= i12
FILES+= i13
FILES+= i14
FILES+= i15
FILES+= i16
FILES+= i17
FILES+= i18
FILES+= i19.dist
FILES+= i2
FILES+= i20
FILES+= i21
FILES+= i3
FILES+= i4
FILES+= i5
FILES+= i6
FILES+= i7
FILES+= i8
FILES+= i9
FILES+= in1
FILES+= in2
FILES+= in3
FILES+= in4
FILES+= in5
FILES+= in6
FILES+= ip1
FILES+= ip2
FILES+= ipv6.1
FILES+= ipv6.2
FILES+= ipv6.3
FILES+= ipv6.5
FILES+= ipv6.6
FILES+= l1
FILES+= l1.b
FILES+= n1
FILES+= n10
FILES+= n11
FILES+= n12
FILES+= n13
FILES+= n14
FILES+= n16
FILES+= n17
FILES+= n2
FILES+= n3
FILES+= n4
FILES+= n5
FILES+= n6
FILES+= n7
FILES+= n8
FILES+= n9
FILES+= ni1
FILES+= ni10
FILES+= ni11
FILES+= ni12
FILES+= ni13
FILES+= ni14
FILES+= ni15
FILES+= ni16
FILES+= ni19
FILES+= ni2
FILES+= ni20
FILES+= ni21
FILES+= ni23
FILES+= ni3
FILES+= ni4
FILES+= ni5
FILES+= ni6
FILES+= ni7
FILES+= ni8
FILES+= ni9
FILES+= p1
FILES+= p2
FILES+= p3
FILES+= p5
FILES=\
bpf-f1 \
bpf1 \
f1 \
f10 \
f11 \
f12 \
f13 \
f14 \
f15 \
f16 \
f17 \
f18 \
f19 \
f2 \
f20 \
f21 \
f22 \
f24 \
f25 \
f26 \
f27 \
f28 \
f29 \
f3 \
f30 \
f4 \
f5 \
f6 \
f7 \
f8 \
f9 \
i1 \
i10 \
i11 \
i12 \
i13 \
i14 \
i15 \
i16 \
i17 \
i18 \
i19.dist \
i2 \
i20 \
i21 \
i22 \
i23 \
i3 \
i4 \
i5 \
i6 \
i7 \
i8 \
i9 \
in1 \
in100 \
in101 \
in102 \
in2 \
in3 \
in4 \
in5 \
in6 \
in7 \
ip1 \
ip2 \
ip3 \
ipv6.1 \
ipv6.2 \
ipv6.3 \
ipv6.4 \
ipv6.5 \
ipv6.6 \
l1 \
l1.b \
n1 \
n10 \
n100 \
n101 \
n102 \
n103 \
n104 \
n105 \
n106 \
n11 \
n11_6 \
n12 \
n12_6 \
n13 \
n13_6 \
n14 \
n14_6 \
n15 \
n15_6 \
n16 \
n17 \
n18 \
n1_6 \
n2 \
n200 \
n201 \
n202 \
n2_6 \
n3 \
n4 \
n4_6 \
n5 \
n5_6 \
n6 \
n6_6 \
n7 \
n7_6 \
n8 \
n8_6 \
n9 \
n9_6 \
ni1 \
ni10 \
ni11 \
ni12 \
ni13 \
ni14 \
ni15 \
ni16 \
ni17 \
ni18 \
ni19 \
ni2 \
ni20 \
ni21 \
ni23 \
ni3 \
ni4 \
ni5 \
ni6 \
ni7 \
ni8 \
ni9 \
p1 \
p10 \
p11 \
p12 \
p13 \
p2 \
p3 \
p4 \
p5 \
p6 \
p7 \
p9
.include <bsd.test.mk>
.include <bsd.files.mk>

View File

@ -24,6 +24,15 @@ 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
@ -51,6 +60,15 @@ 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
@ -78,6 +96,15 @@ 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
@ -105,6 +132,15 @@ 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
@ -128,30 +164,31 @@ List of active sessions:
Hostmap table:
List of active state sessions:
2.2.2.2 -> 4.4.4.4 pass 0x40008402 pr 17 state 0/0
tag 0 ttl 240 2 -> 53
forward: pkts in 1 bytes in 28 pkts out 0 bytes out 0
backward: pkts in 0 bytes in 0 pkts out 0 bytes out 0
pass in keep state IPv4
pkt_flags & 0(0) = 0, pkt_options & ffffffff = 0, ffffffff = 0
pkt_security & ffff = 0, pkt_auth & ffff = 0
is_flx 0x8001 0 0 0
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
1.1.1.1 -> 4.4.4.4 pass 0x40008402 pr 17 state 0/0
tag 0 ttl 24 1 -> 53
forward: pkts in 1 bytes in 28 pkts out 0 bytes out 0
backward: pkts in 1 bytes in 28 pkts out 0 bytes out 0
pass in keep state IPv4
pkt_flags & 0(0) = 0, pkt_options & ffffffff = 0, ffffffff = 0
pkt_security & ffff = 0, pkt_auth & ffff = 0
is_flx 0x8001 0x8001 0 0
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
@ -175,30 +212,31 @@ List of active sessions:
Hostmap table:
List of active state sessions:
2.2.2.2 -> 4.4.4.4 pass 0x40008401 pr 17 state 0/0
tag 0 ttl 240 2 -> 53
forward: pkts in 1 bytes in 28 pkts out 0 bytes out 0
backward: pkts in 0 bytes in 0 pkts out 0 bytes out 0
block in keep state IPv4
pkt_flags & 0(0) = 0, pkt_options & ffffffff = 0, ffffffff = 0
pkt_security & ffff = 0, pkt_auth & ffff = 0
is_flx 0x8001 0 0 0
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
1.1.1.1 -> 4.4.4.4 pass 0x40008401 pr 17 state 0/0
tag 0 ttl 24 1 -> 53
forward: pkts in 1 bytes in 28 pkts out 0 bytes out 0
backward: pkts in 1 bytes in 28 pkts out 0 bytes out 0
block in keep state IPv4
pkt_flags & 0(0) = 0, pkt_options & ffffffff = 0, ffffffff = 0
pkt_security & ffff = 0, pkt_auth & ffff = 0
is_flx 0x8001 0x8001 0 0
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
@ -222,22 +260,24 @@ List of active sessions:
Hostmap table:
List of active state sessions:
1.1.1.1 -> 2.1.2.2 pass 0x40008402 pr 6 state 3/4
tag 0 ttl 864000
1 -> 25 2:66 4096<<0:16384<<0
cmsk 0000 smsk 0000 s0 00000000/00000000
FWD:ISN inc 0 sumd 0
REV:ISN inc 0 sumd 0
forward: pkts in 1 bytes in 40 pkts out 0 bytes out 0
backward: pkts in 1 bytes in 40 pkts out 0 bytes out 0
pass in keep state IPv4
pkt_flags & 0(0) = 0, pkt_options & ffffffff = 0, ffffffff = 0
pkt_security & ffff = 0, pkt_auth & ffff = 0
is_flx 0x8001 0x8001 0 0
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)
--------

View File

@ -154,7 +154,27 @@ 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
--------

View File

@ -2,4 +2,26 @@ 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)
--------

5
tests/ipf/expected/f21 Normal file
View File

@ -0,0 +1,5 @@
pass
pass
nomatch
nomatch
--------

5
tests/ipf/expected/f22 Normal file
View File

@ -0,0 +1,5 @@
pass
pass
nomatch
nomatch
--------

35
tests/ipf/expected/f25 Normal file
View File

@ -0,0 +1,35 @@
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
tests/ipf/expected/f26 Normal file
View File

@ -0,0 +1,84 @@
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
tests/ipf/expected/f27 Normal file
View File

@ -0,0 +1,90 @@
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
tests/ipf/expected/f28 Normal file
View File

@ -0,0 +1,32 @@
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
tests/ipf/expected/f29 Normal file
View File

@ -0,0 +1,64 @@
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)
-------------------------------

68
tests/ipf/expected/f30 Normal file
View File

@ -0,0 +1,68 @@
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
--------

View File

@ -5,8 +5,8 @@ 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(!) from 127.0.0.1/32 to 127.0.0.1/32
pass in on ed0(!),vx0(!) from 127.0.0.1/32 to 127.0.0.1/32
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
@ -14,4 +14,4 @@ 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(!) from 254.220.186.152/32 to 254.220.186.152/32
pass out on longNICname0(!) inet from 254.220.186.152/32 to 254.220.186.152/32

View File

@ -1,5 +1,5 @@
pass in from 127.0.0.1/32 to 127.0.0.1/32 with opt sec
pass in from 127.0.0.1/32 to 127.0.0.1/32 with opt lsrr not opt sec
block in from any to any with not opt sec-class topsecret
block in from any to any with not opt sec-class topsecret,secret
pass in from any to any with opt sec-class topsecret,confid not opt sec-class unclass
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

View File

@ -1,11 +1,12 @@
pass in on ed0(!) proto tcp from 127.0.0.1/32 to 127.0.0.1/32 port = 23 keep state # count 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 proto udp from 127.0.0.1/32 to 127.0.0.1/32 port = 20499 keep frags
pass in proto udp from 127.0.0.1/32 to 127.0.0.1/32 port = 2049 keep frags (strict)
pass in proto udp from 127.0.0.1/32 to 127.0.0.1/32 port = 53 keep state keep frags # 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 proto tcp from any port > 1024 to 127.0.0.1/32 port = 1024 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

View File

@ -1,39 +1,39 @@
pass in from 1.1.1.1/32 to 2.2.2.2/32
pass in from 2.2.2.0/24 to 4.4.4.4/32
pass in from 3.3.3.3/32 to 4.4.4.4/32
pass in from 2.2.2.0/24 to 5.5.5.5/32
pass in from 3.3.3.3/32 to 5.5.5.5/32
pass in from 2.2.2.0/24 to 6.6.6.6/32
pass in from 3.3.3.3/32 to 6.6.6.6/32
pass in from 2.2.2.0/24 to 5.5.5.5/32 port = 22
pass in from 3.3.3.3/32 to 5.5.5.5/32 port = 22
pass in from 2.2.2.0/24 to 6.6.6.6/32 port = 22
pass in from 3.3.3.3/32 to 6.6.6.6/32 port = 22
pass in from 2.2.2.0/24 to 5.5.5.5/32 port = 25
pass in from 3.3.3.3/32 to 5.5.5.5/32 port = 25
pass in from 2.2.2.0/24 to 6.6.6.6/32 port = 25
pass in from 3.3.3.3/32 to 6.6.6.6/32 port = 25
pass in proto tcp from 2.2.2.0/24 port = 53 to 5.5.5.5/32
pass in proto tcp from 3.3.3.3/32 port = 53 to 5.5.5.5/32
pass in proto tcp from 2.2.2.0/24 port = 9 to 5.5.5.5/32
pass in proto tcp from 3.3.3.3/32 port = 9 to 5.5.5.5/32
pass in proto tcp from 2.2.2.0/24 port = 53 to 6.6.6.6/32
pass in proto tcp from 3.3.3.3/32 port = 53 to 6.6.6.6/32
pass in proto tcp from 2.2.2.0/24 port = 9 to 6.6.6.6/32
pass in proto tcp from 3.3.3.3/32 port = 9 to 6.6.6.6/32
pass in proto udp from 2.2.2.0/24 to 5.5.5.5/32 port = 53
pass in proto udp from 3.3.3.3/32 to 5.5.5.5/32 port = 53
pass in proto udp from 2.2.2.0/24 to 6.6.6.6/32 port = 53
pass in proto udp from 3.3.3.3/32 to 6.6.6.6/32 port = 53
pass in proto udp from 2.2.2.0/24 to 5.5.5.5/32 port = 9
pass in proto udp from 3.3.3.3/32 to 5.5.5.5/32 port = 9
pass in proto udp from 2.2.2.0/24 to 6.6.6.6/32 port = 9
pass in proto udp from 3.3.3.3/32 to 6.6.6.6/32 port = 9
pass in from 10.10.10.10/32 to 11.11.11.11/32
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 name =
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 name =
table role=ipf type=tree number=
{ 1.1.0.0/16; };
pass in from pool/0(!) to pool/0(!)

View File

@ -1,10 +1,12 @@
block in on eri0(!) all head 1
pass in on eri0(!) proto icmp from any to any group 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 proto tcp/udp from 1.1.1.1/32 to 2.2.2.2/32 group 101
pass in proto tcp from 1.0.0.1/32 to 2.0.0.2/32 group 101
pass in proto udp from 2.0.0.2/32 to 3.0.0.3/32 group 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 proto tcp/udp from 1.1.1.1/32 to 2.2.2.2/32 group 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

View File

@ -8,3 +8,22 @@ 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)

View File

@ -1,22 +1,22 @@
block in log level user.debug quick proto icmp from any to any
block in log level mail.info quick proto icmp from any to any
block in log level daemon.notice quick proto icmp from any to any
block in log level auth.warn quick proto icmp from any to any
block in log level syslog.err quick proto icmp from any to any
block in log level lpr.crit quick proto icmp from any to any
block in log level news.alert quick proto icmp from any to any
block in log level uucp.emerg quick proto icmp from any to any
block in log level cron.debug quick proto icmp from any to any
block in log level ftp.info quick proto icmp from any to any
block in log level authpriv.notice quick proto icmp from any to any
block in log level logalert.warn quick proto icmp from any to any
block in log level local0.err quick proto icmp from any to any
block in log level local1.crit quick proto icmp from any to any
block in log level local2.alert quick proto icmp from any to any
block in log level local3.emerg quick proto icmp from any to any
block in log level local4.debug quick proto icmp from any to any
block in log level local5.info quick proto icmp from any to any
block in log level local6.notice quick proto icmp from any to any
block in log level local7.warn quick proto icmp from any to any
block in log level kern.err quick proto icmp from any to any
block in log level security.emerg quick proto icmp from any to any
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

View File

@ -1,8 +1,9 @@
log in proto tcp from any to any
pass in proto tcp from any to any
pass in proto udp from 127.0.0.1/32 to 127.0.0.1/32
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

View File

@ -1,4 +1,4 @@
pass in on ppp0(!) from ppp0/peer to ppp0/32
block in on hme0(!) from any to hme0/bcast
pass in on bge0(!) from bge0/net to bge0/32
block in on eri0(!) from any to eri0/netmasked
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

5
tests/ipf/expected/i22 Normal file
View File

@ -0,0 +1,5 @@
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;" }

View File

@ -1,11 +1,11 @@
log in all
pass in from 128.16.0.0/16 to 129.10.10.0/24
pass in from 128.0.0.0/24 to 128.0.0.0/16
pass in from 128.0.0.0/24 to 128.0.0.0/16
pass in from 128.0.0.0/24 to 128.0.0.0/16
pass in from 128.0.0.0/24 to 128.0.0.0/16
pass in from 128.0.0.0/24 to 128.0.0.0/16
pass in from 127.0.0.1/32 to 127.0.0.1/32
block in log from any to any
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

View File

@ -1,7 +1,7 @@
log in proto tcp from any port > 0 to any
log in proto tcp from any to any port > 0
pass in proto tcp from any port != 0 to any port 0 >< 65535
pass in proto udp from 127.0.0.1/32 port > 32000 to 127.0.0.1/32 port < 29000
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

View File

@ -1,9 +1,9 @@
log in all
count in tos 0x80 from any to any
pass in on ed0(!) tos 0x40 from 127.0.0.1/32 to 127.0.0.1/32
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 from 127.0.0.1/32 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

View File

@ -1,12 +1,12 @@
pass in on lo0(!) fastroute from any to any
pass in on lo0(!) to qe0(!) from 127.0.0.1/32 to 127.0.0.1/32
pass in on le0(!) to qe0(!):127.0.0.1 from 127.0.0.1/32 to 127.0.0.1/32
pass in on lo0(!) dup-to qe0(!) from 127.0.0.1/32 to 127.0.0.1/32
pass in on le0(!) dup-to qe0(!):127.0.0.1 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 from 127.0.0.1/32 to 127.0.0.1/32
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 all
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

View File

@ -1,4 +1,4 @@
pass in on ed0(!) proto tcp from 127.0.0.1/32 to 127.0.0.1/32 port = 23 flags S/SA
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
@ -7,3 +7,8 @@ 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

View File

@ -1,35 +1,66 @@
pass in proto icmp from 127.0.0.1/32 to 127.0.0.1/32 icmp-type timest
block in proto icmp from any to any icmp-type unreach code 1
pass in proto icmp from any to any icmp-type unreach code 15
pass in proto icmp from any to any icmp-type unreach code 13
pass in proto icmp from any to any icmp-type unreach code 8
pass in proto icmp from any to any icmp-type unreach code 4
pass in proto icmp from any to any icmp-type unreach code 9
pass in proto icmp from any to any icmp-type unreach code 11
pass in proto icmp from any to any icmp-type unreach code 14
pass in proto icmp from any to any icmp-type unreach code 10
pass in proto icmp from any to any icmp-type unreach code 12
pass in proto icmp from any to any icmp-type unreach code 7
pass in proto icmp from any to any icmp-type unreach code 1
pass in proto icmp from any to any icmp-type unreach code 6
pass in proto icmp from any to any icmp-type unreach code 0
pass in proto icmp from any to any icmp-type unreach code 3
pass in proto icmp from any to any icmp-type unreach code 2
pass in proto icmp from any to any icmp-type unreach code 5
pass in proto icmp from any to any icmp-type echo
pass in proto icmp from any to any icmp-type echorep
pass in proto icmp from any to any icmp-type inforeq
pass in proto icmp from any to any icmp-type inforep
pass in proto icmp from any to any icmp-type maskrep
pass in proto icmp from any to any icmp-type maskreq
pass in proto icmp from any to any icmp-type paramprob
pass in proto icmp from any to any icmp-type redir
pass in proto icmp from any to any icmp-type unreach
pass in proto icmp from any to any icmp-type routerad
pass in proto icmp from any to any icmp-type routersol
pass in proto icmp from any to any icmp-type squench
pass in proto icmp from any to any icmp-type timest
pass in proto icmp from any to any icmp-type timestrep
pass in proto icmp from any to any icmp-type timex
pass in proto icmp from any to any icmp-type 254
pass in proto icmp from any to any icmp-type 253 code 254
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

View File

@ -1,9 +1,9 @@
pass in from 127.0.0.1/32 to 127.0.0.1/32 with short,frag
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 from any to any with opt nop,rr,zsu
pass in from any to any with opt nop,rr,zsu not opt lsrr,ssrr
pass in from 127.0.0.1/32 to 127.0.0.1/32 with not frag
pass in from 127.0.0.1/32 to 127.0.0.1/32 with frag,frag-body
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
@ -14,4 +14,4 @@ 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 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
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

View File

@ -1,31 +1,31 @@
map le0 0.0.0.0/0 -> 0.0.0.0/32
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.0.0/0
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.0.0.0/32 portmap tcp 10000:19999
map ppp0 192.168.0.0/16 -> 0.0.0.0/32 portmap udp 20000:29999
map ppp0 192.168.0.0/16 -> 0.0.0.0/32 portmap tcp/udp 30000:39999
map ppp0 192.168.0.0/16 -> 0.0.0.0/32 portmap tcp auto
map ppp0 192.168.0.0/16 -> 0.0.0.0/32 portmap udp auto
map ppp0 192.168.0.0/16 -> 0.0.0.0/32 portmap tcp/udp auto
map ppp0 192.168.0.0/16 -> 0.0.0.0/32 proxy port 21 ftp/tcp
map ppp0 192.168.0.0/16 -> 0.0.0.0/32 proxy port 1010 ftp/tcp
map le0 0.0.0.0/0 -> 0.0.0.0/32 frag
map 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.0.0.0/32 portmap tcp 10000:19999 frag
map ppp0 192.168.0.0/16 -> 0.0.0.0/32 proxy port 21 ftp/tcp frag
map le0 0.0.0.0/0 -> 0.0.0.0/32 age 10/10
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.0.0.0/32 portmap tcp 10000:19999 age 30/30
map le0 0.0.0.0/0 -> 0.0.0.0/32 frag age 10/10
map 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.0.0.0/32 portmap tcp 10000:19999 frag age 30/30
map fxp0 from 192.168.0.0/18 to any port = 21 -> 1.2.3.4/32 proxy port 21 ftp/tcp
map thisisalonginte 0.0.0.0/0 -> 0.0.0.0/32 mssclamp 1452 tag freddyliveshere
map bar0 0.0.0.0/0 -> 0.0.0.0/32 icmpidmap icmp 1000:2000
map ppp0,adsl0 0.0.0.0/0 -> 0.0.0.0/32
map ppp0 from 192.168.0.0/16 to any port = 123 -> 0.0.0.0/32 age 30/1 udp
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
tests/ipf/expected/in100 Normal file
View File

@ -0,0 +1,3 @@
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
tests/ipf/expected/in101 Normal file
View File

@ -0,0 +1,4 @@
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
tests/ipf/expected/in102 Normal file
View File

@ -0,0 +1,5 @@
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;

View File

@ -1,71 +1,71 @@
rdr le0 9.8.7.6/32 port 0 -> 1.1.1.1 port 0 tcp
rdr le0 9.8.7.6/32 -> 1.1.1.1 255
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1 port 80 tcp
rdr le0 9.8.7.6/32 -> 1.1.1.1 ip
rdr le0 9.0.0.0/8 -> 1.1.1.1 ip
rdr le0 9.8.0.0/16 -> 1.1.1.1 ip
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1 port 80 tcp
rdr le0 9.8.7.6/32 port 80 -> 0.0.0.0/0 port 80 tcp
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1 port 80 udp
rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1 port 80 tcp/udp
rdr le0 9.8.7.6/32 -> 1.1.1.1 icmp
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 port 80 tcp round-robin
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 ip frag
rdr le0 9.8.7.6/32 -> 1.1.1.1 icmp frag
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 port 80 tcp round-robin 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 ip frag age 10/10
rdr le0 9.8.7.6/32 -> 1.1.1.1 ip frag age 10/20
rdr le0 9.8.7.6/32 -> 1.1.1.1 icmp frag age 10/10
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 port 80 tcp round-robin frag age 30/30
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 ip
rdr le0 9.8.7.6/32 -> 1.1.1.1 ip frag
rdr le0 9.8.7.6/32 -> 1.1.1.1 icmp frag
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 port 80 tcp round-robin 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 ip frag age 10/10
rdr le0 9.8.7.6/32 -> 1.1.1.1 ip frag age 10/20
rdr le0 9.8.7.6/32 -> 1.1.1.1 icmp frag age 10/10
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 port 80 tcp round-robin frag age 30/30 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 ip mssclamp 1000
rdr le0 9.8.7.6/32 -> 1.1.1.1 ip mssclamp 1000
rdr le0 9.8.7.6/32 -> 1.1.1.1 ip frag mssclamp 1000
rdr le0 9.8.7.6/32 -> 1.1.1.1 icmp frag 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 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 port 80 tcp round-robin 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 ip frag age 10/10 mssclamp 1000
rdr le0 9.8.7.6/32 -> 1.1.1.1 ip frag age 10/20 mssclamp 1000
rdr le0 9.8.7.6/32 -> 1.1.1.1 icmp frag age 10/10 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 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/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 ip tag nattagcacheline
rdr le0 9.8.7.6/32 -> 1.1.1.1 ip mssclamp 1000 tag nattagcacheline
rdr le0 9.8.7.6/32 -> 1.1.1.1 ip mssclamp 1000 tag nattagcacheline
rdr le0 9.8.7.6/32 -> 1.1.1.1 ip frag mssclamp 1000 tag nattagcacheline
rdr le0 9.8.7.6/32 -> 1.1.1.1 icmp frag mssclamp 1000 tag nattagcacheline
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 port 80 tcp round-robin 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 ip frag age 10/10 mssclamp 1000 tag nattagcacheline
rdr le0 9.8.7.6/32 -> 1.1.1.1 ip frag age 10/20 mssclamp 1000 tag nattagcacheline
rdr le0 9.8.7.6/32 -> 1.1.1.1 icmp frag age 10/10 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 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/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 port 21 tcp proxy ftp
rdr ge0 9.8.7.6/32 port 21 -> 1.1.1.1 port 21 tcp proxy ftp
rdr le0 9.8.7.6/32 port 1000-2000 -> 1.1.1.1 port 5555 tcp
rdr le0 9.8.7.6/32 port 1000-2000 -> 1.1.1.1 port = 5555 tcp
rdr le0 0.0.0.0/0 -> 254.220.186.152 ip
rdr le0 0.0.0.0/0 -> 254.220.186.152,254.220.186.152 ip
rdr adsl0,ppp0 0.0.0.0/0 port 25 -> 127.0.0.1 port 25 tcp
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

View File

@ -1,5 +1,5 @@
bimap le0 0.0.0.0/0 -> 0.0.0.0/32
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.0.0/0
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

View File

@ -1,24 +1,24 @@
map le0 from 9.8.7.6/32 port > 1024 to any -> 1.1.1.1/32 portmap tcp 10000:20000
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 any to 9.8.7.6/32 port = 0 -> 1.1.1.1 port 0 tcp
rdr le0 from any to 9.8.7.6/32 -> 1.1.1.1 ip
rdr le0 ! from 1.2.3.4/32 to 9.8.7.6/32 port = 8888 -> 1.1.1.1 port 888 tcp
rdr le0 from any to 9.8.7.6/32 -> 1.1.1.1 ip
rdr le0 from any to 9.8.7.6/32 port = 8888 -> 1.1.1.1 port 888 tcp
rdr le0 from any to 9.8.7.6/32 port = 8888 -> 1.1.1.1 port 888 udp
rdr le0 from any to 9.8.7.6/32 port = 8888 -> 1.1.1.1 port 888 tcp/udp
rdr le0 from any to 9.8.7.6/32 -> 1.1.1.1 icmp
rdr le0 from any to 9.8.7.6/32 port = 8888 -> 1.1.1.1,1.1.1.2 port 888 tcp
rdr le0 from any to 9.8.7.6/32 port = 8888 -> 1.1.1.1 port 888 tcp round-robin
rdr le0 from any to 9.8.7.6/32 port = 8888 -> 1.1.1.1,1.1.1.2 port 888 tcp round-robin
rdr le0 from any to 9.8.7.6/32 -> 1.1.1.1 ip frag
rdr le0 from any to 9.8.7.6/32 -> 1.1.1.1 icmp frag
rdr le0 from any to 9.8.7.6/32 port = 8888 -> 1.1.1.1,1.1.1.2 port 888 tcp frag
rdr le0 from any to 9.8.7.6/32 port = 8888 -> 1.1.1.1 port 888 tcp round-robin frag
rdr le0 from any 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 any to 9.8.7.6/32 -> 1.1.1.1 ip frag age 10/10
rdr le0 from any to 9.8.7.6/32 -> 1.1.1.1 ip frag age 10/20
rdr le0 from any to 9.8.7.6/32 -> 1.1.1.1 icmp frag age 10/10
rdr le0 from any 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 any to 9.8.7.6/32 port = 8888 -> 1.1.1.1 port 888 tcp round-robin frag age 30/30
rdr le0 from any 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
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

View File

@ -1,8 +1,8 @@
map foo0 from any port = 1 to any port != 0 -> 0.0.0.0/32 udp
map foo0 from any port = 1 to any port != 0 -> 0.0.0.0/32 udp
map foo0 from any port < 1 to any port > 0 -> 0.0.0.0/32 tcp
map foo0 from any port < 1 to any port > 0 -> 0.0.0.0/32 tcp
map foo0 from any port <= 1 to any port >= 0 -> 0.0.0.0/32 tcp/udp
map foo0 from any port <= 1 to any port >= 0 -> 0.0.0.0/32 tcp/udp
map foo0 from any port 1 >< 20 to any port 20 <> 40 -> 0.0.0.0/32 tcp/udp
map foo0 from any port 10:20 to any port 30:40 -> 0.0.0.0/32 tcp/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 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

View File

@ -1,68 +1,68 @@
table role = ipf type = tree number = 1
table role=ipf type=tree number=1
{; };
table role = ipf type = tree number = 100
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
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
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
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=2 size=1
{; };
table role = ipf type = hash number = 200 size = 5
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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; };
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; };

View File

@ -1,2 +1,2 @@
table role = ipf type = tree name = letters
table role=ipf type=tree name=letters
{ 2.2.2.0/24; ! 2.2.0.0/16; 1.1.1.1/32; };

14
tests/ipf/expected/ip3 Normal file
View File

@ -0,0 +1,14 @@
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; };

51
tests/ipf/expected/ipv6.4 Normal file
View File

@ -0,0 +1,51 @@
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
--------

View File

@ -1,3 +1,10 @@
pass
pass
pass
pass
--------
nomatch
nomatch
block
nomatch
--------

View File

@ -1,11 +1,13 @@
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 2x anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,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
@ -15,11 +17,14 @@ 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 2x anon0 @0:1 p 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
01/01/1970 00:00:00.000000 anon0 @0:1 p 2.2.2.2,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
@ -27,8 +32,10 @@ pass in log quick proto tcp from 1.1.1.1 to any flags S keep state
01/01/1970 00:00:00.000000 anon0 @0:1 p 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -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

View File

@ -1,29 +1,38 @@
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 2x anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,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 2x anon0 @0:1 p 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
01/01/1970 00:00:00.000000 anon0 @0:1 p 2.2.2.2,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

View File

@ -1,105 +1,197 @@
ip #0 20(20) 255 10.1.1.0 > 10.1.1.2
ip #0 20(20) 255 10.2.2.2 > 10.1.1.2
ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
ip #0 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025
ip #0 20(20) 255 10.2.2.1 > 10.1.2.1
ip #0 20(20) 255 10.2.2.2 > 10.1.2.1
ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
ip #0 20(20) 255 10.2.2.1 > 10.2.1.1
ip #0 20(20) 255 10.2.2.2 > 10.2.1.1
ip #0 20(20) 255 10.2.2.3 > 10.1.1.1
ip #0 20(20) 255 10.2.3.4 > 10.2.2.2
ip #0 20(20) 255 10.1.1.1 > 10.2.2.2
ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
ip #0 20(20) 255 10.1.1.0 > 10.3.4.5
ip #0 20(20) 255 10.1.1.1 > 10.3.4.5
ip #0 20(20) 255 10.1.1.2 > 10.3.4.5
ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,1025
ip #0 48(20) 1 10.2.2.2 > 10.4.3.2
ip #0 48(20) 1 10.4.3.2 > 10.1.1.1
ip #0 48(20) 1 10.4.3.2 > 10.3.4.1
ip #0 48(20) 1 10.4.3.2 > 10.3.4.2
ip #0 48(20) 1 10.4.3.2 > 10.3.4.3
ip #0 48(20) 1 10.4.3.2 > 10.3.4.4
ip #0 48(20) 1 10.4.3.2 > 10.3.4.5
ip #0 20(20) 34 10.1.1.2 > 10.4.3.2
ip #0 20(20) 34 10.4.3.2 > 10.3.4.4
ip #0 20(20) 34 10.1.1.2 > 10.4.3.4
ip #0 20(20) 34 10.4.3.4 > 10.3.4.5
ip #0 20(20) 34 10.1.1.3 > 10.4.3.4
ip #0 20(20) 34 10.4.3.4 > 10.3.4.6
ip #0 20(20) 35 10.1.1.3 > 10.4.3.4
ip #0 20(20) 35 10.4.3.4 > 10.3.4.7
> 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)
-------------------------------
ip #0 20(20) 255 10.3.4.5 > 10.1.1.2
ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
ip #0 20(20) 255 10.3.4.5 > 10.1.1.1
ip #0 40(20) 6 10.3.4.5,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.3.4.5,1026 > 10.1.1.1,1025
ip #0 20(20) 255 10.2.2.1 > 10.1.2.1
ip #0 20(20) 255 10.2.2.2 > 10.1.2.1
ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
ip #0 20(20) 255 10.2.2.1 > 10.2.1.1
ip #0 20(20) 255 10.2.2.2 > 10.2.1.1
ip #0 20(20) 255 10.2.2.3 > 10.1.1.1
ip #0 20(20) 255 10.2.3.4 > 10.2.2.2
ip #0 20(20) 255 10.1.1.1 > 10.2.2.2
ip #0 20(20) 255 10.1.1.2 > 10.2.2.2
ip #0 20(20) 255 10.1.1.0 > 10.3.4.5
ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
ip #0 20(20) 255 10.1.1.2 > 10.1.1.0
ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
ip #0 48(20) 1 10.3.4.5 > 10.4.3.2
ip #0 48(20) 1 10.4.3.2 > 10.2.2.2
ip #0 48(20) 1 10.4.3.2 > 10.3.4.1
ip #0 48(20) 1 10.4.3.2 > 10.3.4.2
ip #0 48(20) 1 10.4.3.2 > 10.3.4.3
ip #0 48(20) 1 10.4.3.2 > 10.3.4.4
ip #0 48(20) 1 10.4.3.2 > 10.1.1.1
ip #0 20(20) 34 10.3.4.5 > 10.4.3.2
ip #0 20(20) 34 10.4.3.2 > 10.3.4.4
ip #0 20(20) 34 10.3.4.5 > 10.4.3.4
ip #0 20(20) 34 10.4.3.4 > 10.1.1.2
ip #0 20(20) 34 10.1.1.3 > 10.4.3.4
ip #0 20(20) 34 10.4.3.4 > 10.3.4.6
ip #0 20(20) 35 10.3.4.5 > 10.4.3.4
ip #0 20(20) 35 10.4.3.4 > 10.3.4.7
> 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)
-------------------------------
ip #0 20(20) 255 10.3.4.1 > 10.1.1.2
ip #0 20(20) 255 10.3.4.2 > 10.1.1.2
ip #0 20(20) 255 10.3.4.3 > 10.1.1.1
ip #0 40(20) 6 10.3.4.3,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.3.4.3,1026 > 10.1.1.1,1025
ip #0 20(20) 255 10.2.2.1 > 10.1.2.1
ip #0 20(20) 255 10.2.2.2 > 10.1.2.1
ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
ip #0 20(20) 255 10.2.2.1 > 10.2.1.1
ip #0 20(20) 255 10.2.2.2 > 10.2.1.1
ip #0 20(20) 255 10.2.2.3 > 10.1.1.1
ip #0 20(20) 255 10.2.3.4 > 10.2.2.2
ip #0 20(20) 255 10.1.1.1 > 10.2.2.2
ip #0 20(20) 255 10.1.1.2 > 10.2.2.2
ip #0 20(20) 255 10.1.1.0 > 10.3.4.5
ip #0 20(20) 255 10.1.1.1 > 10.3.4.5
ip #0 20(20) 255 10.1.1.2 > 10.3.4.5
ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,1025
ip #0 48(20) 1 10.3.4.3 > 10.4.3.2
ip #0 48(20) 1 10.4.3.2 > 10.2.2.2
ip #0 48(20) 1 10.4.3.2 > 10.3.4.1
ip #0 48(20) 1 10.4.3.2 > 10.3.4.2
ip #0 48(20) 1 10.4.3.2 > 10.1.1.1
ip #0 48(20) 1 10.4.3.2 > 10.3.4.4
ip #0 48(20) 1 10.4.3.2 > 10.3.4.5
ip #0 20(20) 34 10.3.4.3 > 10.4.3.2
ip #0 20(20) 34 10.4.3.2 > 10.3.4.4
ip #0 20(20) 34 10.3.4.3 > 10.4.3.4
ip #0 20(20) 34 10.4.3.4 > 10.3.4.5
ip #0 20(20) 34 10.3.4.4 > 10.4.3.4
ip #0 20(20) 34 10.4.3.4 > 10.3.4.6
ip #0 20(20) 35 10.3.4.4 > 10.4.3.4
ip #0 20(20) 35 10.4.3.4 > 10.3.4.7
> 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)
-------------------------------

View File

@ -1,9 +1,72 @@
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
tests/ipf/expected/n100 Normal file
View File

@ -0,0 +1,33 @@
> 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
tests/ipf/expected/n101 Normal file
View File

@ -0,0 +1,29 @@
> 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
tests/ipf/expected/n102 Normal file
View File

@ -0,0 +1,29 @@
> 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
tests/ipf/expected/n103 Normal file
View File

@ -0,0 +1,33 @@
> 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
tests/ipf/expected/n104 Normal file
View File

@ -0,0 +1,50 @@
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
tests/ipf/expected/n105 Normal file
View File

@ -0,0 +1,25 @@
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
tests/ipf/expected/n106 Normal file
View File

@ -0,0 +1,25 @@
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)
-------------------------------

View File

@ -1,51 +1,124 @@
ip #0 20(20) 255 10.1.1.0 > 10.1.1.2
ip #0 20(20) 255 1.6.7.8 > 10.1.1.2
ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
ip #0 20(20) 255 10.2.2.1 > 10.1.2.1
ip #0 20(20) 255 10.2.2.2 > 10.1.2.1
ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
ip #0 20(20) 255 10.2.2.1 > 10.2.1.1
ip #0 20(20) 255 10.2.2.2 > 10.2.1.1
ip #0 20(20) 255 10.2.2.3 > 10.1.1.1
ip #0 20(20) 255 10.2.3.4 > 10.2.2.2
ip #0 20(20) 255 10.1.1.1 > 10.2.2.2
ip #0 20(20) 255 10.1.1.2 > 10.2.2.2
ip #0 20(20) 255 10.1.1.0 > 10.3.4.5
ip #0 20(20) 255 10.1.1.1 > 10.3.4.5
ip #0 20(20) 255 10.1.1.2 > 10.3.4.5
> 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)
-------------------------------
ip #0 20(20) 255 10.2.2.2 > 10.1.1.2
ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
ip #0 20(20) 255 10.2.2.2 > 10.1.1.1
ip #0 20(20) 255 10.2.2.1 > 10.1.2.1
ip #0 20(20) 255 10.2.2.2 > 10.1.2.1
ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
ip #0 20(20) 255 10.2.2.1 > 10.2.1.1
ip #0 20(20) 255 10.2.2.2 > 10.2.1.1
ip #0 20(20) 255 10.2.2.3 > 10.1.1.1
ip #0 20(20) 255 10.2.3.4 > 10.1.1.0
ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
ip #0 20(20) 255 10.1.1.2 > 10.1.1.0
ip #0 20(20) 255 10.1.1.0 > 10.3.4.5
ip #0 20(20) 255 10.1.1.1 > 10.3.4.5
ip #0 20(20) 255 10.1.1.2 > 10.3.4.5
> 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)
-------------------------------
ip #0 20(20) 255 10.3.4.0 > 10.1.1.2
ip #0 20(20) 255 10.3.4.1 > 10.1.1.2
ip #0 20(20) 255 10.3.4.2 > 10.1.1.1
ip #0 20(20) 255 10.2.2.1 > 10.1.2.1
ip #0 20(20) 255 10.2.2.2 > 10.1.2.1
ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
ip #0 20(20) 255 10.2.2.1 > 10.2.1.1
ip #0 20(20) 255 10.2.2.2 > 10.2.1.1
ip #0 20(20) 255 10.2.2.3 > 10.1.1.1
ip #0 20(20) 255 10.2.3.4 > 10.2.2.2
ip #0 20(20) 255 10.1.1.1 > 10.2.2.2
ip #0 20(20) 255 10.1.1.2 > 10.2.2.2
ip #0 20(20) 255 10.1.1.0 > 10.1.1.5
ip #0 20(20) 255 10.1.1.1 > 10.1.1.5
ip #0 20(20) 255 10.1.1.2 > 10.1.1.5
> 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
tests/ipf/expected/n11_6 Normal file
View File

@ -0,0 +1,124 @@
> 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)
-------------------------------

View File

@ -4,4 +4,25 @@
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
tests/ipf/expected/n12_6 Normal file
View File

@ -0,0 +1,28 @@
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)
-------------------------------

View File

@ -1,5 +1,32 @@
ip #0 20(20) 0 203.1.1.23 > 150.1.1.1
ip #0 20(20) 0 203.1.1.23 > 150.1.1.2
ip #0 20(20) 0 203.1.1.24 > 150.1.1.2
ip #0 20(20) 0 203.1.1.25 > 150.1.1.1
> 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
tests/ipf/expected/n13_6 Normal file
View File

@ -0,0 +1,32 @@
> 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)
-------------------------------

View File

@ -1,5 +1,30 @@
ip #0 40(20) 6 10.2.2.5,2000 > 10.1.1.254,80
ip #0 40(20) 6 10.2.2.6,2000 > 10.1.1.253,80
ip #0 40(20) 6 10.2.2.7,2000 > 10.1.1.254,80
ip #0 40(20) 6 10.2.2.5,2001 > 10.1.1.254,80
< 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
tests/ipf/expected/n14_6 Normal file
View File

@ -0,0 +1,30 @@
< 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
tests/ipf/expected/n15 Normal file
View File

@ -0,0 +1,47 @@
< 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
tests/ipf/expected/n15_6 Normal file
View File

@ -0,0 +1,47 @@
< 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)
-------------------------------

View File

@ -7,7 +7,7 @@
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 any to 69.248.79.193/32 port = 38136 -> 172.31.83.24 port 2013 udp
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]
@ -18,4 +18,12 @@ 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)
-------------------------------

View File

@ -3,7 +3,7 @@
4500 00a0 0000 0100 3f06 7553 0201 0101 0101 0103 0401 0019 0000 0000 0000 0000 5010 2000 86b7 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
List of active MAP/Redirect filters:
bimap zx0 0.0.0.0/0 -> 1.1.1.3/32
bimap zx0 0/0 -> 1.1.1.3/32
List of active sessions:
@ -13,4 +13,12 @@ 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)
-------------------------------

111
tests/ipf/expected/n18 Normal file
View File

@ -0,0 +1,111 @@
> z0 ip #0 40(20) 6 1.1.1.1,1 > 3.3.3.3,30
> z0 ip #0 40(20) 6 1.1.1.1,2 > 3.3.3.3,31
> z0 ip #0 40(20) 6 1.1.1.1,3 > 3.3.3.3,32
> z0 ip #0 40(20) 6 1.1.1.1,4 > 3.3.3.3,33
> z0 ip #0 40(20) 6 1.1.1.1,1 > 3.3.3.3,34
> z0 ip #0 40(20) 6 1.1.1.1,2 > 3.3.3.3,35
> z0 ip #0 40(20) 6 1.1.1.1,3 > 3.3.3.3,36
> z0 ip #0 40(20) 6 1.1.1.1,4 > 3.3.3.3,37
List of active MAP/Redirect filters:
map z0 0/0 -> 1.1.1.1/32 portmap tcp/udp 1:4
List of active sessions:
MAP 2.2.2.2 29 <- -> 1.1.1.1 4 [3.3.3.3 37]
MAP 2.2.2.2 28 <- -> 1.1.1.1 3 [3.3.3.3 36]
MAP 2.2.2.2 27 <- -> 1.1.1.1 2 [3.3.3.3 35]
MAP 2.2.2.2 26 <- -> 1.1.1.1 1 [3.3.3.3 34]
MAP 2.2.2.2 25 <- -> 1.1.1.1 4 [3.3.3.3 33]
MAP 2.2.2.2 24 <- -> 1.1.1.1 3 [3.3.3.3 32]
MAP 2.2.2.2 23 <- -> 1.1.1.1 2 [3.3.3.3 31]
MAP 2.2.2.2 22 <- -> 1.1.1.1 1 [3.3.3.3 30]
Hostmap table:
2.2.2.2,3.3.3.3 -> 1.1.1.1,0.0.0.0 (use = 8)
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)
-------------------------------
> z0 ip #0 40(20) 6 1.1.1.1,1000 > 3.3.3.3,30
> z0 ip #0 40(20) 6 1.1.1.1,1001 > 3.3.3.3,31
> z0 ip #0 40(20) 6 1.1.1.1,1002 > 3.3.3.3,32
> z0 ip #0 40(20) 6 1.1.1.1,1003 > 3.3.3.3,33
> z0 ip #0 40(20) 6 1.1.1.1,1004 > 3.3.3.3,34
> z0 ip #0 40(20) 6 1.1.1.1,1005 > 3.3.3.3,35
> z0 ip #0 40(20) 6 1.1.1.1,1006 > 3.3.3.3,36
> z0 ip #0 40(20) 6 1.1.1.1,1007 > 3.3.3.3,37
List of active MAP/Redirect filters:
map z0 0/0 -> 1.1.1.1/32 portmap tcp/udp 1000:5000
List of active sessions:
MAP 2.2.2.2 29 <- -> 1.1.1.1 1007 [3.3.3.3 37]
MAP 2.2.2.2 28 <- -> 1.1.1.1 1006 [3.3.3.3 36]
MAP 2.2.2.2 27 <- -> 1.1.1.1 1005 [3.3.3.3 35]
MAP 2.2.2.2 26 <- -> 1.1.1.1 1004 [3.3.3.3 34]
MAP 2.2.2.2 25 <- -> 1.1.1.1 1003 [3.3.3.3 33]
MAP 2.2.2.2 24 <- -> 1.1.1.1 1002 [3.3.3.3 32]
MAP 2.2.2.2 23 <- -> 1.1.1.1 1001 [3.3.3.3 31]
MAP 2.2.2.2 22 <- -> 1.1.1.1 1000 [3.3.3.3 30]
Hostmap table:
2.2.2.2,3.3.3.3 -> 1.1.1.1,0.0.0.0 (use = 8)
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)
-------------------------------
> z0 ip #0 40(20) 6 1.1.1.1,1000 > 3.3.3.3,30
> z0 ip #0 40(20) 6 1.1.1.1,1001 > 3.3.3.3,31
> z0 ip #0 40(20) 6 1.1.1.1,1002 > 3.3.3.3,32
> z0 ip #0 40(20) 6 1.1.1.1,1003 > 3.3.3.3,33
> z0 ip #0 40(20) 6 1.1.1.1,1004 > 3.3.3.3,34
> z0 ip #0 40(20) 6 1.1.1.1,1005 > 3.3.3.3,35
> z0 ip #0 40(20) 6 1.1.1.1,1006 > 3.3.3.3,36
> z0 ip #0 40(20) 6 1.1.1.1,1007 > 3.3.3.3,37
List of active MAP/Redirect filters:
map z0 0/0 -> 1.1.1.1/32 portmap tcp/udp 1000:50000
List of active sessions:
MAP 2.2.2.2 29 <- -> 1.1.1.1 1007 [3.3.3.3 37]
MAP 2.2.2.2 28 <- -> 1.1.1.1 1006 [3.3.3.3 36]
MAP 2.2.2.2 27 <- -> 1.1.1.1 1005 [3.3.3.3 35]
MAP 2.2.2.2 26 <- -> 1.1.1.1 1004 [3.3.3.3 34]
MAP 2.2.2.2 25 <- -> 1.1.1.1 1003 [3.3.3.3 33]
MAP 2.2.2.2 24 <- -> 1.1.1.1 1002 [3.3.3.3 32]
MAP 2.2.2.2 23 <- -> 1.1.1.1 1001 [3.3.3.3 31]
MAP 2.2.2.2 22 <- -> 1.1.1.1 1000 [3.3.3.3 30]
Hostmap table:
2.2.2.2,3.3.3.3 -> 1.1.1.1,0.0.0.0 (use = 8)
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)
-------------------------------

197
tests/ipf/expected/n1_6 Normal file
View File

@ -0,0 +1,197 @@
> 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 10:0:0:0:0:2:2:2 > 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 20 0 6 10:1:1:0:0:0:0:2,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:2,1026 > 10:1:1:0:0:0:0:1,1025
> 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:1:1:0:0:0:0:1
< 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
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:0:0:0:0:3:4:5,1025
> zx0 ip6/0 88 0 58 10:0:0:0:0:2:2:2 > 10:4:3:0:0:0:0:2
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:1:1:0:0:0:0:1
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:1
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:2
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:3
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:4
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:5
> zx0 ip6/0 1 0 34 10:1:1:0:0:0:0:2 > 10:4:3:0:0:0:0:2
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:4
> zx0 ip6/0 1 0 34 10:1:1:0:0:0:0:2 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:5
> zx0 ip6/0 1 0 34 10:1:1:0:0:0:0:3 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:6
> zx0 ip6/0 1 0 35 10:1:1:0:0:0:0:3 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 35 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:7
List of active MAP/Redirect filters:
map zx0 10:1:1::1/128 -> 10::2:2:2/128
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,any (use = 1)
10:1: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:5 > 10:1:1:0:0:0:0:2
17
> zx0 ip6/0 1 0 255 10:0:0:0:0:3:4:5 > 10:1:1:0:0:0:0:1
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,1026 > 10:1:1:0:0:0:0:1,1025
> 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: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 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:1:1:0:0:0:0:2,1025
> zx0 ip6/0 88 0 58 10:0:0:0:0:3:4:5 > 10:4:3:0:0:0:0:2
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:2:2:2
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:1
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:2
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:3
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:4
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:1:1:0:0:0:0:1
> zx0 ip6/0 1 0 34 10:0:0:0:0:3:4:5 > 10:4:3:0:0:0:0:2
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:4
> zx0 ip6/0 1 0 34 10:0:0:0:0:3:4:5 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:4 > 10:1:1:0:0:0:0:2
17
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:6
> zx0 ip6/0 1 0 35 10:0:0:0:0:3:4:5 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 35 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:7
List of active MAP/Redirect filters:
map zx0 10:1:1::/112 -> 10::3:4:5/128
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:: <- -> 10::3:4:5 [10:1:1::2]
Hostmap table:
10:1:1::3,10:4:3::4 -> 10::3:4:5,any (use = 1)
10:1:1::2,10:4:3::4 -> 10::3:4:5,any (use = 1)
10:1:1::2,10:4:3::2 -> 10::3:4:5,any (use = 1)
10:1:1::1,10:4:3::2 -> 10::3:4:5,any (use = 1)
10:1:1::2,10:1:1::1 -> 10::3:4:5,any (use = 3)
10:1:1::,10:1:1::2 -> 10::3:4:5,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: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:2
> zx0 ip6/0 1 0 255 10:0:0:0:0:3:4:3 > 10:1:1:0:0:0:0:1
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:3,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:3,1026 > 10:1:1:0:0:0:0:1,1025
> 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
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:0:0:0:0:3:4:5,1025
> zx0 ip6/0 88 0 58 10:0:0:0:0:3:4:3 > 10:4:3:0:0:0:0:2
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:2:2:2
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:1
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:2
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:1:1:0:0:0:0:1
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:4
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:5
> zx0 ip6/0 1 0 34 10:0:0:0:0:3:4:3 > 10:4:3:0:0:0:0:2
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:4
> zx0 ip6/0 1 0 34 10:0:0:0:0:3:4:3 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:5
> zx0 ip6/0 1 0 34 10:0:0:0:0:3:4:4 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:6
> zx0 ip6/0 1 0 35 10:0:0:0:0:3:4:4 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 35 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:7
List of active MAP/Redirect filters:
map zx0 10:1:1::/112 -> 10::3:4:0/112
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:: <- -> 10::3:4:1 [10:1:1::2]
Hostmap table:
10:1:1::3,10:4:3::4 -> 10::3:4:4,any (use = 2)
10:1:1::2,10:4:3::4 -> 10::3:4:3,any (use = 1)
10:1:1::2,10:4:3::2 -> 10::3:4:3,any (use = 1)
10:1:1::1,10:4:3::2 -> 10::3:4:3,any (use = 1)
10:1:1::2,10:1:1::1 -> 10::3:4:3,any (use = 3)
10:1:1::1,10:1:1::2 -> 10::3:4:2,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)
-------------------------------

View File

@ -1,80 +1,191 @@
ip #0 40(20) 6 10.2.2.2,10000 > 10.1.1.1,1025
ip #0 40(20) 6 10.2.2.2,10001 > 10.1.1.2,1025
ip #0 20(20) 0 10.1.1.0 > 10.1.1.2
ip #0 20(20) 0 10.1.1.1 > 10.1.2.1
ip #0 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025
ip #0 28(20) 17 10.1.1.2,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.1.1.3,2000 > 10.1.2.1,80
ip #0 40(20) 6 10.1.1.3,2001 > 10.1.3.1,80
ip #0 40(20) 6 10.1.1.3,2002 > 10.1.4.1,80
ip #0 40(20) 6 10.1.1.3,2003 > 10.1.4.1,80
ip #0 20(20) 0 10.1.1.1 > 10.1.1.2
ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
ip #0 20(20) 0 10.1.1.2 > 10.1.1.1
ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
ip #0 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
> zx0 ip #0 40(20) 6 10.2.2.2,10000 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.2.2.2,10001 > 10.1.1.2,1025
> zx0 ip #0 20(20) 0 10.1.1.0 > 10.1.1.2
> zx0 ip #0 20(20) 0 10.1.1.1 > 10.1.2.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,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 28(20) 17 10.1.1.2,1025 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.1.1.3,2000 > 10.1.2.1,80
> zx0 ip #0 40(20) 6 10.1.1.3,2001 > 10.1.3.1,80
> zx0 ip #0 40(20) 6 10.1.1.3,2002 > 10.1.4.1,80
> zx0 ip #0 40(20) 6 10.1.1.3,2003 > 10.1.4.1,80
< zx0 ip #0 20(20) 0 10.1.1.1 > 10.1.1.2
< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
< zx0 ip #0 20(20) 0 10.1.1.2 > 10.1.1.1
< zx0 ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
< zx0 ip #0 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
< zx0 ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
List of active MAP/Redirect filters:
map zx0 10.1.1.1/32 -> 10.2.2.2/32 portmap tcp 10000:20000
List of active sessions:
MAP 10.1.1.1 1025 <- -> 10.2.2.2 10001 [10.1.1.2 1025]
MAP 10.1.1.1 1025 <- -> 10.2.2.2 10000 [10.1.1.1 1025]
Hostmap table:
10.1.1.1,10.1.1.2 -> 10.2.2.2,0.0.0.0 (use = 1)
10.1.1.1,10.1.1.1 -> 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)
-------------------------------
ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
ip #0 20(20) 0 10.1.1.0 > 10.1.1.2
ip #0 20(20) 0 10.1.1.1 > 10.1.2.1
ip #0 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025
ip #0 28(20) 17 10.3.4.5,10000 > 10.1.1.1,1025
ip #0 40(20) 6 10.1.1.3,2000 > 10.1.2.1,80
ip #0 40(20) 6 10.1.1.3,2001 > 10.1.3.1,80
ip #0 40(20) 6 10.1.1.3,2002 > 10.1.4.1,80
ip #0 40(20) 6 10.1.1.3,2003 > 10.1.4.1,80
ip #0 20(20) 0 10.1.1.1 > 10.1.1.2
ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
ip #0 20(20) 0 10.1.1.2 > 10.1.1.1
ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
ip #0 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
> zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
> zx0 ip #0 20(20) 0 10.1.1.0 > 10.1.1.2
> zx0 ip #0 20(20) 0 10.1.1.1 > 10.1.2.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,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 28(20) 17 10.3.4.5,10000 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.1.1.3,2000 > 10.1.2.1,80
> zx0 ip #0 40(20) 6 10.1.1.3,2001 > 10.1.3.1,80
> zx0 ip #0 40(20) 6 10.1.1.3,2002 > 10.1.4.1,80
> zx0 ip #0 40(20) 6 10.1.1.3,2003 > 10.1.4.1,80
< zx0 ip #0 20(20) 0 10.1.1.1 > 10.1.1.2
< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
< zx0 ip #0 20(20) 0 10.1.1.2 > 10.1.1.1
< zx0 ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
< zx0 ip #0 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
< zx0 ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
List of active MAP/Redirect filters:
map zx0 10.1.1.0/24 -> 10.3.4.5/32 portmap udp 10000:20000
List of active sessions:
MAP 10.1.1.2 1025 <- -> 10.3.4.5 10000 [10.1.1.1 1025]
Hostmap table:
10.1.1.2,10.1.1.1 -> 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)
-------------------------------
ip #0 40(20) 6 10.3.4.1,10000 > 10.1.1.1,1025
ip #0 40(20) 6 10.3.4.1,10001 > 10.1.1.2,1025
ip #0 20(20) 0 10.1.1.0 > 10.1.1.2
ip #0 20(20) 0 10.1.1.1 > 10.1.2.1
ip #0 40(20) 6 10.3.4.1,10002 > 10.1.1.1,1025
ip #0 40(20) 6 10.3.4.1,10002 > 10.1.1.1,1025
ip #0 40(20) 6 10.3.4.1,10003 > 10.1.1.1,1025
ip #0 28(20) 17 10.3.4.1,10004 > 10.1.1.1,1025
ip #0 40(20) 6 10.3.4.1,10005 > 10.1.2.1,80
ip #0 40(20) 6 10.3.4.1,10006 > 10.1.3.1,80
ip #0 40(20) 6 10.3.4.1,10007 > 10.1.4.1,80
ip #0 40(20) 6 10.3.4.1,10008 > 10.1.4.1,80
ip #0 20(20) 0 10.1.1.1 > 10.1.1.2
ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
ip #0 20(20) 0 10.1.1.2 > 10.1.1.1
ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
ip #0 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
> zx0 ip #0 40(20) 6 10.3.4.1,10000 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.3.4.1,10001 > 10.1.1.2,1025
> zx0 ip #0 20(20) 0 10.1.1.0 > 10.1.1.2
> zx0 ip #0 20(20) 0 10.1.1.1 > 10.1.2.1
> zx0 ip #0 40(20) 6 10.3.4.1,10002 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.3.4.1,10002 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.3.4.1,10003 > 10.1.1.1,1025
> zx0 ip #0 28(20) 17 10.3.4.1,10004 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.3.4.1,10005 > 10.1.2.1,80
> zx0 ip #0 40(20) 6 10.3.4.1,10006 > 10.1.3.1,80
> zx0 ip #0 40(20) 6 10.3.4.1,10007 > 10.1.4.1,80
> zx0 ip #0 40(20) 6 10.3.4.1,10008 > 10.1.4.1,80
< zx0 ip #0 20(20) 0 10.1.1.1 > 10.1.1.2
< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
< zx0 ip #0 20(20) 0 10.1.1.2 > 10.1.1.1
< zx0 ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
< zx0 ip #0 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
< zx0 ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
List of active MAP/Redirect filters:
map zx0 10.1.0.0/16 -> 10.3.4.0/24 portmap tcp/udp 10000:20000
List of active sessions:
MAP 10.1.1.3 2003 <- -> 10.3.4.1 10008 [10.1.4.1 80]
MAP 10.1.1.3 2002 <- -> 10.3.4.1 10007 [10.1.4.1 80]
MAP 10.1.1.3 2001 <- -> 10.3.4.1 10006 [10.1.3.1 80]
MAP 10.1.1.3 2000 <- -> 10.3.4.1 10005 [10.1.2.1 80]
MAP 10.1.1.2 1025 <- -> 10.3.4.1 10004 [10.1.1.1 1025]
MAP 10.1.1.2 1026 <- -> 10.3.4.1 10003 [10.1.1.1 1025]
MAP 10.1.1.2 1025 <- -> 10.3.4.1 10002 [10.1.1.1 1025]
MAP 10.1.1.1 1025 <- -> 10.3.4.1 10001 [10.1.1.2 1025]
MAP 10.1.1.1 1025 <- -> 10.3.4.1 10000 [10.1.1.1 1025]
Hostmap table:
10.1.1.3,10.1.4.1 -> 10.3.4.1,0.0.0.0 (use = 2)
10.1.1.3,10.1.3.1 -> 10.3.4.1,0.0.0.0 (use = 1)
10.1.1.3,10.1.2.1 -> 10.3.4.1,0.0.0.0 (use = 1)
10.1.1.2,10.1.1.1 -> 10.3.4.1,0.0.0.0 (use = 3)
10.1.1.1,10.1.1.2 -> 10.3.4.1,0.0.0.0 (use = 1)
10.1.1.1,10.1.1.1 -> 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)
-------------------------------
ip #0 40(20) 6 10.3.4.5,40000 > 10.1.1.1,1025
ip #0 40(20) 6 10.3.4.5,40001 > 10.1.1.2,1025
ip #0 20(20) 0 10.1.1.0 > 10.1.1.2
ip #0 20(20) 0 10.1.1.1 > 10.1.2.1
ip #0 40(20) 6 10.3.4.5,40001 > 10.1.1.1,1025
ip #0 40(20) 6 10.3.4.5,40001 > 10.1.1.1,1025
ip #0 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025
ip #0 28(20) 17 10.3.4.5,40000 > 10.1.1.1,1025
ip #0 40(20) 6 10.3.4.5,40001 > 10.1.2.1,80
ip #0 40(20) 6 10.3.4.5,40000 > 10.1.3.1,80
ip #0 40(20) 6 10.3.4.5,40001 > 10.1.4.1,80
ip #0 40(20) 6 10.3.4.5,40000 > 10.1.4.1,80
ip #0 20(20) 0 10.1.1.1 > 10.1.1.2
ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
ip #0 20(20) 0 10.1.1.2 > 10.1.1.1
ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.1,1025
ip #0 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
ip #0 40(20) 6 10.1.2.1,80 > 10.1.1.3,2000
> zx0 ip #0 40(20) 6 10.3.4.5,40000 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.3.4.5,40001 > 10.1.1.2,1025
> zx0 ip #0 20(20) 0 10.1.1.0 > 10.1.1.2
> zx0 ip #0 20(20) 0 10.1.1.1 > 10.1.2.1
> zx0 ip #0 40(20) 6 10.3.4.5,40001 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.3.4.5,40001 > 10.1.1.1,1025
15
> zx0 ip #0 28(20) 17 10.3.4.5,40000 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.3.4.5,40001 > 10.1.2.1,80
> zx0 ip #0 40(20) 6 10.3.4.5,40000 > 10.1.3.1,80
> zx0 ip #0 40(20) 6 10.3.4.5,40001 > 10.1.4.1,80
> zx0 ip #0 40(20) 6 10.3.4.5,40000 > 10.1.4.1,80
< zx0 ip #0 20(20) 0 10.1.1.1 > 10.1.1.2
< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
< zx0 ip #0 20(20) 0 10.1.1.2 > 10.1.1.1
< zx0 ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.1,1025
< zx0 ip #0 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
< zx0 ip #0 40(20) 6 10.1.2.1,80 > 10.1.1.3,2000
List of active MAP/Redirect filters:
map zx0 10.1.1.0/24 -> 10.3.4.5/32 portmap tcp/udp 40000:40001
List of active sessions:
MAP 10.1.1.3 2003 <- -> 10.3.4.5 40000 [10.1.4.1 80]
MAP 10.1.1.3 2002 <- -> 10.3.4.5 40001 [10.1.4.1 80]
MAP 10.1.1.3 2001 <- -> 10.3.4.5 40000 [10.1.3.1 80]
MAP 10.1.1.3 2000 <- -> 10.3.4.5 40001 [10.1.2.1 80]
MAP 10.1.1.2 1025 <- -> 10.3.4.5 40000 [10.1.1.1 1025]
MAP 10.1.1.2 1025 <- -> 10.3.4.5 40001 [10.1.1.1 1025]
MAP 10.1.1.1 1025 <- -> 10.3.4.5 40001 [10.1.1.2 1025]
MAP 10.1.1.1 1025 <- -> 10.3.4.5 40000 [10.1.1.1 1025]
Hostmap table:
10.1.1.3,10.1.4.1 -> 10.3.4.5,0.0.0.0 (use = 2)
10.1.1.3,10.1.3.1 -> 10.3.4.5,0.0.0.0 (use = 1)
10.1.1.3,10.1.2.1 -> 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 = 2)
10.1.1.1,10.1.1.2 -> 10.3.4.5,0.0.0.0 (use = 1)
10.1.1.1,10.1.1.1 -> 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)
-------------------------------

25
tests/ipf/expected/n200 Normal file
View File

@ -0,0 +1,25 @@
4500 0044 0000 0000 ff11 bda6 7f00 0001 7f00 0001 2775 2775 0030 0000 4500 0028 0000 0000 0006 435a 6363 6363 5858 5858 038d 0050 0000 0000 0000 0000 5000 1000 2491 0000
4500 0028 0000 0000 0006 435a 6363 6363 5858 5858 038d 0050 0000 0000 0000 0000 5000 1000 2491 0000
List of active MAP/Redirect filters:
divert in on bar0 proto tcp from 0/0 to 0/0 -> src 127.0.0.1/32,10101 dst 127.0.0.1/32,10101 udp;
List of active sessions:
DIV-RDR 127.0.0.1 10101 <- -> 88.88.88.88 80 [99.99.99.99 909]
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)
-------------------------------

28
tests/ipf/expected/n201 Normal file
View File

@ -0,0 +1,28 @@
4500 0054 0000 4000 ff04 10fa 0101 0101 c0a8 a801 4500 0040 7ee9 4000 4006 5879 c0a8 7103 c0a8 7101 ffdd 0017 21dd ace0 0000 0000 b002 8000 83f8 0000 0204 05b4 0103 0300 0402 0101 0101 080a 0000 0000 0000 0000
4500 0040 7ee9 4000 4006 5879 c0a8 7101 c0a8 7103 0017 ffdd ace0 21dd 21dd ace1 b012 8000 b529 0000 0204 05b4 0103 0300 0402 0101 0101 080a 0000 0000 0000 0000
4500 0054 0001 4000 ff04 10f9 0101 0101 c0a8 a801 4500 0040 7ee9 4000 4006 5879 c0a8 7103 c0a8 7101 ffdd 0017 21dd ace0 0000 0000 b002 8000 83f8 0000 0204 05b4 0103 0300 0402 0101 0101 080a 0000 0000 0000 0000
16
List of active MAP/Redirect filters:
encap out on bge0 proto tcp from 0/0 to 0/0 port = 23 -> src 1.1.1.1/32 dst 192.168.168.1/32;
List of active sessions:
ENC-MAP 192.168.168.1 0 <- -> 192.168.113.1 23 [192.168.113.3 65501]
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)
-------------------------------

23
tests/ipf/expected/n202 Normal file
View File

@ -0,0 +1,23 @@
4500 0040 7ee9 4000 4006 5879 c0a8 7101 c0a8 7103 0017 ffdd 21dd ace0 0000 0000 b012 8000 83e8 0000 0204 05b4 0103 0300 0402 0101 0101 080a 0000 0000 0000 0000
List of active MAP/Redirect filters:
encap out on bge0 proto tcp from 0/0 to 0/0 port = 23 -> src 1.1.1.1/32 dst 192.168.168.1/32;
List of active sessions:
ENC-MAP 192.168.168.1 <- -> 1.1.1.1 [192.168.168.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)
-------------------------------

191
tests/ipf/expected/n2_6 Normal file
View File

@ -0,0 +1,191 @@
> zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,10000 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,10001 > 10:1:1:0:0:0:0:2,1025
> zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:0 > 10:1:1:0:0:0:0:2
> zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:1 > 10:1:2:0:0:0:0:1
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:2,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:2,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:2,1026 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 8 0 17 10:1:1:0:0:0:0:2,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:3,2000 > 10:1:2:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:3,2001 > 10:1:3:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:3,2002 > 10:1:4:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:3,2003 > 10:1:4:0:0:0:0:1,80
< zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:1 > 10:1:1:0:0:0:0:2
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:1:1:0:0:0:0:2,1025
< zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:2 > 10:1:1:0:0:0:0:1
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1026 > 10:0:0:0:0:3:4:5,40000
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:0:0:0:0:3:4:5,40000
< zx0 ip6/0 8 0 17 10:1:1:0:0:0:0:2,1025 > 10:0:0:0:0:3:4:5,40001
< zx0 ip6/0 20 0 6 10:1:2:0:0:0:0:1,80 > 10:0:0:0:0:3:4:5,40001
List of active MAP/Redirect filters:
map zx0 10:1:1::1/128 -> 10::2:2:2/128 portmap tcp 10000:20000
List of active sessions:
MAP 10:1:1::1 1025 <- -> 10::2:2:2 10001 [10:1:1::2 1025]
MAP 10:1:1::1 1025 <- -> 10::2:2:2 10000 [10:1:1::1 1025]
Hostmap table:
10:1:1::1,10:1:1::2 -> 10::2:2:2,any (use = 1)
10:1:1::1,10:1:1::1 -> 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 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:1:1:0:0:0:0:2,1025
> zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:0 > 10:1:1:0:0:0:0:2
> zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:1 > 10:1:2:0:0:0:0:1
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:2,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:2,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:2,1026 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 8 0 17 10:0:0:0:0:3:4:5,10000 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:3,2000 > 10:1:2:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:3,2001 > 10:1:3:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:3,2002 > 10:1:4:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:3,2003 > 10:1:4:0:0:0:0:1,80
< zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:1 > 10:1:1:0:0:0:0:2
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:1:1:0:0:0:0:2,1025
< zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:2 > 10:1:1:0:0:0:0:1
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1026 > 10:0:0:0:0:3:4:5,40000
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:0:0:0:0:3:4:5,40000
< zx0 ip6/0 8 0 17 10:1:1:0:0:0:0:2,1025 > 10:0:0:0:0:3:4:5,40001
< zx0 ip6/0 20 0 6 10:1:2:0:0:0:0:1,80 > 10:0:0:0:0:3:4:5,40001
List of active MAP/Redirect filters:
map zx0 10:1:1::/112 -> 10::3:4:5/128 portmap udp 10000:20000
List of active sessions:
MAP 10:1:1::2 1025 <- -> 10::3:4:5 10000 [10:1:1::1 1025]
Hostmap table:
10:1:1::2,10:1:1::1 -> 10::3:4:5,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 20 0 6 10:0:0:0:0:3:4:1,10000 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:1,10001 > 10:1:1:0:0:0:0:2,1025
> zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:0 > 10:1:1:0:0:0:0:2
> zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:1 > 10:1:2:0:0:0:0:1
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:1,10002 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:1,10002 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:1,10003 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 8 0 17 10:0:0:0:0:3:4:1,10004 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:1,10005 > 10:1:2:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:1,10006 > 10:1:3:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:1,10007 > 10:1:4:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:1,10008 > 10:1:4:0:0:0:0:1,80
< zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:1 > 10:1:1:0:0:0:0:2
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:1:1:0:0:0:0:2,1025
< zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:2 > 10:1:1:0:0:0:0:1
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1026 > 10:0:0:0:0:3:4:5,40000
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:0:0:0:0:3:4:5,40000
< zx0 ip6/0 8 0 17 10:1:1:0:0:0:0:2,1025 > 10:0:0:0:0:3:4:5,40001
< zx0 ip6/0 20 0 6 10:1:2:0:0:0:0:1,80 > 10:0:0:0:0:3:4:5,40001
List of active MAP/Redirect filters:
map zx0 10:1::/32 -> 10::3:4:0/112 portmap tcp/udp 10000:20000
List of active sessions:
MAP 10:1:1::3 2003 <- -> 10::3:4:1 10008 [10:1:4::1 80]
MAP 10:1:1::3 2002 <- -> 10::3:4:1 10007 [10:1:4::1 80]
MAP 10:1:1::3 2001 <- -> 10::3:4:1 10006 [10:1:3::1 80]
MAP 10:1:1::3 2000 <- -> 10::3:4:1 10005 [10:1:2::1 80]
MAP 10:1:1::2 1025 <- -> 10::3:4:1 10004 [10:1:1::1 1025]
MAP 10:1:1::2 1026 <- -> 10::3:4:1 10003 [10:1:1::1 1025]
MAP 10:1:1::2 1025 <- -> 10::3:4:1 10002 [10:1:1::1 1025]
MAP 10:1:1::1 1025 <- -> 10::3:4:1 10001 [10:1:1::2 1025]
MAP 10:1:1::1 1025 <- -> 10::3:4:1 10000 [10:1:1::1 1025]
Hostmap table:
10:1:1::3,10:1:4::1 -> 10::3:4:1,any (use = 2)
10:1:1::3,10:1:3::1 -> 10::3:4:1,any (use = 1)
10:1:1::3,10:1:2::1 -> 10::3:4:1,any (use = 1)
10:1:1::2,10:1:1::1 -> 10::3:4:1,any (use = 3)
10:1:1::1,10:1:1::2 -> 10::3:4:1,any (use = 1)
10:1:1::1,10:1:1::1 -> 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)
-------------------------------
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,40000 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,40001 > 10:1:1:0:0:0:0:2,1025
> zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:0 > 10:1:1:0:0:0:0:2
> zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:1 > 10:1:2:0:0:0:0:1
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,40001 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,40001 > 10:1:1:0:0:0:0:1,1025
17
> zx0 ip6/0 8 0 17 10:0:0:0:0:3:4:5,40000 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,40001 > 10:1:2:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,40000 > 10:1:3:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,40001 > 10:1:4:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,40000 > 10:1:4:0:0:0:0:1,80
< zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:1 > 10:1:1:0:0:0:0:2
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:1:1:0:0:0:0:2,1025
< zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:2 > 10:1:1:0:0:0:0:1
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1026 > 10:0:0:0:0:3:4:5,40000
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:1:1:0:0:0:0:1,1025
< zx0 ip6/0 8 0 17 10:1:1:0:0:0:0:2,1025 > 10:0:0:0:0:3:4:5,40001
< zx0 ip6/0 20 0 6 10:1:2:0:0:0:0:1,80 > 10:1:1:0:0:0:0:3,2000
List of active MAP/Redirect filters:
map zx0 10:1:1::/112 -> 10::3:4:5/128 portmap tcp/udp 40000:40001
List of active sessions:
MAP 10:1:1::3 2003 <- -> 10::3:4:5 40000 [10:1:4::1 80]
MAP 10:1:1::3 2002 <- -> 10::3:4:5 40001 [10:1:4::1 80]
MAP 10:1:1::3 2001 <- -> 10::3:4:5 40000 [10:1:3::1 80]
MAP 10:1:1::3 2000 <- -> 10::3:4:5 40001 [10:1:2::1 80]
MAP 10:1:1::2 1025 <- -> 10::3:4:5 40000 [10:1:1::1 1025]
MAP 10:1:1::2 1025 <- -> 10::3:4:5 40001 [10:1:1::1 1025]
MAP 10:1:1::1 1025 <- -> 10::3:4:5 40001 [10:1:1::2 1025]
MAP 10:1:1::1 1025 <- -> 10::3:4:5 40000 [10:1:1::1 1025]
Hostmap table:
10:1:1::3,10:1:4::1 -> 10::3:4:5,any (use = 2)
10:1:1::3,10:1:3::1 -> 10::3:4:5,any (use = 1)
10:1:1::3,10:1:2::1 -> 10::3:4:5,any (use = 1)
10:1:1::2,10:1:1::1 -> 10::3:4:5,any (use = 2)
10:1:1::1,10:1:1::2 -> 10::3:4:5,any (use = 1)
10:1:1::1,10:1:1::1 -> 10::3:4:5,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)
-------------------------------

View File

@ -1,12 +1,66 @@
ip #0 40(20) 6 192.168.2.1,1488 > 203.1.1.1,80
ip #0 40(20) 6 192.168.2.1,1276 > 203.1.1.1,80
ip #0 40(20) 6 192.168.2.1,1032 > 203.1.1.1,80
ip #0 28(20) 17 192.168.2.1,1032 > 203.1.1.1,80
ip #0 40(20) 6 192.168.2.1,65299 > 203.1.1.1,80
> zz0 ip #0 40(20) 6 192.168.2.1,1488 > 203.1.1.1,80
> zz0 ip #0 40(20) 6 192.168.2.1,1276 > 203.1.1.1,80
> zz0 ip #0 40(20) 6 192.168.2.1,1032 > 203.1.1.1,80
> zz0 ip #0 28(20) 17 192.168.2.1,1032 > 203.1.1.1,80
> zz0 ip #0 40(20) 6 192.168.2.1,65299 > 203.1.1.1,80
List of active MAP/Redirect filters:
map zz0 10.1.0.0/16 -> 192.168.2.0/24 portmap tcp/udp auto
List of active sessions:
MAP 10.1.255.255 65535 <- -> 192.168.2.1 65299 [203.1.1.1 80]
MAP 10.1.0.0 32768 <- -> 192.168.2.1 1032 [203.1.1.1 80]
MAP 10.1.0.0 32768 <- -> 192.168.2.1 1032 [203.1.1.1 80]
MAP 10.1.1.1 252 <- -> 192.168.2.1 1276 [203.1.1.1 80]
MAP 10.1.1.1 5000 <- -> 192.168.2.1 1488 [203.1.1.1 80]
Hostmap table:
10.1.255.255,203.1.1.1 -> 192.168.2.1,0.0.0.0 (use = 1)
10.1.0.0,203.1.1.1 -> 192.168.2.1,0.0.0.0 (use = 2)
10.1.1.1,203.1.1.1 -> 192.168.2.1,0.0.0.0 (use = 2)
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)
-------------------------------
ip #0 40(20) 6 192.168.1.1,1488 > 203.1.1.1,80
ip #0 40(20) 6 192.168.1.1,1276 > 203.1.1.1,80
ip #0 40(20) 6 192.168.1.0,1032 > 203.1.1.1,80
ip #0 28(20) 17 192.168.1.0,1032 > 203.1.1.1,80
ip #0 40(20) 6 192.168.1.255,65299 > 203.1.1.1,80
> zz0 ip #0 40(20) 6 192.168.1.1,1488 > 203.1.1.1,80
> zz0 ip #0 40(20) 6 192.168.1.1,1276 > 203.1.1.1,80
> zz0 ip #0 40(20) 6 192.168.1.0,1032 > 203.1.1.1,80
> zz0 ip #0 28(20) 17 192.168.1.0,1032 > 203.1.1.1,80
> zz0 ip #0 40(20) 6 192.168.1.255,65299 > 203.1.1.1,80
List of active MAP/Redirect filters:
map-block zz0 10.1.0.0/16 -> 192.168.1.0/24 ports 252
List of active sessions:
MAP-BLOCK 10.1.255.255 65535 <- -> 192.168.1.255 65299 [203.1.1.1 80]
MAP-BLOCK 10.1.0.0 32768 <- -> 192.168.1.0 1032 [203.1.1.1 80]
MAP-BLOCK 10.1.0.0 32768 <- -> 192.168.1.0 1032 [203.1.1.1 80]
MAP-BLOCK 10.1.1.1 252 <- -> 192.168.1.1 1276 [203.1.1.1 80]
MAP-BLOCK 10.1.1.1 5000 <- -> 192.168.1.1 1488 [203.1.1.1 80]
Hostmap table:
10.1.255.255,203.1.1.1 -> 192.168.1.1,0.0.0.0 (use = 1)
10.1.0.0,203.1.1.1 -> 192.168.1.1,0.0.0.0 (use = 2)
10.1.1.1,203.1.1.1 -> 192.168.1.1,0.0.0.0 (use = 2)
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)
-------------------------------

View File

@ -1,66 +1,190 @@
ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,10023
ip #0 40(20) 6 10.1.1.1,23 > 10.3.3.3,12345
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
ip #0 40(20) 6 10.2.2.1,10053 > 10.3.3.3,12345
ip #0 40(20) 6 10.3.3.3,12346 > 10.1.0.0,23
ip #0 40(20) 6 10.2.2.1,10023 > 10.3.3.3,12346
ip #0 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53
ip #0 28(20) 17 10.2.2.1,10053 > 10.3.3.3,12345
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
ip #0 40(20) 6 10.2.2.1,53 > 10.3.3.3,12345
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,10023
> zx0 ip #0 40(20) 6 10.1.1.1,23 > 10.3.3.3,12345
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
> zx0 ip #0 40(20) 6 10.2.2.1,10053 > 10.3.3.3,12345
< zx0 ip #0 40(20) 6 10.3.3.3,12346 > 10.1.0.0,23
> zx0 ip #0 40(20) 6 10.2.2.1,10023 > 10.3.3.3,12346
< zx0 ip #0 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53
> zx0 ip #0 28(20) 17 10.2.2.1,10053 > 10.3.3.3,12345
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
> zx0 ip #0 40(20) 6 10.2.2.1,53 > 10.3.3.3,12345
List of active MAP/Redirect filters:
rdr zx0 10.1.1.1/32 port 23 -> 10.2.2.1/32 port 10023 tcp
List of active sessions:
RDR 10.2.2.1 10023 <- -> 10.1.1.1 23 [10.3.3.3 12345]
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)
-------------------------------
ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,10023
ip #0 40(20) 6 10.1.1.1,23 > 10.3.3.3,12345
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
ip #0 40(20) 6 10.2.2.1,10053 > 10.3.3.3,12345
ip #0 40(20) 6 10.3.3.3,12346 > 10.1.0.0,23
ip #0 40(20) 6 10.2.2.1,10023 > 10.3.3.3,12346
ip #0 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53
ip #0 28(20) 17 10.2.2.1,10053 > 10.3.3.3,12345
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
ip #0 40(20) 6 10.2.2.1,53 > 10.3.3.3,12345
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,10023
> zx0 ip #0 40(20) 6 10.1.1.1,23 > 10.3.3.3,12345
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
> zx0 ip #0 40(20) 6 10.2.2.1,10053 > 10.3.3.3,12345
< zx0 ip #0 40(20) 6 10.3.3.3,12346 > 10.1.0.0,23
> zx0 ip #0 40(20) 6 10.2.2.1,10023 > 10.3.3.3,12346
< zx0 ip #0 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53
> zx0 ip #0 28(20) 17 10.2.2.1,10053 > 10.3.3.3,12345
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
> zx0 ip #0 40(20) 6 10.2.2.1,53 > 10.3.3.3,12345
List of active MAP/Redirect filters:
rdr zx0 10.1.1.0/24 port 23 -> 10.2.2.1/32 port 10023 tcp
List of active sessions:
RDR 10.2.2.1 10023 <- -> 10.1.1.1 23 [10.3.3.3 12345]
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)
-------------------------------
ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,10023
ip #0 40(20) 6 10.1.1.1,23 > 10.3.3.3,12345
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
ip #0 40(20) 6 10.2.2.1,10053 > 10.3.3.3,12345
ip #0 40(20) 6 10.3.3.3,12346 > 10.2.2.1,10023
ip #0 40(20) 6 10.1.0.0,23 > 10.3.3.3,12346
ip #0 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53
ip #0 28(20) 17 10.2.2.1,10053 > 10.3.3.3,12345
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
ip #0 40(20) 6 10.2.2.1,53 > 10.3.3.3,12345
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,10023
> zx0 ip #0 40(20) 6 10.1.1.1,23 > 10.3.3.3,12345
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
> zx0 ip #0 40(20) 6 10.2.2.1,10053 > 10.3.3.3,12345
< zx0 ip #0 40(20) 6 10.3.3.3,12346 > 10.2.2.1,10023
> zx0 ip #0 40(20) 6 10.1.0.0,23 > 10.3.3.3,12346
< zx0 ip #0 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53
> zx0 ip #0 28(20) 17 10.2.2.1,10053 > 10.3.3.3,12345
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
> zx0 ip #0 40(20) 6 10.2.2.1,53 > 10.3.3.3,12345
List of active MAP/Redirect filters:
rdr zx0 0/0 port 23 -> 10.2.2.1/32 port 10023 tcp
List of active sessions:
RDR 10.2.2.1 10023 <- -> 10.1.0.0 23 [10.3.3.3 12346]
RDR 10.2.2.1 10023 <- -> 10.1.1.1 23 [10.3.3.3 12345]
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)
-------------------------------
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,23
ip #0 40(20) 6 10.2.2.1,10023 > 10.3.3.3,12345
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
ip #0 40(20) 6 10.2.2.1,10053 > 10.3.3.3,12345
ip #0 40(20) 6 10.3.3.3,12346 > 10.1.0.0,23
ip #0 40(20) 6 10.2.2.1,10023 > 10.3.3.3,12346
ip #0 28(20) 17 10.3.3.3,12345 > 10.2.2.1,10053
ip #0 28(20) 17 10.1.1.0,53 > 10.3.3.3,12345
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
ip #0 40(20) 6 10.2.2.1,53 > 10.3.3.3,12345
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,23
> zx0 ip #0 40(20) 6 10.2.2.1,10023 > 10.3.3.3,12345
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
> zx0 ip #0 40(20) 6 10.2.2.1,10053 > 10.3.3.3,12345
< zx0 ip #0 40(20) 6 10.3.3.3,12346 > 10.1.0.0,23
> zx0 ip #0 40(20) 6 10.2.2.1,10023 > 10.3.3.3,12346
< zx0 ip #0 28(20) 17 10.3.3.3,12345 > 10.2.2.1,10053
> zx0 ip #0 28(20) 17 10.1.1.0,53 > 10.3.3.3,12345
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
> zx0 ip #0 40(20) 6 10.2.2.1,53 > 10.3.3.3,12345
List of active MAP/Redirect filters:
rdr zx0 10.1.1.0/24 port 53 -> 10.2.2.1/32 port 10053 udp
List of active sessions:
RDR 10.2.2.1 10053 <- -> 10.1.1.0 53 [10.3.3.3 12345]
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)
-------------------------------
ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,23
ip #0 40(20) 6 10.2.2.1,10023 > 10.3.3.3,12345
ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,53
ip #0 40(20) 6 10.2.2.1,10053 > 10.3.3.3,12345
ip #0 40(20) 6 10.3.3.3,12346 > 10.1.0.0,23
ip #0 40(20) 6 10.2.2.1,10023 > 10.3.3.3,12346
ip #0 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53
ip #0 28(20) 17 10.2.2.1,10053 > 10.3.3.3,12345
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
ip #0 40(20) 6 10.1.1.1,53 > 10.3.3.3,12345
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,23
> zx0 ip #0 40(20) 6 10.2.2.1,10023 > 10.3.3.3,12345
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,53
> zx0 ip #0 40(20) 6 10.2.2.1,10053 > 10.3.3.3,12345
< zx0 ip #0 40(20) 6 10.3.3.3,12346 > 10.1.0.0,23
> zx0 ip #0 40(20) 6 10.2.2.1,10023 > 10.3.3.3,12346
< zx0 ip #0 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53
> zx0 ip #0 28(20) 17 10.2.2.1,10053 > 10.3.3.3,12345
16
> zx0 ip #0 40(20) 6 10.1.1.1,53 > 10.3.3.3,12345
List of active MAP/Redirect filters:
rdr zx0 10.1.1.0/24 port 0 -> 10.2.2.1/32 port 0 tcp
List of active sessions:
RDR 10.2.2.1 53 <- -> 10.1.1.1 53 [10.3.3.3 12345]
RDR 10.2.2.1 23 <- -> 10.1.1.1 23 [10.3.3.3 12345]
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)
-------------------------------
ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,23
ip #0 40(20) 6 10.2.2.1,10023 > 10.3.3.3,12345
ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,53
ip #0 40(20) 6 10.2.2.1,10053 > 10.3.3.3,12345
ip #0 40(20) 6 10.3.3.3,12346 > 10.1.0.0,23
ip #0 40(20) 6 10.2.2.1,10023 > 10.3.3.3,12346
ip #0 28(20) 17 10.3.3.3,12345 > 10.2.2.1,53
ip #0 28(20) 17 10.2.2.1,10053 > 10.3.3.3,12345
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
ip #0 40(20) 6 10.1.1.1,53 > 10.3.3.3,12345
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,23
> zx0 ip #0 40(20) 6 10.2.2.1,10023 > 10.3.3.3,12345
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,53
> zx0 ip #0 40(20) 6 10.2.2.1,10053 > 10.3.3.3,12345
< zx0 ip #0 40(20) 6 10.3.3.3,12346 > 10.1.0.0,23
> zx0 ip #0 40(20) 6 10.2.2.1,10023 > 10.3.3.3,12346
< zx0 ip #0 28(20) 17 10.3.3.3,12345 > 10.2.2.1,53
> zx0 ip #0 28(20) 17 10.2.2.1,10053 > 10.3.3.3,12345
16
> zx0 ip #0 40(20) 6 10.1.1.1,53 > 10.3.3.3,12345
List of active MAP/Redirect filters:
rdr zx0 10.1.1.0/24 -> 10.2.2.1/32 ip
List of active sessions:
RDR 10.2.2.1 53 <- -> 10.1.1.0 53 [10.3.3.3 12345]
RDR 10.2.2.1 53 <- -> 10.1.1.1 53 [10.3.3.3 12345]
RDR 10.2.2.1 23 <- -> 10.1.1.1 23 [10.3.3.3 12345]
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)
-------------------------------

190
tests/ipf/expected/n4_6 Normal file
View File

@ -0,0 +1,190 @@
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:0:0:0:0:2:2:1,10023
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,23 > 10:3:3:0:0:0:0:3,12345
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:1,53
> zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:1,10053 > 10:3:3:0:0:0:0:3,12345
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12346 > 10:1:0:0:0:0:0:0,23
> zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:1,10023 > 10:3:3:0:0:0:0:3,12346
< zx0 ip6/0 8 0 17 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:0,53
> zx0 ip6/0 8 0 17 10:0:0:0:0:2:2:1,10053 > 10:3:3:0:0:0:0:3,12345
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:0,53
> zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:1,53 > 10:3:3:0:0:0:0:3,12345
List of active MAP/Redirect filters:
rdr zx0 10:1:1::1/128 port 23 -> 10::2:2:1/128 port 10023 tcp
List of active sessions:
RDR 10::2:2:1 10023 <- -> 10:1:1::1 23 [10:3:3::3 12345]
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)
-------------------------------
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:0:0:0:0:2:2:1,10023
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,23 > 10:3:3:0:0:0:0:3,12345
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:1,53
> zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:1,10053 > 10:3:3:0:0:0:0:3,12345
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12346 > 10:1:0:0:0:0:0:0,23
> zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:1,10023 > 10:3:3:0:0:0:0:3,12346
< zx0 ip6/0 8 0 17 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:0,53
> zx0 ip6/0 8 0 17 10:0:0:0:0:2:2:1,10053 > 10:3:3:0:0:0:0:3,12345
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:0,53
> zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:1,53 > 10:3:3:0:0:0:0:3,12345
List of active MAP/Redirect filters:
rdr zx0 10:1:1::/112 port 23 -> 10::2:2:1/128 port 10023 tcp
List of active sessions:
RDR 10::2:2:1 10023 <- -> 10:1:1::1 23 [10:3:3::3 12345]
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)
-------------------------------
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:0:0:0:0:2:2:1,10023
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,23 > 10:3:3:0:0:0:0:3,12345
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:1,53
> zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:1,10053 > 10:3:3:0:0:0:0:3,12345
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12346 > 10:0:0:0:0:2:2:1,10023
> zx0 ip6/0 20 0 6 10:1:0:0:0:0:0:0,23 > 10:3:3:0:0:0:0:3,12346
< zx0 ip6/0 8 0 17 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:0,53
> zx0 ip6/0 8 0 17 10:0:0:0:0:2:2:1,10053 > 10:3:3:0:0:0:0:3,12345
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:0,53
> zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:1,53 > 10:3:3:0:0:0:0:3,12345
List of active MAP/Redirect filters:
rdr zx0 any port 23 -> 10::2:2:1/128 port 10023 tcp
List of active sessions:
RDR 10::2:2:1 10023 <- -> 10:1:: 23 [10:3:3::3 12346]
RDR 10::2:2:1 10023 <- -> 10:1:1::1 23 [10:3:3::3 12345]
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)
-------------------------------
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:1,23
> zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:1,10023 > 10:3:3:0:0:0:0:3,12345
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:1,53
> zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:1,10053 > 10:3:3:0:0:0:0:3,12345
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12346 > 10:1:0:0:0:0:0:0,23
> zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:1,10023 > 10:3:3:0:0:0:0:3,12346
< zx0 ip6/0 8 0 17 10:3:3:0:0:0:0:3,12345 > 10:0:0:0:0:2:2:1,10053
> zx0 ip6/0 8 0 17 10:1:1:0:0:0:0:0,53 > 10:3:3:0:0:0:0:3,12345
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:0,53
> zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:1,53 > 10:3:3:0:0:0:0:3,12345
List of active MAP/Redirect filters:
rdr zx0 10:1:1::/112 port 53 -> 10::2:2:1/128 port 10053 udp
List of active sessions:
RDR 10::2:2:1 10053 <- -> 10:1:1:: 53 [10:3:3::3 12345]
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)
-------------------------------
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:0:0:0:0:2:2:1,23
> zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:1,10023 > 10:3:3:0:0:0:0:3,12345
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:0:0:0:0:2:2:1,53
> zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:1,10053 > 10:3:3:0:0:0:0:3,12345
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12346 > 10:1:0:0:0:0:0:0,23
> zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:1,10023 > 10:3:3:0:0:0:0:3,12346
< zx0 ip6/0 8 0 17 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:0,53
> zx0 ip6/0 8 0 17 10:0:0:0:0:2:2:1,10053 > 10:3:3:0:0:0:0:3,12345
18
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,53 > 10:3:3:0:0:0:0:3,12345
List of active MAP/Redirect filters:
rdr zx0 10:1:1::/112 port 0 -> 10::2:2:1/128 port 0 tcp
List of active sessions:
RDR 10::2:2:1 53 <- -> 10:1:1::1 53 [10:3:3::3 12345]
RDR 10::2:2:1 23 <- -> 10:1:1::1 23 [10:3:3::3 12345]
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)
-------------------------------
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:0:0:0:0:2:2:1,23
> zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:1,10023 > 10:3:3:0:0:0:0:3,12345
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:0:0:0:0:2:2:1,53
> zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:1,10053 > 10:3:3:0:0:0:0:3,12345
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12346 > 10:1:0:0:0:0:0:0,23
> zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:1,10023 > 10:3:3:0:0:0:0:3,12346
< zx0 ip6/0 8 0 17 10:3:3:0:0:0:0:3,12345 > 10:0:0:0:0:2:2:1,53
> zx0 ip6/0 8 0 17 10:0:0:0:0:2:2:1,10053 > 10:3:3:0:0:0:0:3,12345
18
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,53 > 10:3:3:0:0:0:0:3,12345
List of active MAP/Redirect filters:
rdr zx0 10:1:1::/112 -> 10::2:2:1/128 ip
List of active sessions:
RDR 10::2:2:1 53 <- -> 10:1:1:: 53 [10:3:3::3 12345]
RDR 10::2:2:1 53 <- -> 10:1:1::1 53 [10:3:3::3 12345]
RDR 10::2:2:1 23 <- -> 10:1:1::1 23 [10:3:3::3 12345]
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)
-------------------------------

View File

@ -1,330 +1,533 @@
ip #0 20(20) 255 10.1.1.0 > 10.1.1.2
ip #0 20(20) 255 10.2.2.2 > 10.1.1.2
ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
ip #0 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025
ip #0 20(20) 255 10.2.2.1 > 10.1.2.1
ip #0 20(20) 255 10.2.2.2 > 10.1.2.1
ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
ip #0 20(20) 255 10.2.2.1 > 10.2.1.1
ip #0 20(20) 255 10.2.2.2 > 10.2.1.1
ip #0 20(20) 255 10.2.2.3 > 10.1.1.1
ip #0 20(20) 255 10.2.3.4 > 10.2.2.2
ip #0 20(20) 255 10.1.1.1 > 10.2.2.2
ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
ip #0 20(20) 255 10.1.1.0 > 10.3.4.5
ip #0 20(20) 255 10.1.1.1 > 10.3.4.5
ip #0 20(20) 255 10.1.1.2 > 10.3.4.5
ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,1025
ip #0 48(20) 1 10.2.2.2 > 10.4.3.2
ip #0 48(20) 1 10.4.3.2 > 10.1.1.1
ip #0 48(20) 1 10.4.3.2 > 10.3.4.3
ip #0 48(20) 1 10.4.3.2 > 10.3.4.5
ip #0 20(20) 34 10.1.1.2 > 10.4.3.2
ip #0 20(20) 34 10.4.3.2 > 10.3.4.4
ip #0 20(20) 34 10.1.1.2 > 10.4.3.4
ip #0 20(20) 34 10.4.3.4 > 10.3.4.5
ip #0 20(20) 34 10.1.1.3 > 10.4.3.4
ip #0 20(20) 34 10.4.3.4 > 10.3.4.6
ip #0 20(20) 35 10.1.1.3 > 10.4.3.4
ip #0 20(20) 35 10.4.3.4 > 10.3.4.7
ip #0 40(20) 6 10.2.2.2,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.2.2.2,1025 > 10.1.1.2,1025
ip #0 20(20) 0 10.1.1.0 > 10.1.1.2
ip #0 20(20) 0 10.2.2.2 > 10.1.2.1
ip #0 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025
ip #0 28(20) 17 10.1.1.2,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.1.1.3,2000 > 10.1.2.1,80
ip #0 40(20) 6 10.1.1.3,2001 > 10.1.3.1,80
ip #0 40(20) 6 10.1.1.3,2002 > 10.1.4.1,80
ip #0 40(20) 6 10.1.1.3,2003 > 10.1.4.1,80
ip #0 20(20) 0 10.1.1.1 > 10.1.1.2
ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
ip #0 20(20) 0 10.1.1.2 > 10.1.1.1
ip #0 40(20) 6 10.2.2.2,1026 > 10.3.4.5,40000
ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
ip #0 40(20) 6 10.2.2.2,1025 > 10.3.4.5,40000
ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
ip #0 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
ip #0 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
> 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.3
< 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
> zx0 ip #0 40(20) 6 10.2.2.2,1025 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.2.2.2,1025 > 10.1.1.2,1025
> zx0 ip #0 20(20) 0 10.1.1.0 > 10.1.1.2
> zx0 ip #0 20(20) 0 10.2.2.2 > 10.1.2.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,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 28(20) 17 10.1.1.2,1025 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.1.1.3,2000 > 10.1.2.1,80
> zx0 ip #0 40(20) 6 10.1.1.3,2001 > 10.1.3.1,80
> zx0 ip #0 40(20) 6 10.1.1.3,2002 > 10.1.4.1,80
> zx0 ip #0 40(20) 6 10.1.1.3,2003 > 10.1.4.1,80
< zx0 ip #0 20(20) 0 10.1.1.1 > 10.1.1.2
< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
< zx0 ip #0 20(20) 0 10.1.1.2 > 10.1.1.1
> zx0 ip #0 40(20) 6 10.2.2.2,1026 > 10.3.4.5,40000
< zx0 ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
> zx0 ip #0 40(20) 6 10.2.2.2,1025 > 10.3.4.5,40000
< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
> zx0 ip #0 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
< zx0 ip #0 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
> zx0 ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
< zx0 ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
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 1025 <- -> 10.2.2.2 1025 [10.3.4.5 40000]
MAP 10.1.1.1 1026 <- -> 10.2.2.2 1026 [10.3.4.5 40000]
MAP 10.1.1.1 <- -> 10.2.2.2 [10.1.2.1]
MAP 10.1.1.1 1025 <- -> 10.2.2.2 1025 [10.1.1.2 1025]
MAP 10.1.1.1 1025 <- -> 10.2.2.2 1025 [10.1.1.1 1025]
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.3.4.5 -> 10.2.2.2,0.0.0.0 (use = 2)
10.1.1.1,10.1.2.1 -> 10.2.2.2,0.0.0.0 (use = 1)
10.1.1.1,10.1.1.1 -> 10.2.2.2,0.0.0.0 (use = 1)
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 = 2)
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)
-------------------------------
ip #0 20(20) 255 10.3.4.5 > 10.1.1.2
ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
ip #0 20(20) 255 10.3.4.5 > 10.1.1.1
ip #0 40(20) 6 10.3.4.5,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.3.4.5,1026 > 10.1.1.1,1025
ip #0 20(20) 255 10.2.2.1 > 10.1.2.1
ip #0 20(20) 255 10.2.2.2 > 10.1.2.1
ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
ip #0 20(20) 255 10.2.2.1 > 10.2.1.1
ip #0 20(20) 255 10.2.2.2 > 10.2.1.1
ip #0 20(20) 255 10.2.2.3 > 10.1.1.1
ip #0 20(20) 255 10.2.3.4 > 10.2.2.2
ip #0 20(20) 255 10.1.1.1 > 10.2.2.2
ip #0 20(20) 255 10.1.1.2 > 10.2.2.2
ip #0 20(20) 255 10.1.1.0 > 10.3.4.5
ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
ip #0 20(20) 255 10.1.1.2 > 10.1.1.0
ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
ip #0 48(20) 1 10.1.1.1 > 10.4.3.2
ip #0 48(20) 1 10.4.3.2 > 10.2.2.2
ip #0 48(20) 1 10.4.3.2 > 10.3.4.3
ip #0 48(20) 1 10.4.3.2 > 10.3.4.5
ip #0 20(20) 34 10.1.1.2 > 10.4.3.2
ip #0 20(20) 34 10.4.3.2 > 10.3.4.4
ip #0 20(20) 34 10.1.1.2 > 10.4.3.4
ip #0 20(20) 34 10.4.3.4 > 10.3.4.5
ip #0 20(20) 34 10.1.1.3 > 10.4.3.4
ip #0 20(20) 34 10.4.3.4 > 10.3.4.6
ip #0 20(20) 35 10.1.1.3 > 10.4.3.4
ip #0 20(20) 35 10.4.3.4 > 10.3.4.7
ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.3.4.5,1025 > 10.1.1.2,1025
ip #0 20(20) 0 10.3.4.5 > 10.1.1.2
ip #0 20(20) 0 10.3.4.5 > 10.1.2.1
ip #0 40(20) 6 10.3.4.5,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.3.4.5,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.3.4.5,1026 > 10.1.1.1,1025
ip #0 28(20) 17 10.3.4.5,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.3.4.5,2000 > 10.1.2.1,80
ip #0 40(20) 6 10.3.4.5,2001 > 10.1.3.1,80
ip #0 40(20) 6 10.3.4.5,2002 > 10.1.4.1,80
ip #0 40(20) 6 10.3.4.5,2003 > 10.1.4.1,80
ip #0 20(20) 0 10.1.1.1 > 10.1.1.2
ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
ip #0 20(20) 0 10.1.1.2 > 10.1.1.1
ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
ip #0 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
ip #0 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
> 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.1.1.1 > 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.3
< 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
15
> zx0 ip #0 40(20) 6 10.3.4.5,1025 > 10.1.1.2,1025
> zx0 ip #0 20(20) 0 10.3.4.5 > 10.1.1.2
> zx0 ip #0 20(20) 0 10.3.4.5 > 10.1.2.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,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 28(20) 17 10.3.4.5,1025 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.3.4.5,2000 > 10.1.2.1,80
> zx0 ip #0 40(20) 6 10.3.4.5,2001 > 10.1.3.1,80
> zx0 ip #0 40(20) 6 10.3.4.5,2002 > 10.1.4.1,80
> zx0 ip #0 40(20) 6 10.3.4.5,2003 > 10.1.4.1,80
< zx0 ip #0 20(20) 0 10.1.1.1 > 10.1.1.2
< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
< zx0 ip #0 20(20) 0 10.1.1.2 > 10.1.1.1
> zx0 ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
< zx0 ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
> zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
> zx0 ip #0 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
< zx0 ip #0 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
> zx0 ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
< zx0 ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
List of active MAP/Redirect filters:
map zx0 from 10.1.1.0/24 to 10.1.0.0/16 -> 10.3.4.5/32
List of active sessions:
MAP 10.1.1.3 2003 <- -> 10.3.4.5 2003 [10.1.4.1 80]
MAP 10.1.1.3 2002 <- -> 10.3.4.5 2002 [10.1.4.1 80]
MAP 10.1.1.3 2001 <- -> 10.3.4.5 2001 [10.1.3.1 80]
MAP 10.1.1.3 2000 <- -> 10.3.4.5 2000 [10.1.2.1 80]
MAP 10.1.1.2 1025 <- -> 10.3.4.5 1025 [10.1.1.1 1025]
MAP 10.1.1.1 <- -> 10.3.4.5 [10.1.2.1]
MAP 10.1.1.0 <- -> 10.3.4.5 [10.1.1.2]
MAP 10.1.1.1 1025 <- -> 10.3.4.5 1025 [10.1.1.2 1025]
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.1.4.1 -> 10.3.4.5,0.0.0.0 (use = 2)
10.1.1.3,10.1.3.1 -> 10.3.4.5,0.0.0.0 (use = 1)
10.1.1.3,10.1.2.1 -> 10.3.4.5,0.0.0.0 (use = 1)
10.1.1.1,10.1.2.1 -> 10.3.4.5,0.0.0.0 (use = 1)
10.1.1.1,10.1.1.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 = 4)
10.1.1.0,10.1.1.2 -> 10.3.4.5,0.0.0.0 (use = 2)
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)
-------------------------------
ip #0 20(20) 255 10.1.1.0 > 10.1.1.2
ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
ip #0 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025
ip #0 20(20) 255 10.2.2.1 > 10.1.2.1
ip #0 20(20) 255 10.2.2.2 > 10.1.2.1
ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
ip #0 20(20) 255 10.2.2.1 > 10.2.1.1
ip #0 20(20) 255 10.2.2.2 > 10.2.1.1
ip #0 20(20) 255 10.2.2.3 > 10.1.1.1
ip #0 20(20) 255 10.2.3.4 > 10.2.2.2
ip #0 20(20) 255 10.1.1.1 > 10.2.2.2
ip #0 20(20) 255 10.1.1.2 > 10.2.2.2
ip #0 20(20) 255 10.1.1.0 > 10.3.4.5
ip #0 20(20) 255 10.1.1.1 > 10.3.4.5
ip #0 20(20) 255 10.1.1.2 > 10.3.4.5
ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,1025
ip #0 48(20) 1 10.3.4.1 > 10.4.3.2
ip #0 48(20) 1 10.4.3.2 > 10.2.2.2
ip #0 48(20) 1 10.4.3.2 > 10.3.4.3
ip #0 48(20) 1 10.4.3.2 > 10.3.4.5
ip #0 20(20) 34 10.3.4.1 > 10.4.3.2
ip #0 20(20) 34 10.4.3.2 > 10.3.4.4
ip #0 20(20) 34 10.3.4.1 > 10.4.3.4
ip #0 20(20) 34 10.4.3.4 > 10.3.4.5
ip #0 20(20) 34 10.3.4.2 > 10.4.3.4
ip #0 20(20) 34 10.4.3.4 > 10.3.4.6
ip #0 20(20) 35 10.3.4.2 > 10.4.3.4
ip #0 20(20) 35 10.4.3.4 > 10.3.4.7
ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
ip #0 20(20) 0 10.1.1.0 > 10.1.1.2
ip #0 20(20) 0 10.1.1.1 > 10.1.2.1
ip #0 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025
ip #0 28(20) 17 10.1.1.2,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.1.1.3,2000 > 10.1.2.1,80
ip #0 40(20) 6 10.1.1.3,2001 > 10.1.3.1,80
ip #0 40(20) 6 10.1.1.3,2002 > 10.1.4.1,80
ip #0 40(20) 6 10.1.1.3,2003 > 10.1.4.1,80
ip #0 20(20) 0 10.1.1.1 > 10.1.1.2
ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
ip #0 20(20) 0 10.1.1.2 > 10.1.1.1
ip #0 40(20) 6 10.3.4.3,1026 > 10.3.4.5,40000
ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
ip #0 40(20) 6 10.3.4.3,1025 > 10.3.4.5,40000
ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
ip #0 28(20) 17 10.3.4.3,1025 > 10.3.4.5,40001
ip #0 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
> zx0 ip #0 20(20) 255 10.1.1.0 > 10.1.1.2
> 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 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.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.1 > 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.3
< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.5
> zx0 ip #0 20(20) 34 10.3.4.1 > 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.1 > 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.2 > 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.2 > 10.4.3.4
< zx0 ip #0 20(20) 35 10.4.3.4 > 10.3.4.7
> zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
> zx0 ip #0 20(20) 0 10.1.1.0 > 10.1.1.2
> zx0 ip #0 20(20) 0 10.1.1.1 > 10.1.2.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,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 28(20) 17 10.1.1.2,1025 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.1.1.3,2000 > 10.1.2.1,80
> zx0 ip #0 40(20) 6 10.1.1.3,2001 > 10.1.3.1,80
> zx0 ip #0 40(20) 6 10.1.1.3,2002 > 10.1.4.1,80
> zx0 ip #0 40(20) 6 10.1.1.3,2003 > 10.1.4.1,80
< zx0 ip #0 20(20) 0 10.1.1.1 > 10.1.1.2
< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
< zx0 ip #0 20(20) 0 10.1.1.2 > 10.1.1.1
> zx0 ip #0 40(20) 6 10.3.4.3,1026 > 10.3.4.5,40000
< zx0 ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
> zx0 ip #0 40(20) 6 10.3.4.3,1025 > 10.3.4.5,40000
< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
> zx0 ip #0 28(20) 17 10.3.4.3,1025 > 10.3.4.5,40001
< zx0 ip #0 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
> zx0 ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
< zx0 ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
List of active MAP/Redirect filters:
map zx0 from 10.1.1.0/24 ! to 10.1.0.0/16 -> 10.3.4.0/24
List of active sessions:
MAP 10.1.1.2 1025 <- -> 10.3.4.3 1025 [10.3.4.5 40001]
MAP 10.1.1.1 1025 <- -> 10.3.4.3 1025 [10.3.4.5 40000]
MAP 10.1.1.1 1026 <- -> 10.3.4.3 1026 [10.3.4.5 40000]
MAP 10.1.1.3 <- -> 10.3.4.2 [10.4.3.4]
MAP 10.1.1.3 <- -> 10.3.4.2 [10.4.3.4]
MAP 10.1.1.2 <- -> 10.3.4.1 [10.4.3.4]
MAP 10.1.1.2 <- -> 10.3.4.1 [10.4.3.2]
MAP 10.1.1.1 <- -> 10.3.4.1 [10.4.3.2]
Hostmap table:
10.1.1.2,10.3.4.5 -> 10.3.4.3,0.0.0.0 (use = 1)
10.1.1.1,10.3.4.5 -> 10.3.4.3,0.0.0.0 (use = 2)
10.1.1.3,10.4.3.4 -> 10.3.4.2,0.0.0.0 (use = 2)
10.1.1.2,10.4.3.4 -> 10.3.4.1,0.0.0.0 (use = 1)
10.1.1.2,10.4.3.2 -> 10.3.4.1,0.0.0.0 (use = 1)
10.1.1.1,10.4.3.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)
-------------------------------
ip #0 20(20) 255 10.1.1.0 > 10.1.1.2
ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
ip #0 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025
ip #0 20(20) 255 10.2.2.1 > 10.1.2.1
ip #0 20(20) 255 10.2.2.2 > 10.1.2.1
ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
ip #0 20(20) 255 10.2.2.1 > 10.2.1.1
ip #0 20(20) 255 10.2.2.2 > 10.2.1.1
ip #0 20(20) 255 10.2.2.3 > 10.1.1.1
ip #0 20(20) 255 10.2.3.4 > 10.2.2.2
ip #0 20(20) 255 10.1.1.1 > 10.2.2.2
ip #0 20(20) 255 10.1.1.2 > 10.2.2.2
ip #0 20(20) 255 10.1.1.0 > 10.3.4.5
ip #0 20(20) 255 10.1.1.1 > 10.3.4.5
ip #0 20(20) 255 10.1.1.2 > 10.3.4.5
ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,1025
ip #0 48(20) 1 10.1.1.1 > 10.4.3.2
ip #0 48(20) 1 10.4.3.2 > 10.2.2.2
ip #0 48(20) 1 10.4.3.2 > 10.3.4.3
ip #0 48(20) 1 10.4.3.2 > 10.3.4.5
ip #0 20(20) 34 10.1.1.2 > 10.4.3.2
ip #0 20(20) 34 10.4.3.2 > 10.3.4.4
ip #0 20(20) 34 10.1.1.2 > 10.4.3.4
ip #0 20(20) 34 10.4.3.4 > 10.3.4.5
ip #0 20(20) 34 10.1.1.3 > 10.4.3.4
ip #0 20(20) 34 10.4.3.4 > 10.3.4.6
ip #0 20(20) 35 10.1.1.3 > 10.4.3.4
ip #0 20(20) 35 10.4.3.4 > 10.3.4.7
ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
ip #0 20(20) 0 10.1.1.0 > 10.1.1.2
ip #0 20(20) 0 10.1.1.1 > 10.1.2.1
ip #0 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025
ip #0 28(20) 17 10.3.4.5,10000 > 10.1.1.1,1025
ip #0 40(20) 6 10.1.1.3,2000 > 10.1.2.1,80
ip #0 40(20) 6 10.1.1.3,2001 > 10.1.3.1,80
ip #0 40(20) 6 10.1.1.3,2002 > 10.1.4.1,80
ip #0 40(20) 6 10.1.1.3,2003 > 10.1.4.1,80
ip #0 20(20) 0 10.1.1.1 > 10.1.1.2
ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
ip #0 20(20) 0 10.1.1.2 > 10.1.1.1
ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
ip #0 28(20) 17 10.3.4.5,10001 > 10.3.4.5,40001
ip #0 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
> zx0 ip #0 20(20) 255 10.1.1.0 > 10.1.1.2
> 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 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.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.1.1.1 > 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.3
< 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
> zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
> zx0 ip #0 20(20) 0 10.1.1.0 > 10.1.1.2
> zx0 ip #0 20(20) 0 10.1.1.1 > 10.1.2.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,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 28(20) 17 10.3.4.5,10000 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.1.1.3,2000 > 10.1.2.1,80
> zx0 ip #0 40(20) 6 10.1.1.3,2001 > 10.1.3.1,80
> zx0 ip #0 40(20) 6 10.1.1.3,2002 > 10.1.4.1,80
> zx0 ip #0 40(20) 6 10.1.1.3,2003 > 10.1.4.1,80
< zx0 ip #0 20(20) 0 10.1.1.1 > 10.1.1.2
< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
< zx0 ip #0 20(20) 0 10.1.1.2 > 10.1.1.1
> zx0 ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
< zx0 ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
> zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
> zx0 ip #0 28(20) 17 10.3.4.5,10001 > 10.3.4.5,40001
< zx0 ip #0 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
> zx0 ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
< zx0 ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
List of active MAP/Redirect filters:
map zx0 10.1.1.0/24 -> 10.3.4.5/32 portmap udp 10000:20000
List of active sessions:
MAP 10.1.1.2 1025 <- -> 10.3.4.5 10001 [10.3.4.5 40001]
MAP 10.1.1.2 1025 <- -> 10.3.4.5 10000 [10.1.1.1 1025]
Hostmap table:
10.1.1.2,10.3.4.5 -> 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 = 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)
-------------------------------
ip #0 20(20) 255 10.1.1.0 > 10.1.1.2
ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
ip #0 40(20) 6 10.3.4.1,10000 > 10.1.1.1,1025
ip #0 40(20) 6 10.3.4.1,10001 > 10.1.1.1,1025
ip #0 20(20) 255 10.2.2.1 > 10.1.2.1
ip #0 20(20) 255 10.2.2.2 > 10.1.2.1
ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
ip #0 20(20) 255 10.2.2.1 > 10.2.1.1
ip #0 20(20) 255 10.2.2.2 > 10.2.1.1
ip #0 20(20) 255 10.2.2.3 > 10.1.1.1
ip #0 20(20) 255 10.2.3.4 > 10.2.2.2
ip #0 20(20) 255 10.1.1.1 > 10.2.2.2
ip #0 20(20) 255 10.1.1.2 > 10.2.2.2
ip #0 20(20) 255 10.1.1.0 > 10.3.4.5
ip #0 20(20) 255 10.1.1.1 > 10.3.4.5
ip #0 20(20) 255 10.1.1.2 > 10.3.4.5
ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,1025
ip #0 48(20) 1 10.1.1.1 > 10.4.3.2
ip #0 48(20) 1 10.4.3.2 > 10.2.2.2
ip #0 48(20) 1 10.4.3.2 > 10.3.4.3
ip #0 48(20) 1 10.4.3.2 > 10.3.4.5
ip #0 20(20) 34 10.1.1.2 > 10.4.3.2
ip #0 20(20) 34 10.4.3.2 > 10.3.4.4
ip #0 20(20) 34 10.1.1.2 > 10.4.3.4
ip #0 20(20) 34 10.4.3.4 > 10.3.4.5
ip #0 20(20) 34 10.1.1.3 > 10.4.3.4
ip #0 20(20) 34 10.4.3.4 > 10.3.4.6
ip #0 20(20) 35 10.1.1.3 > 10.4.3.4
ip #0 20(20) 35 10.4.3.4 > 10.3.4.7
ip #0 40(20) 6 10.3.4.1,10002 > 10.1.1.1,1025
ip #0 40(20) 6 10.3.4.1,10003 > 10.1.1.2,1025
ip #0 20(20) 0 10.1.1.0 > 10.1.1.2
ip #0 20(20) 0 10.1.1.1 > 10.1.2.1
ip #0 40(20) 6 10.3.4.1,10000 > 10.1.1.1,1025
ip #0 40(20) 6 10.3.4.1,10000 > 10.1.1.1,1025
ip #0 40(20) 6 10.3.4.1,10001 > 10.1.1.1,1025
ip #0 28(20) 17 10.3.4.1,10004 > 10.1.1.1,1025
ip #0 40(20) 6 10.3.4.1,10005 > 10.1.2.1,80
ip #0 40(20) 6 10.3.4.1,10006 > 10.1.3.1,80
ip #0 40(20) 6 10.3.4.1,10007 > 10.1.4.1,80
ip #0 40(20) 6 10.3.4.1,10008 > 10.1.4.1,80
ip #0 20(20) 0 10.1.1.1 > 10.1.1.2
ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
ip #0 20(20) 0 10.1.1.2 > 10.1.1.1
ip #0 40(20) 6 10.3.4.1,10009 > 10.3.4.5,40000
ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
ip #0 40(20) 6 10.3.4.1,10010 > 10.3.4.5,40000
ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
ip #0 28(20) 17 10.3.4.1,10011 > 10.3.4.5,40001
ip #0 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
ip #0 40(20) 6 10.3.4.1,10012 > 10.3.4.5,40001
ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
> zx0 ip #0 20(20) 255 10.1.1.0 > 10.1.1.2
> 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 40(20) 6 10.3.4.1,10000 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.3.4.1,10001 > 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.1.1.1 > 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.3
< 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
> zx0 ip #0 40(20) 6 10.3.4.1,10002 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.3.4.1,10003 > 10.1.1.2,1025
> zx0 ip #0 20(20) 0 10.1.1.0 > 10.1.1.2
> zx0 ip #0 20(20) 0 10.1.1.1 > 10.1.2.1
> zx0 ip #0 40(20) 6 10.3.4.1,10000 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.3.4.1,10000 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.3.4.1,10001 > 10.1.1.1,1025
> zx0 ip #0 28(20) 17 10.3.4.1,10004 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.3.4.1,10005 > 10.1.2.1,80
> zx0 ip #0 40(20) 6 10.3.4.1,10006 > 10.1.3.1,80
> zx0 ip #0 40(20) 6 10.3.4.1,10007 > 10.1.4.1,80
> zx0 ip #0 40(20) 6 10.3.4.1,10008 > 10.1.4.1,80
< zx0 ip #0 20(20) 0 10.1.1.1 > 10.1.1.2
< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
< zx0 ip #0 20(20) 0 10.1.1.2 > 10.1.1.1
> zx0 ip #0 40(20) 6 10.3.4.1,10009 > 10.3.4.5,40000
< zx0 ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
> zx0 ip #0 40(20) 6 10.3.4.1,10010 > 10.3.4.5,40000
< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000
> zx0 ip #0 28(20) 17 10.3.4.1,10011 > 10.3.4.5,40001
< zx0 ip #0 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
> zx0 ip #0 40(20) 6 10.3.4.1,10012 > 10.3.4.5,40001
< zx0 ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
List of active MAP/Redirect filters:
map zx0 10.1.0.0/16 -> 10.3.4.0/24 portmap tcp/udp 10000:20000
List of active sessions:
MAP 10.1.2.1 80 <- -> 10.3.4.1 10012 [10.3.4.5 40001]
MAP 10.1.1.2 1025 <- -> 10.3.4.1 10011 [10.3.4.5 40001]
MAP 10.1.1.1 1025 <- -> 10.3.4.1 10010 [10.3.4.5 40000]
MAP 10.1.1.1 1026 <- -> 10.3.4.1 10009 [10.3.4.5 40000]
MAP 10.1.1.3 2003 <- -> 10.3.4.1 10008 [10.1.4.1 80]
MAP 10.1.1.3 2002 <- -> 10.3.4.1 10007 [10.1.4.1 80]
MAP 10.1.1.3 2001 <- -> 10.3.4.1 10006 [10.1.3.1 80]
MAP 10.1.1.3 2000 <- -> 10.3.4.1 10005 [10.1.2.1 80]
MAP 10.1.1.2 1025 <- -> 10.3.4.1 10004 [10.1.1.1 1025]
MAP 10.1.1.1 1025 <- -> 10.3.4.1 10003 [10.1.1.2 1025]
MAP 10.1.1.1 1025 <- -> 10.3.4.1 10002 [10.1.1.1 1025]
MAP 10.1.1.2 1026 <- -> 10.3.4.1 10001 [10.1.1.1 1025]
MAP 10.1.1.2 1025 <- -> 10.3.4.1 10000 [10.1.1.1 1025]
Hostmap table:
10.1.2.1,10.3.4.5 -> 10.3.4.1,0.0.0.0 (use = 1)
10.1.1.2,10.3.4.5 -> 10.3.4.1,0.0.0.0 (use = 1)
10.1.1.1,10.3.4.5 -> 10.3.4.1,0.0.0.0 (use = 2)
10.1.1.3,10.1.4.1 -> 10.3.4.1,0.0.0.0 (use = 2)
10.1.1.3,10.1.3.1 -> 10.3.4.1,0.0.0.0 (use = 1)
10.1.1.3,10.1.2.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.1,10.1.1.1 -> 10.3.4.1,0.0.0.0 (use = 1)
10.1.1.2,10.1.1.1 -> 10.3.4.1,0.0.0.0 (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)
-------------------------------
ip #0 20(20) 255 10.1.1.0 > 10.1.1.2
ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
ip #0 40(20) 6 10.3.4.5,40000 > 10.1.1.1,1025
ip #0 40(20) 6 10.3.4.5,40001 > 10.1.1.1,1025
ip #0 20(20) 255 10.2.2.1 > 10.1.2.1
ip #0 20(20) 255 10.2.2.2 > 10.1.2.1
ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
ip #0 20(20) 255 10.2.2.1 > 10.2.1.1
ip #0 20(20) 255 10.2.2.2 > 10.2.1.1
ip #0 20(20) 255 10.2.2.3 > 10.1.1.1
ip #0 20(20) 255 10.2.3.4 > 10.2.2.2
ip #0 20(20) 255 10.1.1.1 > 10.2.2.2
ip #0 20(20) 255 10.1.1.2 > 10.2.2.2
ip #0 20(20) 255 10.1.1.0 > 10.3.4.5
ip #0 20(20) 255 10.1.1.1 > 10.3.4.5
ip #0 20(20) 255 10.1.1.2 > 10.3.4.5
ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,1025
ip #0 48(20) 1 10.1.1.1 > 10.4.3.2
ip #0 48(20) 1 10.4.3.2 > 10.2.2.2
ip #0 48(20) 1 10.4.3.2 > 10.3.4.3
ip #0 48(20) 1 10.4.3.2 > 10.3.4.5
ip #0 20(20) 34 10.1.1.2 > 10.4.3.2
ip #0 20(20) 34 10.4.3.2 > 10.3.4.4
ip #0 20(20) 34 10.1.1.2 > 10.4.3.4
ip #0 20(20) 34 10.4.3.4 > 10.3.4.5
ip #0 20(20) 34 10.1.1.3 > 10.4.3.4
ip #0 20(20) 34 10.4.3.4 > 10.3.4.6
ip #0 20(20) 35 10.1.1.3 > 10.4.3.4
ip #0 20(20) 35 10.4.3.4 > 10.3.4.7
ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.1,1025
ip #0 40(20) 6 10.3.4.5,40000 > 10.1.1.2,1025
ip #0 20(20) 0 10.1.1.0 > 10.1.1.2
ip #0 20(20) 0 10.1.1.1 > 10.1.2.1
ip #0 40(20) 6 10.3.4.5,40000 > 10.1.1.1,1025
ip #0 40(20) 6 10.3.4.5,40000 > 10.1.1.1,1025
ip #0 40(20) 6 10.3.4.5,40001 > 10.1.1.1,1025
ip #0 28(20) 17 10.3.4.5,40001 > 10.1.1.1,1025
ip #0 40(20) 6 10.3.4.5,40000 > 10.1.2.1,80
ip #0 40(20) 6 10.3.4.5,40001 > 10.1.3.1,80
ip #0 40(20) 6 10.3.4.5,40000 > 10.1.4.1,80
ip #0 40(20) 6 10.3.4.5,40001 > 10.1.4.1,80
ip #0 20(20) 0 10.1.1.1 > 10.1.1.2
ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
ip #0 20(20) 0 10.1.1.2 > 10.1.1.1
ip #0 40(20) 6 10.3.4.5,40000 > 10.3.4.5,40000
ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
ip #0 40(20) 6 10.3.4.5,40001 > 10.3.4.5,40000
ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
ip #0 28(20) 17 10.3.4.5,40000 > 10.3.4.5,40001
ip #0 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
> zx0 ip #0 20(20) 255 10.1.1.0 > 10.1.1.2
> 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 40(20) 6 10.3.4.5,40000 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.3.4.5,40001 > 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.1.1.1 > 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.3
< 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
15
> zx0 ip #0 40(20) 6 10.3.4.5,40000 > 10.1.1.2,1025
> zx0 ip #0 20(20) 0 10.1.1.0 > 10.1.1.2
> zx0 ip #0 20(20) 0 10.1.1.1 > 10.1.2.1
> zx0 ip #0 40(20) 6 10.3.4.5,40000 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.3.4.5,40000 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.3.4.5,40001 > 10.1.1.1,1025
> zx0 ip #0 28(20) 17 10.3.4.5,40001 > 10.1.1.1,1025
> zx0 ip #0 40(20) 6 10.3.4.5,40000 > 10.1.2.1,80
> zx0 ip #0 40(20) 6 10.3.4.5,40001 > 10.1.3.1,80
> zx0 ip #0 40(20) 6 10.3.4.5,40000 > 10.1.4.1,80
> zx0 ip #0 40(20) 6 10.3.4.5,40001 > 10.1.4.1,80
< zx0 ip #0 20(20) 0 10.1.1.1 > 10.1.1.2
< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
< zx0 ip #0 20(20) 0 10.1.1.2 > 10.1.1.1
> zx0 ip #0 40(20) 6 10.3.4.5,40000 > 10.3.4.5,40000
< zx0 ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000
> zx0 ip #0 40(20) 6 10.3.4.5,40001 > 10.3.4.5,40000
< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
> zx0 ip #0 28(20) 17 10.3.4.5,40000 > 10.3.4.5,40001
< zx0 ip #0 28(20) 17 10.1.1.2,1025 > 10.3.4.5,40001
> zx0 ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
< zx0 ip #0 40(20) 6 10.1.2.1,80 > 10.3.4.5,40001
List of active MAP/Redirect filters:
map zx0 10.1.1.0/24 -> 10.3.4.5/32 portmap tcp/udp 40000:40001
List of active sessions:
MAP 10.1.1.2 1025 <- -> 10.3.4.5 40000 [10.3.4.5 40001]
MAP 10.1.1.1 1025 <- -> 10.3.4.5 40001 [10.3.4.5 40000]
MAP 10.1.1.1 1026 <- -> 10.3.4.5 40000 [10.3.4.5 40000]
MAP 10.1.1.3 2003 <- -> 10.3.4.5 40001 [10.1.4.1 80]
MAP 10.1.1.3 2002 <- -> 10.3.4.5 40000 [10.1.4.1 80]
MAP 10.1.1.3 2001 <- -> 10.3.4.5 40001 [10.1.3.1 80]
MAP 10.1.1.3 2000 <- -> 10.3.4.5 40000 [10.1.2.1 80]
MAP 10.1.1.2 1025 <- -> 10.3.4.5 40001 [10.1.1.1 1025]
MAP 10.1.1.1 1025 <- -> 10.3.4.5 40000 [10.1.1.2 1025]
MAP 10.1.1.2 1026 <- -> 10.3.4.5 40001 [10.1.1.1 1025]
MAP 10.1.1.2 1025 <- -> 10.3.4.5 40000 [10.1.1.1 1025]
Hostmap table:
10.1.1.2,10.3.4.5 -> 10.3.4.5,0.0.0.0 (use = 1)
10.1.1.1,10.3.4.5 -> 10.3.4.5,0.0.0.0 (use = 2)
10.1.1.3,10.1.4.1 -> 10.3.4.5,0.0.0.0 (use = 2)
10.1.1.3,10.1.3.1 -> 10.3.4.5,0.0.0.0 (use = 1)
10.1.1.3,10.1.2.1 -> 10.3.4.5,0.0.0.0 (use = 1)
10.1.1.1,10.1.1.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)
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)
-------------------------------

533
tests/ipf/expected/n5_6 Normal file
View File

@ -0,0 +1,533 @@
> 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 10:0:0:0:0:2:2:2 > 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 20 0 6 10:1:1:0:0:0:0:2,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:2,1026 > 10:1:1:0:0:0:0:1,1025
> 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:1:1:0:0:0:0:1
< 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
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:0:0:0:0:3:4:5,1025
> zx0 ip6/0 88 0 58 10:0:0:0:0:2:2:2 > 10:4:3:0:0:0:0:2
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:1:1:0:0:0:0:1
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:3
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:5
> zx0 ip6/0 1 0 34 10:1:1:0:0:0:0:2 > 10:4:3:0:0:0:0:2
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:4
> zx0 ip6/0 1 0 34 10:1:1:0:0:0:0:2 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:5
> zx0 ip6/0 1 0 34 10:1:1:0:0:0:0:3 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:6
> zx0 ip6/0 1 0 35 10:1:1:0:0:0:0:3 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 35 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:7
> zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,1025 > 10:1:1:0:0:0:0:2,1025
> zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:0 > 10:1:1:0:0:0:0:2
> zx0 ip6/0 1 0 41 10:0:0:0:0:2:2:2 > 10:1:2:0:0:0:0:1
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:2,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:2,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:2,1026 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 8 0 17 10:1:1:0:0:0:0:2,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:3,2000 > 10:1:2:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:3,2001 > 10:1:3:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:3,2002 > 10:1:4:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:3,2003 > 10:1:4:0:0:0:0:1,80
< zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:1 > 10:1:1:0:0:0:0:2
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:1:1:0:0:0:0:2,1025
< zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:2 > 10:1:1:0:0:0:0:1
> zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,1026 > 10:0:0:0:0:3:4:5,40000
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1026 > 10:0:0:0:0:3:4:5,40000
> zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,1025 > 10:0:0:0:0:3:4:5,40000
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:0:0:0:0:3:4:5,40000
> zx0 ip6/0 8 0 17 10:1:1:0:0:0:0:2,1025 > 10:0:0:0:0:3:4:5,40001
< zx0 ip6/0 8 0 17 10:1:1:0:0:0:0:2,1025 > 10:0:0:0:0:3:4:5,40001
> zx0 ip6/0 20 0 6 10:1:2:0:0:0:0:1,80 > 10:0:0:0:0:3:4:5,40001
< zx0 ip6/0 20 0 6 10:1:2:0:0:0:0:1,80 > 10:0:0:0:0:3:4:5,40001
List of active MAP/Redirect filters:
map zx0 10:1:1::1/128 -> 10::2:2:2/128
List of active sessions:
MAP 10:1:1::1 1025 <- -> 10::2:2:2 1025 [10::3:4:5 40000]
MAP 10:1:1::1 1026 <- -> 10::2:2:2 1026 [10::3:4:5 40000]
MAP 10:1:1::1 <- -> 10::2:2:2 [10:1:2::1]
MAP 10:1:1::1 1025 <- -> 10::2:2:2 1025 [10:1:1::2 1025]
MAP 10:1:1::1 1025 <- -> 10::2:2:2 1025 [10:1:1::1 1025]
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::3:4:5 -> 10::2:2:2,any (use = 2)
10:1:1::1,10:1:2::1 -> 10::2:2:2,any (use = 1)
10:1:1::1,10:1:1::1 -> 10::2:2:2,any (use = 1)
10:1:1::1,10:4:3::2 -> 10::2:2:2,any (use = 1)
10:1:1::1,10:1:1::2 -> 10::2:2:2,any (use = 2)
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:5 > 10:1:1:0:0:0:0:2
17
> zx0 ip6/0 1 0 255 10:0:0:0:0:3:4:5 > 10:1:1:0:0:0:0:1
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,1026 > 10:1:1:0:0:0:0:1,1025
> 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: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 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:1:1:0:0:0:0:2,1025
> zx0 ip6/0 88 0 58 10:1:1:0:0:0:0:1 > 10:4:3:0:0:0:0:2
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:2:2:2
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:3
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:5
> zx0 ip6/0 1 0 34 10:1:1:0:0:0:0:2 > 10:4:3:0:0:0:0:2
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:4
> zx0 ip6/0 1 0 34 10:1:1:0:0:0:0:2 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:5
> zx0 ip6/0 1 0 34 10:1:1:0:0:0:0:3 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:6
> zx0 ip6/0 1 0 35 10:1:1:0:0:0:0:3 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 35 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:7
17
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,1025 > 10:1:1:0:0:0:0:2,1025
> zx0 ip6/0 1 0 41 10:0:0:0:0:3:4:5 > 10:1:1:0:0:0:0:2
> zx0 ip6/0 1 0 41 10:0:0:0:0:3:4:5 > 10:1:2:0:0:0:0:1
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,1026 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 8 0 17 10:0:0:0:0:3:4:5,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,2000 > 10:1:2:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,2001 > 10:1:3:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,2002 > 10:1:4:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,2003 > 10:1:4:0:0:0:0:1,80
< zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:1 > 10:1:1:0:0:0:0:2
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:1:1:0:0:0:0:2,1025
< zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:2 > 10:1:1:0:0:0:0:1
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1026 > 10:0:0:0:0:3:4:5,40000
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1026 > 10:0:0:0:0:3:4:5,40000
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:0:0:0:0:3:4:5,40000
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:0:0:0:0:3:4:5,40000
> zx0 ip6/0 8 0 17 10:1:1:0:0:0:0:2,1025 > 10:0:0:0:0:3:4:5,40001
< zx0 ip6/0 8 0 17 10:1:1:0:0:0:0:2,1025 > 10:0:0:0:0:3:4:5,40001
> zx0 ip6/0 20 0 6 10:1:2:0:0:0:0:1,80 > 10:0:0:0:0:3:4:5,40001
< zx0 ip6/0 20 0 6 10:1:2:0:0:0:0:1,80 > 10:0:0:0:0:3:4:5,40001
List of active MAP/Redirect filters:
map zx0 from 10:1:1::/112 to 10:1::/32 -> 10::3:4:5/128
List of active sessions:
MAP 10:1:1::3 2003 <- -> 10::3:4:5 2003 [10:1:4::1 80]
MAP 10:1:1::3 2002 <- -> 10::3:4:5 2002 [10:1:4::1 80]
MAP 10:1:1::3 2001 <- -> 10::3:4:5 2001 [10:1:3::1 80]
MAP 10:1:1::3 2000 <- -> 10::3:4:5 2000 [10:1:2::1 80]
MAP 10:1:1::2 1025 <- -> 10::3:4:5 1025 [10:1:1::1 1025]
MAP 10:1:1::1 <- -> 10::3:4:5 [10:1:2::1]
MAP 10:1:1:: <- -> 10::3:4:5 [10:1:1::2]
MAP 10:1:1::1 1025 <- -> 10::3:4:5 1025 [10:1:1::2 1025]
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:: <- -> 10::3:4:5 [10:1:1::2]
Hostmap table:
10:1:1::3,10:1:4::1 -> 10::3:4:5,any (use = 2)
10:1:1::3,10:1:3::1 -> 10::3:4:5,any (use = 1)
10:1:1::3,10:1:2::1 -> 10::3:4:5,any (use = 1)
10:1:1::1,10:1:2::1 -> 10::3:4:5,any (use = 1)
10:1:1::1,10:1:1::2 -> 10::3:4:5,any (use = 1)
10:1:1::2,10:1:1::1 -> 10::3:4:5,any (use = 4)
10:1:1::,10:1:1::2 -> 10::3:4:5,any (use = 2)
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:1:1:0:0:0:0:0 > 10:1:1:0:0:0:0:2
> 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 20 0 6 10:1:1:0:0:0:0:2,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:2,1026 > 10:1:1:0:0:0:0:1,1025
> 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
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:0:0:0:0:3:4:5,1025
> zx0 ip6/0 88 0 58 10:0:0:0:0:3:4:1 > 10:4:3:0:0:0:0:2
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:2:2:2
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:3
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:5
> zx0 ip6/0 1 0 34 10:0:0:0:0:3:4:1 > 10:4:3:0:0:0:0:2
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:4
> zx0 ip6/0 1 0 34 10:0:0:0:0:3:4:1 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:5
> zx0 ip6/0 1 0 34 10:0:0:0:0:3:4:2 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:6
> zx0 ip6/0 1 0 35 10:0:0:0:0:3:4:2 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 35 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:7
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:1:1:0:0:0:0:2,1025
> zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:0 > 10:1:1:0:0:0:0:2
> zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:1 > 10:1:2:0:0:0:0:1
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:2,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:2,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:2,1026 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 8 0 17 10:1:1:0:0:0:0:2,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:3,2000 > 10:1:2:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:3,2001 > 10:1:3:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:3,2002 > 10:1:4:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:3,2003 > 10:1:4:0:0:0:0:1,80
< zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:1 > 10:1:1:0:0:0:0:2
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:1:1:0:0:0:0:2,1025
< zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:2 > 10:1:1:0:0:0:0:1
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:3,1026 > 10:0:0:0:0:3:4:5,40000
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1026 > 10:0:0:0:0:3:4:5,40000
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:3,1025 > 10:0:0:0:0:3:4:5,40000
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:0:0:0:0:3:4:5,40000
> zx0 ip6/0 8 0 17 10:0:0:0:0:3:4:3,1025 > 10:0:0:0:0:3:4:5,40001
< zx0 ip6/0 8 0 17 10:1:1:0:0:0:0:2,1025 > 10:0:0:0:0:3:4:5,40001
> zx0 ip6/0 20 0 6 10:1:2:0:0:0:0:1,80 > 10:0:0:0:0:3:4:5,40001
< zx0 ip6/0 20 0 6 10:1:2:0:0:0:0:1,80 > 10:0:0:0:0:3:4:5,40001
List of active MAP/Redirect filters:
map zx0 from 10:1:1::/112 ! to 10:1::/32 -> 10::3:4:0/112
List of active sessions:
MAP 10:1:1::2 1025 <- -> 10::3:4:3 1025 [10::3:4:5 40001]
MAP 10:1:1::1 1025 <- -> 10::3:4:3 1025 [10::3:4:5 40000]
MAP 10:1:1::1 1026 <- -> 10::3:4:3 1026 [10::3:4:5 40000]
MAP 10:1:1::3 <- -> 10::3:4:2 [10:4:3::4]
MAP 10:1:1::3 <- -> 10::3:4:2 [10:4:3::4]
MAP 10:1:1::2 <- -> 10::3:4:1 [10:4:3::4]
MAP 10:1:1::2 <- -> 10::3:4:1 [10:4:3::2]
MAP 10:1:1::1 <- -> 10::3:4:1 [10:4:3::2]
Hostmap table:
10:1:1::2,10::3:4:5 -> 10::3:4:3,any (use = 1)
10:1:1::1,10::3:4:5 -> 10::3:4:3,any (use = 2)
10:1:1::3,10:4:3::4 -> 10::3:4:2,any (use = 2)
10:1:1::2,10:4:3::4 -> 10::3:4:1,any (use = 1)
10:1:1::2,10:4:3::2 -> 10::3:4:1,any (use = 1)
10:1:1::1,10:4:3::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)
-------------------------------
> 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 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 20 0 6 10:1:1:0:0:0:0:2,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:2,1026 > 10:1:1:0:0:0:0:1,1025
> 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
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:0:0:0:0:3:4:5,1025
> zx0 ip6/0 88 0 58 10:1:1:0:0:0:0:1 > 10:4:3:0:0:0:0:2
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:2:2:2
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:3
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:5
> zx0 ip6/0 1 0 34 10:1:1:0:0:0:0:2 > 10:4:3:0:0:0:0:2
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:4
> zx0 ip6/0 1 0 34 10:1:1:0:0:0:0:2 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:5
> zx0 ip6/0 1 0 34 10:1:1:0:0:0:0:3 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:6
> zx0 ip6/0 1 0 35 10:1:1:0:0:0:0:3 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 35 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:7
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:1:1:0:0:0:0:2,1025
> zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:0 > 10:1:1:0:0:0:0:2
> zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:1 > 10:1:2:0:0:0:0:1
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:2,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:2,1025 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:2,1026 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 8 0 17 10:0:0:0:0:3:4:5,10000 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:3,2000 > 10:1:2:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:3,2001 > 10:1:3:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:3,2002 > 10:1:4:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:3,2003 > 10:1:4:0:0:0:0:1,80
< zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:1 > 10:1:1:0:0:0:0:2
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:1:1:0:0:0:0:2,1025
< zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:2 > 10:1:1:0:0:0:0:1
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1026 > 10:0:0:0:0:3:4:5,40000
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1026 > 10:0:0:0:0:3:4:5,40000
> zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:0:0:0:0:3:4:5,40000
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:0:0:0:0:3:4:5,40000
> zx0 ip6/0 8 0 17 10:0:0:0:0:3:4:5,10001 > 10:0:0:0:0:3:4:5,40001
< zx0 ip6/0 8 0 17 10:1:1:0:0:0:0:2,1025 > 10:0:0:0:0:3:4:5,40001
> zx0 ip6/0 20 0 6 10:1:2:0:0:0:0:1,80 > 10:0:0:0:0:3:4:5,40001
< zx0 ip6/0 20 0 6 10:1:2:0:0:0:0:1,80 > 10:0:0:0:0:3:4:5,40001
List of active MAP/Redirect filters:
map zx0 10:1:1::/112 -> 10::3:4:5/128 portmap udp 10000:20000
List of active sessions:
MAP 10:1:1::2 1025 <- -> 10::3:4:5 10001 [10::3:4:5 40001]
MAP 10:1:1::2 1025 <- -> 10::3:4:5 10000 [10:1:1::1 1025]
Hostmap table:
10:1:1::2,10::3:4:5 -> 10::3:4:5,any (use = 1)
10:1:1::2,10:1:1::1 -> 10::3:4:5,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:1:1:0:0:0:0:0 > 10:1:1:0:0:0:0:2
> 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 20 0 6 10:0:0:0:0:3:4:1,10000 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:1,10001 > 10:1:1:0:0:0:0:1,1025
> 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
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:0:0:0:0:3:4:5,1025
> zx0 ip6/0 88 0 58 10:1:1:0:0:0:0:1 > 10:4:3:0:0:0:0:2
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:2:2:2
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:3
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:5
> zx0 ip6/0 1 0 34 10:1:1:0:0:0:0:2 > 10:4:3:0:0:0:0:2
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:4
> zx0 ip6/0 1 0 34 10:1:1:0:0:0:0:2 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:5
> zx0 ip6/0 1 0 34 10:1:1:0:0:0:0:3 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:6
> zx0 ip6/0 1 0 35 10:1:1:0:0:0:0:3 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 35 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:7
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:1,10002 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:1,10003 > 10:1:1:0:0:0:0:2,1025
> zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:0 > 10:1:1:0:0:0:0:2
> zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:1 > 10:1:2:0:0:0:0:1
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:1,10000 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:1,10000 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:1,10001 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 8 0 17 10:0:0:0:0:3:4:1,10004 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:1,10005 > 10:1:2:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:1,10006 > 10:1:3:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:1,10007 > 10:1:4:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:1,10008 > 10:1:4:0:0:0:0:1,80
< zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:1 > 10:1:1:0:0:0:0:2
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:1:1:0:0:0:0:2,1025
< zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:2 > 10:1:1:0:0:0:0:1
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:1,10009 > 10:0:0:0:0:3:4:5,40000
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1026 > 10:0:0:0:0:3:4:5,40000
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:1,10010 > 10:0:0:0:0:3:4:5,40000
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:0:0:0:0:3:4:5,40000
> zx0 ip6/0 8 0 17 10:0:0:0:0:3:4:1,10011 > 10:0:0:0:0:3:4:5,40001
< zx0 ip6/0 8 0 17 10:1:1:0:0:0:0:2,1025 > 10:0:0:0:0:3:4:5,40001
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:1,10012 > 10:0:0:0:0:3:4:5,40001
< zx0 ip6/0 20 0 6 10:1:2:0:0:0:0:1,80 > 10:0:0:0:0:3:4:5,40001
List of active MAP/Redirect filters:
map zx0 10:1::/32 -> 10::3:4:0/112 portmap tcp/udp 10000:20000
List of active sessions:
MAP 10:1:2::1 80 <- -> 10::3:4:1 10012 [10::3:4:5 40001]
MAP 10:1:1::2 1025 <- -> 10::3:4:1 10011 [10::3:4:5 40001]
MAP 10:1:1::1 1025 <- -> 10::3:4:1 10010 [10::3:4:5 40000]
MAP 10:1:1::1 1026 <- -> 10::3:4:1 10009 [10::3:4:5 40000]
MAP 10:1:1::3 2003 <- -> 10::3:4:1 10008 [10:1:4::1 80]
MAP 10:1:1::3 2002 <- -> 10::3:4:1 10007 [10:1:4::1 80]
MAP 10:1:1::3 2001 <- -> 10::3:4:1 10006 [10:1:3::1 80]
MAP 10:1:1::3 2000 <- -> 10::3:4:1 10005 [10:1:2::1 80]
MAP 10:1:1::2 1025 <- -> 10::3:4:1 10004 [10:1:1::1 1025]
MAP 10:1:1::1 1025 <- -> 10::3:4:1 10003 [10:1:1::2 1025]
MAP 10:1:1::1 1025 <- -> 10::3:4:1 10002 [10:1:1::1 1025]
MAP 10:1:1::2 1026 <- -> 10::3:4:1 10001 [10:1:1::1 1025]
MAP 10:1:1::2 1025 <- -> 10::3:4:1 10000 [10:1:1::1 1025]
Hostmap table:
10:1:2::1,10::3:4:5 -> 10::3:4:1,any (use = 1)
10:1:1::2,10::3:4:5 -> 10::3:4:1,any (use = 1)
10:1:1::1,10::3:4:5 -> 10::3:4:1,any (use = 2)
10:1:1::3,10:1:4::1 -> 10::3:4:1,any (use = 2)
10:1:1::3,10:1:3::1 -> 10::3:4:1,any (use = 1)
10:1:1::3,10:1:2::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::1,10:1:1::1 -> 10::3:4:1,any (use = 1)
10:1:1::2,10:1:1::1 -> 10::3:4:1,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)
-------------------------------
> 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 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 20 0 6 10:0:0:0:0:3:4:5,40000 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,40001 > 10:1:1:0:0:0:0:1,1025
> 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
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:0:0:0:0:3:4:5,1025
> zx0 ip6/0 88 0 58 10:1:1:0:0:0:0:1 > 10:4:3:0:0:0:0:2
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:2:2:2
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:3
< zx0 ip6/0 88 0 58 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:5
> zx0 ip6/0 1 0 34 10:1:1:0:0:0:0:2 > 10:4:3:0:0:0:0:2
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:2 > 10:0:0:0:0:3:4:4
> zx0 ip6/0 1 0 34 10:1:1:0:0:0:0:2 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:5
> zx0 ip6/0 1 0 34 10:1:1:0:0:0:0:3 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 34 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:6
> zx0 ip6/0 1 0 35 10:1:1:0:0:0:0:3 > 10:4:3:0:0:0:0:4
< zx0 ip6/0 1 0 35 10:4:3:0:0:0:0:4 > 10:0:0:0:0:3:4:7
17
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,40000 > 10:1:1:0:0:0:0:2,1025
> zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:0 > 10:1:1:0:0:0:0:2
> zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:1 > 10:1:2:0:0:0:0:1
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,40000 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,40000 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,40001 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 8 0 17 10:0:0:0:0:3:4:5,40001 > 10:1:1:0:0:0:0:1,1025
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,40000 > 10:1:2:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,40001 > 10:1:3:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,40000 > 10:1:4:0:0:0:0:1,80
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,40001 > 10:1:4:0:0:0:0:1,80
< zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:1 > 10:1:1:0:0:0:0:2
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:1:1:0:0:0:0:2,1025
< zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:2 > 10:1:1:0:0:0:0:1
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,40000 > 10:0:0:0:0:3:4:5,40000
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1026 > 10:0:0:0:0:3:4:5,40000
> zx0 ip6/0 20 0 6 10:0:0:0:0:3:4:5,40001 > 10:0:0:0:0:3:4:5,40000
< zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:1:1:0:0:0:0:2,1025
> zx0 ip6/0 8 0 17 10:0:0:0:0:3:4:5,40000 > 10:0:0:0:0:3:4:5,40001
< zx0 ip6/0 8 0 17 10:1:1:0:0:0:0:2,1025 > 10:0:0:0:0:3:4:5,40001
> zx0 ip6/0 20 0 6 10:1:2:0:0:0:0:1,80 > 10:0:0:0:0:3:4:5,40001
< zx0 ip6/0 20 0 6 10:1:2:0:0:0:0:1,80 > 10:0:0:0:0:3:4:5,40001
List of active MAP/Redirect filters:
map zx0 10:1:1::/112 -> 10::3:4:5/128 portmap tcp/udp 40000:40001
List of active sessions:
MAP 10:1:1::2 1025 <- -> 10::3:4:5 40000 [10::3:4:5 40001]
MAP 10:1:1::1 1025 <- -> 10::3:4:5 40001 [10::3:4:5 40000]
MAP 10:1:1::1 1026 <- -> 10::3:4:5 40000 [10::3:4:5 40000]
MAP 10:1:1::3 2003 <- -> 10::3:4:5 40001 [10:1:4::1 80]
MAP 10:1:1::3 2002 <- -> 10::3:4:5 40000 [10:1:4::1 80]
MAP 10:1:1::3 2001 <- -> 10::3:4:5 40001 [10:1:3::1 80]
MAP 10:1:1::3 2000 <- -> 10::3:4:5 40000 [10:1:2::1 80]
MAP 10:1:1::2 1025 <- -> 10::3:4:5 40001 [10:1:1::1 1025]
MAP 10:1:1::1 1025 <- -> 10::3:4:5 40000 [10:1:1::2 1025]
MAP 10:1:1::2 1026 <- -> 10::3:4:5 40001 [10:1:1::1 1025]
MAP 10:1:1::2 1025 <- -> 10::3:4:5 40000 [10:1:1::1 1025]
Hostmap table:
10:1:1::2,10::3:4:5 -> 10::3:4:5,any (use = 1)
10:1:1::1,10::3:4:5 -> 10::3:4:5,any (use = 2)
10:1:1::3,10:1:4::1 -> 10::3:4:5,any (use = 2)
10:1:1::3,10:1:3::1 -> 10::3:4:5,any (use = 1)
10:1:1::3,10:1:2::1 -> 10::3:4:5,any (use = 1)
10:1:1::1,10:1:1::2 -> 10::3:4:5,any (use = 1)
10:1:1::2,10:1:1::1 -> 10::3:4:5,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)
-------------------------------

View File

@ -1,70 +1,173 @@
ip #0 40(20) 6 10.2.2.2,12345 > 10.2.2.1,10023
ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.2,23
ip #0 40(20) 6 10.3.0.1,12345 > 10.1.2.2,23
ip #0 40(20) 6 10.3.0.1,12345 > 10.2.2.2,23
ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,10023
ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.1,53
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
ip #0 40(20) 6 10.2.2.2,12345 > 10.1.0.0,23
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.0.0,23
ip #0 28(20) 17 10.2.2.2,12345 > 10.1.1.0,53
ip #0 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53
ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.0,53
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
< zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.2.2.1,10023
< zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.2,23
< zx0 ip #0 40(20) 6 10.3.0.1,12345 > 10.1.2.2,23
< zx0 ip #0 40(20) 6 10.3.0.1,12345 > 10.2.2.2,23
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,10023
< zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.1,53
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
< zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.0.0,23
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.0.0,23
< zx0 ip #0 28(20) 17 10.2.2.2,12345 > 10.1.1.0,53
< zx0 ip #0 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53
< zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.0,53
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
List of active MAP/Redirect filters:
rdr zx0 10.1.1.1/32 port 23 -> 10.2.2.1/32 port 10023 tcp
List of active sessions:
RDR 10.2.2.1 10023 <- -> 10.1.1.1 23 [10.3.3.3 12345]
RDR 10.2.2.1 10023 <- -> 10.1.1.1 23 [10.2.2.2 12345]
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)
-------------------------------
ip #0 40(20) 6 10.2.2.2,12345 > 10.2.2.1,10023
ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.2,23
ip #0 40(20) 6 10.3.0.1,12345 > 10.1.2.2,23
ip #0 40(20) 6 10.3.0.1,12345 > 10.2.2.2,23
ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,10023
ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.1,53
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
ip #0 40(20) 6 10.2.2.2,12345 > 10.1.0.0,23
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.0.0,23
ip #0 28(20) 17 10.2.2.2,12345 > 10.1.1.0,53
ip #0 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53
ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.0,53
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
< zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.2.2.1,10023
16
< zx0 ip #0 40(20) 6 10.3.0.1,12345 > 10.1.2.2,23
< zx0 ip #0 40(20) 6 10.3.0.1,12345 > 10.2.2.2,23
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,10023
< zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.1,53
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
< zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.0.0,23
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.0.0,23
< zx0 ip #0 28(20) 17 10.2.2.2,12345 > 10.1.1.0,53
< zx0 ip #0 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53
< zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.0,53
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
List of active MAP/Redirect filters:
rdr zx0 from 0/0 to 10.1.1.0/24 port = 23 -> 10.2.2.1/32 port 10023 tcp
List of active sessions:
RDR 10.2.2.1 10023 <- -> 10.1.1.1 23 [10.3.3.3 12345]
RDR 10.2.2.1 10023 <- -> 10.1.1.1 23 [10.2.2.2 12345]
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)
-------------------------------
ip #0 40(20) 6 10.2.2.2,12345 > 10.2.2.1,10023
ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.2,23
ip #0 40(20) 6 10.3.0.1,12345 > 10.1.2.2,23
ip #0 40(20) 6 10.3.0.1,12345 > 10.2.2.2,23
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,23
ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.1,53
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
ip #0 40(20) 6 10.2.2.2,12345 > 10.1.0.0,23
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.0.0,23
ip #0 28(20) 17 10.2.2.2,12345 > 10.1.1.0,53
ip #0 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53
ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.0,53
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
< zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.2.2.1,10023
16
< zx0 ip #0 40(20) 6 10.3.0.1,12345 > 10.1.2.2,23
< zx0 ip #0 40(20) 6 10.3.0.1,12345 > 10.2.2.2,23
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,23
< zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.1,53
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
< zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.0.0,23
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.0.0,23
< zx0 ip #0 28(20) 17 10.2.2.2,12345 > 10.1.1.0,53
< zx0 ip #0 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53
< zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.0,53
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
List of active MAP/Redirect filters:
rdr zx0 from 10.2.0.0/16 to 10.1.1.0/24 port = 23 -> 10.2.2.1/32 port 10023 tcp
List of active sessions:
RDR 10.2.2.1 10023 <- -> 10.1.1.1 23 [10.2.2.2 12345]
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)
-------------------------------
ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.1,23
ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.2,23
ip #0 40(20) 6 10.3.0.1,12345 > 10.2.2.1,10023
ip #0 40(20) 6 10.3.0.1,12345 > 10.2.2.2,23
ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,10023
ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.1,53
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
ip #0 40(20) 6 10.2.2.2,12345 > 10.1.0.0,23
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.0.0,23
ip #0 28(20) 17 10.2.2.2,12345 > 10.1.1.0,53
ip #0 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53
ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.0,53
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
< zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.1,23
< zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.2,23
< zx0 ip #0 40(20) 6 10.3.0.1,12345 > 10.2.2.1,10023
< zx0 ip #0 40(20) 6 10.3.0.1,12345 > 10.2.2.2,23
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,10023
< zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.1,53
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
< zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.0.0,23
16
< zx0 ip #0 28(20) 17 10.2.2.2,12345 > 10.1.1.0,53
< zx0 ip #0 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53
< zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.0,53
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
List of active MAP/Redirect filters:
rdr zx0 from 10.3.0.0/16 to 10.1.0.0/16 port = 23 -> 10.2.2.1/32 port 10023 tcp
List of active sessions:
RDR 10.2.2.1 10023 <- -> 10.1.1.1 23 [10.3.3.3 12345]
RDR 10.2.2.1 10023 <- -> 10.1.2.2 23 [10.3.0.1 12345]
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)
-------------------------------
ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.1,23
ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.2,23
ip #0 40(20) 6 10.3.0.1,12345 > 10.1.2.2,23
ip #0 40(20) 6 10.3.0.1,12345 > 10.2.2.2,23
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,23
ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.1,53
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
ip #0 40(20) 6 10.2.2.2,12345 > 10.1.0.0,23
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.0.0,23
ip #0 28(20) 17 10.2.2.2,12345 > 10.1.1.0,53
ip #0 28(20) 17 10.3.3.3,12345 > 10.2.2.1,10053
ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.0,53
ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
< zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.1,23
< zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.2,23
< zx0 ip #0 40(20) 6 10.3.0.1,12345 > 10.1.2.2,23
< zx0 ip #0 40(20) 6 10.3.0.1,12345 > 10.2.2.2,23
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,23
< zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.1,53
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
< zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.0.0,23
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.0.0,23
< zx0 ip #0 28(20) 17 10.2.2.2,12345 > 10.1.1.0,53
< zx0 ip #0 28(20) 17 10.3.3.3,12345 > 10.2.2.1,10053
< zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.0,53
< zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
List of active MAP/Redirect filters:
rdr zx0 ! from 10.2.0.0/16 to 10.1.1.0/24 port = 53 -> 10.2.2.1/32 port 10053 udp
List of active sessions:
RDR 10.2.2.1 10053 <- -> 10.1.1.0 53 [10.3.3.3 12345]
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)
-------------------------------

173
tests/ipf/expected/n6_6 Normal file
View File

@ -0,0 +1,173 @@
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:0:0:0:0:2:2:1,10023
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:1:1:0:0:0:0:2,23
< zx0 ip6/0 20 0 6 10:3:0:0:0:0:0:1,12345 > 10:1:2:0:0:0:0:2,23
< zx0 ip6/0 20 0 6 10:3:0:0:0:0:0:1,12345 > 10:0:0:0:0:2:2:2,23
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:0:0:0:0:2:2:1,10023
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:1:1:0:0:0:0:1,53
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:1,53
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:1:0:0:0:0:0:0,23
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:0:0:0:0:0:0,23
< zx0 ip6/0 8 0 17 10:0:0:0:0:2:2:2,12345 > 10:1:1:0:0:0:0:0,53
< zx0 ip6/0 8 0 17 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:0,53
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:1:1:0:0:0:0:0,53
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:0,53
List of active MAP/Redirect filters:
rdr zx0 10:1:1::1/128 port 23 -> 10::2:2:1/128 port 10023 tcp
List of active sessions:
RDR 10::2:2:1 10023 <- -> 10:1:1::1 23 [10:3:3::3 12345]
RDR 10::2:2:1 10023 <- -> 10:1:1::1 23 [10::2:2:2 12345]
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)
-------------------------------
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:0:0:0:0:2:2:1,10023
18
< zx0 ip6/0 20 0 6 10:3:0:0:0:0:0:1,12345 > 10:1:2:0:0:0:0:2,23
< zx0 ip6/0 20 0 6 10:3:0:0:0:0:0:1,12345 > 10:0:0:0:0:2:2:2,23
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:0:0:0:0:2:2:1,10023
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:1:1:0:0:0:0:1,53
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:1,53
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:1:0:0:0:0:0:0,23
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:0:0:0:0:0:0,23
< zx0 ip6/0 8 0 17 10:0:0:0:0:2:2:2,12345 > 10:1:1:0:0:0:0:0,53
< zx0 ip6/0 8 0 17 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:0,53
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:1:1:0:0:0:0:0,53
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:0,53
List of active MAP/Redirect filters:
rdr zx0 from any to 10:1:1::/112 port = 23 -> 10::2:2:1/128 port 10023 tcp
List of active sessions:
RDR 10::2:2:1 10023 <- -> 10:1:1::1 23 [10:3:3::3 12345]
RDR 10::2:2:1 10023 <- -> 10:1:1::1 23 [10::2:2:2 12345]
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)
-------------------------------
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:0:0:0:0:2:2:1,10023
18
< zx0 ip6/0 20 0 6 10:3:0:0:0:0:0:1,12345 > 10:1:2:0:0:0:0:2,23
< zx0 ip6/0 20 0 6 10:3:0:0:0:0:0:1,12345 > 10:0:0:0:0:2:2:2,23
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:1,23
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:1:1:0:0:0:0:1,53
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:1,53
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:1:0:0:0:0:0:0,23
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:0:0:0:0:0:0,23
< zx0 ip6/0 8 0 17 10:0:0:0:0:2:2:2,12345 > 10:1:1:0:0:0:0:0,53
< zx0 ip6/0 8 0 17 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:0,53
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:1:1:0:0:0:0:0,53
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:0,53
List of active MAP/Redirect filters:
rdr zx0 from 10::/32 to 10:1:1::/112 port = 23 -> 10::2:2:1/128 port 10023 tcp
List of active sessions:
RDR 10::2:2:1 10023 <- -> 10:1:1::1 23 [10::2:2:2 12345]
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)
-------------------------------
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:1:1:0:0:0:0:1,23
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:1:1:0:0:0:0:2,23
< zx0 ip6/0 20 0 6 10:3:0:0:0:0:0:1,12345 > 10:0:0:0:0:2:2:1,10023
< zx0 ip6/0 20 0 6 10:3:0:0:0:0:0:1,12345 > 10:0:0:0:0:2:2:2,23
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:0:0:0:0:2:2:1,10023
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:1:1:0:0:0:0:1,53
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:1,53
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:1:0:0:0:0:0:0,23
18
< zx0 ip6/0 8 0 17 10:0:0:0:0:2:2:2,12345 > 10:1:1:0:0:0:0:0,53
< zx0 ip6/0 8 0 17 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:0,53
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:1:1:0:0:0:0:0,53
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:0,53
List of active MAP/Redirect filters:
rdr zx0 from 10:3::/32 to 10:1::/32 port = 23 -> 10::2:2:1/128 port 10023 tcp
List of active sessions:
RDR 10::2:2:1 10023 <- -> 10:1:1::1 23 [10:3:3::3 12345]
RDR 10::2:2:1 10023 <- -> 10:1:2::2 23 [10:3::1 12345]
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)
-------------------------------
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:1:1:0:0:0:0:1,23
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:1:1:0:0:0:0:2,23
< zx0 ip6/0 20 0 6 10:3:0:0:0:0:0:1,12345 > 10:1:2:0:0:0:0:2,23
< zx0 ip6/0 20 0 6 10:3:0:0:0:0:0:1,12345 > 10:0:0:0:0:2:2:2,23
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:1,23
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:1:1:0:0:0:0:1,53
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:1,53
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:1:0:0:0:0:0:0,23
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:0:0:0:0:0:0,23
< zx0 ip6/0 8 0 17 10:0:0:0:0:2:2:2,12345 > 10:1:1:0:0:0:0:0,53
< zx0 ip6/0 8 0 17 10:3:3:0:0:0:0:3,12345 > 10:0:0:0:0:2:2:1,10053
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:1:1:0:0:0:0:0,53
< zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:0,53
List of active MAP/Redirect filters:
rdr zx0 ! from 10::/32 to 10:1:1::/112 port = 53 -> 10::2:2:1/128 port 10053 udp
List of active sessions:
RDR 10::2:2:1 10053 <- -> 10:1:1:: 53 [10:3:3::3 12345]
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)
-------------------------------

View File

@ -1,30 +1,98 @@
ip #0 40(20) 6 10.2.3.1,1230 > 10.1.1.1,22
ip #0 40(20) 6 10.2.3.1,1231 > 10.2.2.1,10023
ip #0 40(20) 6 10.2.3.1,1232 > 10.2.2.1,10050
ip #0 40(20) 6 10.2.3.1,1233 > 10.2.2.1,10079
ip #0 40(20) 6 10.2.3.1,1234 > 10.1.1.1,80
ip #0 40(20) 6 10.2.3.1,1235 > 10.1.1.2,80
ip #0 40(20) 6 10.2.3.1,1236 > 10.1.1.3,80
ip #0 40(20) 6 10.2.3.1,1237 > 10.1.1.4,80
ip #0 40(20) 6 10.2.3.1,1238 > 10.1.1.4,80
< zx0 ip #0 40(20) 6 10.2.3.1,1230 > 10.1.1.1,22
< zx0 ip #0 40(20) 6 10.2.3.1,1231 > 10.2.2.1,10023
< zx0 ip #0 40(20) 6 10.2.3.1,1232 > 10.2.2.1,10050
< zx0 ip #0 40(20) 6 10.2.3.1,1233 > 10.2.2.1,10079
< zx0 ip #0 40(20) 6 10.2.3.1,1234 > 10.1.1.1,80
< zx0 ip #0 40(20) 6 10.2.3.1,1235 > 10.1.1.2,80
< zx0 ip #0 40(20) 6 10.2.3.1,1236 > 10.1.1.3,80
< zx0 ip #0 40(20) 6 10.2.3.1,1237 > 10.1.1.4,80
< zx0 ip #0 40(20) 6 10.2.3.1,1238 > 10.1.1.4,80
List of active MAP/Redirect filters:
rdr zx0 10.1.1.1/32 port 23-79 -> 10.2.2.1/32 port 10023 tcp
List of active sessions:
RDR 10.2.2.1 10079 <- -> 10.1.1.1 79 [10.2.3.1 1233]
RDR 10.2.2.1 10050 <- -> 10.1.1.1 50 [10.2.3.1 1232]
RDR 10.2.2.1 10023 <- -> 10.1.1.1 23 [10.2.3.1 1231]
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)
-------------------------------
ip #0 40(20) 6 10.2.3.1,1230 > 10.1.1.1,22
ip #0 40(20) 6 10.2.3.1,1231 > 10.2.2.1,10023
ip #0 40(20) 6 10.2.3.1,1232 > 10.2.2.1,10023
ip #0 40(20) 6 10.2.3.1,1233 > 10.2.2.1,10023
ip #0 40(20) 6 10.2.3.1,1234 > 10.1.1.1,80
ip #0 40(20) 6 10.2.3.1,1235 > 10.1.1.2,80
ip #0 40(20) 6 10.2.3.1,1236 > 10.1.1.3,80
ip #0 40(20) 6 10.2.3.1,1237 > 10.1.1.4,80
ip #0 40(20) 6 10.2.3.1,1238 > 10.1.1.4,80
< zx0 ip #0 40(20) 6 10.2.3.1,1230 > 10.1.1.1,22
< zx0 ip #0 40(20) 6 10.2.3.1,1231 > 10.2.2.1,10023
< zx0 ip #0 40(20) 6 10.2.3.1,1232 > 10.2.2.1,10023
< zx0 ip #0 40(20) 6 10.2.3.1,1233 > 10.2.2.1,10023
< zx0 ip #0 40(20) 6 10.2.3.1,1234 > 10.1.1.1,80
< zx0 ip #0 40(20) 6 10.2.3.1,1235 > 10.1.1.2,80
< zx0 ip #0 40(20) 6 10.2.3.1,1236 > 10.1.1.3,80
< zx0 ip #0 40(20) 6 10.2.3.1,1237 > 10.1.1.4,80
< zx0 ip #0 40(20) 6 10.2.3.1,1238 > 10.1.1.4,80
List of active MAP/Redirect filters:
rdr zx0 10.1.1.1/32 port 23-79 -> 10.2.2.1/32 port = 10023 tcp
List of active sessions:
RDR 10.2.2.1 10023 <- -> 10.1.1.1 79 [10.2.3.1 1233]
RDR 10.2.2.1 10023 <- -> 10.1.1.1 50 [10.2.3.1 1232]
RDR 10.2.2.1 10023 <- -> 10.1.1.1 23 [10.2.3.1 1231]
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)
-------------------------------
ip #0 40(20) 6 10.2.3.1,1230 > 10.1.1.1,22
ip #0 40(20) 6 10.2.3.1,1231 > 10.1.1.1,23
ip #0 40(20) 6 10.2.3.1,1232 > 10.1.1.1,50
ip #0 40(20) 6 10.2.3.1,1233 > 10.1.1.1,79
ip #0 40(20) 6 10.2.3.1,1234 > 10.2.2.1,3128
ip #0 40(20) 6 10.2.3.1,1235 > 1.2.2.129,3128
ip #0 40(20) 6 10.2.3.1,1236 > 10.2.2.1,3128
ip #0 40(20) 6 10.2.3.1,1237 > 1.2.2.129,3128
ip #0 40(20) 6 10.2.3.1,1238 > 10.2.2.1,3128
< zx0 ip #0 40(20) 6 10.2.3.1,1230 > 10.1.1.1,22
< zx0 ip #0 40(20) 6 10.2.3.1,1231 > 10.1.1.1,23
< zx0 ip #0 40(20) 6 10.2.3.1,1232 > 10.1.1.1,50
< zx0 ip #0 40(20) 6 10.2.3.1,1233 > 10.1.1.1,79
< zx0 ip #0 40(20) 6 10.2.3.1,1234 > 10.2.2.1,3128
< zx0 ip #0 40(20) 6 10.2.3.1,1235 > 1.2.2.129,3128
< zx0 ip #0 40(20) 6 10.2.3.1,1236 > 10.2.2.1,3128
< zx0 ip #0 40(20) 6 10.2.3.1,1237 > 1.2.2.129,3128
< zx0 ip #0 40(20) 6 10.2.3.1,1238 > 10.2.2.1,3128
List of active MAP/Redirect filters:
rdr zx0 10.1.1.0/24 port 80 -> 10.2.2.1,1.2.2.129 port 3128 tcp
List of active sessions:
RDR 10.2.2.1 3128 <- -> 10.1.1.4 80 [10.2.3.1 1238]
RDR 1.2.2.129 3128 <- -> 10.1.1.4 80 [10.2.3.1 1237]
RDR 10.2.2.1 3128 <- -> 10.1.1.3 80 [10.2.3.1 1236]
RDR 1.2.2.129 3128 <- -> 10.1.1.2 80 [10.2.3.1 1235]
RDR 10.2.2.1 3128 <- -> 10.1.1.1 80 [10.2.3.1 1234]
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)
-------------------------------

98
tests/ipf/expected/n7_6 Normal file
View File

@ -0,0 +1,98 @@
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1230 > 10:1:1:0:0:0:0:1,22
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1231 > 10:0:0:0:0:2:2:1,10023
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1232 > 10:0:0:0:0:2:2:1,10050
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1233 > 10:0:0:0:0:2:2:1,10079
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1234 > 10:1:1:0:0:0:0:1,80
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1235 > 10:1:1:0:0:0:0:2,80
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1236 > 10:1:1:0:0:0:0:3,80
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1237 > 10:1:1:0:0:0:0:4,80
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1238 > 10:1:1:0:0:0:0:4,80
List of active MAP/Redirect filters:
rdr zx0 10:1:1::1/128 port 23-79 -> 10::2:2:1/128 port 10023 tcp
List of active sessions:
RDR 10::2:2:1 10079 <- -> 10:1:1::1 79 [10::2:3:1 1233]
RDR 10::2:2:1 10050 <- -> 10:1:1::1 50 [10::2:3:1 1232]
RDR 10::2:2:1 10023 <- -> 10:1:1::1 23 [10::2:3:1 1231]
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)
-------------------------------
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1230 > 10:1:1:0:0:0:0:1,22
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1231 > 10:0:0:0:0:2:2:1,10023
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1232 > 10:0:0:0:0:2:2:1,10023
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1233 > 10:0:0:0:0:2:2:1,10023
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1234 > 10:1:1:0:0:0:0:1,80
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1235 > 10:1:1:0:0:0:0:2,80
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1236 > 10:1:1:0:0:0:0:3,80
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1237 > 10:1:1:0:0:0:0:4,80
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1238 > 10:1:1:0:0:0:0:4,80
List of active MAP/Redirect filters:
rdr zx0 10:1:1::1/128 port 23-79 -> 10::2:2:1/128 port = 10023 tcp
List of active sessions:
RDR 10::2:2:1 10023 <- -> 10:1:1::1 79 [10::2:3:1 1233]
RDR 10::2:2:1 10023 <- -> 10:1:1::1 50 [10::2:3:1 1232]
RDR 10::2:2:1 10023 <- -> 10:1:1::1 23 [10::2:3:1 1231]
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)
-------------------------------
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1230 > 10:1:1:0:0:0:0:1,22
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1231 > 10:1:1:0:0:0:0:1,23
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1232 > 10:1:1:0:0:0:0:1,50
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1233 > 10:1:1:0:0:0:0:1,79
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1234 > 10:0:0:0:0:2:2:1,3128
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1235 > 1:0:0:0:0:2:2:129,3128
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1236 > 10:0:0:0:0:2:2:1,3128
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1237 > 1:0:0:0:0:2:2:129,3128
< zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1238 > 10:0:0:0:0:2:2:1,3128
List of active MAP/Redirect filters:
rdr zx0 10:1:1::/112 port 80 -> 10::2:2:1,1::2:2:129 port 3128 tcp
List of active sessions:
RDR 10::2:2:1 3128 <- -> 10:1:1::4 80 [10::2:3:1 1238]
RDR 1::2:2:129 3128 <- -> 10:1:1::4 80 [10::2:3:1 1237]
RDR 10::2:2:1 3128 <- -> 10:1:1::3 80 [10::2:3:1 1236]
RDR 1::2:2:129 3128 <- -> 10:1:1::2 80 [10::2:3:1 1235]
RDR 10::2:2:1 3128 <- -> 10:1:1::1 80 [10::2:3:1 1234]
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)
-------------------------------

View File

@ -6,4 +6,25 @@
4500 0054 3fd5 4000 ff01 2fc8 0404 0404 0202 0202 0000 f7de 6220 0001 3f6f 6e80 000b 0d02 0809 0a0b 0c0d 0e0f 1011 1213 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 2425 2627 2829 2a2b 2c2d 2e2f 3031 3233 3435 3637
List of active MAP/Redirect filters:
map icmp0 2.2.2.0/24 -> 10.10.10.0/24
List of active sessions:
MAP 2.2.2.2 <- -> 10.10.10.1 [4.4.4.4]
Hostmap table:
2.2.2.2,4.4.4.4 -> 10.10.10.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)
-------------------------------

30
tests/ipf/expected/n8_6 Normal file
View File

@ -0,0 +1,30 @@
6000 0000 0040 3aff 0010 0010 0010 0000 0000 0000 0000 0001 0004 0004 0004 0000 0000 0000 0000 0004 8000 77df 6220 0000 3f6f 6e80 000b 0d02 0809 0a0b 0c0d 0e0f 1011 1213 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 2425 2627 2829 2a2b 2c2d 2e2f 3031 3233 3435 3637
6000 0000 0040 3aff 0004 0004 0004 0000 0000 0000 0000 0004 0002 0000 0000 0000 0000 0002 0002 0002 8100 76df 6220 0000 3f6f 6e80 000b 0d02 0809 0a0b 0c0d 0e0f 1011 1213 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 2425 2627 2829 2a2b 2c2d 2e2f 3031 3233 3435 3637
6000 0000 0040 3aff 0010 0010 0010 0000 0000 0000 0000 0001 0004 0004 0004 0000 0000 0000 0000 0004 8000 77de 6220 0001 3f6f 6e80 000b 0d02 0809 0a0b 0c0d 0e0f 1011 1213 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 2425 2627 2829 2a2b 2c2d 2e2f 3031 3233 3435 3637
6000 0000 0040 3aff 0004 0004 0004 0000 0000 0000 0000 0004 0002 0000 0000 0000 0000 0002 0002 0002 8100 76de 6220 0001 3f6f 6e80 000b 0d02 0809 0a0b 0c0d 0e0f 1011 1213 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 2425 2627 2829 2a2b 2c2d 2e2f 3031 3233 3435 3637
List of active MAP/Redirect filters:
map icmp0 2::2:2:0/112 -> 10:10:10::/112
List of active sessions:
MAP 2::2:2:2 <- -> 10:10:10::1 [4:4:4::4]
Hostmap table:
2::2:2:2,4:4:4::4 -> 10:10:10::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)
-------------------------------

View File

@ -6,4 +6,24 @@
4500 0054 3fd5 4000 ff01 2fc8 0404 0404 0202 0202 0000 f7de 6220 0001 3f6f 6e80 000b 0d02 0809 0a0b 0c0d 0e0f 1011 1213 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 2425 2627 2829 2a2b 2c2d 2e2f 3031 3233 3435 3637
List of active MAP/Redirect filters:
rdr icmp0 4.4.4.0/24 -> 10.10.10.1/32 ip
List of active sessions:
RDR 10.10.10.1 <- -> 4.4.4.4 [2.2.2.2]
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
tests/ipf/expected/n9_6 Normal file
View File

@ -0,0 +1,29 @@
6000 0000 0040 3aff 0002 0000 0000 0000 0000 0002 0002 0002 0010 0010 0010 0000 0000 0000 0000 0001 8000 77df 6220 0000 3f6f 6e80 000b 0d02 0809 0a0b 0c0d 0e0f 1011 1213 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 2425 2627 2829 2a2b 2c2d 2e2f 3031 3233 3435 3637
6000 0000 0040 3aff 0004 0004 0004 0000 0000 0000 0000 0004 0002 0000 0000 0000 0000 0002 0002 0002 8100 76df 6220 0000 3f6f 6e80 000b 0d02 0809 0a0b 0c0d 0e0f 1011 1213 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 2425 2627 2829 2a2b 2c2d 2e2f 3031 3233 3435 3637
6000 0000 0040 3aff 0002 0000 0000 0000 0000 0002 0002 0002 0010 0010 0010 0000 0000 0000 0000 0001 8000 77de 6220 0001 3f6f 6e80 000b 0d02 0809 0a0b 0c0d 0e0f 1011 1213 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 2425 2627 2829 2a2b 2c2d 2e2f 3031 3233 3435 3637
6000 0000 0040 3aff 0004 0004 0004 0000 0000 0000 0000 0004 0002 0000 0000 0000 0000 0002 0002 0002 8100 76de 6220 0001 3f6f 6e80 000b 0d02 0809 0a0b 0c0d 0e0f 1011 1213 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 2425 2627 2829 2a2b 2c2d 2e2f 3031 3233 3435 3637
List of active MAP/Redirect filters:
rdr icmp0 4:4:4::/112 -> 10:10:10::1/128 ip
List of active sessions:
RDR 10:10:10::1 <- -> 4:4:4::4 [2::2:2:2]
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)
-------------------------------

View File

@ -4,6 +4,5 @@
4500 0058 0001 0000 ff01 af98 0202 0202 0404 0404 0303 0937 0000 0000 4500 003c 4706 4000 ff06 28aa 0404 0404 0202 0202 5000 0050 0000 0001 0000 0000 a002 16d0 d8e2 0000 0204 05b4 0402 080a 0047 fbb0 0000 0000 0103 0300
4500 0038 809a 0000 ff01 2b1b 0303 0303 0505 0505 0303 acab 0000 0000 4500 003c 4706 4000 ff06 28ab 0404 0404 0202 0201 5000 0050 0000 0001
0
-------------------------------

View File

@ -4,6 +4,5 @@
4500 0058 0001 0000 ff01 a798 0a02 0202 0404 0404 0303 1137 0000 0000 4500 003c 4706 4000 ff06 20aa 0404 0404 0a02 0202 5000 0500 0000 0001 0000 0000 a002 16d0 cc32 0000 0204 05b4 0402 080a 0047 fbb0 0000 0000 0103 0300
4500 0038 809a 0000 ff01 2b1b 0303 0303 0505 0505 0303 0fa3 0000 0000 4500 003c 4706 4000 ff06 2aab 0404 0404 0101 0102 5000 9d58 0000 0001
0
-------------------------------

View File

@ -1,9 +1,8 @@
4500 003c 4706 4000 ff06 2aac 0404 0404 0101 0101 5000 9c40 0000 0001 0000 0000 a002 16d0 3ef4 0000 0204 05b4 0402 080a 0047 fbb0 0000 0000 0103 0300
4500 0038 809a 0000 ff01 2d1d 0303 0303 0404 0404 0303 0fa3 0000 0000 4500 003c 4706 4000 ff06 2aac 0404 0404 0101 0101 5000 9d58 0000 0001
4500 0038 0000 0000 ff01 a7b9 0a02 0202 0404 0404 0303 a7fb 0000 0000 4500 003c 4706 4000 ff06 20aa 0404 0404 0a02 0202 5000 0500 0000 0001
4500 0058 809a 0000 ff01 2cfd 0303 0303 0404 0404 0303 0735 0000 0000 4500 003c 4706 4000 ff06 2aac 0404 0404 0101 0101 5000 9d58 0000 0001 0000 0000 a002 16d0 3ddc 0000 0204 05b4 0402 080a 0047 fbb0 0000 0000 0103 0300
4500 0038 809a 0000 ff01 2b1b 0303 0303 0505 0505 0303 0fa3 0000 0000 4500 003c 4706 4000 ff06 2aab 0404 0404 0101 0102 5000 9d58 0000 0001
4500 0058 0001 0000 ff01 a798 0a02 0202 0404 0404 0303 1137 0000 0000 4500 003c 4706 4000 ff06 20aa 0404 0404 0a02 0202 5000 0500 0000 0001 0000 0000 a002 16d0 cc32 0000 0204 05b4 0402 080a 0047 fbb0 0000 0000 0103 0300
0
-------------------------------

7
tests/ipf/expected/ni17 Normal file
View File

@ -0,0 +1,7 @@
< le0 ip #0 40(20) 6 10.2.2.5,2000 > 10.1.1.252,3128
< le0 ip #0 40(20) 6 10.2.2.6,2000 > 10.1.2.252,3128
< le0 ip #0 40(20) 6 10.2.2.7,2000 > 10.1.3.252,3128
< le0 ip #0 40(20) 6 10.2.2.7,2001 > 10.1.3.252,3128
< le0 ip #0 40(20) 6 10.2.2.8,2000 > 10.1.1.253,3128
< le0 ip #0 40(20) 6 10.2.2.9,2000 > 10.1.2.253,3128
-------------------------------

5
tests/ipf/expected/ni18 Normal file
View File

@ -0,0 +1,5 @@
< hme0 ip #0 40(20) 6 2.2.2.2,3000 > 1.1.1.1,80
< hme0 ip #0 40(20) 6 2.2.2.2,3000 > 192.168.1.1,80
> hme1 ip #0 40(20) 6 203.1.1.1,10000 > 4.5.6.7,80
> hme1 ip #0 40(20) 6 10.1.1.2,5050 > 4.5.6.7,80
-------------------------------

View File

@ -34,16 +34,10 @@
4500 0034 118c 4000 4006 ec87 0a01 0104 c0a8 7103 03ff 03f0 91d4 c8a7 66e5 b811 8011 05b4 d54e 0000 0101 080a 0039 dd6d 0000 0000
4500 0028 e404 4000 4006 1a1b c0a8 7103 0a01 0104 03f1 0202 6523 90eb 915a a5cb 5010 8328 bcd3 0000
4500 0034 e405 4000 4006 1a0e c0a8 7103 0a01 0104 03f0 03ff 66e5 b811 91d4 c8a8 8010 8328 57d7 0000 0101 080a 0000 0004 0039 dd6c
4500 0028 e40a 4000 4006 1a15 c0a8 7103 0a01 0104 03f1 0202 6523 90eb 915a a5cb 5011 832c bcce 0000
4500 0034 e40b 4000 4006 1a08 c0a8 7103 0a01 0104 03f0 03ff 66e5 b811 91d4 c8a8 8011 832c 57d2 0000 0101 080a 0000 0004 0039 dd6c
4500 0028 0004 4000 4006 fe1b 0a01 0104 c0a8 7103 0202 03f1 915a a5cb 6523 90ec 5010 05b4 3a47 0000
4500 0034 118e 4000 4006 ec85 0a01 0104 c0a8 7103 03ff 03f0 91d4 c8a8 66e5 b812 8010 05b4 d548 0000 0101 080a 0039 dd6e 0000 0004
0
0
0
0
0
0
-------------------------------

View File

@ -14,6 +14,6 @@
4500 05dc e483 4000 7e06 44bb c0a8 0133 0a01 0201 0077 05f6 fbdf 1a75 a664 248c 5010 2232 9f2d 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1111 2222 3331 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 1111 2222 3333 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
4500 0038 0004 4000 4001 76e4 0101 0101 c0a8 0133 0304 9dea 0000 05a0 4500 05dc e483 4000 7e06 4ebb c0a8 0133 0101 0101 0077 9c40 fbdf 1a75
4500 0038 0004 4000 4001 76e4 0101 0101 c0a8 0133 0304 444f 0000 05a0 4500 05dc e483 4000 7e06 4ebb c0a8 0133 0101 0101 0077 9c40 fbdf 1a75
-------------------------------

View File

@ -34,16 +34,36 @@
4500 0034 118c 4000 4006 ec87 0a01 0104 c0a8 7103 03ff 03f0 91d4 c8a7 66e5 b811 8011 05b4 d54e 0000 0101 080a 0039 dd6d 0000 0000
4500 0028 e404 4000 4006 f372 c0a8 7103 c0a8 7104 03f1 0202 6523 90eb 915a a5cb 5010 8328 962b 0000
0
0
0
0
0
0
List of active MAP/Redirect filters:
rdr bge0 10.1.1.4/32 port 514 -> 192.168.113.4/32 port 514 tcp proxy rcmd
4500 0034 e405 4000 4006 f365 c0a8 7103 c0a8 7104 03f0 03ff 66e5 b811 91d4 c8a8 8010 8328 312f 0000 0101 080a 0000 0004 0039 dd6c
4500 0028 e40a 4000 4006 f36c c0a8 7103 c0a8 7104 03f1 0202 6523 90eb 915a a5cb 5011 832c 9626 0000
4500 0034 e40b 4000 4006 f35f c0a8 7103 c0a8 7104 03f0 03ff 66e5 b811 91d4 c8a8 8011 832c 312a 0000 0101 080a 0000 0004 0039 dd6c
4500 0028 0004 4000 4006 d773 c0a8 7104 c0a8 7103 0202 03f1 915a a5cb 6523 90ec 5010 05b4 139f 0000
4500 0034 118e 4000 4006 c5dd c0a8 7104 c0a8 7103 03ff 03f0 91d4 c8a8 66e5 b812 8010 05b4 aea0 0000 0101 080a 0039 dd6e 0000 0004
List of active sessions:
MAP 192.168.113.4 1023 <- -> 10.1.1.4 1023 [192.168.113.3 1008]
RDR 192.168.113.4 514 <- -> 10.1.1.4 514 [192.168.113.3 1009]
proxy active
Hostmap table:
192.168.113.4,192.168.113.3 -> 10.1.1.4,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)
5 block in all
1 pass in quick on bge0 proto tcp from any to any port = 514 flags S/FSRPAU keep state
Rules configured (set 0, out)
2 block out all
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)
-------------------------------

View File

@ -1,4 +1,6 @@
ip #0 20(20) 0 4.4.4.4 > 3.3.3.3
ip #0 20(20) 0 3.3.3.3 > 2.2.2.2
ip #0 20(20) 0 4.4.4.4 > 3.3.3.3
> eri0 ip #0 20(20) 0 4.4.4.4 > 3.3.3.3
0
< lan0 ip #0 20(20) 0 3.3.3.3 > 2.2.2.2
> eri0 ip #0 20(20) 0 4.4.4.4 > 3.3.3.3
0
-------------------------------

View File

@ -1,8 +1,9 @@
ip #0 28(20) 17 4.4.4.4,6700 > 2.2.2.2,4500
ip #0 28(20) 17 2.2.2.2,4500 > 3.3.3.1,6700
ip #0 28(20) 17 1.1.2.3,4500 > 3.3.3.1,6700
> ppp0 ip #0 28(20) 17 4.4.4.4,6700 > 2.2.2.2,4500
0
< hme0 ip #0 28(20) 17 2.2.2.2,4500 > 3.3.3.1,6700
> bge0 ip #0 28(20) 17 1.1.2.3,4500 > 3.3.3.1,6700
List of active MAP/Redirect filters:
rdr le0,bge0 1.1.0.0/16 -> 2.2.2.2 ip
rdr le0,bge0 1.1.0.0/16 -> 2.2.2.2/32 ip
map hme0,ppp0 3.3.3.0/24 -> 4.4.4.4/32
List of active sessions:
@ -10,20 +11,27 @@ MAP 3.3.3.1 6700 <- -> 4.4.4.4 6700 [2.2.2.2 4500]
RDR 2.2.2.2 4500 <- -> 1.1.2.3 4500 [3.3.3.1 6700]
Hostmap table:
3.3.3.1,2.2.2.2 -> 4.4.4.4 (use = 1 hv = 0)
3.3.3.1,2.2.2.2 -> 4.4.4.4,0.0.0.0 (use = 1)
List of active state sessions:
3.3.3.1 -> 2.2.2.2 pass 0x40008402 pr 17 state 0/0
tag 0 ttl 24 6700 -> 4500
forward: pkts in 1 bytes in 28 pkts out 1 bytes out 28
backward: pkts in 1 bytes in 28 pkts out 1 bytes out 28
pass in keep state IPv4
pkt_flags & 0(0) = 0, pkt_options & ffffffff = 0, ffffffff = 0
pkt_security & ffff = 0, pkt_auth & ffff = 0
is_flx 0x8001 0x8001 0x8001 0x1
4:udp src:3.3.3.1,6700 dst:2.2.2.2,4500 24
FWD: IN pkts 1 bytes 28 OUT pkts 1 bytes 28
REV: IN pkts 1 bytes 28 OUT pkts 1 bytes 28
tag 0 pass 0x2008402 = pass in keep state
interfaces: in X[le0],X[hme0] out X[ppp0],X[bge0]
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 block in all
1 pass in on le0,hme0 to ppp0:3.3.3.254 out-via ppp0,bge0 inet proto udp from any to any keep state
Rules configured (set 0, out)
0 block out all
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)
-------------------------------

View File

@ -72,32 +72,23 @@
4500 0028 ffec 4000 ef06 5369 96cb e002 c0a8 0103 0014 8034 d9f8 11d4 0000 0000 5010 2238 e90d 0000
4500 0063 ffed 4000 ef06 532d 96cb e002 c0a8 0103 0014 8033 d9f8 11d5 bd78 5c13 5018 269c a315 0000 636f 6f6d 6273 7061 7065 7273 0d0a 6465 7074 730d 0a66 6f75 6e64 2d66 696c 6573 0d0a 696e 636f 6d69 6e67 0d0a 6e6c 632d 7465 7374 0d0a 7075 620d 0a
4500 0028 0014 4000 ff06 02ec 0101 0101 96cb e002 8033 0014 bd78 5c13 d9f8 1210 5010 6348 4de0 0000
4500 0028 ffee 4000 ef06 5367 96cb e002 c0a8 0103 0014 8033 d9f8 1210 bd78 5c13 5011 269c cae1 0000
4500 0028 10dd 4000 ff06 3279 c0a8 0103 96cb e002 8033 0014 bd78 5c13 d9f8 1211 5010 6348 8e35 0000
4500 0028 10dd 4000 ff06 3279 c0a8 0103 96cb e002 8033 0014 bd78 5c13 d9f8 1211 5011 6348 8e34 0000
4500 0028 ffef 4000 ef06 5366 96cb e002 c0a8 0103 0014 8033 d9f8 1211 bd78 5c14 5010 269c cae0 0000
0
0
0
0
0
0
4500 0040 fff0 4000 ef06 534d 96cb e002 c0a8 0103 0015 8032 3786 7903 bd6b ca3f 5018 269c 7c80 0000 3232 3620 4c69 7374 696e 6720 636f 6d70 6c65 7465 642e 0d0a
4500 0028 0015 4000 ff06 02eb 0101 0101 96cb e002 8032 0015 bd6b ca2f 3786 791b 5010 269c 57e4 0000
4500 0028 0014 4000 ff06 02ec 0101 0101 96cb e002 8032 0015 bd6b ca2f 3786 791b 5010 269c 57e4 0000
4500 002e 0016 4000 ff06 02e4 0101 0101 96cb e002 8032 0015 bd6b ca2f 3786 791b 5018 269c b022 0000 5155 4954 0d0a
4500 002e 0015 4000 ff06 02e5 0101 0101 96cb e002 8032 0015 bd6b ca2f 3786 791b 5018 269c b022 0000 5155 4954 0d0a
4500 0036 fff2 4000 ef06 5355 96cb e002 c0a8 0103 0015 8032 3786 791b bd6b ca45 5018 269c a936 0000 3232 3120 476f 6f64 6279 652e 0d0a
4500 0028 0017 4000 ff06 02e9 0101 0101 96cb e002 8032 0015 bd6b ca35 3786 7929 5011 269c 57cf 0000
4500 0028 fff3 4000 ef06 5362 96cb e002 c0a8 0103 0015 8032 3786 7929 bd6b ca45 5011 269c 9815 0000
4500 0028 10e3 4000 ff06 3273 c0a8 0103 96cb e002 8032 0015 bd6b ca3d 3786 792a 5010 269c 981d 0000
4500 0028 fff4 4000 ef06 5361 96cb e002 c0a8 0103 0015 8032 3786 792a bd6b ca46 5010 269c 9814 0000
4500 0028 0016 4000 ff06 02ea 0101 0101 96cb e002 8032 0015 bd6b ca35 3786 7929 5011 269c 57cf 0000
0
0
0
-------------------------------

View File

@ -1,17 +1,63 @@
4500 0054 cd8a 4000 ff11 1fbb c0a8 0601 c0a8 0701 8075 006f 0040 d26e 3e1d d249 0000 0000 0000 0002 0001 86a0 0000 0002 0000 0003 0000 0000 0000 0000 0000 0000 0000 0000 0001 86a3 0000 0003 0000 0011 0000 0000
< nf0 ip #52618 84(20) 17 192.168.6.1,32885 > 192.168.7.1,111
> qfe0 ip #0 84(20) 17 192.168.7.2,32885 > 192.168.7.1,111
< qfe0 ip #52611 56(20) 17 192.168.7.1,111 > 192.168.6.1,32885
> nf0 ip #1 56(20) 17 192.168.6.2,111 > 192.168.6.1,32885
< nf0 ip #54694 68(20) 17 192.168.6.1,32991 > 192.168.7.1,2049
> qfe0 ip #2 68(20) 17 192.168.7.2,32991 > 192.168.7.1,2049
< qfe0 ip #0 52(20) 17 192.168.7.1,2049 > 192.168.6.1,32991
> nf0 ip #3 52(20) 17 192.168.6.2,2049 > 192.168.6.1,32991
List of active MAP/Redirect filters:
rdr nf0 192.168.6.2/32 port 111 -> 192.168.7.1/32 port 111 udp proxy rpcbu
rdr nf0 192.168.6.2/32 port 111 -> 192.168.7.1/32 port 111 tcp proxy rpcbt
map qfe0 192.168.6.0/24 -> 192.168.7.2/32
4500 0054 0000 4000 ff11 ec44 c0a8 0702 c0a8 0701 8075 006f 0040 d16d 3e1d d249 0000 0000 0000 0002 0001 86a0 0000 0002 0000 0003 0000 0000 0000 0000 0000 0000 0000 0000 0001 86a3 0000 0003 0000 0011 0000 0000
4500 0038 cd83 4000 ff11 1fde c0a8 0701 c0a8 0601 006f 8075 0024 d805 3e1d d249 0000 0001 0000 0000 0000 0000 0000 0000 0000 0000 0000 0801
4500 0038 0001 4000 ff11 ee5f c0a8 0602 c0a8 0601 006f 8075 0024 d904 3e1d d249 0000 0001 0000 0000 0000 0000 0000 0000 0000 0000 0000 0801
4500 0044 d5a6 4000 ff11 17af c0a8 0601 c0a8 0701 80df 0801 0030 03f1 3e10 1fb1 0000 0000 0000 0002 0001 86a3 0000 0002 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
4500 0044 0002 4000 ff11 ec52 c0a8 0702 c0a8 0701 80df 0801 0030 02f0 3e10 1fb1 0000 0000 0000 0002 0001 86a3 0000 0002 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
4500 0034 0000 4000 fe11 ee65 c0a8 0701 c0a8 0601 0801 80df 0020 8ab8 3e10 1fb1 0000 0001 0000 0000 0000 0000 0000 0000 0000 0000
4500 0034 0003 4000 fe11 ef61 c0a8 0602 c0a8 0601 0801 80df 0020 0000 3e10 1fb1 0000 0001 0000 0000 0000 0000 0000 0000 0000 0000
List of active sessions:
MAP 192.168.6.1 32991 <- -> 192.168.7.2 32991 [192.168.7.1 2049]
RDR 192.168.7.1 2049 <- -> 192.168.6.2 2049 [192.168.6.1 32991]
RDR CLONE 192.168.7.1 2049 <- -> 192.168.6.2 2049 [192.168.6.1 0]
MAP 192.168.6.1 32885 <- -> 192.168.7.2 32885 [192.168.7.1 111]
RDR 192.168.7.1 111 <- -> 192.168.6.2 111 [192.168.6.1 32885]
proxy active
Hostmap table:
192.168.6.1,192.168.7.1 -> 192.168.7.2,0.0.0.0 (use = 2)
List of active state sessions:
4:udp src:192.168.6.1,32991 dst:192.168.7.1,2049 24
FWD: IN pkts 2 bytes 96 OUT pkts 1 bytes 68
REV: IN pkts 1 bytes 52 OUT pkts 1 bytes 52
tag 0 pass 0x502 = pass in quick keep state
interfaces: in X[nf0],X[qfe0] out X[qfe0],X[nf0]
Sync status: not synchronized
4:udp src:192.168.6.1,* dst:192.168.7.1,2049 240 CLONE
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 0x502 = pass in quick keep state
interfaces: in X[nf0],X[] out X[],X[]
Sync status: not synchronized
4:udp src:192.168.6.1,32885 dst:192.168.7.1,111 24
FWD: IN pkts 1 bytes 84 OUT pkts 1 bytes 84
REV: IN pkts 1 bytes 56 OUT pkts 1 bytes 56
tag 0 pass 0x2008502 = pass in quick keep state
interfaces: in X[nf0],X[qfe0] out X[qfe0],X[nf0]
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)
0 pass in quick on nf0 proto tcp from any to any port = 111 flags S/FSRPAU keep state
1 pass in quick on nf0 proto udp from any to any port = 111 keep state
0 block return-rst in log quick on nf0 proto tcp from any to any
0 block in log quick on nf0 inet from 192.168.7.0/24 to any
0 block return-rst in log quick on qfe0 proto tcp from any to any
0 block in log quick on qfe0 inet from 192.168.6.0/24 to any
Rules configured (set 0, out)
0 block out log quick on qfe0 inet from 192.168.7.0/24 to any
0 block out log quick on nf0 inet from 192.168.6.0/24 to any
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)
-------------------------------

View File

@ -13,9 +13,18 @@ List of active sessions:
Hostmap table:
List of active state sessions:
List of configured pools
table role = ipf type = tree number = 100
{ 1.1.1.1/32; ! 2.2.0.0/16; 2.2.2.0/24; };
table role=ipf type=tree number=100
{ 1.1.1.1/32; ! 2.2.0.0/16; 2.2.2.0/24; ef00::5/128; };
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 from pool/100 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)
-------------------------------

40
tests/ipf/expected/p10 Normal file
View File

@ -0,0 +1,40 @@
< bge0 ip #0 40(20) 6 5.5.5.5,10000 > 1.1.1.2,80
< bge0 ip #0 40(20) 6 5.5.5.6,10000 > 1.1.1.9,80
< bge0 ip #0 40(20) 6 5.5.5.7,10000 > 1.1.1.2,80
< bge0 ip #0 40(20) 6 5.5.5.8,10000 > 1.1.1.9,80
< bge0 ip #0 40(20) 6 5.5.5.9,10000 > 1.1.1.4,80
< bge0 ip #0 40(20) 6 5.5.6.5,10000 > 1.1.1.4,80
< bge0 ip #0 40(20) 6 5.5.6.6,10000 > 1.1.1.9,80
< bge0 ip #0 40(20) 6 5.5.6.7,10000 > 1.1.1.5,80
< bge0 ip #0 40(20) 6 5.5.6.8,10000 > 1.1.1.5,80
< bge0 ip #0 40(20) 6 5.5.6.9,10000 > 1.1.1.9,80
List of active MAP/Redirect filters:
rewrite in on bge0 proto tcp from 0/0 to 0/0 port = 80 -> src 0/0 dst dstlist/servers;
List of active sessions:
RWR-RDR 5.5.6.9 10000 9.9.9.9 80 <- -> 5.5.6.9 10000 1.1.1.9 80
RWR-RDR 5.5.6.8 10000 9.9.9.9 80 <- -> 5.5.6.8 10000 1.1.1.5 80
RWR-RDR 5.5.6.7 10000 9.9.9.9 80 <- -> 5.5.6.7 10000 1.1.1.5 80
RWR-RDR 5.5.6.6 10000 9.9.9.9 80 <- -> 5.5.6.6 10000 1.1.1.9 80
RWR-RDR 5.5.6.5 10000 9.9.9.9 80 <- -> 5.5.6.5 10000 1.1.1.4 80
RWR-RDR 5.5.5.9 10000 9.9.9.9 80 <- -> 5.5.5.9 10000 1.1.1.4 80
RWR-RDR 5.5.5.8 10000 9.9.9.9 80 <- -> 5.5.5.8 10000 1.1.1.9 80
RWR-RDR 5.5.5.7 10000 9.9.9.9 80 <- -> 5.5.5.7 10000 1.1.1.2 80
RWR-RDR 5.5.5.6 10000 9.9.9.9 80 <- -> 5.5.5.6 10000 1.1.1.9 80
RWR-RDR 5.5.5.5 10000 9.9.9.9 80 <- -> 5.5.5.5 10000 1.1.1.2 80
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)
-------------------------------

40
tests/ipf/expected/p11 Normal file
View File

@ -0,0 +1,40 @@
< bge0 ip #0 40(20) 6 5.5.5.5,10000 > 1.1.1.5,80
< bge0 ip #0 40(20) 6 5.5.5.6,10000 > 1.1.1.5,80
< bge0 ip #0 40(20) 6 5.5.5.7,10000 > 1.1.1.5,80
< bge0 ip #0 40(20) 6 5.5.5.8,10000 > 1.1.1.5,80
< bge0 ip #0 40(20) 6 5.5.5.9,10000 > 1.1.1.5,80
< bge0 ip #0 40(20) 6 5.5.6.5,10000 > 1.1.1.5,80
< bge0 ip #0 40(20) 6 5.5.6.6,10000 > 1.1.1.5,80
< bge0 ip #0 40(20) 6 5.5.6.7,10000 > 1.1.1.5,80
< bge0 ip #0 40(20) 6 5.5.6.8,10000 > 1.1.1.5,80
< bge0 ip #0 40(20) 6 5.5.6.9,10000 > 1.1.1.5,80
List of active MAP/Redirect filters:
rewrite in on bge0 proto tcp from 0/0 to 0/0 port = 80 -> src 0/0 dst dstlist/servers;
List of active sessions:
RWR-RDR 5.5.6.9 10000 9.9.9.9 80 <- -> 5.5.6.9 10000 1.1.1.5 80
RWR-RDR 5.5.6.8 10000 9.9.9.9 80 <- -> 5.5.6.8 10000 1.1.1.5 80
RWR-RDR 5.5.6.7 10000 9.9.9.9 80 <- -> 5.5.6.7 10000 1.1.1.5 80
RWR-RDR 5.5.6.6 10000 9.9.9.9 80 <- -> 5.5.6.6 10000 1.1.1.5 80
RWR-RDR 5.5.6.5 10000 9.9.9.9 80 <- -> 5.5.6.5 10000 1.1.1.5 80
RWR-RDR 5.5.5.9 10000 9.9.9.9 80 <- -> 5.5.5.9 10000 1.1.1.5 80
RWR-RDR 5.5.5.8 10000 9.9.9.9 80 <- -> 5.5.5.8 10000 1.1.1.5 80
RWR-RDR 5.5.5.7 10000 9.9.9.9 80 <- -> 5.5.5.7 10000 1.1.1.5 80
RWR-RDR 5.5.5.6 10000 9.9.9.9 80 <- -> 5.5.5.6 10000 1.1.1.5 80
RWR-RDR 5.5.5.5 10000 9.9.9.9 80 <- -> 5.5.5.5 10000 1.1.1.5 80
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