If you really want to do it programmatically in your app you would have to write a filter which caches the IP addresses of the incoming requests. Check out any example filter you can find (they're normally quite basic) and configure it according to the docs on the tomcat site - it's standard j2ee.

On 05/06/05 15:26 Mark Benussi wrote:
Is it possible to set this in any other way as I don't have access to my
httpd.conf with my current hosts.

-----Original Message-----
From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: 05 June 2005 14:58
To: Struts Users Mailing List
Subject: Re: Avoiding attacking server

set your MaxClients directive (max number of simultaneously connected clients) in your httpd.conf
Take a look at
http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/s1-apache-co
nfig.html
Anyone else ???
Martin-
----- Original Message ----- From: "John Plate" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Saturday, June 04, 2005 9:38 AM
Subject: Avoiding attacking server



Hi

Is it possible to configure how often an IP number can access the
Struts web-server? Fx, an attacking server may overwhelm the Struts
server with requests...

Thanks
John


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to