Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: CGI: Validate access based on IP - with CIDR support

by nerfherder (Monk)
on Feb 12, 2005 at 00:20 UTC ( [id://430350]=note: print w/replies, xml ) Need Help??


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

Thanks for the reply! I hear you about the freeze/thaw methods - good idea. I thought that Net::CIDR::Lite had no equivalent to Net::CIDR::cidrlookup() - or does it? That's why I went with Net::CIDR, anyway.

Any other comments are most welcome! Thanks again :-)
  • Comment on Re^2: CGI: Validate access based on IP - with CIDR support

Replies are listed 'Best First'.
Re^3: CGI: Validate access based on IP - with CIDR support
by runrig (Abbot) on Feb 13, 2005 at 20:05 UTC
    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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://430350]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-20 08:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found