Forum Discussion
Michael_Koyfma1
Cirrus
Apr 22, 2005Can I capture TCP Reset in iRules?
Does anyone know whether I can detect/capture TCP reset using iRules? If it's possible, how would I do it? Thanks a lot in advance.
5 Replies
- unRuleY_95363Historic F5 AccountWell, the CLIENT_CLOSED or SERVER_CLOSED event will trigger, however, there isn't a command that will return the reason for the close (whether idle_timeout, FIN, or RST). Maybe rapmaster_c knows of something tricky we can do with the existing set of TCP commands...
- rapmaster_c_127Historic F5 AccountSorry, there's no good way right now to catch a connection closing with a RST as opposed to a 4-way close. One thing we've seen quite a bit of on the internet is upstream proxies that seem to tear down all connections with RSTs rather than properly 4-way close. This may be due to a very short (non-existent?) close-wait timeout on their stacks, so a rule event to distinguish between orderly 4-way closes, and RST-driven teardowns might cause a number of false alarms.
If this is something you absolutely must have, please contact support, and we'll see what we can do to have an enhancement CR put in the pipe. - John_Survant_45
Nimbostratus
It looks like someone was trying to figure this out several years ago. Has F5 been able to find a way to capture TCP Resets in an iRule now? It seems like a rather common question. - John_Survant_45
Nimbostratus
It looks like someone was trying to figure this out several years ago. Has F5 been able to find a way to capture TCP Resets in an iRule now? It seems like a rather common question. - Deb_Allen_18Historic F5 AccountNo, we still don't have any commands specific to TCP flags or IP data.
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
