xref: /netbsd-src/tests/ipf/expected/n1 (revision 22ab6602b033aeb7f495212484e1b41464ad39c5)
1*22ab6602Schristos> zx0 ip #0 20(20) 255 10.1.1.0 > 10.1.1.2
2*22ab6602Schristos> zx0 ip #0 20(20) 255 10.2.2.2 > 10.1.1.2
3*22ab6602Schristos> zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
4*22ab6602Schristos> zx0 ip #0 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025
5*22ab6602Schristos> zx0 ip #0 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025
6*22ab6602Schristos> zx0 ip #0 20(20) 255 10.2.2.1 > 10.1.2.1
7*22ab6602Schristos> zx0 ip #0 20(20) 255 10.2.2.2 > 10.1.2.1
8*22ab6602Schristos< zx0 ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
9*22ab6602Schristos< zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
10*22ab6602Schristos< zx0 ip #0 20(20) 255 10.2.2.1 > 10.2.1.1
11*22ab6602Schristos< zx0 ip #0 20(20) 255 10.2.2.2 > 10.2.1.1
12*22ab6602Schristos< zx0 ip #0 20(20) 255 10.2.2.3 > 10.1.1.1
13*22ab6602Schristos< zx0 ip #0 20(20) 255 10.2.3.4 > 10.2.2.2
14*22ab6602Schristos< zx0 ip #0 20(20) 255 10.1.1.1 > 10.2.2.2
15*22ab6602Schristos< zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
16*22ab6602Schristos< zx0 ip #0 20(20) 255 10.1.1.0 > 10.3.4.5
17*22ab6602Schristos< zx0 ip #0 20(20) 255 10.1.1.1 > 10.3.4.5
18*22ab6602Schristos< zx0 ip #0 20(20) 255 10.1.1.2 > 10.3.4.5
19*22ab6602Schristos< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,1025
20*22ab6602Schristos> zx0 ip #0 48(20) 1 10.2.2.2 > 10.4.3.2
21*22ab6602Schristos< zx0 ip #0 48(20) 1 10.4.3.2 > 10.1.1.1
22*22ab6602Schristos< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.1
23*22ab6602Schristos< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.2
24*22ab6602Schristos< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.3
25*22ab6602Schristos< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.4
26*22ab6602Schristos< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.5
27*22ab6602Schristos> zx0 ip #0 20(20) 34 10.1.1.2 > 10.4.3.2
28*22ab6602Schristos< zx0 ip #0 20(20) 34 10.4.3.2 > 10.3.4.4
29*22ab6602Schristos> zx0 ip #0 20(20) 34 10.1.1.2 > 10.4.3.4
30*22ab6602Schristos< zx0 ip #0 20(20) 34 10.4.3.4 > 10.3.4.5
31*22ab6602Schristos> zx0 ip #0 20(20) 34 10.1.1.3 > 10.4.3.4
32*22ab6602Schristos< zx0 ip #0 20(20) 34 10.4.3.4 > 10.3.4.6
33*22ab6602Schristos> zx0 ip #0 20(20) 35 10.1.1.3 > 10.4.3.4
34*22ab6602Schristos< zx0 ip #0 20(20) 35 10.4.3.4 > 10.3.4.7
35*22ab6602SchristosList of active MAP/Redirect filters:
36*22ab6602Schristosmap zx0 10.1.1.1/32 -> 10.2.2.2/32
37*22ab6602Schristos
38*22ab6602SchristosList of active sessions:
39*22ab6602SchristosMAP 10.1.1.1        <- -> 10.2.2.2        [10.4.3.2]
40*22ab6602SchristosMAP 10.1.1.1        <- -> 10.2.2.2        [10.1.1.2]
41*22ab6602Schristos
42*22ab6602SchristosHostmap table:
43*22ab6602Schristos10.1.1.1,10.4.3.2 -> 10.2.2.2,0.0.0.0 (use = 1)
44*22ab6602Schristos10.1.1.1,10.1.1.2 -> 10.2.2.2,0.0.0.0 (use = 1)
45*22ab6602SchristosList of active state sessions:
46*22ab6602SchristosList of configured pools
47*22ab6602SchristosList of configured hash tables
48*22ab6602SchristosList of groups configured (set 0)
49*22ab6602SchristosList of groups configured (set 1)
50*22ab6602SchristosRules configured (set 0, in)
51*22ab6602SchristosRules configured (set 0, out)
52*22ab6602SchristosRules configured (set 1, in)
53*22ab6602SchristosRules configured (set 1, out)
54*22ab6602SchristosAccounting rules configured (set 0, in)
55*22ab6602SchristosAccounting rules configured (set 0, out)
56*22ab6602SchristosAccounting rules configured (set 1, in)
57*22ab6602SchristosAccounting rules configured (set 1, out)
58b9daf172Sjmmv-------------------------------
59*22ab6602Schristos> zx0 ip #0 20(20) 255 10.3.4.5 > 10.1.1.2
60*22ab6602Schristos15
61*22ab6602Schristos> zx0 ip #0 20(20) 255 10.3.4.5 > 10.1.1.1
62*22ab6602Schristos> zx0 ip #0 40(20) 6 10.3.4.5,1025 > 10.1.1.1,1025
63*22ab6602Schristos> zx0 ip #0 40(20) 6 10.3.4.5,1026 > 10.1.1.1,1025
64*22ab6602Schristos> zx0 ip #0 20(20) 255 10.2.2.1 > 10.1.2.1
65*22ab6602Schristos> zx0 ip #0 20(20) 255 10.2.2.2 > 10.1.2.1
66*22ab6602Schristos< zx0 ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
67*22ab6602Schristos< zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
68*22ab6602Schristos< zx0 ip #0 20(20) 255 10.2.2.1 > 10.2.1.1
69*22ab6602Schristos< zx0 ip #0 20(20) 255 10.2.2.2 > 10.2.1.1
70*22ab6602Schristos< zx0 ip #0 20(20) 255 10.2.2.3 > 10.1.1.1
71*22ab6602Schristos< zx0 ip #0 20(20) 255 10.2.3.4 > 10.2.2.2
72*22ab6602Schristos< zx0 ip #0 20(20) 255 10.1.1.1 > 10.2.2.2
73*22ab6602Schristos< zx0 ip #0 20(20) 255 10.1.1.2 > 10.2.2.2
74*22ab6602Schristos< zx0 ip #0 20(20) 255 10.1.1.0 > 10.3.4.5
75*22ab6602Schristos< zx0 ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
76*22ab6602Schristos< zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.0
77*22ab6602Schristos< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.1.1.2,1025
78*22ab6602Schristos> zx0 ip #0 48(20) 1 10.3.4.5 > 10.4.3.2
79*22ab6602Schristos< zx0 ip #0 48(20) 1 10.4.3.2 > 10.2.2.2
80*22ab6602Schristos< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.1
81*22ab6602Schristos< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.2
82*22ab6602Schristos< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.3
83*22ab6602Schristos< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.4
84*22ab6602Schristos< zx0 ip #0 48(20) 1 10.4.3.2 > 10.1.1.1
85*22ab6602Schristos> zx0 ip #0 20(20) 34 10.3.4.5 > 10.4.3.2
86*22ab6602Schristos< zx0 ip #0 20(20) 34 10.4.3.2 > 10.3.4.4
87*22ab6602Schristos> zx0 ip #0 20(20) 34 10.3.4.5 > 10.4.3.4
88*22ab6602Schristos< zx0 ip #0 20(20) 34 10.4.3.4 > 10.1.1.2
89*22ab6602Schristos15
90*22ab6602Schristos< zx0 ip #0 20(20) 34 10.4.3.4 > 10.3.4.6
91*22ab6602Schristos> zx0 ip #0 20(20) 35 10.3.4.5 > 10.4.3.4
92*22ab6602Schristos< zx0 ip #0 20(20) 35 10.4.3.4 > 10.3.4.7
93*22ab6602SchristosList of active MAP/Redirect filters:
94*22ab6602Schristosmap zx0 10.1.1.0/24 -> 10.3.4.5/32
95*22ab6602Schristos
96*22ab6602SchristosList of active sessions:
97*22ab6602SchristosMAP 10.1.1.3        <- -> 10.3.4.5        [10.4.3.4]
98*22ab6602SchristosMAP 10.1.1.2        <- -> 10.3.4.5        [10.4.3.4]
99*22ab6602SchristosMAP 10.1.1.2        <- -> 10.3.4.5        [10.4.3.2]
100*22ab6602SchristosMAP 10.1.1.1        <- -> 10.3.4.5        [10.4.3.2]
101*22ab6602SchristosMAP 10.1.1.2        1026  <- -> 10.3.4.5        1026  [10.1.1.1 1025]
102*22ab6602SchristosMAP 10.1.1.2        1025  <- -> 10.3.4.5        1025  [10.1.1.1 1025]
103*22ab6602SchristosMAP 10.1.1.2        <- -> 10.3.4.5        [10.1.1.1]
104*22ab6602SchristosMAP 10.1.1.0        <- -> 10.3.4.5        [10.1.1.2]
105*22ab6602Schristos
106*22ab6602SchristosHostmap table:
107*22ab6602Schristos10.1.1.3,10.4.3.4 -> 10.3.4.5,0.0.0.0 (use = 1)
108*22ab6602Schristos10.1.1.2,10.4.3.4 -> 10.3.4.5,0.0.0.0 (use = 1)
109*22ab6602Schristos10.1.1.2,10.4.3.2 -> 10.3.4.5,0.0.0.0 (use = 1)
110*22ab6602Schristos10.1.1.1,10.4.3.2 -> 10.3.4.5,0.0.0.0 (use = 1)
111*22ab6602Schristos10.1.1.2,10.1.1.1 -> 10.3.4.5,0.0.0.0 (use = 3)
112*22ab6602Schristos10.1.1.0,10.1.1.2 -> 10.3.4.5,0.0.0.0 (use = 1)
113*22ab6602SchristosList of active state sessions:
114*22ab6602SchristosList of configured pools
115*22ab6602SchristosList of configured hash tables
116*22ab6602SchristosList of groups configured (set 0)
117*22ab6602SchristosList of groups configured (set 1)
118*22ab6602SchristosRules configured (set 0, in)
119*22ab6602SchristosRules configured (set 0, out)
120*22ab6602SchristosRules configured (set 1, in)
121*22ab6602SchristosRules configured (set 1, out)
122*22ab6602SchristosAccounting rules configured (set 0, in)
123*22ab6602SchristosAccounting rules configured (set 0, out)
124*22ab6602SchristosAccounting rules configured (set 1, in)
125*22ab6602SchristosAccounting rules configured (set 1, out)
126b9daf172Sjmmv-------------------------------
127*22ab6602Schristos> zx0 ip #0 20(20) 255 10.3.4.1 > 10.1.1.2
128*22ab6602Schristos> zx0 ip #0 20(20) 255 10.3.4.2 > 10.1.1.2
129*22ab6602Schristos> zx0 ip #0 20(20) 255 10.3.4.3 > 10.1.1.1
130*22ab6602Schristos> zx0 ip #0 40(20) 6 10.3.4.3,1025 > 10.1.1.1,1025
131*22ab6602Schristos> zx0 ip #0 40(20) 6 10.3.4.3,1026 > 10.1.1.1,1025
132*22ab6602Schristos> zx0 ip #0 20(20) 255 10.2.2.1 > 10.1.2.1
133*22ab6602Schristos> zx0 ip #0 20(20) 255 10.2.2.2 > 10.1.2.1
134*22ab6602Schristos< zx0 ip #0 20(20) 255 10.1.1.1 > 10.1.1.2
135*22ab6602Schristos< zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1
136*22ab6602Schristos< zx0 ip #0 20(20) 255 10.2.2.1 > 10.2.1.1
137*22ab6602Schristos< zx0 ip #0 20(20) 255 10.2.2.2 > 10.2.1.1
138*22ab6602Schristos< zx0 ip #0 20(20) 255 10.2.2.3 > 10.1.1.1
139*22ab6602Schristos< zx0 ip #0 20(20) 255 10.2.3.4 > 10.2.2.2
140*22ab6602Schristos< zx0 ip #0 20(20) 255 10.1.1.1 > 10.2.2.2
141*22ab6602Schristos< zx0 ip #0 20(20) 255 10.1.1.2 > 10.2.2.2
142*22ab6602Schristos< zx0 ip #0 20(20) 255 10.1.1.0 > 10.3.4.5
143*22ab6602Schristos< zx0 ip #0 20(20) 255 10.1.1.1 > 10.3.4.5
144*22ab6602Schristos< zx0 ip #0 20(20) 255 10.1.1.2 > 10.3.4.5
145*22ab6602Schristos< zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,1025
146*22ab6602Schristos> zx0 ip #0 48(20) 1 10.3.4.3 > 10.4.3.2
147*22ab6602Schristos< zx0 ip #0 48(20) 1 10.4.3.2 > 10.2.2.2
148*22ab6602Schristos< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.1
149*22ab6602Schristos< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.2
150*22ab6602Schristos< zx0 ip #0 48(20) 1 10.4.3.2 > 10.1.1.1
151*22ab6602Schristos< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.4
152*22ab6602Schristos< zx0 ip #0 48(20) 1 10.4.3.2 > 10.3.4.5
153*22ab6602Schristos> zx0 ip #0 20(20) 34 10.3.4.3 > 10.4.3.2
154*22ab6602Schristos< zx0 ip #0 20(20) 34 10.4.3.2 > 10.3.4.4
155*22ab6602Schristos> zx0 ip #0 20(20) 34 10.3.4.3 > 10.4.3.4
156*22ab6602Schristos< zx0 ip #0 20(20) 34 10.4.3.4 > 10.3.4.5
157*22ab6602Schristos> zx0 ip #0 20(20) 34 10.3.4.4 > 10.4.3.4
158*22ab6602Schristos< zx0 ip #0 20(20) 34 10.4.3.4 > 10.3.4.6
159*22ab6602Schristos> zx0 ip #0 20(20) 35 10.3.4.4 > 10.4.3.4
160*22ab6602Schristos< zx0 ip #0 20(20) 35 10.4.3.4 > 10.3.4.7
161*22ab6602SchristosList of active MAP/Redirect filters:
162*22ab6602Schristosmap zx0 10.1.1.0/24 -> 10.3.4.0/24
163*22ab6602Schristos
164*22ab6602SchristosList of active sessions:
165*22ab6602SchristosMAP 10.1.1.3        <- -> 10.3.4.4        [10.4.3.4]
166*22ab6602SchristosMAP 10.1.1.3        <- -> 10.3.4.4        [10.4.3.4]
167*22ab6602SchristosMAP 10.1.1.2        <- -> 10.3.4.3        [10.4.3.4]
168*22ab6602SchristosMAP 10.1.1.2        <- -> 10.3.4.3        [10.4.3.2]
169*22ab6602SchristosMAP 10.1.1.1        <- -> 10.3.4.3        [10.4.3.2]
170*22ab6602SchristosMAP 10.1.1.2        1026  <- -> 10.3.4.3        1026  [10.1.1.1 1025]
171*22ab6602SchristosMAP 10.1.1.2        1025  <- -> 10.3.4.3        1025  [10.1.1.1 1025]
172*22ab6602SchristosMAP 10.1.1.2        <- -> 10.3.4.3        [10.1.1.1]
173*22ab6602SchristosMAP 10.1.1.1        <- -> 10.3.4.2        [10.1.1.2]
174*22ab6602SchristosMAP 10.1.1.0        <- -> 10.3.4.1        [10.1.1.2]
175*22ab6602Schristos
176*22ab6602SchristosHostmap table:
177*22ab6602Schristos10.1.1.3,10.4.3.4 -> 10.3.4.4,0.0.0.0 (use = 2)
178*22ab6602Schristos10.1.1.2,10.4.3.4 -> 10.3.4.3,0.0.0.0 (use = 1)
179*22ab6602Schristos10.1.1.2,10.4.3.2 -> 10.3.4.3,0.0.0.0 (use = 1)
180*22ab6602Schristos10.1.1.1,10.4.3.2 -> 10.3.4.3,0.0.0.0 (use = 1)
181*22ab6602Schristos10.1.1.2,10.1.1.1 -> 10.3.4.3,0.0.0.0 (use = 3)
182*22ab6602Schristos10.1.1.1,10.1.1.2 -> 10.3.4.2,0.0.0.0 (use = 1)
183*22ab6602Schristos10.1.1.0,10.1.1.2 -> 10.3.4.1,0.0.0.0 (use = 1)
184*22ab6602SchristosList of active state sessions:
185*22ab6602SchristosList of configured pools
186*22ab6602SchristosList of configured hash tables
187*22ab6602SchristosList of groups configured (set 0)
188*22ab6602SchristosList of groups configured (set 1)
189*22ab6602SchristosRules configured (set 0, in)
190*22ab6602SchristosRules configured (set 0, out)
191*22ab6602SchristosRules configured (set 1, in)
192*22ab6602SchristosRules configured (set 1, out)
193*22ab6602SchristosAccounting rules configured (set 0, in)
194*22ab6602SchristosAccounting rules configured (set 0, out)
195*22ab6602SchristosAccounting rules configured (set 1, in)
196*22ab6602SchristosAccounting rules configured (set 1, out)
197b9daf172Sjmmv-------------------------------
198