Add Omron FINS protocol dissector (#2172)

* Add Omron FINS protocol dissector

* Add a kludge to avoid invalid FINS over UDP detection as SkypeTeams and RTP

* Update unit test results

* Update protocols.rst

* Remove dummy flows from fins.pcap
This commit is contained in:
Vladimir Gavrilov
2023-11-27 17:09:53 +01:00
committed by GitHub
parent 3763c702f0
commit 84427b0754
155 changed files with 327 additions and 152 deletions
+1
View File
@@ -390,6 +390,7 @@ typedef enum {
NDPI_PROTOCOL_RTPS = 359,
NDPI_PROTOCOL_OPC_UA = 360,
NDPI_PROTOCOL_S7COMM_PLUS = 361,
NDPI_PROTOCOL_FINS = 362,
#ifdef CUSTOM_NDPI_PROTOCOLS
#include "../../../nDPI-custom/custom_ndpi_protocol_ids.h"
+1
View File
@@ -254,6 +254,7 @@ void init_ptpv2_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_in
void init_hart_ip_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
void init_rtps_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
void init_opc_ua_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
void init_fins_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);