Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by runrig (Abbot)
on Feb 13, 2005 at 20:05 UTC ( #430619=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2021-12-06 03:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (31 votes). Check out past polls.

    Notices?