Function ndpi_is_tls_tor

Function Documentation

int ndpi_is_tls_tor(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow, char *certificate)

Check if the flow could be detected as TOR protocol

ndpi_struct = the detection module
flow = the detected flow
certificate = the SSL/TLS certificate
Return
1 if the flow is TOR; 0 else