diff options
author | Luca Deri <deri@ntop.org> | 2022-01-17 15:13:14 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2022-01-17 15:13:14 +0100 |
commit | 6877e4627334d7f8778e43b467160617670a7783 (patch) | |
tree | d396c880f77827d73918447edd772aa5cdf13c44 | |
parent | 6679453d8601b7116534558097aaffc2bda14963 (diff) |
Added Badoo detection
-rw-r--r-- | src/include/ndpi_protocol_ids.h | 1 | ||||
-rw-r--r-- | src/lib/ndpi_content_match.c.inc | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/include/ndpi_protocol_ids.h b/src/include/ndpi_protocol_ids.h index d825ade52..1cc316c5b 100644 --- a/src/include/ndpi_protocol_ids.h +++ b/src/include/ndpi_protocol_ids.h @@ -307,6 +307,7 @@ typedef enum { NDPI_PROTOCOL_MICROSOFT_AZURE = 276, NDPI_PROTOCOL_ICLOUD_PRIVATE_RELAY = 277, NDPI_PROTOCOL_ETHERNET_IP = 278, + NDPI_PROTOCOL_BADOO = 279, #ifdef CUSTOM_NDPI_PROTOCOLS #include "../../../nDPI-custom/custom_ndpi_protocol_ids.h" diff --git a/src/lib/ndpi_content_match.c.inc b/src/lib/ndpi_content_match.c.inc index 12b270ffc..e99b03b8a 100644 --- a/src/lib/ndpi_content_match.c.inc +++ b/src/lib/ndpi_content_match.c.inc @@ -10084,6 +10084,9 @@ static ndpi_protocol_match host_match[] = { "mask-h2.icloud.com", "iCloudPrivateRelay", NDPI_PROTOCOL_ICLOUD_PRIVATE_RELAY, NDPI_PROTOCOL_CATEGORY_VPN, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_DEFAULT_LEVEL }, { "mask-api.icloud.com", "iCloudPrivateRelay", NDPI_PROTOCOL_ICLOUD_PRIVATE_RELAY, NDPI_PROTOCOL_CATEGORY_VPN, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_DEFAULT_LEVEL }, + { "badoo.com", "Badoo", NDPI_PROTOCOL_BADOO, NDPI_PROTOCOL_CATEGORY_SOCIAL_NETWORK, NDPI_PROTOCOL_FUN, NDPI_PROTOCOL_DEFAULT_LEVEL }, + { "badoocdn.com", "Badoo", NDPI_PROTOCOL_BADOO, NDPI_PROTOCOL_CATEGORY_SOCIAL_NETWORK, NDPI_PROTOCOL_FUN, NDPI_PROTOCOL_DEFAULT_LEVEL }, + { NULL, NULL, NDPI_PROTOCOL_UNKNOWN, NDPI_PROTOCOL_CATEGORY_UNSPECIFIED, NDPI_PROTOCOL_SAFE, NDPI_PROTOCOL_DEFAULT_LEVEL } }; @@ -10231,7 +10234,6 @@ static ndpi_category_match category_match[] = { /* RadiumOne (formerly GWallet) is a digital advertising company */ { ".gwallet.com", CUSTOM_CATEGORY_ADVERTISEMENT }, - { NULL, 0 } }; |