netobserv / netobserv-ebpf-agent

Network Observability eBPF Agent
Apache License 2.0
128 stars 33 forks source link

WIP: kTLS PoC #222

Closed msherif1234 closed 5 months ago

msherif1234 commented 10 months ago

Description

PoC for using sockhash to intercept socket sendmsg() used by kTLS

ebpf_sockmap drawio

openshift-ci[bot] commented 10 months ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please ask for approval from msherif1234. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/netobserv/netobserv-ebpf-agent/blob/main/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
codecov[bot] commented 10 months ago

Codecov Report

Attention: 49 lines in your changes are missing coverage. Please review.

Comparison is base (d69703f) 31.84% compared to head (6d17b3d) 31.39%. Report is 1 commits behind head on main.

Files Patch % Lines
pkg/ebpf/tracer.go 0.00% 48 Missing :warning:
pkg/agent/agent.go 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #222 +/- ## ========================================== - Coverage 31.84% 31.39% -0.46% ========================================== Files 37 37 Lines 3369 3418 +49 ========================================== Hits 1073 1073 - Misses 2232 2281 +49 Partials 64 64 ``` | [Flag](https://app.codecov.io/gh/netobserv/netobserv-ebpf-agent/pull/222/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=netobserv) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/netobserv/netobserv-ebpf-agent/pull/222/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=netobserv) | `31.39% <0.00%> (-0.46%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=netobserv#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.