Forum Discussion
tcp close trigger for client_closed and server_closed event
We are looking to invoke table set command within irule during connection close and need to determine proper event to trigger it.
Using table on the link below, we are looking to trigger at the earliest point of FIN-WAIT or CLOSE-WAIT.
http://www.tcpipguide.com/free/t_TC...tion-2.htm
Following is routine that we will trigger within irule.
<<<
when [client or server]_CLOSED {
if { [info exists XXXX] } {
log local0 "client connection closing - invoking table set command"
table set $ip_addr $customer_id 60 60
}
log local0 "client connection closed"
}
>>>
My devcentral/askf5 search does not lead me to anything specfic about client_closed or server_closed trigger point.
In our case, client will make second connection attempt soon after original connection close and we want routine invoked at earliest point in the TCP CLOSE lifecycle.
Do appreciate assistance from the folks who have already figured this out or who can give me any pointers on this.
Thanks!
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