From c957a1274252e117d9bef0822c3388cbae1a1bba Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Fri, 29 Apr 2016 09:21:42 +0200 Subject: QUIC: last version of QUIC is Q033 Look Recent Changes by Version from QUIC Wire Layout Specification --- src/lib/protocols/quic.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/protocols/quic.c b/src/lib/protocols/quic.c index 2bece25a7..fed4dc2ac 100644 --- a/src/lib/protocols/quic.c +++ b/src/lib/protocols/quic.c @@ -146,7 +146,9 @@ void ndpi_search_quic(struct ndpi_detection_module_struct *ndpi_struct, struct n // Version Match. if ((vers[0] == 'Q' && vers[1] == '0') && - ((vers[2] == '2' && (vers[3] == '5' || vers[3] == '4' || vers[3] == '3' || vers[3] == '2' || + ((vers[2] == '3' && (vers[3] == '3' || vers[3] == '2' || vers[3] == '1' || vers[3] == '0' )) || + (vers[2] == '2' && (vers[3] == '9' || vers[3] == '8' || vers[3] == '7' || vers[3] == '6' || + vers[3] == '5' || vers[3] == '4' || vers[3] == '3' || vers[3] == '2' || vers[3] == '1' || vers[3] == '0')) || (vers[2] == '1' && (vers[3] == '9' || vers[3] == '8' || vers[3] == '7' || vers[3] == '6' || vers[3] == '5' || vers[3] == '4' || vers[3] == '3' || vers[3] == '2' || -- cgit v1.2.3 From 9b0bef50ded947bec889db3a6fb6790b7f2ea02d Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Fri, 29 Apr 2016 09:25:28 +0200 Subject: QUIC: fix typo the protocol name is QUIC (and not Quic) --- src/lib/ndpi_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 860662858..9e8c75c8f 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -1358,7 +1358,7 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp ndpi_build_default_ports(ports_b, 0, 0, 0, 0, 0) /* UDP */); ndpi_set_proto_defaults(ndpi_mod, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_QUIC, no_master, - no_master, "Quic", + no_master, "QUIC", ndpi_build_default_ports(ports_a, 0, 0, 0, 0, 0) /* TCP */, ndpi_build_default_ports(ports_b, 443, 80, 0, 0, 0) /* UDP */); ndpi_set_proto_defaults(ndpi_mod, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_EAQ, -- cgit v1.2.3