9 |
|
|
10 |
|
// add some test rules |
11 |
|
acl.add(ACL.ALLOW, "*.ukc.ac.uk"); |
12 |
< |
acl.add(ACL.ALLOW, "129.12.*"); |
12 |
> |
acl.add(ACL.ALLOW, "129.12.*.*"); |
13 |
|
acl.add(ACL.ALLOW, "*.bishnet.net"); |
14 |
|
acl.add(ACL.ALLOW, "192.168.*"); |
15 |
+ |
acl.add(ACL.ALLOW, "192.168.*.*"); |
16 |
+ |
acl.add(ACL.ALLOW, "one.two.three.four.five.six.*"); |
17 |
+ |
acl.add(ACL.ALLOW, "192.129.12.*.*"); |
18 |
+ |
acl.add(ACL.ALLOW, "129.12.*"); |
19 |
+ |
acl.add(ACL.ALLOW, "129.12.4"); |
20 |
+ |
acl.add(ACL.ALLOW, "129.*"); |
21 |
+ |
acl.add(ACL.ALLOW, "129*"); |
22 |
+ |
acl.add(ACL.ALLOW, "*"); |
23 |
+ |
acl.add(ACL.ALLOW, ""); |
24 |
|
// not really needed if we default to deny :) |
25 |
|
//acl.add(ACL.DENY, "*"); |
26 |
|
|