Skip to content

Conversation

@maheshbhatiya73
Copy link
Member

  • Implemented dynamic detection of eBPF program sections (XDP, TC, SocketFilter, etc.)
  • Added runtime argument validation for required parameters (e.g., --iface for XDP/TC)
  • Validates ELF object structure and sections before loading
  • Loads and attaches programs to the kernel using Aya
  • Handles TC/XDP programs with proper verifier skipping and EBUSY handling
  • Verifies kernel attachment and prints program ID/status
  • Future-proof structure for additional eBPF program types

- Implemented dynamic detection of eBPF program sections (XDP, TC, SocketFilter, etc.)
- Added runtime argument validation for required parameters (e.g., --iface for XDP/TC)
- Validates ELF object structure and sections before loading
- Loads and attaches programs to the kernel using Aya
- Handles TC/XDP programs with proper verifier skipping and EBUSY handling
- Verifies kernel attachment and prints program ID/status
- Future-proof structure for additional eBPF program types
@maheshbhatiya73 maheshbhatiya73 merged commit 4d3fd36 into main Sep 3, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants