1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//! JA4+ TLS/HTTP Fingerprinting Module
//!
//! Implements JA4 (TLS) and JA4H (HTTP) fingerprinting for client identification.
//! JA4 provides stable, human-readable fingerprints that persist across IP rotation.
//!
//! # Phase 3 Module (Feature Migration from risk-server)
//!
//! ## JA4 Format
//! `{protocol}{version}{sni}{cipher_count}{ext_count}_{cipher_hash}_{ext_hash}`
//! Example: `t13d1516h2_8daaf6152771_e5627efa2ab1`
//!
//! ## JA4H Format
//! `{method}{version}{cookie}{referer}{accept_lang}_{header_hash}_{cookie_hash}`
//! Example: `ge11cnrn_a1b2c3d4e5f6_000000000000`
//!
//! ## Feature Flags
//! - `ENABLE_PINGORA_JA4=true`: Enable JA4 fingerprinting in Pingora
//!
//! @see https://github.com/FoxIO-LLC/ja4
pub use ;
pub use ;