Re: (PM) Off Topic: Wierd URL

Paul Robinson (paulr-pm@wf.net)
Mon, 1 Feb 1999 10:42:43 -0600

On Mon, Feb 01, 1999 at 09:15:25AM -0500, Jon Hulett - Tech Director wrote:
> Yup - after I installed the patch the URL wouldn't work.
>
> Anybody got a small WinAPI or BSD UNIX utility to convert to the quad
> format??
>

Yes, you do. :)

Actually the BSD 'ping' utility, when fed a 32-bit IP, will convert it
automagically and display the octets.

As an aside, the procedure for converting from dotted quad to 32-bit is
actually very simple for a spammer or anyone else to set up.
For an IP in the form "a.b.c.d", BSD's "calc" utility can be fed:

(a * 256^3) + (b * 256^2) + (c * 256) + d

This will give you the 32-bit IP # for any given dotted quad.

--
Paul Robinson
Systems Administration
Web Fire Internet Services

- To unsubscribe, email 'majordomo@livingston.com' with 'unsubscribe portmaster-users' in the body of the message. Searchable list archive: <URL:http://www.livingston.com/Tech/archive/>