0
Follow
2
View

Linux recvfrom() can't receive traffic that Wireshark can see

eg2699610 注册会员
2023-01-26 04:05

As noted in the comments above, the fundamental problem was that the sending hardware was using a destination MAC address that was not the one for the receiving NIC. Turns out it, as well as the IP address, were hard-coded in the sending hardware. And the hardware was not capable of using ARP to resolve. Discovering this involved cross-checking the output of "ip addr show" with what Wireshark was reporting. Fortunately it was possible to program a new MAC address for the sender to use. The lesson here, if any, is assume nothing, check everything.

About the Author

Question Info

Publish Time
2023-01-26 04:05
Update Time
2023-01-26 04:05