From owner-freebsd-questions Tue Apr 9 19:30:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp03.wxs.nl (smtp03.wxs.nl [195.121.6.37]) by hub.freebsd.org (Postfix) with ESMTP id 55ED537B405 for ; Tue, 9 Apr 2002 19:30:41 -0700 (PDT) Received: from Alex ([213.10.151.186]) by smtp03.wxs.nl (Netscape Messaging Server 4.15) with ESMTP id GUBYYX00.JHD; Wed, 10 Apr 2002 04:30:33 +0200 Date: Wed, 10 Apr 2002 04:30:40 +0200 From: Alex X-Mailer: The Bat! (v1.53d) Reply-To: Alex X-Priority: 3 (Normal) Message-ID: <565100749.20020410043040@dds.nl> To: "Tim McCullagh" Cc: freebsd-questions@freebsd.org Subject: Re: Maybe OT Finding the web address associated with some spam In-Reply-To: <01d401c1e02e$c7c86100$6500a8c0@halenet.com.au> References: <01d401c1e02e$c7c86100$6500a8c0@halenet.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello Tim, Wednesday, April 10, 2002, 3:26:45 AM, you wrote: TM> Hi TM> I was wondering if anyone can shed any light on how I can find out what the TM> actual address to trace to is for the following web address TM> http://7814731399/webcam_access/index.html TM> Can anyone help with what is the www.address for 7814731399.? TM> How does this resolve through a web browser? Short answers: since the number is larger then 256^4-1, it point a non existing ip address. IP address with more then 4 bytes aren't used on the web jet. Two steps: 1. Translate it in to a IP address. A IP address version 4 exist out of 4 bytes. And a byte can hold 256 different numbers. The long number equals to the 1st number number * 256^3 + 2nd number * 256^2 + 3th number * 256^1 + 4th number. 1.1 Divide the original by 256^3 (to the power of 3). This is the 1st number. (Ignoring all after the dot). Subtract the 1st number multiplied with 256^3 from the original. org = 7814731399 1st number = org / 256^3 7814731399 / 256^3 = 465.xxx (> 255 is to large) org -= 1st number * 256^3 7814731399 - 465*256^3 = 13325959 1.2 Divide the new original by 256^2. This is the 2nd number. (Ignoring all after the dot). Subtract the 2st number multiplied with 256^2 from the new original. 2nd number = org / 256^2 1325959 / 256^2 = 203 org -= 2nd number * 256^2 1325959 - 203*256^2 = 22151 1.3 Divide the new original by 256^1. This is the 3th number. (Ignoring all after the dot). Subtract the 3th number multiplied with 256^1 from the new original. 3th number = org / 256 22151 / 256 = 86 org -= 3th number * 256 22151 - 86*256 = 135 1.4 The original number is now the 4th number. 4th number = org 135 2. Look the URL up in a DNS. # nslookup > 465.203.86.135 Some message like none existing ip address. TM> To Unsubscribe: send mail to majordomo@FreeBSD.org TM> with "unsubscribe freebsd-questions" in the body of the message -- Best regards, Alex mailto:freebsd@akruijff.dds.nl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message