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

fix(bpf/ssl): first HTTPS request on the server side might not be captured #259

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

hengyoush
Copy link
Owner

@hengyoush hengyoush commented Jan 8, 2025

Add a condition: (conn_info->protocol != kProtocolUnknown && conn_info->no_trace == protocol_unknown) when report ssl data to userspace . This is for the case when protocol is already inffered in previous syscall but user space have not yet updated the conn_info.no_trace to traceable.
so when conn_info.protocol is not unknown but the cause of trace state is unknown, we still trace data.

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Jan 8, 2025
Copy link

vercel bot commented Jan 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
kyanos ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 8, 2025 6:38pm

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
kyanos ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 8, 2025 6:38pm

@dosubot dosubot bot added bug-fix this pr fix a bug documentation Improvements or additions to documentation labels Jan 8, 2025
@hengyoush hengyoush merged commit 6d507da into main Jan 8, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix this pr fix a bug documentation Improvements or additions to documentation size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants