aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ndpi_main.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index 31c6cfb8d..27b3ae696 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -148,9 +148,14 @@ static void (*_ndpi_flow_free)(void *ptr);
{ "2_64_64800_83b2f9a5576c", os_hint_linux },
{ "2_64_64240_2e3cee914fc1", os_hint_linux },
{ "2_64_29200_2e3cee914fc1", os_hint_linux },
- { "2_64_65535_d876f498b09e", os_hint_android },
+ { "2_64_29200_d853e95bd80f", os_hint_linux }, /* Sonos */
+ { "2_64_65535_d876f498b09e", os_hint_android },
+ { "2_64_65535_685ad951a756", os_hint_android },
+ { "2_64_65535_41a9d5af7dd3", os_hint_android },
{ "2_128_64240_6bb88f5575fd", os_hint_windows },
- { "194_64_65535_15db81ff8b0d", os_hint_ios_ipad_os },
+ { "194_64_65535_15db81ff8b0d", os_hint_ios_ipad_os },
+ { "2_64_65535_41a9d5af7dd3", os_hint_ios_ipad_os },
+ { "194_64_65535_dd5737e4fedb", os_hint_ios_ipad_os },
{ "194_64_65535_d29295416479", os_hint_macos },
{ "2_64_65535_d29295416479", os_hint_macos },
{ NULL, os_hint_unknown },
@@ -6937,7 +6942,7 @@ static int ndpi_init_packet(struct ndpi_detection_module_struct *ndpi_str,
u_int8_t *t = (u_int8_t*)packet->tcp;
u_int16_t flags = ntohs(*((u_int16_t*)&t[12])) & 0xFFF;
u_int16_t syn_mask = TH_SYN | TH_ECE | TH_CWR;
-
+
if((flags & syn_mask) && ((flags & TH_ACK) == 0)) {
char fingerprint[128], options_fp[128];
u_int8_t i, fp_idx = 0, options_fp_len = 0;