Skip to content

Add real eBPF XDP fallback for memory reading #5

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

Merged
merged 6 commits into from
Jun 5, 2025

Conversation

whoismz
Copy link
Contributor

@whoismz whoismz commented May 30, 2025

  • refactor eBPF XDP program to parse UDP packets
  • use UDP instead of raw socket and bpf_prog_test_run_opts() for XDP triggers

whoismz added 4 commits May 30, 2025 05:52
- refactor eBPF XDP program to parse real network packets
- add XDP program attachment
- add raw socket creation for packet transmission (maybe use UDP instead in future)
- add Ethernet frames creation and sending to trigger XDP program on loopback interface
- delete bpf_prog_test_run_opts() part
- implement UDP trigger packets
- remove all raw socket code and CAP_NET_RAW requirement
- update XDP program to parse UDP packets (127.0.0.1:9999 for now)
Copy link
Contributor

@IridiumXOR IridiumXOR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you test it?

@whoismz whoismz requested a review from IridiumXOR June 3, 2025 10:25
@Marcondiro
Copy link
Collaborator

Hello, could you try to rebase? So that we can have also the CI check (hopefully)

@whoismz
Copy link
Contributor Author

whoismz commented Jun 4, 2025

Hello, could you try to rebase? So that we can have also the CI check (hopefully)

sure

@IridiumXOR IridiumXOR merged commit f81c033 into eurecom-s3:main Jun 5, 2025
4 checks 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.

3 participants