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

Re^2: Wildcard usage for REMOTE_ADDR comparison

by fullermd (Curate)
on Oct 20, 2012 at 09:21 UTC ( #1000116=note: print w/ replies, xml ) Need Help??


in reply to Re: Wildcard usage for REMOTE_ADDR comparison
in thread Wildcard usage for REMOTE_ADDR comparison

One reason why is for the case where you are presented with an address text like "180.076.006.001",

Of note is that that isn't the same IP. v4 addresses by convention work like C-style numeric constants, so a leading 0 means it's in octal:

% ping 180.076.006.001 PING 180.076.006.001 (180.62.6.1): 56 data bytes

(just one of the many scary things you can do with v4 addresses...)


Comment on Re^2: Wildcard usage for REMOTE_ADDR comparison
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (13)
As of 2014-04-24 11:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (565 votes), past polls