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.
This commit is contained in:
Ivan Nardi
2023-03-20 17:56:02 +01:00
committed by GitHub
parent 12867962b0
commit 3a75a46212
8 changed files with 96 additions and 15 deletions
+1 -5
View File
@@ -1406,10 +1406,6 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp
"Dofus", NDPI_PROTOCOL_CATEGORY_GAME,
ndpi_build_default_ports(ports_a, 0, 0, 0, 0, 0) /* TCP */,
ndpi_build_default_ports(ports_b, 0, 0, 0, 0, 0) /* UDP */);
ndpi_set_proto_defaults(ndpi_str, 1 /* cleartext */, 0 /* nw proto */, NDPI_PROTOCOL_FUN, NDPI_PROTOCOL_FREE_108,
"Free108", NDPI_PROTOCOL_CATEGORY_GAME,
ndpi_build_default_ports(ports_a, 0, 0, 0, 0, 0) /* TCP */,
ndpi_build_default_ports(ports_b, 0, 0, 0, 0, 0) /* UDP */);
ndpi_set_proto_defaults(ndpi_str, 1 /* cleartext */, 0 /* nw proto */, NDPI_PROTOCOL_FUN, NDPI_PROTOCOL_GUILDWARS,
"Guildwars", NDPI_PROTOCOL_CATEGORY_GAME,
ndpi_build_default_ports(ports_a, 0, 0, 0, 0, 0) /* TCP */,
@@ -2542,7 +2538,7 @@ static const char *categories[] = {
"IoT-Scada",
"VirtAssistant",
"Cybersecurity",
"",
"AdultContent",
"",
"",
"",