Add DLEP protocol dissector (#2326)

This commit is contained in:
Vladimir Gavrilov
2024-02-20 16:05:41 +01:00
committed by GitHub
parent 4f2e642fbe
commit 66b6e2b3f2
162 changed files with 289 additions and 155 deletions
+7
View File
@@ -2242,6 +2242,10 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp
"ANSI_C1222", NDPI_PROTOCOL_CATEGORY_IOT_SCADA,
ndpi_build_default_ports(ports_a, 1153, 0, 0, 0, 0) /* TCP */,
ndpi_build_default_ports(ports_b, 1153, 0, 0, 0, 0) /* UDP */);
ndpi_set_proto_defaults(ndpi_str, 1 /* cleartext */, 0 /* nw proto */, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_DLEP,
"DLEP", NDPI_PROTOCOL_CATEGORY_NETWORK,
ndpi_build_default_ports(ports_a, 854, 0, 0, 0, 0) /* TCP */,
ndpi_build_default_ports(ports_b, 854, 0, 0, 0, 0) /* UDP */);
#ifdef CUSTOM_NDPI_PROTOCOLS
#include "../../../nDPI-custom/custom_ndpi_main.c"
@@ -6063,6 +6067,9 @@ static int ndpi_callback_init(struct ndpi_detection_module_struct *ndpi_str) {
/* ANSI C12.22 / IEEE 1703 */
init_c1222_dissector(ndpi_str, &a);
/* Dynamic Link Exchange Protocol */
init_dlep_dissector(ndpi_str, &a);
#ifdef CUSTOM_NDPI_PROTOCOLS
#include "../../../nDPI-custom/custom_ndpi_main_init.c"
#endif