Package io.github.mahmoudimus.quic.tls
Class BrowserProfiles
java.lang.Object
io.github.mahmoudimus.quic.tls.BrowserProfiles
ClientHello profiles of real browsers, each checked against a capture of that browser.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClientHelloProfileChrome 156 (BoringSSL) over TCP, as captured from 156.0.8078.48 on macOS: 16 cipher suites with GREASE first; 17 extensions plus two GREASE ones, shuffled per hello; X25519MLKEM768 and X25519 key shares; ML-DSA signature schemes; ALPS for h2; Brotli certificate compression; Trust Anchor IDs; and a GREASE ECH.static ClientHelloProfileChrome 156's ClientHello in QUIC (RFC 9001), as captured from 156.0.8078.48 on macOS over HTTP/3.static ClientHelloProfileFirefox 159 (NSS) over TCP, as captured from 159.0 on macOS: 15 cipher suites, ChaCha20 before AES-256 among the TLS 1.3 ones; 17 extensions in a fixed order and no GREASE; X25519MLKEM768, X25519 and P-256 key shares;delegated_credentials,record_size_limit16385, and zlib, Brotli and zstd certificate compression; and a GREASE ECH sized as NSS sizes it (ProfileExtensions.nssGreaseEch()).static ClientHelloProfileFirefox 159's ClientHello in QUIC (neqo over NSS), as captured from 159.0 on macOS over HTTP/3: TLS 1.3 alone, its three suites with ChaCha20 before AES-256; no session id, nosession_ticketorec_point_formats; the TCP hello's groups, key shares, delegated credentials and record size limit; its signature schemes and certificate compression algorithms in another order; shuffled per hello, except the connection'squic_transport_parametersand the GREASE ECH, which stay last.
-
Method Details
-
chrome156
Chrome 156 (BoringSSL) over TCP, as captured from 156.0.8078.48 on macOS: 16 cipher suites with GREASE first; 17 extensions plus two GREASE ones, shuffled per hello; X25519MLKEM768 and X25519 key shares; ML-DSA signature schemes; ALPS for h2; Brotli certificate compression; Trust Anchor IDs; and a GREASE ECH. The extension list is in uTLS'sHelloChrome_155order, which only matters as the order shuffling starts from.The key shares need public keys for
0x11ec(1216 bytes) and0x001d(32 bytes) in theHelloContext.- Returns:
- the profile
-
chrome156Quic
Chrome 156's ClientHello in QUIC (RFC 9001), as captured from 156.0.8078.48 on macOS over HTTP/3. Unlike its TCP hello it has no GREASE at all; no extended_master_secret, renegotiation_info, ec_point_formats, session_ticket, status_request or signed_certificate_timestamp; TLS 1.3 suites only; an empty legacy_session_id;rsa_pkcs1_sha1but no ML-DSA among its signature schemes; ALPS for its protocol (h3); and the connection'squic_transport_parameters. Its 12 extensions are shuffled per hello. With SNI and ALPNh3its JA4 isq13d0312h3_55b375c5d22e_178839b6cec1.The key shares need public keys for
0x11ecand0x001d, and the transport parameters come fromHelloContext.supplied()underProfileExtensions.QUIC_TRANSPORT_PARAMETERS.- Returns:
- the profile
-
firefox159
Firefox 159 (NSS) over TCP, as captured from 159.0 on macOS: 15 cipher suites, ChaCha20 before AES-256 among the TLS 1.3 ones; 17 extensions in a fixed order and no GREASE; X25519MLKEM768, X25519 and P-256 key shares;delegated_credentials,record_size_limit16385, and zlib, Brotli and zstd certificate compression; and a GREASE ECH sized as NSS sizes it (ProfileExtensions.nssGreaseEch()). A hello that resumes a session leaves outsession_ticket.The key shares need public keys for
0x11ec(1216 bytes),0x001d(32 bytes) and0x0017(65 bytes) in theHelloContext.- Returns:
- the profile
-
firefox159Quic
Firefox 159's ClientHello in QUIC (neqo over NSS), as captured from 159.0 on macOS over HTTP/3: TLS 1.3 alone, its three suites with ChaCha20 before AES-256; no session id, nosession_ticketorec_point_formats; the TCP hello's groups, key shares, delegated credentials and record size limit; its signature schemes and certificate compression algorithms in another order; shuffled per hello, except the connection'squic_transport_parametersand the GREASE ECH, which stay last. With SNI and ALPNh3its JA4 isq13d0315h3_55b375c5d22e_dc5437974b47.The key shares need public keys for
0x11ec,0x001dand0x0017, and the transport parameters come fromHelloContext.supplied()underProfileExtensions.QUIC_TRANSPORT_PARAMETERS.- Returns:
- the profile
-