aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_main.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2019-07-21 08:17:28 +0200
committerLuca Deri <deri@ntop.org>2019-07-21 08:17:28 +0200
commit72b05fed75ea71f775e6c51991f4a31b2d8071f7 (patch)
tree2823d57f5745c3d606a6bb324f1fbe6ddb8c6c00 /src/lib/ndpi_main.c
parente2d2ca5fe0bfa0efc769e1af1ec20dd50f9afb9e (diff)
STUN, Hangout, Duo dissection improvements
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r--src/lib/ndpi_main.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index 926cfc2d8..71844055d 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -4088,8 +4088,14 @@ ndpi_protocol ndpi_detection_giveup(struct ndpi_detection_module_struct *ndpi_st
if(ret.master_protocol == NDPI_PROTOCOL_STUN) {
if(ret.app_protocol == NDPI_PROTOCOL_FACEBOOK)
ret.app_protocol = NDPI_PROTOCOL_MESSENGER;
- else if(ret.app_protocol == NDPI_PROTOCOL_GOOGLE)
+ else if(ret.app_protocol == NDPI_PROTOCOL_GOOGLE) {
+ /*
+ As Google has recently introduced Duo,
+ we need to distinguish between it and hangout
+ thing that should be handled by the STUN dissector
+ */
ret.app_protocol = NDPI_PROTOCOL_HANGOUT;
+ }
}
if(enable_guess