smp_86112
May 26, 2010Cirrostratus
logging 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]:[Node_port]
However, I could figure out how to log three of these four connection points this during my research and testing:
[IP::client_addr]:[TCP::client_port] <-> ??? <-> [IP::local_addr]:[TCP::local_port] <-> [IP::server_addr]:[TCP::server_port]
Isn't there a way, using these built-in-type iRule constructs, to get the Virtual Server address and port that a client is connected to? I tried various combinations of these variables along with the serverside/clientside global commands, but I couldn't seem to come up with it.