Implemented Zoom/Teams stream type detection

This commit is contained in:
Luca Deri
2023-06-14 23:44:57 +02:00
parent 66bee475ae
commit d0609ea601
9 changed files with 121 additions and 46 deletions
+19 -4
View File
@@ -54,10 +54,17 @@ typedef enum {
} ndpi_log_level_t;
typedef enum {
ndpi_l4_proto_unknown = 0,
ndpi_l4_proto_tcp_only,
ndpi_l4_proto_udp_only,
ndpi_l4_proto_tcp_and_udp,
ndpi_multimedia_unknown_flow = 0,
ndpi_multimedia_audio_flow,
ndpi_multimedia_video_flow,
ndpi_multimedia_screen_sharing_flow,
} ndpi_multimedia_flow_type;
typedef enum {
ndpi_l4_proto_unknown = 0,
ndpi_l4_proto_tcp_only,
ndpi_l4_proto_udp_only,
ndpi_l4_proto_tcp_and_udp,
} ndpi_l4_proto_info;
typedef enum {
@@ -1437,6 +1444,14 @@ struct ndpi_flow_struct {
char *nat_ip; /* Via HTTP X-Forwarded-For */
} http;
struct {
ndpi_multimedia_flow_type flow_type;
} skype_teams;
struct {
ndpi_multimedia_flow_type flow_type;
} zoom;
/*
Put outside of the union to avoid issues in case the protocol
is remapped to something other than Kerberos due to a faulty