Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 2004 20:23:24 -0800
From:      Wes Peters <wes@softweyr.com>
To:        Jeff Lewis <jlewis1957@netscape.net>
Cc:        FreeBSD-newbies@freebsd.org
Subject:   Re: Time to shut down this list?
Message-ID:  <200412232023.25374@zaphod.softweyr.com>
In-Reply-To: <0CA07A3D.122A43E3.0F75C5EC@netscape.net>
References:  <0CA07A3D.122A43E3.0F75C5EC@netscape.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 23 December 2004 12:40, Jeff Lewis wrote:
> I'm a newbie, and until now, a lurker.
>
> I do not want this list disbanded. I believe that I belong here.

Thanks, this is exactly the sort of discussion I was hoping for.

> Case in point:
>
> I just got my hardware ready. I will be loading 4.10 on my new test
> box. (5.2.1 hated the ACPI and required that I select NO ACPI from
> the menu all the time.) I wanted to mirror software that my ISP uses
> so I tried to find out what version of the OS they were running.
>
> It took me 20 minutes of googling to find the uname command. Then I
> had to find the same for perl and php (easier). I never did find out
> how to do this for apache.

Piece of cake.  The server will tell you what it's running in response a 
simple GET request.  The way you do this is to use telnet to connect to port 
80 and tell the server GET / HTTP/1.0 followed by two carriage returns.  
Here's a transcript, with my typing marked as C: and the server replies with 
S: for clarity.  (The "Trying", "Connected", and "Escape" lines are printed 
by the telnet client.)  This is being run from freefall.freebsd.org, against 
my server, feel free to try it yourself:

C: wes@freefall$ telnet www.bsdconspiracy.net 80
   Trying 69.75.218.19...
   Connected to softweyr.homeunix.net.
   Escape character is '^]'.
C: GET / HTTP/1.0

S: HTTP/1.1 200 OK
S: Date: Fri, 24 Dec 2004 04:13:38 GMT
S: Server: Apache/1.3.29 (Unix) PHP/4.3.7 mod_ssl/2.8.16 OpenSSL/0.9.7c
S: Content-Location: index.html.en
S: {much more output elided...}

So we see that bsdconspiracy.net is run on Apache 1.3.29, along with an 
out-of-date, insecure version of PHP (an upgrade is in the closet right now, 
waiting to get finished)

> But I would never have asked that question on the -questions list
> because I felt stupid. I didn't ask that question here because we
> aren't supposed to.

And so now I've violated the list charter, too.  ;^)

If I knew of a good, simple FAQ that answered this, I would've pointed you to 
it.  The problem is, somebody else is going to want this same question 
answered again next week, and they're not going to know to search the 
archives for this wonderful answer I've just given you.  That's an even 
"better" problem to solve than simply answering your question, even if it 
doesn't solve your immediate problem.

-- 
         Where am I, and what am I doing in this handbasket?
Wes Peters                                                wes@softweyr.com



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