diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2022-10-21 17:13:21 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2022-10-21 17:24:18 +0200 |
commit | 09cbfbb220127c213a317d00ad07cc77f44bebe8 (patch) | |
tree | 284823d42b822fab4a47a2fb747404aa99785b82 /src/include | |
parent | 29242cbcb631447b84199202bd1d3d5593e80dcc (diff) |
Add Elasticsearch protocol dissector.add/elasticsearch
* all credits goes to @verzulli
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ndpi_protocol_ids.h | 1 | ||||
-rw-r--r-- | src/include/ndpi_protocols.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ndpi_protocol_ids.h b/src/include/ndpi_protocol_ids.h index 897ac1635..8da69ce96 100644 --- a/src/include/ndpi_protocol_ids.h +++ b/src/include/ndpi_protocol_ids.h @@ -358,6 +358,7 @@ typedef enum { NDPI_PROTOCOL_TUNEIN = 327, NDPI_PROTOCOL_SIRIUSXMRADIO = 328, NDPI_PROTOCOL_MUNIN = 329, + NDPI_PROTOCOL_ELASTICSEARCH = 330, #ifdef CUSTOM_NDPI_PROTOCOLS diff --git a/src/include/ndpi_protocols.h b/src/include/ndpi_protocols.h index f06006044..b869521ad 100644 --- a/src/include/ndpi_protocols.h +++ b/src/include/ndpi_protocols.h @@ -245,6 +245,7 @@ void init_syncthing_dissector(struct ndpi_detection_module_struct *ndpi_struct, void init_crynet_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id, NDPI_PROTOCOL_BITMASK *detection_bitmask); void init_line_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id, NDPI_PROTOCOL_BITMASK *detection_bitmask); void init_munin_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id, NDPI_PROTOCOL_BITMASK *detection_bitmask); +void init_elasticsearch_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id, NDPI_PROTOCOL_BITMASK *detection_bitmask); /* ndpi_main.c */ extern u_int32_t ndpi_ip_port_hash_funct(u_int32_t ip, u_int16_t port); |