From: Francois-Xavier Le Bail Date: Wed, 10 May 2023 11:38:37 +0000 (+0200) Subject: NTP: Remove three redundant tests with -vvv option X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/1a03a8d1bf2686b9045050c807cc285a48bae7ca NTP: Remove three redundant tests with -vvv option -vvv does not give more printed data than -vv. --- diff --git a/tests/TESTLIST b/tests/TESTLIST index ef0e6f3e..dfa21aed 100644 --- a/tests/TESTLIST +++ b/tests/TESTLIST @@ -816,15 +816,12 @@ ntp-v ntp.pcap ntp-v.out -v ntp-time ntp-time.pcap ntp-time.out ntp-time--v ntp-time.pcap ntp-time--v.out -v ntp-time--vv ntp-time.pcap ntp-time--vv.out -vv -ntp-time--vvv ntp-time.pcap ntp-time--vvv.out -vvv ntp-control ntp-control.pcap ntp-control.out ntp-control--v ntp-control.pcap ntp-control--v.out -v ntp-control--vv ntp-control.pcap ntp-control--vv.out -vv -ntp-control--vvv ntp-control.pcap ntp-control--vvv.out -vvv ntp-mode7 ntp-mode7.pcap ntp-mode7.out ntp-mode7--v ntp-mode7.pcap ntp-mode7--v.out -v ntp-mode7--vv ntp-mode7.pcap ntp-mode7--vv.out -vv -ntp-mode7--vvv ntp-mode7.pcap ntp-mode7--vvv.out -vvv # RX/AFS rx afs.pcap rx.out diff --git a/tests/ntp-control--vvv.out b/tests/ntp-control--vvv.out deleted file mode 100644 index a110d5b7..00000000 --- a/tests/ntp-control--vvv.out +++ /dev/null @@ -1,76 +0,0 @@ - 1 12:27:00.612230 IP6 (flowlabel 0x62d8a, hlim 64, next-header UDP (17) payload length: 20) ::1.38531 > ::1.123: [bad udp cksum 0x0027 -> 0x5280!] NTPv2, Control Message, length 12 - Leap indicator: (0), Request, OK, Last, OpCode=2 - Sequence=68, Status=0, Assoc.=0, Offset=0, Count=0 - 2 12:27:00.612439 IP6 (class 0xb8, flowlabel 0x834cf, hlim 64, next-header UDP (17) payload length: 416) ::1.123 > ::1.38531: [bad udp cksum 0x01b3 -> 0x412f!] NTPv2, Control Message, length 408 - Leap indicator: (0), Response, OK, Last, OpCode=2 - Sequence=68, Status=0x618, Assoc.=0, Offset=0, Count=394 - TO-BE-DONE: data not interpreted - 3 12:27:10.034910 IP6 (flowlabel 0x62d8a, hlim 64, next-header UDP (17) payload length: 20) ::1.38531 > ::1.123: [bad udp cksum 0x0027 -> 0x5280!] NTPv2, Control Message, length 12 - Leap indicator: (0), Request, OK, Last, OpCode=1 - Sequence=69, Status=0, Assoc.=0, Offset=0, Count=0 - 4 12:27:10.035047 IP6 (class 0xb8, flowlabel 0x834cf, hlim 64, next-header UDP (17) payload length: 40) ::1.123 > ::1.38531: [bad udp cksum 0x003b -> 0xfba0!] NTPv2, Control Message, length 32 - Leap indicator: (0), Response, OK, Last, OpCode=1 - Sequence=69, Status=0x618, Assoc.=0, Offset=0, Count=20 - TO-BE-DONE: data not interpreted - 5 12:27:15.522207 IP6 (flowlabel 0x62d8a, hlim 64, next-header UDP (17) payload length: 20) ::1.38531 > ::1.123: [bad udp cksum 0x0027 -> 0x527f!] NTPv2, Control Message, length 12 - Leap indicator: (0), Request, OK, Last, OpCode=1 - Sequence=70, Status=0, Assoc.=0, Offset=0, Count=0 - 6 12:27:15.522407 IP6 (class 0xb8, flowlabel 0x834cf, hlim 64, next-header UDP (17) payload length: 40) ::1.123 > ::1.38531: [bad udp cksum 0x003b -> 0xfb9f!] NTPv2, Control Message, length 32 - Leap indicator: (0), Response, OK, Last, OpCode=1 - Sequence=70, Status=0x618, Assoc.=0, Offset=0, Count=20 - TO-BE-DONE: data not interpreted - 7 12:27:15.551426 IP6 (flowlabel 0x62d8a, hlim 64, next-header UDP (17) payload length: 20) ::1.38531 > ::1.123: [bad udp cksum 0x0027 -> 0x93c3!] NTPv2, Control Message, length 12 - Leap indicator: (0), Request, OK, Last, OpCode=2 - Sequence=71, Status=0, Assoc.=48825, Offset=0, Count=0 - 8 12:27:15.551668 IP6 (class 0xb8, flowlabel 0x834cf, hlim 64, next-header UDP (17) payload length: 488) ::1.123 > ::1.38531: [bad udp cksum 0x01fb -> 0x5350!] NTPv2, Control Message, length 480 - Leap indicator: (0), Response, OK, More, OpCode=2 - Sequence=71, Status=0x8011, Assoc.=48825, Offset=0, Count=468 - TO-BE-DONE: data not interpreted - 9 12:27:15.551735 IP6 (class 0xb8, flowlabel 0x834cf, hlim 64, next-header UDP (17) payload length: 128) ::1.123 > ::1.38531: [bad udp cksum 0x0093 -> 0xbcc4!] NTPv2, Control Message, length 120 - Leap indicator: (0), Response, OK, Last, OpCode=2 - Sequence=71, Status=0x8011, Assoc.=48825, Offset=468, Count=106 - TO-BE-DONE: data not interpreted - 10 12:27:15.551870 IP6 (flowlabel 0x62d8a, hlim 64, next-header UDP (17) payload length: 20) ::1.38531 > ::1.123: [bad udp cksum 0x0027 -> 0x93c1!] NTPv2, Control Message, length 12 - Leap indicator: (0), Request, OK, Last, OpCode=2 - Sequence=72, Status=0, Assoc.=48826, Offset=0, Count=0 - 11 12:27:15.552036 IP6 (class 0xb8, flowlabel 0x834cf, hlim 64, next-header UDP (17) payload length: 488) ::1.123 > ::1.38531: [bad udp cksum 0x01fb -> 0xc0d5!] NTPv2, Control Message, length 480 - Leap indicator: (0), Response, OK, More, OpCode=2 - Sequence=72, Status=0x8011, Assoc.=48826, Offset=0, Count=468 - TO-BE-DONE: data not interpreted - 12 12:27:15.552099 IP6 (class 0xb8, flowlabel 0x834cf, hlim 64, next-header UDP (17) payload length: 128) ::1.123 > ::1.38531: [bad udp cksum 0x0093 -> 0x88c5!] NTPv2, Control Message, length 120 - Leap indicator: (0), Response, OK, Last, OpCode=2 - Sequence=72, Status=0x8011, Assoc.=48826, Offset=468, Count=107 - TO-BE-DONE: data not interpreted - 13 12:27:15.552257 IP6 (flowlabel 0x62d8a, hlim 64, next-header UDP (17) payload length: 20) ::1.38531 > ::1.123: [bad udp cksum 0x0027 -> 0x93bf!] NTPv2, Control Message, length 12 - Leap indicator: (0), Request, OK, Last, OpCode=2 - Sequence=73, Status=0, Assoc.=48827, Offset=0, Count=0 - 14 12:27:15.552420 IP6 (class 0xb8, flowlabel 0x834cf, hlim 64, next-header UDP (17) payload length: 488) ::1.123 > ::1.38531: [bad udp cksum 0x01fb -> 0x5c4a!] NTPv2, Control Message, length 480 - Leap indicator: (0), Response, OK, More, OpCode=2 - Sequence=73, Status=0x8011, Assoc.=48827, Offset=0, Count=468 - TO-BE-DONE: data not interpreted - 15 12:27:15.552459 IP6 (class 0xb8, flowlabel 0x834cf, hlim 64, next-header UDP (17) payload length: 124) ::1.123 > ::1.38531: [bad udp cksum 0x008f -> 0xdcfa!] NTPv2, Control Message, length 116 - Leap indicator: (0), Response, OK, Last, OpCode=2 - Sequence=73, Status=0x8011, Assoc.=48827, Offset=468, Count=104 - TO-BE-DONE: data not interpreted - 16 12:27:15.552614 IP6 (flowlabel 0x62d8a, hlim 64, next-header UDP (17) payload length: 20) ::1.38531 > ::1.123: [bad udp cksum 0x0027 -> 0x93bd!] NTPv2, Control Message, length 12 - Leap indicator: (0), Request, OK, Last, OpCode=2 - Sequence=74, Status=0, Assoc.=48828, Offset=0, Count=0 - 17 12:27:15.552756 IP6 (class 0xb8, flowlabel 0x834cf, hlim 64, next-header UDP (17) payload length: 488) ::1.123 > ::1.38531: [bad udp cksum 0x01fb -> 0x5634!] NTPv2, Control Message, length 480 - Leap indicator: (0), Response, OK, More, OpCode=2 - Sequence=74, Status=0x8011, Assoc.=48828, Offset=0, Count=468 - TO-BE-DONE: data not interpreted - 18 12:27:15.552790 IP6 (class 0xb8, flowlabel 0x834cf, hlim 64, next-header UDP (17) payload length: 128) ::1.123 > ::1.38531: [bad udp cksum 0x0093 -> 0x8c8c!] NTPv2, Control Message, length 120 - Leap indicator: (0), Response, OK, Last, OpCode=2 - Sequence=74, Status=0x8011, Assoc.=48828, Offset=468, Count=108 - TO-BE-DONE: data not interpreted - 19 12:27:15.552933 IP6 (flowlabel 0x62d8a, hlim 64, next-header UDP (17) payload length: 20) ::1.38531 > ::1.123: [bad udp cksum 0x0027 -> 0x93bb!] NTPv2, Control Message, length 12 - Leap indicator: (0), Request, OK, Last, OpCode=2 - Sequence=75, Status=0, Assoc.=48829, Offset=0, Count=0 - 20 12:27:15.553074 IP6 (class 0xb8, flowlabel 0x834cf, hlim 64, next-header UDP (17) payload length: 488) ::1.123 > ::1.38531: [bad udp cksum 0x01fb -> 0x9c1f!] NTPv2, Control Message, length 480 - Leap indicator: (0), Response, OK, More, OpCode=2 - Sequence=75, Status=0x961a, Assoc.=48829, Offset=0, Count=468 - TO-BE-DONE: data not interpreted - 21 12:27:15.553109 IP6 (class 0xb8, flowlabel 0x834cf, hlim 64, next-header UDP (17) payload length: 108) ::1.123 > ::1.38531: [bad udp cksum 0x007f -> 0x77be!] NTPv2, Control Message, length 100 - Leap indicator: (0), Response, OK, Last, OpCode=2 - Sequence=75, Status=0x961a, Assoc.=48829, Offset=468, Count=85 - TO-BE-DONE: data not interpreted diff --git a/tests/ntp-mode7--vvv.out b/tests/ntp-mode7--vvv.out deleted file mode 100644 index 3d31465c..00000000 --- a/tests/ntp-mode7--vvv.out +++ /dev/null @@ -1,24 +0,0 @@ - 1 07:22:22.252624 IP (tos 0x0, ttl 64, id 3928, offset 0, flags [DF], proto UDP (17), length 220) - 127.0.0.1.32795 > 127.0.0.1.123: [bad udp cksum 0xfedb -> 0x65a9!] NTPv2, Reserved, length 192 - Leap indicator: (0) - 2 07:22:22.252700 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 72) - 127.0.0.1.123 > 127.0.0.1.32795: [bad udp cksum 0xfe47 -> 0xb900!] NTPv2, Reserved, length 44 - Leap indicator: -1s (128) - 3 07:22:29.460683 IP (tos 0x0, ttl 64, id 3929, offset 0, flags [DF], proto UDP (17), length 220) - 127.0.0.1.32795 > 127.0.0.1.123: [bad udp cksum 0xfedb -> 0x65bd!] NTPv2, Reserved, length 192 - Leap indicator: (0) - 4 07:22:29.460754 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 60) - 127.0.0.1.123 > 127.0.0.1.32795: [bad udp cksum 0xfe3b -> 0xeb6d!] NTPv2, Reserved, length 32 - Leap indicator: -1s (128) - 5 07:22:39.972764 IP (tos 0x0, ttl 64, id 3930, offset 0, flags [DF], proto UDP (17), length 220) - 127.0.0.1.32795 > 127.0.0.1.123: [bad udp cksum 0xfedb -> 0x659f!] NTPv2, Reserved, length 192 - Leap indicator: (0) - 6 07:22:39.972837 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 96) - 127.0.0.1.123 > 127.0.0.1.32795: [bad udp cksum 0xfe5f -> 0xf9f5!] NTPv2, Reserved, length 68 - Leap indicator: -1s (128) - 7 07:22:44.396700 IP (tos 0x0, ttl 64, id 3931, offset 0, flags [DF], proto UDP (17), length 220) - 127.0.0.1.32795 > 127.0.0.1.123: [bad udp cksum 0xfedb -> 0x65c4!] NTPv2, Reserved, length 192 - Leap indicator: (0) - 8 07:22:44.396781 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 468) - 127.0.0.1.123 > 127.0.0.1.32795: [bad udp cksum 0xffd3 -> 0xdf82!] NTPv2, Reserved, length 440 - Leap indicator: -1s (128) diff --git a/tests/ntp-time--vvv.out b/tests/ntp-time--vvv.out deleted file mode 100644 index f7bc88fc..00000000 --- a/tests/ntp-time--vvv.out +++ /dev/null @@ -1,20 +0,0 @@ - 1 13:21:56.928550 IP (tos 0x0, ttl 64, id 24704, offset 0, flags [DF], proto UDP (17), length 76) - 132.199.152.129.49445 > 132.199.4.1.123: [udp sum ok] NTPv4, Client, length 48 - Leap indicator: clock unsynchronized (192), Stratum 0 (unspecified), poll 8 (256s), precision 0 - Root Delay: 0.000000, Root dispersion: 0.000000, Reference-ID: (unspec) - Reference Timestamp: 0.000000000 - Originator Timestamp: 0.000000000 - Receive Timestamp: 0.000000000 - Transmit Timestamp: 3712483316.928478999 (2017-08-23T13:21:56Z) - Originator - Receive Timestamp: 0.000000000 - Originator - Transmit Timestamp: 3712483316.928478999 (2017-08-23T13:21:56Z) - 2 13:21:56.928851 IP (tos 0xb8, ttl 62, id 8834, offset 0, flags [DF], proto UDP (17), length 76) - 132.199.4.1.123 > 132.199.152.129.49445: [udp sum ok] NTPv4, Server, length 48 - Leap indicator: (0), Stratum 2 (secondary reference), poll 8 (256s), precision -24 - Root Delay: 0.000320, Root dispersion: 0.036407, Reference-ID: 0x84c707c9 - Reference Timestamp: 3712482106.337741360 (2017-08-23T13:01:46Z) - Originator Timestamp: 3712483316.928478999 (2017-08-23T13:21:56Z) - Receive Timestamp: 3712483316.929920629 (2017-08-23T13:21:56Z) - Transmit Timestamp: 3712483316.929948437 (2017-08-23T13:21:56Z) - Originator - Receive Timestamp: +0.001441629 - Originator - Transmit Timestamp: +0.001469437