diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2023-07-03 17:21:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-03 17:21:46 +0200 |
commit | 7ffd31ebc3e6c191d0e82a9987bd110d2820bdb8 (patch) | |
tree | cab4cf856b0d38acd61a48431d5dc0a2e4e46e3c /src/lib/protocols/stun.c | |
parent | dff1f251939935b43943dea00ef24ef85261b94a (diff) |
STUN: avoid FacebookVoip false positives (#2029)
Attribute 0xC057 is defined in the Google public implementation of
webrtc (which is used by Google products but also by other applications)
Diffstat (limited to 'src/lib/protocols/stun.c')
-rw-r--r-- | src/lib/protocols/stun.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/lib/protocols/stun.c b/src/lib/protocols/stun.c index 81e90e94f..3c64fd012 100644 --- a/src/lib/protocols/stun.c +++ b/src/lib/protocols/stun.c @@ -498,15 +498,6 @@ static ndpi_int_stun_t ndpi_int_check_stun(struct ndpi_detection_module_struct * } break; - case 0xC057: /* Messeger */ - if(msg_type == 0x0001) { - if((msg_len == 100) || (msg_len == 104)) { - *app_proto = NDPI_PROTOCOL_FACEBOOK_VOIP; - return(NDPI_IS_STUN); - } - } - break; - case 0x8054: /* Candidate Identifier */ if((len == 4) && ((offset+7) < payload_length) |