Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hacking Apache Server

Status
Not open for further replies.

manikabedi

Programmer
Sep 4, 2003
2
IN
I have an auction site deployed on Apache and some one is doing a telnet to my server on port 80 and doing GET and POST. As a result my server stops working.

This is the text I copied it from log files.
211.147.1.82 - - [02/Sep/2003:08:59:31 +0100] "GET / HTTP/1.1" 400 380
211.147.1.82 - - [02/Sep/2003:08:59:43 +0100] "POST / HTTP/1.1" 500 604

Please help!!!!!!!!!

 

How on earth can this stop your server from working?

Cheers

Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
I have the same problem, only the user is obviously on modem (differing ip addresses)

I do not have telnet enabled, surely this is why it is being logged in error.log?

does anyone have a real solution to this?

Tracey
Remember... True happiness is not getting what you want...

Its wanting what you have got!
 
The person who telnets my server sends POST requests, which causes and internal server error. This is what I got from log files:

211.147.1.82 - - [02/Sep/2003:08:59:31 +0100] "GET / HTTP/1.1" 400 380
211.147.1.82 - - [02/Sep/2003:08:59:43 +0100] "POST / HTTP/1.1" 500 604

You can see , the http status code, 400 - means it is a bad request; 500 - means it is Internal server error.
 
Internal server errors causes your webserver to crash? What OS are you on?

//Daniel
 
You could probably trap the GET||POST / and do a redirect to some other page or why not change your 400 and 500 responces to be a polite message like "Please check that you have requested a valid rescorce, NOW GO AWAY!"

See your httpd.conf for more on 400, 404, 500 error handeling.

But I would suggest that if a 500 crashes your server then you have a rather more serious problem than a simple rouge user.

Good Luck,
Laurie.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top