in reply to Re^2: CGI: Validate access based on IP - with CIDR support
in thread CGI: Validate access based on IP - with CIDR support

I thought that Net::CIDR::Lite had no equivalent to Net::CIDR::cidrlookup()

The 'find' method would do that. You would add all ip's and cidr addresses to the object, then do find()'s to see if an ip is within any of those ip's or cidr ranges.

  • Comment on Re^3: CGI: Validate access based on IP - with CIDR support