Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Wildcard usage for REMOTE_ADDR comparison

by fullermd (Priest)
on Oct 20, 2012 at 09:21 UTC ( [id://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...)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-03-29 06:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found