Re: IP address spec ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In article <20010717110211.T984@ipex.cz> you wrote:
>  in RFC 1166 (Internet Numbers). So, it looks like that there is a possibility
> to use 010.000.000.001 or equiv 10.0.0.1.

yes but most implementations see this as octal, which means 8.0.0.1 for them:

> ping 010.000.000.001
PING 010.000.000.001 (8.0.0.1) from 10.0.0.3 : 56(84) bytes of data.

so in short: dont use it and in case you try to filter it, block it. 

there are even the possibility to give the address as hex like 0x08000001 or
decimal like 134217729:

> ping 0x8000001
PING 0x8000001 (8.0.0.1) from ... 
> ping 134217729
PING 134217729 (8.0.0.1) from ...
> ping 8.1
PING 8.1 (8.0.0.1) from ...

this is linux 2.4 kernel with glibc 2.1 and iputils-ss001110 on Debian.

Greetings
Bernd
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux