273

Interactive eBPF

Thanks for sharing my site!

I've been thinking about building a platform like this for a while, and it was quite fun to build.

Let me know if you have questions or ideas for new exercises.

5 days agodeivid

This is really cool.

Are you planning to add "lessons" related to deployment? For example, using libbcc vs CO-RE?

5 days agoself_awareness

I wanted to add all kind of exercises, but I'm not sure what's a good way of presenting a deployment exercise.

On libbcc specifically, I'm not sure it's worth it, CO-RE / BTF is where things are heading, and any reasonably new kernel supports it (<5 years old)

5 days agodeivid

Thanks for making this, looking forward trying it out!

5 days ago0x4a50

Nice, always wanted to get my hands on eBPF and this looks like a good way to try it out. Thanks!

5 days agomattrighetti

@deivid I would certainly buy a pdf or book with this and more examples (with full source code).

Just a hint if you want to change the world and make a few bucks :)

5 days agonatas

For all it's innovative way of kernel programming, isn't eBPF a huge attack surface? Even a paradise for rootkit devs, perfectly able to hide using eBPF features.

5 days agoflipped

Also worth noting that the verifier is under active development not only to verify more legitimate programs, but also to reject programs with exploits and side channels (and there are runtime defenses too, like dead code elimination and ALU sanitation).

4 days agoshorden

Yes, but you need cap_bpf now to load ebpf programs.