bneradt commented on PR #13809:
URL: https://github.com/apache/trafficserver/pull/13809#issuecomment-6609627656

   Thanks for the review, @bryancall. I rebased on master and added a sixth 
commit, d34ea08df8 "Clarify raw ClientHello docs and test diagnostics", for 
your non-blocking notes. The first five commits are unchanged apart from the 
rebase.
   
   Addressed:
   
   - **Counter wording.** `ssl.en.rst` now says 
`client_hello_raw_parse_failure` counts malformed ClientHellos, which OpenSSL 
also rejects (most of them before any plugin sees the ClientHello), so it does 
not point to missing fingerprints.
   - **Upgrade note.** `upgrading.en.rst` now says GREASE on its own doesn't 
change the fingerprints, since they drop it; only unrecognized non-GREASE types 
such as ALPS do. It also says `ja3_fingerprint` still reads OpenSSL's list, so 
on OpenSSL its JA3 can now differ from the one `jax_fingerprint` logs for the 
same client.
   - **Stale comment.** The `get_extension_types()` comment in 
`include/ts/apidefs.h.in` now describes the raw, in-order list and the fallback 
to OpenSSL's list.
   - **Direct assert.** `test_jax_fingerprint_raw_extensions.py` now asserts 
`Expected JA4:` on the client's output directly, so if the helper's JA4 drifts, 
the failure names the JA4 instead of a missing ServerHello.
   
   Not addressed:
   
   - **`swap` and counter coverage.** Dropping the `swap` in `_clear()` only 
leaves the old vector's capacity allocated on a recycled VC. Nothing observable 
changes, so an end-to-end test can't catch it. Covering the increment would 
need a hand-built malformed ClientHello whose handshake fails, just to read a 
counter. The parser's rejection paths are already covered in 
`test_TLSSNISupport.cc`, so I left that out of this PR.
   - **Pinning `ja4_fingerprint`'s JA4.** `ja4_fingerprint` gets its extension 
list from the same `get_extension_types()` call that the new `jax_fingerprint` 
test pins. Pinning its JA4 too would mostly retest the same path through a 
second plugin. I kept this PR to the API change and the one consumer test.
   
   Tested locally on the rebased head (Fedora container, `ci-fedora-urtest` 
preset with unit tests on): 101/101 matching ctest tests (`test_net`, 
`test_jax`, the ja3/ja4 unit tests), all 21 jax/ja3/ja4 fingerprint urtests, 
the docs build with no warnings, and the format check.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to