Relative Content

Tag Archive for dnsebpfxdp-bpf

ebpf XDP program R2 offset is outside of the packet

I have this XDP program to parse DNS packet to get the query domain name and lookup the domain name in bpf map. https://github.com/vincentmli/xdp-tools/blob/dns-deny/xdp-dns/xdp_dns.bpf.c. I got verifier error below: