feat(ebpf): on-demand network capture #470

Open
opened 2026-03-28 04:24:51 +00:00 by mfreeman451 · 0 comments
Owner

Imported from GitHub.

Original GitHub issue: #1413
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/1413
Original created: 2025-07-29T03:56:44Z


from the aya.rs docs:

// attach the program to the root cgroup. `ingress_filter` will be called for all
// incoming packets.
let cgroup = File::open("/sys/fs/cgroup/unified")?;
ingress.attach(cgroup, CgroupSkbAttachType::Ingress, CgroupAttachMode::AllowOverride)?;
Imported from GitHub. Original GitHub issue: #1413 Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/1413 Original created: 2025-07-29T03:56:44Z --- from the aya.rs docs: ``` // attach the program to the root cgroup. `ingress_filter` will be called for all // incoming packets. let cgroup = File::open("/sys/fs/cgroup/unified")?; ingress.attach(cgroup, CgroupSkbAttachType::Ingress, CgroupAttachMode::AllowOverride)?; ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carverauto/serviceradar#470
No description provided.