aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/ndpi_typedefs.h37
-rw-r--r--src/lib/ndpi_main.c32
2 files changed, 64 insertions, 5 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index 7d31a0cc7..c4d0b8687 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -1166,11 +1166,40 @@ typedef enum {
NDPI_PROTOCOL_CATEGORY_HARDWARE_SOFTWARE, /* 120 */
NDPI_PROTOCOL_CATEGORY_DATING,
NDPI_PROTOCOL_CATEGORY_TRAVEL,
- NDPI_PROTOCOL_CATEGORY_FOOD,
-
+ NDPI_PROTOCOL_CATEGORY_FOOD,
NDPI_PROTOCOL_CATEGORY_BOTS, /* Crawlers, bots */
- NDPI_PROTOCOL_CATEGORY_SCANNERS, /* e.g. shodan.io, censys.io */ /* 125 */
-
+ NDPI_PROTOCOL_CATEGORY_SCANNERS, /* e.g. shodan.io, censys.io */
+ NDPI_PROTOCOL_CATEGORY_HOSTING,
+ NDPI_PROTOCOL_CATEGORY_ART,
+ NDPI_PROTOCOL_CATEGORY_FASHION,
+ NDPI_PROTOCOL_CATEGORY_BOOKS,
+ NDPI_PROTOCOL_CATEGORY_SCIENCE, /* 130 */
+ NDPI_PROTOCOL_CATEGORY_MAPS_NAVIGATION,
+ NDPI_PROTOCOL_CATEGORY_LOGIN_PORTAL,
+ NDPI_PROTOCOL_CATEGORY_LEGAL,
+ NDPI_PROTOCOL_CATEGORY_ENVIRONMENTAL_SERVICES,
+ NDPI_PROTOCOL_CATEGORY_CULTURE,
+ NDPI_PROTOCOL_CATEGORY_HOUSING,
+ NDPI_PROTOCOL_CATEGORY_TELECOMMUNICATION,
+ NDPI_PROTOCOL_CATEGORY_TRANSPORTATION,
+ NDPI_PROTOCOL_CATEGORY_DESIGN,
+ NDPI_PROTOCOL_CATEGORY_EMPLOYMENT, /* 140 */
+ NDPI_PROTOCOL_CATEGORY_EVENTS,
+ NDPI_PROTOCOL_CATEGORY_WEATHER,
+ NDPI_PROTOCOL_CATEGORY_LIFESTYLE,
+ NDPI_PROTOCOL_CATEGORY_REAL_ESTATE,
+ NDPI_PROTOCOL_CATEGORY_SECURITY,
+ NDPI_PROTOCOL_CATEGORY_ENVIRONMENT,
+ NDPI_PROTOCOL_CATEGORY_HOBBY,
+ NDPI_PROTOCOL_CATEGORY_COMPUTER_SCIENCE,
+ NDPI_PROTOCOL_CATEGORY_CONSTRUCTION,
+ NDPI_PROTOCOL_CATEGORY_ENGINEERING, /* 150 */
+ NDPI_PROTOCOL_CATEGORY_RELIGION,
+ NDPI_PROTOCOL_CATEGORY_ENTERTAINMENT,
+ NDPI_PROTOCOL_CATEGORY_AGRICULTURE,
+ NDPI_PROTOCOL_CATEGORY_TECHNOLOGY,
+ NDPI_PROTOCOL_CATEGORY_BEAUTY, /* 154 */
+
/*
IMPORTANT
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index 139facdf3..a36243e75 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -3857,7 +3857,37 @@ static const char *categories[NDPI_PROTOCOL_NUM_CATEGORIES] = {
"Travel",
"Food",
"Bots",
- "Scanners"
+ "Scanners",
+ "Hosting",
+ "Art",
+ "Fashion",
+ "Books",
+ "Science",
+ "Maps_Navigation",
+ "Login_Portal",
+ "Legal",
+ "Environmental_Services",
+ "Culture",
+ "Housing",
+ "Telecommunication",
+ "Transportation",
+ "Design",
+ "Employment",
+ "Events",
+ "Weather",
+ "Lifestyle",
+ "Real_Estate",
+ "Security",
+ "Environment",
+ "Hobby",
+ "Computer_Science",
+ "Construction",
+ "Engineering",
+ "Religion",
+ "Entertainment",
+ "Agriculture",
+ "Technology",
+ "Beauty"
};
#if !defined(NDPI_CFFI_PREPROCESSING) && defined(__linux__)