K
K
klim8882021-01-17 10:56:05
linux
klim888, 2021-01-17 10:56:05

How can tcpdump listen on multiple interfaces and not all?

How can tcpdump listen on multiple interfaces and not all?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
L
Lynn "Coffee Man", 2021-01-17
@klim888

No way. He doesn't have that option. Or one, or all.
So run some tcpdumps or use another tool like wireshark for example.
Upd: although something interesting is written here https://github.com/the-tcpdump-group/tcpdump/issue...

A
Andrey Barbolin, 2021-01-17
@dronmaxman

man tcpdump
--list-interfaces
Print the list of the network interfaces available on the system and on which tcpdump can capture packets. For each network interface, a number and an interface
name, possibly followed by a text description of the interface, is printed. The interface name or the number can be supplied to the -i flag to specify an interface
on which to capture.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question