Forum Discussion
smp_86112
Cirrostratus
May 26, 2010logging full TCP connection details
In my head, I have this picture of how a TCP connection with a SNAT-enabled Virtual Server looks: [client_ip]:[client_port] <-> [VIP_ip]:[VIP_port] <-> [LTM_self_ip]:[LTM_port] <-> [Node_ip...
hoolio
Cirrostratus
May 27, 2010Hi SMP,
You're pretty much there. When called in the clientside context, IP::local_addr and TCP::local_port will return the IP and port the client made the request to (the client's destination IP and port). For host virtual servers, this will be the virtual server IP and port. If you want to get the client's destination IP and port from a serverside event, you can use the clientside command.
See this old post for details on IP's and context:
http://devcentral.f5.com/Forums/tabid/1082223/asg/50/showtab/groupforums/aff/5/aft/10187/afv/topic/Default.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
