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

[WIP] Added ioctl kprobe to USM #15169

Closed
wants to merge 6 commits into from

Conversation

val06
Copy link
Contributor

@val06 val06 commented Jan 19, 2023

What does this PR do

Added erpc handler to communicate with dd-java-agent capturing the TLS traffic from Java applications

Motivation

we capture TLS traffic in java applications using our dd-java-agent who in turn sends the captured data via a ioctl with special request code. SystemProbe should capture the data by setting a kprobe on the ioctl handler

Additional Notes

Should be synced with this PR

Describe how to test/QA your changes

full e2e test should test injection of dd-java-agent and getting the tls traffic in systemprobe as part of the CI.

Reviewer's Checklist

  • If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
  • Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
  • A release note has been added or the changelog/no-changelog label has been applied.
  • Changed code has automated tests for its functionality.
  • Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
  • At least one team/.. label has been applied, indicating the team(s) that should QA this change.
  • If applicable, docs team has been notified or an issue has been opened on the documentation repo.
  • If applicable, the need-change/operator and need-change/helm labels have been applied.
  • If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
  • If applicable, the config template has been updated.

val06 added 6 commits January 19, 2023 18:38
- registering and activating the probe in ebpf_javatls.go
- fixed log message with parameters
- fixed arguments split when injecting the java agent into the target app
@val06 val06 closed this Jun 25, 2023
@dd-devflow dd-devflow bot deleted the valeri.pliskin/java-tls-ioctl-support branch April 19, 2024 00:24
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