> Hi all,
>
> I ended up using raw packet sockets (ETH_P_ALL) with BPF filters attached
> (binded on the bridge interface) to capture packets for the userspace
> host.
>
> Now having captured these packets from the bridge interface, how do I know
> which interface (eth0, wifi0, ..) the packets were send from originally ?
>
> Is there a handy solution to this without modifying the packet content ?
>
> Please help me out I you got the answer down pat.
>
> BR, Faruk
>

Hi all, there's been a patch which introduced a new option for packet
sockets returning the original device which was eventually bonded. It's
called ORIGDEV.

BR, Faruk

_______________________________________________
Bridge mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/bridge

Reply via email to