Welcome! Log In Create A New Profile


deny/allow IP address range new syntax needed

Posted by dbring 
deny/allow IP address range new syntax needed
June 13, 2012 12:40PM
The options for allow/deny IP address range are too cumbersome to effectively implement needed security. There are more than 23,550 IP address ranges in the USA. With the current syntax limitations, creating a document that uses these ranges to allow only USA IP address is far too difficult.

deny and allow should be syntatically extended to include this syntax:
allow -;
allow -;
allow -;
allow -;
allow -;
....(next 23550 ranges)...
deny all;

This would make security usable for country specific IP address ranges!

nginx IP address range matching using this syntax is only slightly different from the /8 syntax, since all blocks are consecutive a > and < comparison for each block is all that is required.

Please implement this IP range syntax and bring some sanity to this needed level of security.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 344
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready