summaryrefslogtreecommitdiffstats
path: root/contrib/ipfilter/test/expected/n2
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ipfilter/test/expected/n2')
-rw-r--r--contrib/ipfilter/test/expected/n2263
1 files changed, 187 insertions, 76 deletions
diff --git a/contrib/ipfilter/test/expected/n2 b/contrib/ipfilter/test/expected/n2
index 827272e..836608a 100644
--- a/contrib/ipfilter/test/expected/n2
+++ b/contrib/ipfilter/test/expected/n2
@@ -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 sequential
+
+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 sequential
+
+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 sequential
+
+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 sequential
+
+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)
-------------------------------
OpenPOWER on IntegriCloud