feat(proxy): log TLSFP and TCP SYN fingerprints #2219
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.63) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.63 · 304 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.342
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.063
Real PR Conversation Timeline
1 comments
"Review active on #2219"
general
weight: 0.35
nuclearcat
Log connection-derived TLSFP and TCP SYN fingerprints on the public nginx listeners, alongside request and negotiated TLS metadata. Serve HTTPS using the existing certificate mounts and keep the development override HTTP-only. Anubis continues to filter public requests before forwarding accepted traffic to the internal listener.
Build nginx 1.30.6 with the independently implemented, BSD-2-Clause nginx-connfp module, pinned to commit
7d83cab08d1521df8a453c8b4fd0df9700a0f652. Verify both source archives with SHA-256. The module uses OpenSSL's message callback and Linux saved-SYN socket options, so nginx core patches are unnecessary. The image includes the module's LICENSE and NOTICE with attribution to ntop's TLSFP specification.Public JSON logs contain:
tlsfp: ntop TLSFP draft 0.1, with ephemeral-extension filtering and a supported-groups hash.tlsfp_registry: ephemeral extension registry version1.tcp_syn: the module's versionedsyn1:format, containing IP version, TTL/hop limit, IPv4 DF, TCP window, MSS, window scale and TCP option order.The module preserves
tcp_save_synand the two legacy variable names$http_ssl_ja4and$http_ssl_ja4tas aliases. Their values use TLSFP andsyn1:; existing JA4/JA4T matching rules and parsers need migration. Log consumers must usetlsfpandtcp_synin place of the earliertls_ja4andtcp_ja4tkeys.Client-supplied fingerprint headers cannot supply these values. The internal port 8080 retains its original log format and disables SYN capture. Capture must occur at the original connection edge; a terminating proxy supplies its own handshake. SYN capture requires Linux support and may be unavailable with SYN cookies. Fingerprints are telemetry, not authentication.
Validation passed on a Linux Docker host:
The smoke test exercises real Anubis forwarding, static/API routing, HTTP/1.1 and HTTP/2, TLS 1.2/1.3, keepalive, forged headers, JSON escaping and certificate-free development startup. Module CI also passed static/dynamic builds, IPv4/IPv6 SYN capture, fragmented ClientHellos, HelloRetryRequest, TLS resumption, reload behavior and more than six million parser fuzz inputs under sanitizers.