Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Generate Random IP Addresses

by simonm (Vicar)
on Sep 07, 2004 at 17:54 UTC ( #389149=note: print w/ replies, xml ) Need Help??


in reply to Re: Generate Random IP Addresses
in thread Generate Random IP Addresses

... why would you want a random external IP address?

I can think of lots of reasons, but none of them are good ones -- like checking for an open mail relay to send your spam through, or directing your script-kiddie exploit tool against...


Comment on Re^2: Generate Random IP Addresses
Re^3: Generate Random IP Addresses
by Nkuvu (Priest) on Sep 08, 2004 at 02:13 UTC
    The only potentially good reason I can think of is to test your IP-matching regexen. That is, if you're against using Regexp::Common::net.
      Actually, I have a legitimate use for this. I want to compare the accuracy of two competing products, which are essentially large ip range databases. I have both in my DB now, and am writing a script to perform lookups on a large number of random IPs. I am examining those cases where the results do not line up.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2014-12-21 15:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (106 votes), past polls