Forum Discussion
Adnankhan
Nimbostratus
Feb 15, 2019tcpdump/Logging on vip for 1 week.
Hello Everyone,
I want to run a capture on a specific vip for 1 week.
is there a way to keep writing the capture on file for such a long time.
or if i can turn on the logging on the specifi...
RossVermette
Nimbostratus
Feb 15, 2019If I had to do something similar like that I would pipe the output of tcpdump to an ssh tunnel, write/save the output to wireshark directly.
example on a windows machine (need plink and wireshark)
"c:\plink.exe" -l username -pw password ipaddress_of_f5_mgmt_interface "tcpdump -w - -s0 -ni 0.0:nnn host x.x.x.x and port yyy" | "c:\Program Files\Wireshark.exe" -k -i -
There's wireshark start options to auto save files after certain size and auto roll saved file names(you'd have to figure that out). The -s0 is for full packet snaplen, you could change that to only log the first few bytes of the header you need, to reduce the data. Also you can adjust the tcpdump filters if you need.
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