summaryrefslogtreecommitdiffstats
path: root/src/global/namadr_list.in
blob: 45423873764da3c9ec3e462c99c4a16981f95377 (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
./namadr_list 168.100.3.0/28 dummy 168.100.3.2
./namadr_list '!168.100.3.2 168.100.3.0/28' dummy 168.100.3.2
./namadr_list '!168.100.3.2 168.100.3.0/28' dummy 168.100.3.3
./namadr_list 168.100.3.0/28 dummy 168.100.3.16
./namadr_list 168.100.3.0/98 dummy 168.100.3.16
./namadr_list 168.100.589.0/28 dummy 168.100.3.16
./namadr_list 168.100.3.0/28 dummy 168.100.989.16
./namadr_list 2001:240:5c7:0:2d0:b7ff:fe88:2ca7 dummy 2001:240:5c7:0:2d0:b7ff:fe88:2ca7
./namadr_list '[2001:240:5c7:0:2d0:b7ff:fe88:2ca7]' dummy 2001:240:5c7:0:2d0:b7ff:fe88:2ca7
./namadr_list '[2001:240:5c7:0:2d0:b7ff:fe88:2ca7]' dummy 2001:240:5c7:0:2d0:b7ff:fe88:2ca8
./namadr_list '[2001:240:5c7:0:2d0:b7ff:fe88:2ca7]/64' dummy 2001:240:5c7:0:2d0:b7ff:fe88:2ca8
./namadr_list '[2001:240:5c7::]/64' dummy 2001:240:5c7:0:2d0:b7ff:fe88:2ca8
./namadr_list '[2001:240:5c7::]/64' dummy 2001:24:5c7:0:2d0:b7ff:fe88:2ca8
./namadr_list '[2001:24:5c7:0:2d0:b7ff:fe88:2ca8]' dummy 2001:24:5c7:0:2d0:b7ff:fe88:2ca8
./namadr_list '[2001:24:5c7:0:2d0:b7ff:fe88:2ca8]' dummy 2001:24:5c7:0:2d0:b7ff:fe88:2ca7
./namadr_list 168.100.3.2 dummy 168.100.3.2
./namadr_list 168.100.3.2 dummy 168.100.3.3
./namadr_list '[168.100.3.2]' dummy 168.100.3.2
./namadr_list '[168.100.3.2]' dummy 168.100.3.3
echo foo !bar baz >junk; mv junk /tmp
./namadr_list !/tmp/junk dummy 168.100.3.3
./namadr_list !/tmp/junk foo 168.100.3.3
./namadr_list !/tmp/junk bar 168.100.3.3
./namadr_list !/tmp/junk baz 168.100.3.3
./namadr_list /tmp/junk dummy 168.100.3.3
./namadr_list /tmp/junk foo 168.100.3.3
./namadr_list /tmp/junk bar 168.100.3.3
./namadr_list /tmp/junk baz 168.100.3.3
rm -f junk
./namadr_list 'be.be' x.x.x 127.0.0.1
./namadr_list 'be/be' x.x.x 127.0.0.1
./namadr_list '[be:be]' x.x.x 127.0.0.1
./namadr_list '[be:be]' x.x.x ::1
env foo=x ./namadr_list environ:junk foo 168.100.3.3
env foo=x ./namadr_list environ:junk bar 168.100.3.3
env foo=x ./namadr_list !environ:junk foo 168.100.3.3
env foo=x ./namadr_list !environ:junk bar 168.100.3.3
env foo=x ./namadr_list !!environ:junk foo 168.100.3.3
env foo=x ./namadr_list !!environ:junk bar 168.100.3.3
./namadr_list fail:1 bar 168.100.3.3
./namadr_list !fail:1 bar 168.100.3.3
./namadr_list /tmp/nosuchfile bar 168.100.3.3