Answer the question
In order to leave comments, you need to log in
How to allow Windows to receive unsupported Ethernet messages?
I need to make a GOOSE message monitor EtherType = 0x88B8 (messages do not belong to the IP protocol).
I send GOOSE messages from the microcontroller, Wireshark can receive them and parse them by fields. For reception, I tried to use the SharpPcap library (C# wrapper for winpcap). With this library, I can receive GOOSE Ethernet packets as an array of bytes starting from MAC addresses, but only if Wireshark is running simultaneously with my program (it is also based on the winpcap library). If Wireshark is not running, then I can use this library to receive broadcast UDP packets that I send from the microcontroller for test purposes, but GOOSE packets do not reach me.
Network equipment, GOOSE messages are passed, but Windows without Wireshark intervention is not.
Answer the question
In order to leave comments, you need to log in
I was engaged in Copy-Past and did not understand the code that I installed. It was necessary to open the SharpPCap device in Promiscuous mode
winPcap.Open(SharpPcap.WinPcap.OpenFlags.Promiscuous |
SharpPcap.WinPcap.OpenFlags.NoCaptureLocal, readTimeoutMilliseconds);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question