Skip to content
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

smc_run.bpf: An eBPF implemented smc_run with IPPROTO_SMC #10

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

D-Wythe
Copy link

@D-Wythe D-Wythe commented Jun 17, 2024

Provide a tool based on ebpf to enable IPPROTO_SMC.

smc_run.bpf
An eBPF implemented smc_run based on IPPROTO_SMC:

  1. Support to transparent replacement based on command (Just like smc_run).
  2. Supprot to transparent replacement based on pid configuration. And supports the inheritance of this capability between parent and child processes.
  3. Support to transparent replacement based on per netns configuration.

Usage: smc_run.bpf COMMAND
Usage: smc_run.bpf [-h] [-v] [-s [load|unload]] [-p pid] [-n 0|1]
Usage: export SMC_RUN_BPF=1; smc_run COMMAND

Usage: smc_run.bpf COMMAND
Usage: smc_run.bpf [-h] [-v] [-s [load|unload]] [-p pid] [-n 0|1]
Usage: export SMC_RUN_BPF=1; smc_run COMMAND

Signed-off-by: D. Wythe <[email protected]>
@D-Wythe
Copy link
Author

D-Wythe commented Sep 5, 2024

Hi everyone, Is there any progress can be shared on this ? Or any comments ?

@D-Wythe D-Wythe marked this pull request as draft September 19, 2024 10:26
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.

1 participant