This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Broadcast Traffic Capture

0

Can I use WireShark to capture external broadcast traffic? For example I have a program that broadcasts on port 12060 to other programs on the same machine. I want to capture that traffic between programs. I tried udp.dstport==12060 but got no packets. How do I do this?

asked 09 Mar '15, 07:47

W8LIG's gravatar image

W8LIG
6112
accept rate: 0%


One Answer:

1

Yes, it can. But are you capturing on the actual interface the broadcast traffic is on? Is your application binding to the loopback interface, sending broadcast traffic? Seems likely, since your target is other programs on the same machine. You can point Wireshark at the loopback interface, and depending on the OS you can see that traffic. On Windows: no; on UN*X based systems: yes. It's all in the Wiki.

answered 09 Mar '15, 10:03

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%