Web Servers on Unix and Linux - stop many connections?

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > November 2006 > stop many connections?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author stop many connections?
Ken Williams

2006-11-07, 1:22 am

I'm running apache 1.3.37 on linux 2.4. how can I stop multiple
requests to the same file such as the following. its about 6 hits a
second it seems.

72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:14 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:14 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:14 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:14 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:14 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:14 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:14 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:15 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:15 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:15 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:15 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:15 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:15 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:15 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:15 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:16 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:16 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:16 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:16 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:16 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:16 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:16 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:17 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:17 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:17 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:17 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:17 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
72.27.122.55 www.mywebsite.com - [05/Nov/2006:13:15:17 -0500] "GET
/SomeFile.EXE HTTP/1.1" 302 239 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1)"
Grant

2006-11-07, 1:22 am

On Mon, 06 Nov 2006 23:51:24 -0500, Ken Williams <kenw232@yahoo.com> wrote:

>I'm running apache 1.3.37 on linux 2.4. how can I stop multiple
>requests to the same file such as the following. its about 6 hits a
>second it seems.


I do web calming in iptables rules, see:

http://bugsplatter.mine.nu/junkview/iptables-save

Look at anything with 'calm_new', 'calm_rpt' in it

Grant.
--
http://bugsplatter.mine.nu/
Nick Kew

2006-11-07, 7:19 am

On Mon, 06 Nov 2006 23:51:24 -0500
Ken Williams <kenw232@yahoo.com> wrote:

> I'm running apache 1.3.37 on linux 2.4. how can I stop multiple
> requests to the same file such as the following. its about 6 hits a
> second it seems.


That looks like you've got a URL redirecting to itself, and a
client that's too dumb to get out of the loop. Just fix whatever
you're running on the server that's causing the redirect.

Anyway, you should update. Apache 1.3 is 1998 software.
Do you use MS-DOS on the desktop too?


--
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/
Ken Williams

2006-11-07, 1:15 pm

yes your right, I had a modrewrite rule going to the somefile.exe. I've
improved/fixed it.

I actually do run MS-Dos on the linux box, I boot it then use loadlin to
run linux. I like to live in the past.



Nick Kew wrote:
> On Mon, 06 Nov 2006 23:51:24 -0500
> Ken Williams <kenw232@yahoo.com> wrote:
>
>
> That looks like you've got a URL redirecting to itself, and a
> client that's too dumb to get out of the loop. Just fix whatever
> you're running on the server that's causing the redirect.
>
> Anyway, you should update. Apache 1.3 is 1998 software.
> Do you use MS-DOS on the desktop too?
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com