Question

I write a program that send TCP packets from localhost to localhost. And I want to use tcpdump to capture the packets. But nothing is captured. My command in Ubuntu:

sudo tcpdump

What argument shall I add? Thanks!

Was it helpful?

Solution

sudo tcpdump -i lo
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top