Added generic Google Protobuf dissector. (#2109)

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni
2023-10-24 12:18:31 +02:00
committed by GitHub
parent 71d768d036
commit e70333de87
154 changed files with 468 additions and 149 deletions
+1
View File
@@ -381,6 +381,7 @@ typedef enum {
NDPI_PROTOCOL_HAPROXY = 350,
NDPI_PROTOCOL_RMCP = 351,
NDPI_PROTOCOL_CAN = 352,
NDPI_PROTOCOL_PROTOBUF = 353,
#ifdef CUSTOM_NDPI_PROTOCOLS
#include "../../../nDPI-custom/custom_ndpi_protocol_ids.h"
+1
View File
@@ -248,6 +248,7 @@ void init_http2_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_in
void init_haproxy_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
void init_rmcp_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
void init_can_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
void init_protobuf_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);