Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2002 04:30:40 +0200
From:      Alex <freebsd@akruijff.dds.nl>
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:  <565100749.20020410043040@dds.nl>
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
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?565100749.20020410043040>