[Dshield] IP representation

John Hardin johnh at aproposretail.com
Fri Aug 1 16:11:53 GMT 2003


On Fri, 2003-08-01 at 08:52, Leone, Michael wrote:
> A while back (talking about early 90's old school) I came across
> representing ip addresses as a single long integer not in its period
> delimited form. 

a.b.c.d -> ((((((a * 256) + b) * 256) + c) * 256) + d)

There are probably scads of tools to automate it.

--
John Hardin  KA7OHZ                           
Internal Systems Administrator                    voice: (425) 672-1304
Apropos Retail Management Systems, Inc.             fax: (425) 672-0192
-----------------------------------------------------------------------
  There is no problem that cannot be solved by the appropriate
  application of high explosives.
-----------------------------------------------------------------------
 92 days until Matrix Revolutions




More information about the list mailing list