[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

RE: host numbers



Sharad Joshi wrote:

> Got the answer. converting the given number in binary and reconverting the
> obtained number in decimal, 16bits at a time gives the ip number
> concerned.
> 
> here: 3488905759 => 11001111,11110100,01111010,00011111
>                     ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^
>                        207     244      122      31
> 
> so, the host address in this case is 207.244... Should the browsers not
> take only dotted notation? Is this a feature (certainly not - i believe) 
> or a bug?

It's a feature, in that it is intentional. It's a bug, in that it
violates the RFC.

It has also been responsible for at least one security problem:
Windows considers that the URL corresponds to the `Intranet' security
zone because the host portion of the URL doesn't contain any dots.

- -- 
Glynn Clements <glynn@xxxxxxxxxxxx>

- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
Linux India is NOT a forum for Microsoft/India/Pakistan/US/UK bashing.
Flame baits will not be tolerated.  If you can appreciate satire read
http://www.templetons.com/brad/emily.html

------------------------------