Missing support for PACKET_RECV_OUTPUT
From: Marcel Holtmann <marcel@holtmann.org>
Date: 2014-08-11 04:27:47
From: Marcel Holtmann <marcel@holtmann.org>
Date: 2014-08-11 04:27:47
Hi, I wonder why AF_PACKET does not support PACKET_RECV_OUTPUT socket option. I would find this useful when using AF_SOCKET to capture traffic on all interfaces, but only for a specific ETH_P_x specified in the socket call. Right now I have to manually enable promiscuous mode for every ifindex separately. Is there any specific reason why this socket option has not been implemented? It is listed in linux/if_packet.h after all. Or is this just one of these things where nobody ended up implementing it? Regards Marcel