IP Access Control should accept IPv4 ranges

I met an issue recently where I needed to enable access to a large IPv4 range used by a mobile phone carrier for Internet-enabled devices, in this case the UK Orange network. The range can not be concisely described with a CIDR or netmask

The range is:

31.66.144.0-31.79.255.255

Which translates, after some brain-ache, to the following set of CIDRs:

31.66.144.0/20
31.66.160.0/19
31.66.192.0/18
31.67.0.0/16
31.68.0.0/14
31.72.0.0/13

It would be helpful if ip_match() would accept and test address ranges. I have added code to do that and will push it to my public git repository shortly.

Status: 
Closed (fixed)

Comments

The code is available via:

git pull git://iam.tj/webmin.git issue_19961

Thanks for the patch - I will include this in the next Webmin release!

Automatically closed -- issue fixed for 2 weeks with no activity.