Forum Discussion
abdullah_alshah
Sep 12, 2018Nimbostratus
tcpdump
hi
how i can make tcpdump with source IP and port
youssef1
Sep 12, 2018Cumulonimbus
Hi,
Nice article by F5 on TCPDUMP with all needed command:
https://support.f5.com/csp/article/K411
Additional point keep in mind that if you want to capture traffic on all interface you have to set
tcpdump -ni 0.0
however you will not capture traffic that pass trough mangement interface with this command.
If you want to capture traffic that pass trough mgmt interface you have to specify mgmt interface like that:
tcpdump -ni eth0
If you want to capture dest port 80 use this command for example:
tcpdump -nni 0.0 src host 172.16.101.20 and dst port 80
For info:
-nn disable both name and service port resolution while performing a capture.
-i allow to select interface
Regards
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