Forum Discussion
Limit a TCP connection in time
Hi, Is there any way to limit the duration of a TCP connection ?. Let's say it could not last more than 1 min. The problem comes because we have syslog clients that send messages to a pool of servers using TCP. The problem is that the clients saturate the server once their connection is established and they traffic for more than 2 minutes aprox. Then the idea is to force the client to re-negotiate the connection to force it to fall into another pool node and not saturate the first. Our idea was to make an iRule that can close the connection to the client after a certain time.
Any suggestion is welcome. Thank you very much
- jaikumar_f5
Noctilucent
Why go with tcp and not UDP ? Have you referred this Article.
- Zayar_Win_20464
Nimbostratus
You can change in TCP Profile ( Local Traffic > Profile > Protocol > TCP ) As F5 is full proxy , F5 is holding the TCP connection between couple of Hosts and if TCP keepalive message is not arrive in certain period (default idle timeout 300 Seconds ) F5 release the TCP connection. After that connection was reset and need to re-established. I hope this may help. Thank You ZYW
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com