From 3a75a46212c044efc423d1833be89c4f144438ec Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Mon, 20 Mar 2023 17:56:02 +0100 Subject: Add a new protocol id for generic Adult Content traffic (#1906) The list has been taken from https://www.similarweb.com/top-websites/adult/ Fix a GoTo false positive. --- src/lib/protocols/stun.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lib/protocols/stun.c') diff --git a/src/lib/protocols/stun.c b/src/lib/protocols/stun.c index 22b4c7097..97ba37b4d 100644 --- a/src/lib/protocols/stun.c +++ b/src/lib/protocols/stun.c @@ -357,6 +357,9 @@ static ndpi_int_stun_t ndpi_int_check_stun(struct ndpi_detection_module_struct * } else if(strstr(flow->host_server_name, "facebook") != NULL) { *app_proto = NDPI_PROTOCOL_FACEBOOK_VOIP; return(NDPI_IS_STUN); + } else if(strstr(flow->host_server_name, "stripcdn.com") != NULL) { + *app_proto = NDPI_PROTOCOL_ADULT_CONTENT; + return(NDPI_IS_STUN); } } } -- cgit v1.2.3