Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "David Blackburn" <dblackb@totalise.co.uk>
Subject: Re: Octal (?) IP address
Date: Mon, 5 Feb 2001 10:30:26 -0000	[thread overview]
Message-ID: <981370152.16454.0.nnrp-13.c29f049d@news.demon.co.uk> (raw)
In-Reply-To: 20010205043812.27657.00001517@ng-mn1.aol.com

You can telnet on port 80 to find out where it is.

Dave

telnet 3506561041 80
Trying...
Connected to 3506561041.
Escape character is '^]'.
GET / HEAD

HTTP/1.0 301 Moved Permanently
Date: Mon, 05 Feb 2001 10:27:15 GMT
Location: http://geocities.yahoo.com/home/
Connection: close
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>301 Moved Permanently</TITLE>
</HEAD><BODY>
<H1>Moved Permanently</H1>
The document has moved <A
HREF="http://geocities.yahoo.com/home/">here</A>.<P>
</BODY></HTML>
Connection closed.

"Spam Only Irritates Me" <lallang@aol.com.cn.ru> wrote in message
news:20010205043812.27657.00001517@ng-mn1.aol.com...
> >"Spam Only Irritates Me" <lallang@aol.com.cn.ru> wrote in message
> >news:20010204224556.18699.00001741@ng-fi1.aol.com...
> >> Is there any Tru64-based utility that will translate this IP address of
> >a
> >> spampage to the dotted quad equivalent?
> >>
> >> http://3506561041/viagnow99/
> >>
> >> It only seems to work under AOL's browser and not regular IE5 nor
Netscape
> >6.
> >
> >It's decimal. You could try:
> ># echo '3506561041' | perl -e 'chomp($a=<>);printf "%vd\n",
pack("N",$a);'
> >209.1.224.17
> >
> >but you need perl >= v5.6
> >
> >Boyd
>
> Okay, thanks.  I'll have to get my perl updated (it's currently 5.004_04
and
> came with Tru64 5.0A). Do you have any URL's pointing to webpages that
explain
> how the whole thing is compacted into one decimal number so I might
understand
> it a little better?
>
>
> ------Signature line follows--------------
> Remove ".cn.ru" to email me. Don't send me spam. You've been warned.
> "Lallang" is the Malay name for "Cogon grass".  See
> http://www.nps.gov/plants/alien/fact/imcy1.htm for information.




      reply	other threads:[~2001-02-05 10:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-05  3:45 Octal (?) IP address Spam Only Irritates Me
2001-02-05  4:14 ` Boyd Adamson
2001-02-05  9:38   ` Spam Only Irritates Me
2001-02-05 10:30     ` David Blackburn [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox