LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-03-2004, 10:35 AM   #1
linuxtesting2
Member
 
Registered: Mar 2004
Location: Norway
Distribution: Freebsd, Fedora, Redhat, Solaris 10
Posts: 169

Rep: Reputation: 30
how to check what webserver is running


is there a way to check out which version of a webserver im running. Im trying nmap, and ethereal only thing i get is http/1.1. I want something else for output, like apache v.23.4 ex...is there any other program, or options i should set?

-bj
 
Old 09-03-2004, 10:37 AM   #2
bruj3w
Member
 
Registered: Mar 2004
Location: england
Distribution: slackware
Posts: 164

Rep: Reputation: 30
i think it says in the header of the cofig file off the top of my head.
 
Old 09-03-2004, 10:43 AM   #3
linuxtesting2
Member
 
Registered: Mar 2004
Location: Norway
Distribution: Freebsd, Fedora, Redhat, Solaris 10
Posts: 169

Original Poster
Rep: Reputation: 30
what ??
 
Old 09-03-2004, 10:58 AM   #4
bruj3w
Member
 
Registered: Mar 2004
Location: england
Distribution: slackware
Posts: 164

Rep: Reputation: 30
more /etc/apache/httpd.conf
 
Old 09-03-2004, 12:00 PM   #5
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Uhh, I'm assuming you meant remote version detection? What version of nmap are you using? Versions greater than 3.50 have built-in application version detection and is rather effective (nmap -A host). You can also just do a simple banner grab with telnet:

telnet ip.of.host 80
*If that works you should get something like this:
Trying 192.168.0.3....
Connected to 192.168.0.3.
Escape character is '^]'.
*You'll be at a blank line, now type this and hit enter twice:
GET / HTTP/1.0

You should get the banner plus raw html. In the banner, look at the Server info
HTTP/1.1 200 OK
Date: Fri, 03 Sep 2004 15:34:03 GMT
Server: Apache/1.3.29 (Darwin) tomcat/1.0 mod_ssl/2.8.16 OpenSSL/0.9.6i PHP/4.1.2
Last-Modified: Fri, 06 Feb 2004 21:12:09 GMT
ETag: "45drd-f0c-345c532"
Accept-Ranges: bytes
Content-Length: 1234
Connection: close
Content-Type: text/html; charset=UTF-8
 
Old 09-03-2004, 12:18 PM   #6
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
You can also use www.netcraft.com to find out the webserver.
 
Old 09-03-2004, 01:17 PM   #7
linuxtesting2
Member
 
Registered: Mar 2004
Location: Norway
Distribution: Freebsd, Fedora, Redhat, Solaris 10
Posts: 169

Original Poster
Rep: Reputation: 30
thanks for all replys...i meant remote, now i know
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
running my own webserver ab44045 Linux - Networking 1 11-14-2005 01:47 AM
Running a Toshiba SG20 as my webserver Snowgasm Linux - Newbie 2 09-19-2005 01:41 AM
running appache webserver problems drebbin Linux - Newbie 1 01-02-2005 06:53 PM
running MRTG with a webserver and database? debloxie Linux - Networking 0 10-07-2004 08:09 AM
Question about RoadRunner and running a webserver? |\|E|<0 Linux - General 3 08-07-2002 11:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration