Forum Discussion
clazba
Jan 30, 2011Nimbostratus
table command, how to log a timeout
Hi,
I would like to be able to log when a connection has timed out and thus dropped off the table in a rate limiting irule.
As far as I can tell there is no specific event triggere...
spark_86682
Feb 01, 2011Historic F5 Account
Aaron is right; there's no way to get a block of code to run when a table entry expires. Originally, we had planned for an iRule event that would fire whenever any entry expired, but there were some daunting technical problems with that. The eventual solution will very likely look closer to (one of the forms of) the after command, in that for a given entry you'll be able to specify a block of code that will get executed when the entry goes away. That said, please do raise the issue with support, give them your specific use case, and ask for it to be added to ID 348949.
Although table entries aren't associated with specific connections, we do have iRule events that are also not associated with a connection (RULE_INIT being the most obvious, but ACCESS_SESSION_CLOSED is another example).
Getting a "handle" to a connection is definitely something we're also considering, along with a few other commands to do "interesting" things with them. If you have specific use cases for that, please file a separate RFE for those (we *love* use cases, because we might be able to come up with an easy and efficient way to solve the problem, and then we can use the use cases to validate the solutions we do come up with).
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