Skip to content

feat: HTTP-over-TLS service detection and TLS 1.3 support - #10

Merged
Bulletdev merged 1 commit into
mainfrom
feat/tls-http-probe
Nov 27, 2026
Merged

Bulletdev merged 1 commit into
mainfrom
feat/tls-http-probe

Conversation

@Bulletdev

Copy link
Copy Markdown
Member

Summary

  • Add HTTP probing through full TLS tunnels (std.crypto.tls.Client) to identify web servers (nginx, Apache, etc.) behind SSL/TLS - matches nmap -sV capability on HTTPS ports
  • Fix raw TLS handshake for TLS 1.3: add mandatory key_share (x25519) extension to ClientHello, preventing missing_extension alert (109)
  • Add detectTls13() to hasAllRecords() so the read loop stops immediately after ServerHello on TLS 1.3 instead of waiting 4s for an encrypted Certificate that never arrives in plaintext
  • Bump version to 0.7.1

Test plan

  • zig build test passes
  • Port 8443 on target now shows nginx (was https-alt)
  • 1.1.1.1:443 shows cloudflare with TLS 1.3 (raw probe works with TLS 1.3)
  • Scan completes in ~1.2s instead of ~5s+ (no more timeout waiting for TLS 1.3 certs)
  • TLS 1.2 servers still get full cert extraction (unchanged behavior)

Add HTTP probing through TLS tunnels to identify web servers (nginx,
Apache, etc.) behind SSL/TLS, matching nmap -sV capability. The raw
TLS handshake now includes x25519 key_share for TLS 1.3 compat, and
hasAllRecords detects TLS 1.3 to avoid waiting for encrypted certs.

Bump version to 0.7.1.
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@github-actions

Copy link
Copy Markdown

Semgrep Static Analysis

Severity Count
Errors 0
Critical (HIGH confidence) 0
Warnings 0

No issues found.

@github-actions

Copy link
Copy Markdown

Security Scan Summary

Check Status
Semgrep success
Secret Detection success

All security checks passed!

@Bulletdev
Bulletdev merged commit 76cc0f1 into main Nov 27, 2026
10 checks passed
@Bulletdev
Bulletdev deleted the feat/tls-http-probe branch November 27, 2026 17:06
@Bulletdev Bulletdev self-assigned this Nov 27, 2026
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