Forum Discussion
Doris_Ramirez_2
May 16, 2011Nimbostratus
Capture TCP Reset with iRule?
Hi, can you help me?
I need to capture in LTM v10 all TCP request, TCP Reset and TCP Establishment that are generated by Clients... the same information that I see with a tcpdump but I need to ca...
hooleylist
May 17, 2011Cirrostratus
Hi Doris,
It's not currently possible to access the TCP flags from an iRule. You could log when a TCP connection from a client to a virtual server from the CLIENT_ACCEPTED event:
when CLIENT_ACCEPTED {
Log locally or remotely that a connection was established
http://devcentral.f5.com/wiki/default.aspx/iRules/log
log local0. "[IP::client_addr]:[TCP::client_port]: Connection to [IP::local_addr]:[TCP::local_port] on [virtual name]"
}
You can read the options from the TCP headers, but this doesn't include the TCP flags that you're looking for.
http://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/1086447/Accessing-TCP-Options-from-iRules.aspx
Aaron
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