cloudflare / cloudflare/xdpcap

Support capturing via fentry / fexit trace points

Open
#51 6 comments 2 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
786
Forks
78
PR merge metrics
No merged PRs in 30d

Description

Linux now supports attaching BPF programs just before (fentry) and after (fexit) an XDP program.
This allows packets to be captured before and after an XDP program runs, from unmodified XDP programs (no "hook" map).

`xdpdump` already supports this, but without filtering: https://github.com/xdp-project/xdp-tools/tree/master/xdp-dump/.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.