Paul_108843
Apr 02, 2011Nimbostratus
LTM Log Files
I need to be able to see tcp traffic between client and F5 and between F5 and pool memebers. Anybody knows how I can setup and view that? Thanks
by default, system log (e.g. /var/log/ltm) does not include application traffic. if you want to log application traffic, you can use irule.
e.g.
Log Http Tcp Udp To Syslogng
https://devcentral.f5.com/wiki/iRules.LogHttpTcpUdpToSyslogng.ashx
by default, system log (e.g. /var/log/ltm) does not include application traffic. if you want to log application traffic, you can use irule.
e.g.
Log Http Tcp Udp To Syslogng
https://devcentral.f5.com/wiki/iRules.LogHttpTcpUdpToSyslogng.ashx
You can capture client side traffic and responding server side traffic using below command::
tcpdump -vvnni 0.0:nnnp -s0 host x.x.x.x and port yy
If you want to traffic for a specific client then::
tcpdump -vvnni 0.0:nnnp -s0 host x.x.x.x
If you want write captured traffic to a file to review later in wire shark or some other tool use 'w' option and provide path to the file
tcpdump -vvnni 0.0:nnnp -s0 -w /var/tmp/capture.pcap host x.x.x.x