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

Add support for TLS protocol tracing #2096

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ddelnano
Copy link
Member

Summary: Add support for TLS protocol tracing

This is the final change to wire up the tls protocol parser and stitcher into stirling. I've also filed #2095 to track supporting tracing TLS handshakes and the application data.

Relevant Issues: N/A

Type of change: /kind feature

Test Plan: New tests verify functionality works end to end

Changelog Message: Added support for tracing TLS handshakes. This can be enabled with --stirling_enable_tls_tracing=1 or through the PX_STIRLING_ENABLE_TLS_TRACING environment variable. Until #2095 is addressed, this will disable tracing the plaintext within encrypted connections.

@ddelnano ddelnano requested a review from a team as a code owner January 23, 2025 21:10
@@ -11,7 +11,7 @@ http{
ssl_certificate /etc/ssl/server.crt;
ssl_certificate_key /etc/ssl/server.key;

ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
Copy link
Member Author

Choose a reason for hiding this comment

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

Without this, the Nginx container will fail to negotiate a TLS 1.3 connection. This is triggered in the trace bpf test.

@ddelnano ddelnano force-pushed the ddelnano/wire-up-tls-protocol-parser-to-stirling branch from 7de9384 to b8ed611 Compare January 23, 2025 21:13
…nt/received after nginx config change to support TLS 1.3

Signed-off-by: Dom Del Nano <[email protected]>
@ddelnano ddelnano requested a review from a team as a code owner January 24, 2025 15:09
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