Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

tcpdump with multiple dst IP addresses?

Tags:

People also ask

Can tcpdump capture on multiple interfaces?

You can capture on all three interfaces with "tshark -i 1 -i 2 -i 3".

How do you filter IP address in tcpdump?

To filter on TCP and UDP ports, use the port directive. This captures both TCP and UDP traffic using the specified port either as a source or destination port. It can be combined with tcp or udp to specify the protocol, and src or dst to specify a source or destination port.


Can I specify more than 1 dst ip address for tcpdump? If not, how shall I filter the information nicely if I only want the traffic for two specific destinations? Thank you very much!