diff options
author | Luca <deri@ntop.org> | 2015-06-24 07:49:02 -0700 |
---|---|---|
committer | Luca <deri@ntop.org> | 2015-06-24 07:49:02 -0700 |
commit | 53c0b81dad9b656640bedfb8ef0859e36fa01a8a (patch) | |
tree | ef685caa191d1ffa0da5ac4bb15a2b08a2d85258 /src | |
parent | 2be84d4d644cd6122d9328a5619d1f1168bda03f (diff) |
Reverted fix in quic.c as apparently it invalidates protocol detection
Added testing files for quickplay
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/protocols/quic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/protocols/quic.c b/src/lib/protocols/quic.c index db04fd0fb..2fb179cd3 100644 --- a/src/lib/protocols/quic.c +++ b/src/lib/protocols/quic.c @@ -114,7 +114,7 @@ void ndpi_search_quic(struct ndpi_detection_module_struct *ndpi_struct, struct n NDPI_ADD_PROTOCOL_TO_BITMASK(flow->excluded_protocol_bitmask, NDPI_PROTOCOL_QUIC); } - +#if 0 // Settings without version. First check if PUBLIC FLAGS & SEQ bytes are 0x0. SEQ must be 1 at least. if (((packet->payload[0] == 0x00) && (packet->payload[1] != 0x00)) || ((packet->payload[0]) & (QUIC_NO_V_RES_RSV == 0))) { @@ -130,6 +130,7 @@ void ndpi_search_quic(struct ndpi_detection_module_struct *ndpi_struct, struct n NDPI_LOG(NDPI_PROTOCOL_QUIC, ndpi_struct, NDPI_LOG_DEBUG, "found quic.\n"); ndpi_int_quic_add_connection(ndpi_struct, flow); } +#endif // Check if version, than the CID length. else if (packet->payload[0] & QUIC_VER_MASK) |