Dear all, I created UDP packet with AF_PACKET and SOCK_RAW. It was successfully received on another physical machine, but I have problem to receive it localy. I searched a bit and found that other people have such problem too:
stackoverflow.com/questions/12103541/cant-send-raw-packets-to-local-mac-with-pf-packet http://stackoverflow.com/questions/33484762/packet-sockets-not-receiving-data-for-custom-protocol-id http://stackoverflow.com/questions/23288188/cannot-receive-raw-ethernet-frame-packets-i-just-sent So my question is it allowed? How can it be done? Many thanks, R. Savchenko.