Add support for (un-encrypted) HTTP/2 (#2087)

Plaintext HTTP/2 is quite rare on the general "internet" but it is
used in some private networks (example: 5G core network)
This commit is contained in:
Ivan Nardi
2023-09-18 14:06:09 +02:00
committed by GitHub
parent 70814002a9
commit 6925890383
97 changed files with 205 additions and 91 deletions
+1
View File
@@ -377,6 +377,7 @@ typedef enum {
NDPI_PROTOCOL_ROBLOX = 346,
NDPI_PROTOCOL_SERVICE_LOCATION = 347,
NDPI_PROTOCOL_MULLVAD = 348,
NDPI_PROTOCOL_HTTP2 = 349,
#ifdef CUSTOM_NDPI_PROTOCOLS
#include "../../../nDPI-custom/custom_ndpi_protocol_ids.h"
+1
View File
@@ -244,6 +244,7 @@ void init_epicgames_dissector(struct ndpi_detection_module_struct *ndpi_struct,
void init_bitcoin_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
void init_apache_thrift_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
void init_slp_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
void init_http2_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
/* ndpi_main.c */
extern u_int32_t ndpi_ip_port_hash_funct(u_int32_t ip, u_int16_t port);