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

Support Golang HTTPS introspection #100

Merged
merged 3 commits into from
Jun 22, 2022
Merged

Conversation

chenhengqi
Copy link
Contributor

This PR adds support for Golang HTTPS introspection. With this change,
we can capture HTTPS requests issued by application built with Go toolchain.
We support both stack-based ABI and register-based ABI on amd64.

kern/bpf/x86/vmlinux.h is generated during build process, ignore it.

Signed-off-by: Hengqi Chen <chenhengqi@outlook.com>
Package proc is used to handle binaries generated by Go
toolchain. Currently, we use it to detect Go version.

Signed-off-by: Hengqi Chen <chenhengqi@outlook.com>
kern/gossl_kern.c Outdated Show resolved Hide resolved
Copy link
Member

@cfc4n cfc4n left a comment

Choose a reason for hiding this comment

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

@chenhengqi chenhengqi force-pushed the golang-https branch 3 times, most recently from 07180ab to 00aaddb Compare June 21, 2022 15:51
Introduce minimal support for Golang HTTPS request introspection.

Signed-off-by: Hengqi Chen <chenhengqi@outlook.com>
@cfc4n cfc4n merged commit 2232413 into gojue:master Jun 22, 2022
@cfc4n cfc4n added good first issue Good for newcomers invalid This doesn't seem right enhancement New feature or request labels Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers invalid This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants