Implemented TLS Certificate Sibject matching

Improved AnyDesk detection
This commit is contained in:
Luca Deri
2021-02-22 22:37:33 +01:00
parent a21ad2fbe4
commit fc3db8f169
14 changed files with 211 additions and 141 deletions
+11
View File
@@ -9118,6 +9118,17 @@ static ndpi_protocol_match host_match[] =
{ NULL, NULL, NDPI_PROTOCOL_UNKNOWN, NDPI_PROTOCOL_CATEGORY_UNSPECIFIED, NDPI_PROTOCOL_SAFE }
};
/* ******************************************************************** */
static ndpi_tls_cert_name_match tls_certificate_match [] = {
{ "CN=AnyDesk Client", NDPI_PROTOCOL_ANYDESK },
{ "O=Kakao", NDPI_PROTOCOL_KAKAOTALK },
{ "O=ntop.org", NDPI_PROTOCOL_NTOP },
{ "CN=simplednscrypt.org", NDPI_PROTOCOL_DNSCRYPT },
{ "CN=*.gateway.messenger.live.com", NDPI_PROTOCOL_SKYPE },
{ NULL, 0 }
};
/* ******************************************************************** */