Forum Discussion
thagmann_128177
Nimbostratus
May 27, 2005Set a Timer on an Active Connection
F5,
I have a customer who would like to use iRules to create a timer on all existing active connections to a pool and time each of them out after x amount of time even if they are still active. I do realize that this sounds a bit counter-intuitive as it could break things for him depeneding on the application but I said I would check for him and will be sure to remind him of the potential caveats.
Any ideas? Thanks as always.
1 Reply
- drteeth_127330Historic F5 AccountI'm afraid this is a tough one. You can get the age of a connection in milliseconds with the following command:
IP::stats age
So I suppose you could check the age on each CLIENT_DATA event, but this approach is terribly ugly and will only work for TCP or UDP full-proxied connections (not FastL4 or FastHTTP).
Honestly, this feature is probably beyond the realm of iRules. I recommend that the customer contact support. They can request an enhancement or maybe even file a CSR.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects
