Is there a way to get wireshark to capture packets sent from/to localhost?
When I monitor traffic going from my computer to another, or from another computer to my computer, then it works. But from localhost to localhost does not register anything.
|
Is there a way to get wireshark to capture packets sent from/to localhost? When I monitor traffic going from my computer to another, or from another computer to my computer, then it works. But from localhost to localhost does not register anything.
| |||||
feedback
|
|
There's a WIKI Entry about exactly this issue on the wireshark homepage. They also mention specifics about the loopback interface regarding Windows - you could be running just into that. | |||||||||||
feedback
|
|
In Wireshark you need to choose the lo0 interface... not En0 or En1. Go to:
| |||
feedback
|
|
You want to run wireshark on the "lo" interface or on "any". With tshark or tcpdump you can use the -i option: # tcpdump -i any port http (This is mostly applicable to Linux) | |||
|
feedback
|
|
This post was removed as the moderator didn't think it useful. There is however a way to do it without installing a loopback adapter. | |||||
feedback
|