pub struct Ja3 { /* private fields */ }
Expand description
A JA3 hash builder. This provides options about how to extract a JA3 hash from a TLS handshake.
Implementations§
source§impl Ja3
impl Ja3
sourcepub fn new<S: AsRef<OsStr>>(pcap_path: S) -> Self
pub fn new<S: AsRef<OsStr>>(pcap_path: S) -> Self
Creates a new Ja3 object.
It will extract JA3 hashes from the packet capture located at pcap_path
or
the network interface named pcap_path
, depending on whether the consumer calls
process_pcap
or process_live
.
sourcepub fn any_port<'a>(&'a mut self) -> &'a mut Self
pub fn any_port<'a>(&'a mut self) -> &'a mut Self
Change the hasher behavior to scan for TLS handshakes occuring on any TCP port. By default we only fingerprint handshakes on TCP 443.