Add Path of Exile protocol dissector (#2337)

* Add Path of Exile protocol dissector

* Update protocols.rst
This commit is contained in:
Vladimir Gavrilov
2024-03-06 19:59:09 +01:00
committed by GitHub
parent 21da53d3a0
commit e2949048e0
105 changed files with 215 additions and 97 deletions
+7
View File
@@ -2263,6 +2263,10 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp
"NetEaseGames", NDPI_PROTOCOL_CATEGORY_GAME,
ndpi_build_default_ports(ports_a, 0, 0, 0, 0, 0) /* TCP */,
ndpi_build_default_ports(ports_b, 0, 0, 0, 0, 0) /* UDP */);
ndpi_set_proto_defaults(ndpi_str, 1 /* cleartext */, 0 /* nw proto */, NDPI_PROTOCOL_FUN, NDPI_PROTOCOL_PATHOFEXILE,
"PathofExile", NDPI_PROTOCOL_CATEGORY_GAME,
ndpi_build_default_ports(ports_a, 0, 0, 0, 0, 0) /* TCP */,
ndpi_build_default_ports(ports_b, 0, 0, 0, 0, 0) /* UDP */);
#ifdef CUSTOM_NDPI_PROTOCOLS
#include "../../../nDPI-custom/custom_ndpi_main.c"
@@ -6116,6 +6120,9 @@ static int ndpi_callback_init(struct ndpi_detection_module_struct *ndpi_str) {
/* NetEase Games */
init_netease_games_dissector(ndpi_str, &a);
/* Path of Exile */
init_pathofexile_dissector(ndpi_str, &a);
#ifdef CUSTOM_NDPI_PROTOCOLS
#include "../../../nDPI-custom/custom_ndpi_main_init.c"
#endif