summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/pfr1.ok
blob: 22045bc17bd17935f31ad81c798d0f02afb455c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# create
# pass add -n 1.1.1.1 1.1.1.2 1.1.1.3
3/3 addresses added (dummy).
# pass add -nf-
3/3 addresses added (dummy).
# pass add -nqv 1.1.1.1 1.1.1.2 1.1.1.3
A  1.1.1.1
A  1.1.1.2
A  1.1.1.3
# pass add -nqvv 1.1.1.1 1.1.1.2 1.1.1.3
A  1.1.1.1
A  1.1.1.2
A  1.1.1.3
# pass add 1.1.1.1 1.1.1.2 1.1.1.3
3/3 addresses added.
# pass delete -n 1.1.1.1 1.1.1.2 1.1.1.4
2/3 addresses deleted (dummy).
# pass delete -nf-
2/3 addresses deleted (dummy).
# pass delete -nqv 1.1.1.1 1.1.1.2 1.1.1.4
D  1.1.1.1
D  1.1.1.2
# pass delete -nqvv 1.1.1.1 1.1.1.2 1.1.1.4
   1.1.1.4
D  1.1.1.1
D  1.1.1.2
# pass delete 1.1.1.1 1.1.1.2 1.1.1.4
2/3 addresses deleted.
# pass replace -n 1.1.1.1 1.1.1.2 1.1.1.3
2 addresses added (dummy).
# pass replace -nf-
2 addresses added (dummy).
# pass replace -nqv 1.1.1.1 1.1.1.2 1.1.1.3
A  1.1.1.1
A  1.1.1.2
# pass replace -nqvv 1.1.1.1 1.1.1.2 1.1.1.3
   1.1.1.3
A  1.1.1.1
A  1.1.1.2
# pass replace 1.1.1.1 1.1.1.2 1.1.1.3
2 addresses added.
# pass test 1.1.1.1 1.1.1.2 1.1.1.3
3/3 addresses match.
# fail test 1.1.1.1 1.1.1.2 1.1.1.4
2/3 addresses match.
# pass zero 
1 table/stats cleared.
# pass show 
   1.1.1.1
   1.1.1.2
   1.1.1.3
# pass flush 
3 addresses deleted.
# pass show 
# pass list 
regress
# pass list -v
-pa----	regress	regress
# kill
1 tables deleted.
rules cleared
nat cleared
ktable: 13 allocated, 13 released, 0 leaked.
kentry: 25 allocated, 25 released, 0 leaked.