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 02-03-2006, 12:58 AM   #1
pixie
Member
 
Registered: Aug 2003
Distribution: Mageia, Centos, CloudLinux
Posts: 53

Rep: Reputation: 27
Head / Http/1.1


Had loads of this yesterday in the Apache log from the same IP
Code:
66.131.x.x	proxy.domain.com	HEAD / HTTP/1.1
Note, this was not a GET request.
A possible hack attempt or nothing to worry about ???
 
Old 02-03-2006, 07:04 AM   #2
acidzebra
Member
 
Registered: Mar 2005
Location: Netherlands
Distribution: FC4, debian, SuSE
Posts: 64

Rep: Reputation: 15
A head request asks the server to reply with the document headers. Here is an example server reply to a head request:

HTTP/1.1 200 OK
Date: Fri, 29 Aug 2003 17:59:13 GMT
Server: Apache/1.3.27
Cache-Control: max-age=86400, must-revalidate
Last-Modified: Tue, 26 Aug 2003 22:19:18 GMT
ETag: "c20bf0-216b-3f4bdce6"
Accept-Ranges: bytes
Content-Length: 8555
Connection: close
Content-Type: text/html

The "/" is the resource indicator, or in this case root index of your site.
So if you have, say, "index.html" in the root directory of your web site, the request "GET / HTTP/1.1" is a request for that file.

So I would say not much hto worry about.
 
Old 02-03-2006, 07:11 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,417
Blog Entries: 55

Rep: Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627
HEAD requests are used to get information about the server like banner/software/version/proxy-ability checks. I think it would be "better" to say that "nothing to worry about" means you knowing what restrictions are in place and those restrictions being suitable for your setup. Make sure proxying capabilities are disabled or access is restricted by means of at least one of the following: router, TCP wrappers, firewall, httpd.conf (in this case more is better).
 
Old 02-03-2006, 07:15 AM   #4
pixie
Member
 
Registered: Aug 2003
Distribution: Mageia, Centos, CloudLinux
Posts: 53

Original Poster
Rep: Reputation: 27
Thanks for your reply.
There was no GET index or image etc, Just: HEAD / HTTP/1.1
And at one point there were 63 requests for HEAD / HTTP/1.1 from the same IP which continued for several hours.
 
  


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
apache: http://localhost (work) http://ipaddress (not working) sarmad Linux - Newbie 7 02-05-2013 07:47 AM
apache http://localhost/mysite ---> http://localhost/mysite/index.php how? ilnli Linux - General 8 06-04-2005 03:23 PM
Multi-monitor Issues on RH9, Geforce 4 Ti Dual Head + TNT2 Single Head the letter b Linux - Newbie 3 12-04-2004 11:23 PM
"socks5" -> "http" proxy protocol, or ssh tunnel to sock5 ? I'm beyond http p vmicho Linux - Networking 2 12-16-2003 05:32 AM
x86 Solaris 9 XSun and Matrox G550 dual-head... one head down, one to go. finegan Solaris / OpenSolaris 4 03-11-2003 12:39 PM

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

All times are GMT -5. The time now is 12:43 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