Date: Wed, 10 Apr 2002 23:48:04 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Tim McCullagh <tim@halenet.com.au> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Maybe OT Finding the web address associated with some spam Message-ID: <20020410204804.GF334@hades.hell.gr> In-Reply-To: <01d401c1e02e$c7c86100$6500a8c0@halenet.com.au> References: <01d401c1e02e$c7c86100$6500a8c0@halenet.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-04-10 11:26, Tim McCullagh wrote: > Hi > > I was wondering if anyone can shed any light on how I can find out > what the actual address to trace to is for the following web address > > http://7814731399/webcam_access/index.html This one doesn't resolve at all. It's larger than 2^32 (4294967296) and can't represent a 32-bit Internet address. Oh wait! It can, but after it's stripped of those extra bits. $ python Python 2.2 (#1, Mar 21 2002, 03:21:57) [GCC 2.95.3 20010315 (release)] on freebsd5 Type "help", "copyright", "credits" or "license" for more information. >>> 7814731399 & (2**32-1) 3519764103L >>> And now, I can use ping(1) to find out the Internet address that matches 3519764103: $ ping -n -c1 3519764103 PING 3519764103 (209.203.86.135): 56 data bytes ... All this works because Internet addresses are represented as 32-bit integers. Any number from [0 .. (2**32-1)] can be used as an Internet address (well, practically not *any* number, but you get the idea). Giorgos Keramidas FreeBSD Documentation Project keramida@{freebsd.org,ceid.upatras.gr} http://www.FreeBSD.org/docproj/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020410204804.GF334>