-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new neteventebpfext
eBPF extension for processing network events.
#28
Conversation
pktmonebpfext
eBPF extension for processing Packet Monitor (pktmon) events.pktmonebpfext
eBPF extension for processing Packet Monitor (pktmon) events.
pktmonebpfext
eBPF extension for processing Packet Monitor (pktmon) events.pktmonebpfext
eBPF extension for processing Packet Monitor (pktmon) events.
As a general comment, this PR contains significant code re-org. While this re-org is certainly worthwhile, it seems orthogonal to the actual extension code payload. 'As-is', reverting this PR (for any reason) will cause all that re-org to be reverted as well. Is it possible to separate out the code re-org into a separate PR? |
This repo was designed to offer a library of boilerplate code to accelerate the development of eBPF extensions, and host multiple other extensions that build on top of that. Happens that upon adding the second extension, the structure and other minor refactoring had to be adapted to have the repo comply to its design intent in the first place, which was missing. |
Description
This PR:
neteventebpfext
eBPF extension for capturing network events.netevent_sim
kernel driver, which simulates an event provider for testing purposes.netevent_monitor
eBPF program that will be invoked by theneteventebpfext
extension upon receiving "special" events (actual or simulator), which will store the events in a ring-buffer map.netevent_sim
kernel driver, flowing from theneteventebpfext
eBPF extension, into thenetevent_monitor
eBPF program, into the ring-buffer map and ultimately into a UM app (i.e. the unit test) being called back upon every event insertion.store_helper
library files, already implemented in EbpfApi.dll.Testing
Local, CICD.
Documentation
README.md
docs\neteventebpfext.md
Installation
n.a.