Two stupid ip questions;

Rob Nelson ronelson@vt.edu
Mon, 31 May 1999 23:31:23 -0400


>> 2)  what's with these ip addresses with no dots?  Is this in an rfc or
>> something? (or is it straight decimal to hex conversion?)  e.g.
>> http://3626046468/ maps to www.angelfire.com (216.33.20.4)

Good thing I learned about radix stuff in college...

216.33.20.4 is a number of a 256 radix, if I have my terminology right. The
periods are separators of each digit. Take each digit starting at the right and
multiply it by 256^(number of digits from the right), starting with 0. So, you
get 216 * 256^3 + 33 * 256^2 + 20 * 256^1 + 4 * 256^0 = 3626046468

Why, you ask, would anyone give their IP like that? Certain versions of IE4
would take any IP given in decimal form as in the intranet zone, therefore
bypassing most security.

Rob Nelson
ronelson@vt.edu