Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In our situation the client timeout must be small because the long waiting clients should be disconnected, but we have an IP range of open proxies which we wan't to block with tarpit.

As our testing the tarpit timeout cannot be greater than the client timeout. How can I achieve to have a greater tarpit timeout in HAProxy than the global client timeout?

share|improve this question

On your tarpit session include this line

timeout tarpit 10s
share|improve this answer
I said that it cannot be greater then global client timeout, in our case the actual client timeout is 4000ms and the tarpit is 4s and it does not work. – KARASZI István Nov 4 '11 at 14:53
After you send a connection to tarpit, the client timeout doesn´t matter, the timeout connect value is used, unless you specify the timeout tarpit value. – Marcelo Bittencourt Nov 7 '11 at 18:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.