xdp-tutorial
xdp-tutorial copied to clipboard
XDP on GRE or Bridge interface
Hi all,
I am trying to bind my XDP program to a created bridge interface (br0) which is connected to my GRE tunnel. I am trying to filter traffic coming out (so incoming to my server) of the GRE tunnel. When logging the traffic (and binding the XDP program to br0 with an IP link) it logs no traffic. What is the correct way to retrieve and filter the traffic of the GRE tunnel, or is this not possible?
- Note; The code works on the main interface (so all traffic not coming from the GRE tunnel logs).
With kind regards, Fabian
There's no XDP support in GRE tunnels anyway, so my suggestion would be to attach an ingress TC program to the GRE interface itself...