Add Discord dissector. (#1694)
* fixed RiotGames false positive Signed-off-by: lns <matzeton@googlemail.com>
This commit is contained in:
@@ -88,6 +88,7 @@
|
||||
#include "inc_generated/ndpi_asn_threema.c.inc"
|
||||
#include "inc_generated/ndpi_asn_alibaba.c.inc"
|
||||
#include "inc_generated/ndpi_asn_avast.c.inc"
|
||||
#include "inc_generated/ndpi_asn_discord.c.inc"
|
||||
|
||||
/* Third party libraries */
|
||||
#include "third_party/include/ndpi_patricia.h"
|
||||
@@ -2652,6 +2653,7 @@ struct ndpi_detection_module_struct *ndpi_init_detection_module(ndpi_init_prefs
|
||||
ndpi_init_ptree_ipv4(ndpi_str, ndpi_str->protocols_ptree, ndpi_protocol_threema_protocol_list);
|
||||
ndpi_init_ptree_ipv4(ndpi_str, ndpi_str->protocols_ptree, ndpi_protocol_alibaba_protocol_list);
|
||||
ndpi_init_ptree_ipv4(ndpi_str, ndpi_str->protocols_ptree, ndpi_protocol_avast_protocol_list);
|
||||
ndpi_init_ptree_ipv4(ndpi_str, ndpi_str->protocols_ptree, ndpi_protocol_discord_protocol_list);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4542,6 +4544,9 @@ static int ndpi_callback_init(struct ndpi_detection_module_struct *ndpi_str) {
|
||||
/* Activision */
|
||||
init_activision_dissector(ndpi_str, &a, detection_bitmask);
|
||||
|
||||
/* Discord */
|
||||
init_discord_dissector(ndpi_str, &a, detection_bitmask);
|
||||
|
||||
#ifdef CUSTOM_NDPI_PROTOCOLS
|
||||
#include "../../../nDPI-custom/custom_ndpi_main_init.c"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user