Difference between revisions of "Linux Command: tcpdump"

From RHS Wiki
Jump to navigation Jump to search
(Created page with " tcpdump -i eth1 -s 1500 port not 22 You can skip additional ports too: tcpdump -i eth1 -s 1500 port not 22 and port not 53 You can also use ip or hostname: tcpdump -i...")
(No difference)

Revision as of 14:13, 24 June 2018

tcpdump -i eth1  -s 1500 port not 22

You can skip additional ports too:

tcpdump -i eth1  -s 1500 port not 22 and port not 53

You can also use ip or hostname:

tcpdump -i eth1 port not 22 and host 1.2.3.4