Hi Hugo,
thanks for this great webserver!
I want to use the option AccessList in order to keep away people from unwanted ip ranges.
Unfortunately I have to allow more than one to five ip ranges. So the common syntax below seems to be not very maintainable with many entries:
AccessList = (allow|deny|pwd) <ip-address>[/netmask][, (allow|deny|pwd) <ip-address>[/netmask], ...]
Using the
set option could help. But I have questions:
Is it possible to use this? (I guess not)
set allowed_ip_ranges = 194.25/16, 80.128/11, 212.227/16, ...
AccessList = allow allowed_ip_ranges, deny 0.0.0.0/32
Is it possible to use a comment at the end of a valid line?
set local_net = 192.168.0.0/32 #my local network
Is it possible to use the shorten CIDR notation as shown in the first code fragment? Maybe it should be mention in the manual.
Exists any limition for the
AccessList line?
Can I use multiple
AccessList lines?
Thanks in advance.
-----
Hiawatha version: 7.4
Operating System: FreeBSD 8.2-RELEASE-p0