Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

SO_TIMEOUT with Tomcat 5.5?

Aditya Prasad

2006-12-27

Replies:

Hi all,

I'm having a hard time setting the SO_TIMEOUT value for the socket on
my server (5.5). I want to prevent DOS attacks where a user sends one
byte at a time, separated by a second or so. I can set the overall
timeout, but I want finer-level control. I'm doing this:

<Connector port="8080" ... serverSocketTimeout="100" .../>

But it doesn't seem to work.

I also looked into worker.foo.socket_timeout value, but that may be
completely wrong. Suggestions?

Thanks!
Aditya

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.