aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Hufvudsson <mh@protohuf.com>2018-07-02 19:54:37 +0200
committerMarcus Hufvudsson <mh@protohuf.com>2018-07-02 19:54:37 +0200
commit7fce8f02d2e4d08aa048512b0cbc24edc9f1e26b (patch)
tree3286208fdd2b5f3384cfb295456d5db8e3224c89
parent3986a951d8e032b3a25dc3db8198898658502f15 (diff)
Added showmax.com detection
-rw-r--r--src/include/ndpi_protocol_ids.h1
-rw-r--r--src/lib/ndpi_content_match.c.inc3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/include/ndpi_protocol_ids.h b/src/include/ndpi_protocol_ids.h
index d04722b8d..6d7b5ba8b 100644
--- a/src/include/ndpi_protocol_ids.h
+++ b/src/include/ndpi_protocol_ids.h
@@ -285,6 +285,7 @@
#define NDPI_PROTOCOL_WHATSAPP_FILES 242 /* Videos, pictures, voice messages... */
#define NDPI_PROTOCOL_VIDTO 243 /* VidTO streaming service */
#define NDPI_PROTOCOL_RAPIDVIDEO 244 /* RapidVideo streaming */
+#define NDPI_PROTOCOL_SHOWMAX 245 /* showmax.com video streaming */
/* UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE */
#define NDPI_LAST_IMPLEMENTED_PROTOCOL NDPI_PROTOCOL_RAPIDVIDEO
diff --git a/src/lib/ndpi_content_match.c.inc b/src/lib/ndpi_content_match.c.inc
index ab36cbf48..60671b3cd 100644
--- a/src/lib/ndpi_content_match.c.inc
+++ b/src/lib/ndpi_content_match.c.inc
@@ -8374,6 +8374,9 @@ ndpi_protocol_match host_match[] = {
{ ".rapidvideo.com", NULL, NULL, "RapidVideo", NDPI_PROTOCOL_RAPIDVIDEO, NDPI_PROTOCOL_CATEGORY_STREAMING, NDPI_PROTOCOL_FUN },
{ ".playercdn.net", NULL, NULL, "RapidVideo", NDPI_PROTOCOL_RAPIDVIDEO, NDPI_PROTOCOL_CATEGORY_STREAMING, NDPI_PROTOCOL_FUN },
+ { "showmax.com", NULL, NULL, "Showmax", NDPI_PROTOCOL_SHOWMAX, NDPI_PROTOCOL_CATEGORY_MEDIA, NDPI_PROTOCOL_FUN },
+ { "showmax.akamaized.net", NULL, NULL, "Showmax", NDPI_PROTOCOL_SHOWMAX, NDPI_PROTOCOL_CATEGORY_MEDIA, NDPI_PROTOCOL_FUN },
+
{ NULL, NULL, NULL, 0 }
};