Enhance NTP support, add protocol version identification; Add pcap examples for NTPv2, NTPv3, NTPv4; Fix bug with identification of NTP monlist packets as QUIC

This commit is contained in:
Pavel Odintsov
2015-07-29 14:19:32 +03:00
parent dc1d7bf47f
commit 471ea81594
9 changed files with 27 additions and 4 deletions
+6 -1
View File
@@ -722,7 +722,12 @@ typedef struct ndpi_flow_struct {
u_int8_t bad_packet /* the received packet looks bad */;
u_int16_t query_type, query_class, rsp_type;
} dns;
struct {
u_int8_t request_code;
u_int8_t version;
} ntp;
struct {
char client_certificate[48], server_certificate[48];
} ssl;