eBPF: Connecting with Container Runtimes(h0x0er.github.io)
h0x0er.github.io
eBPF: Connecting with Container Runtimes
https://h0x0er.github.io/blog/2025/06/29/ebpf-connecting-with-container-runtimes/
10 comments
Thanks for giving the context.
None of these snippets appear to involve eBPF at all?
Correct no eBPF-code is directly involved.
As post explores eBPF-based tools for understanding user-space connection with container-runtime and enrichment of event once received from kernel-space.
Hi, this is a nonsensical reply, as the sentence is lacking a few words to be complete. Are you using some kind of AI to answer? If so, which one?
No A.I, just H.I (Human Intelligence) :).
[deleted]
> As post explores eBPF-based tool
What ebpf-based tool(s)? It looks like it's just sample code to open a socket to a CRI.
What ebpf-based tool(s)? It looks like it's just sample code to open a socket to a CRI.
The snippets are taken from cilium/tetragon, aquasecurity/tracee and crictl as mentioned in the post.
The post doesn't covers these projects in depth, instead act as a quick reference to the parts, where connection with CRI is being made and used for enrichment.
I understand there are more better ways to do the thing.
P.S: Post is a collection of my memories, when I was implementing the functionality. So just wanted to share, in hope that, maybe it will help others as well. Thanks !
The post doesn't covers these projects in depth, instead act as a quick reference to the parts, where connection with CRI is being made and used for enrichment.
I understand there are more better ways to do the thing.
P.S: Post is a collection of my memories, when I was implementing the functionality. So just wanted to share, in hope that, maybe it will help others as well. Thanks !
[deleted]
A plain Linux example would be that eBPF will only give you user/group IDs (uid/gid), not usernames, so you need to use post-processing in userspace code to convert these IDs into something meaningful.