Add few scripts to easily update some IPs lists (#1436)
* Add few scripts to easily update some IPs lists Some IPs lists should be updated frequently: try to easy the process. The basic idea is taken fromd59fefd0anda8fe74e5(for Azure addresses): one specific .c.inc file and one script for each protocol. Add the possibility to don't load a specific list. Rename the old NDPI_PROTOCOL_HOTMAIL id to NDPI_PROTOCOL_MS_OUTLOOK, to identify Hotmail/Outlook/Exchange flows. TODO: ipv6 Remove the 9 addresses associated to BitTorrent: they have been added ine2f21116but it is not clear why all the traffic to/from these ips should be classified as BitTorrent. * Added quotes * Added quotes Co-authored-by: Luca Deri <lucaderi@users.noreply.github.com>
This commit is contained in:
@@ -49,7 +49,7 @@ typedef enum {
|
||||
NDPI_PROTOCOL_DHCP = 18,
|
||||
NDPI_PROTOCOL_POSTGRES = 19,
|
||||
NDPI_PROTOCOL_MYSQL = 20,
|
||||
NDPI_PROTOCOL_HOTMAIL = 21,
|
||||
NDPI_PROTOCOL_MS_OUTLOOK = 21, /* Hotmail / Microsoft Outlook / Exchange */
|
||||
NDPI_PROTOCOL_DIRECT_DOWNLOAD_LINK = 22,
|
||||
NDPI_PROTOCOL_MAIL_POPS = 23,
|
||||
NDPI_PROTOCOL_APPLEJUICE = 24,
|
||||
|
||||
@@ -1386,10 +1386,17 @@ typedef u_int32_t ndpi_init_prefs;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
ndpi_no_prefs = 0,
|
||||
ndpi_dont_load_tor_hosts = 1,
|
||||
ndpi_dont_init_libgcrypt = 2,
|
||||
ndpi_enable_ja3_plus = 4
|
||||
ndpi_no_prefs = 0,
|
||||
ndpi_dont_load_tor_list = (1 << 0),
|
||||
ndpi_dont_init_libgcrypt = (1 << 1),
|
||||
ndpi_enable_ja3_plus = (1 << 2),
|
||||
ndpi_dont_load_azure_list = (1 << 3),
|
||||
ndpi_dont_load_whatsapp_list = (1 << 4),
|
||||
ndpi_dont_load_amazon_aws_list = (1 << 5),
|
||||
ndpi_dont_load_ethereum_list = (1 << 6),
|
||||
ndpi_dont_load_zoom_list = (1 << 7),
|
||||
ndpi_dont_load_cloudflare_list = (1 << 8),
|
||||
ndpi_dont_load_microsoft_list = (1 << 9),
|
||||
} ndpi_prefs;
|
||||
|
||||
typedef struct {
|
||||
|
||||
Reference in New Issue
Block a user