0

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?

1 Answer 1

0

On your tarpit session include this line

timeout tarpit 10s
2
  • 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. Nov 4, 2011 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. Nov 7, 2011 at 18:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .