Added EAQ protocol support
This commit is contained in:
@@ -236,9 +236,10 @@
|
||||
#define NDPI_SERVICE_VIBER NDPI_PROTOCOL_VIBER /* Tomasz Bujlow <tomasz@skatnet.dk> */
|
||||
#define NDPI_SERVICE_YAHOO NDPI_PROTOCOL_YAHOO /* Tomasz Bujlow <tomasz@skatnet.dk> */
|
||||
#define NDPI_SERVICE_PANDORA 187
|
||||
#define NDPI_PROTOCOL_EAQ 190
|
||||
|
||||
/* UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE (NDPI_PROTOCOL_WHATSAPP_VOICE) */
|
||||
#define NDPI_LAST_IMPLEMENTED_PROTOCOL 189
|
||||
/* UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE */
|
||||
#define NDPI_LAST_IMPLEMENTED_PROTOCOL 190
|
||||
|
||||
#define NDPI_MAX_SUPPORTED_PROTOCOLS (NDPI_LAST_IMPLEMENTED_PROTOCOL + 1)
|
||||
#define NDPI_MAX_NUM_CUSTOM_PROTOCOLS (NDPI_NUM_BITS-NDPI_LAST_IMPLEMENTED_PROTOCOL)
|
||||
|
||||
@@ -178,5 +178,6 @@ void ndpi_search_twitter(struct ndpi_detection_module_struct *ndpi_struct, struc
|
||||
void ndpi_search_vhua(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow);
|
||||
void ndpi_search_telegram(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow);
|
||||
void ndpi_search_quic(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow);
|
||||
void ndpi_search_eaq(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow);
|
||||
|
||||
#endif /* __NDPI_PROTOCOLS_INCLUDE_FILE__ */
|
||||
|
||||
@@ -373,23 +373,18 @@ struct ndpi_flow_tcp_struct {
|
||||
#ifdef NDPI_PROTOCOL_MAIL_IMAP
|
||||
u_int32_t mail_imap_stage:3;
|
||||
#endif
|
||||
|
||||
#ifdef NDPI_PROTOCOL_SKYPE
|
||||
u_int8_t skype_packet_id;
|
||||
#endif
|
||||
|
||||
#ifdef NDPI_PROTOCOL_CITRIX
|
||||
u_int8_t citrix_packet_id;
|
||||
#endif
|
||||
|
||||
#ifdef NDPI_PROTOCOL_LOTUS_NOTES
|
||||
u_int8_t lotus_notes_packet_id;
|
||||
#endif
|
||||
|
||||
#ifdef NDPI_PROTOCOL_TEAMVIEWER
|
||||
u_int8_t teamviewer_stage;
|
||||
#endif
|
||||
|
||||
#ifdef NDPI_PROTOCOL_ZMQ
|
||||
u_int8_t prev_zmq_pkt_len;
|
||||
u_char prev_zmq_pkt[10];
|
||||
@@ -439,6 +434,10 @@ struct ndpi_flow_udp_struct {
|
||||
#ifdef NDPI_PROTOCOL_TEAMVIEWER
|
||||
u_int8_t teamviewer_stage;
|
||||
#endif
|
||||
#ifdef NDPI_PROTOCOL_EAQ
|
||||
u_int8_t eaq_pkt_id;
|
||||
u_int32_t eaq_sequence;
|
||||
#endif
|
||||
}
|
||||
#if !defined(WIN32)
|
||||
__attribute__ ((__packed__))
|
||||
|
||||
Reference in New Issue
Block a user