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

Migrate CloneTracer to CO-RE #80

Open
Tracked by #79
wunder957 opened this issue Oct 2, 2023 · 4 comments
Open
Tracked by #79

Migrate CloneTracer to CO-RE #80

wunder957 opened this issue Oct 2, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request GFI:Medium Difficulty label: Medium for good first issue
Milestone

Comments

@wunder957
Copy link
Contributor

wunder957 commented Oct 2, 2023

We currently use bcc as our BPF framework, which creates some shortcomings: https://github.com/hitsz-ids/duetector/blob/main/docs/design/CO-RE.md#12-status-quo

This issue will migrate the current CloneTracer to CO-RE form to validate our draft and provide a case for CO-RE!

@wunder957
Copy link
Contributor Author

wunder957 commented Oct 2, 2023

@149189 Implement the CloneTracer functionality using libbpf or aya frameworks and make the user-space program conform to our protocols

Refer:

If you're not familiar with what BPF is and BPF CO-RE, it's best to read this: https://facebookmicrosites.github.io/bpf/blog/2020/02/19/bpf-portability-and-co-re.html

@149189
Copy link

149189 commented Oct 2, 2023

@wunder957 I will Start implementing if got any doubts i will let you know

@wunder957
Copy link
Contributor Author

@149189 Great! I've assigned this issue to you, personally I'd recommend using the libbpf framework, as rust-aya still needs to use a lot of unsafe in the kernel side, which is not advantageous for our scenario

@wunder957 wunder957 added enhancement New feature or request GFI:Medium Difficulty label: Medium for good first issue labels Oct 2, 2023
@wunder957 wunder957 added this to the v1.0.0 milestone Oct 2, 2023
@wunder957
Copy link
Contributor Author

We recently created the slack channel and welcome to join our slack: https://join.slack.com/t/hitsz-ids/shared_invite/zt-2395mt6x2-dwf0j_423QkAgGvlNA5E1g

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request GFI:Medium Difficulty label: Medium for good first issue
Projects
None yet
Development

No branches or pull requests

2 participants