diff options
author | Pavel Odintsov <pavel.odintsov@gmail.com> | 2015-07-29 14:19:32 +0300 |
---|---|---|
committer | Pavel Odintsov <pavel.odintsov@gmail.com> | 2015-07-29 14:19:32 +0300 |
commit | 471ea815943089e8132840164386cd3e13e0dbbe (patch) | |
tree | f5f8ff22a5e78c87af13478fb9787c9c2bba3f3f /tests | |
parent | dc1d7bf47f6476401e4d23b17e0b29d6633a6e4f (diff) |
Enhance NTP support, add protocol version identification; Add pcap examples for NTPv2, NTPv3, NTPv4; Fix bug with identification of NTP monlist packets as QUIC
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/do.sh | 2 | ||||
-rw-r--r-- | tests/pcap/NTPv2.pcap | bin | 0 -> 450 bytes | |||
-rw-r--r-- | tests/pcap/NTPv3.pcap | bin | 0 -> 130 bytes | |||
-rw-r--r-- | tests/pcap/NTPv4.pcap | bin | 0 -> 130 bytes | |||
-rw-r--r-- | tests/result/NTPv2.pcap.out | 3 | ||||
-rw-r--r-- | tests/result/NTPv3.pcap.out | 3 | ||||
-rw-r--r-- | tests/result/NTPv4.pcap.out | 3 |
7 files changed, 10 insertions, 1 deletions
diff --git a/tests/do.sh b/tests/do.sh index 764b049f9..bbd44edc6 100755 --- a/tests/do.sh +++ b/tests/do.sh @@ -36,4 +36,4 @@ check_results() { build_results check_results -exit $RC
\ No newline at end of file +exit $RC diff --git a/tests/pcap/NTPv2.pcap b/tests/pcap/NTPv2.pcap Binary files differnew file mode 100644 index 000000000..ec22e2cda --- /dev/null +++ b/tests/pcap/NTPv2.pcap diff --git a/tests/pcap/NTPv3.pcap b/tests/pcap/NTPv3.pcap Binary files differnew file mode 100644 index 000000000..483e349af --- /dev/null +++ b/tests/pcap/NTPv3.pcap diff --git a/tests/pcap/NTPv4.pcap b/tests/pcap/NTPv4.pcap Binary files differnew file mode 100644 index 000000000..6f91a111e --- /dev/null +++ b/tests/pcap/NTPv4.pcap diff --git a/tests/result/NTPv2.pcap.out b/tests/result/NTPv2.pcap.out new file mode 100644 index 000000000..960fbe062 --- /dev/null +++ b/tests/result/NTPv2.pcap.out @@ -0,0 +1,3 @@ +NTP 1 410 1 + + 1 UDP 78.46.76.2:80 <-> 208.104.95.10:123 [proto: 9/NTP][1 pkts/410 bytes] diff --git a/tests/result/NTPv3.pcap.out b/tests/result/NTPv3.pcap.out new file mode 100644 index 000000000..91d817e5e --- /dev/null +++ b/tests/result/NTPv3.pcap.out @@ -0,0 +1,3 @@ +NTP 1 90 1 + + 1 UDP 78.46.76.2:80 <-> 175.144.140.29:123 [proto: 9/NTP][1 pkts/90 bytes] diff --git a/tests/result/NTPv4.pcap.out b/tests/result/NTPv4.pcap.out new file mode 100644 index 000000000..fba0fd419 --- /dev/null +++ b/tests/result/NTPv4.pcap.out @@ -0,0 +1,3 @@ +NTP 1 90 1 + + 1 UDP 78.46.76.11:123 <-> 85.22.62.120:123 [proto: 9/NTP][1 pkts/90 bytes] |