Sniff packets using tcpdump
- by denisk
I have a completely noob question. I want to see all packets that come to my computer from particular site (google.com). So I start tcpdump
sudo tcpdump -i eth0 host google.com
and enter google.com in a browser and hit enter - nothing gets captured.
I can't figure out why it happen.
What do I do wrong?
Edit
It appeared that I was listening to the wrong interface. I had changed eth0 to any and it worked. It was ppp1 that needed listening. Thanks for your answers!