News for hackers. Stuff that matters.
Re:An eBPF Loophole: Using XDP for Egress Traffic by cptnntsoobv on Wednesday November 05, 2025 @12:07PM (#45825213)
> You actually can do a full checksum

Indeed! This is what I had in mind when I wrote "cumbersome" :).

It's been a while for me to be able to recall whether the problem was the verifier or me, and things may have improved since, but I recall having the verifier choke on a static size limit too. Have you been able to use this trick successfully?

> Always build the eBPF programs in a container

That should work generally but watch out for any weirdness due to the fact that in a container you are already inside a couple of layers of networking (bridge, netns etc.).

There are no comments on this comment yet.