Fixed a bug in the STUN dissector courtesy of Asher Yermiyahu

Fixed a bug in the NetFlow dissector that caused flows to be wrongly decoded as Netflow
Updated test results for starcraft and whatsapp
This commit is contained in:
Luca Deri
2015-08-03 14:35:31 +02:00
parent bc786b48fa
commit 449742e69d
4 changed files with 177 additions and 92 deletions
+2 -2
View File
@@ -174,8 +174,8 @@ static ndpi_int_stun_t ndpi_int_check_stun(struct ndpi_detection_module_struct *
if(
((flow->num_stun_udp_pkts > 0) && (msg_type = 0x0800))
|| ((msg_type = 0x0800) && (msg_len == 106))
((flow->num_stun_udp_pkts > 0) && (msg_type == 0x0800))
|| ((msg_type == 0x0800) && (msg_len == 106))
) {
*is_whatsapp = 1;
return NDPI_IS_STUN; /* This is WhatsApp Voice */