diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-06-12 12:39:43 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-06-13 11:12:15 +0200 |
commit | 95e4db107c06bdd5c66b110088df61876bb19094 (patch) | |
tree | df5a19fe0fb7b3097d851b64f9ebb1993159b9bf /tests | |
parent | a0f5052f63276e04d4663a83c9f0c13ca6bbaf98 (diff) | |
download | tcpdump-95e4db107c06bdd5c66b110088df61876bb19094.tar.gz |
Add two test files for the unsupported link-layer protocols printer
This is a follow-up to commit 25687e1a312a3bb63a6e8d7f0af0210a615e24a8.
These files come from the Wireshark menagerie:
0031419.pcap (link type 160) and 5632-Raw_D-BUS.cap (first two packets).
Diffstat (limited to 'tests')
-rw-r--r-- | tests/TESTLIST | 4 | ||||
-rw-r--r-- | tests/unsupported-link-type-160.out | 3 | ||||
-rw-r--r-- | tests/unsupported-link-type-160.pcap | bin | 0 -> 63 bytes | |||
-rw-r--r-- | tests/unsupported-link-type-dbus.out | 26 | ||||
-rw-r--r-- | tests/unsupported-link-type-dbus.pcap | bin | 0 -> 418 bytes |
5 files changed, 33 insertions, 0 deletions
diff --git a/tests/TESTLIST b/tests/TESTLIST index 7566f63d..fb157144 100644 --- a/tests/TESTLIST +++ b/tests/TESTLIST @@ -810,3 +810,7 @@ someip2 someip2.pcap someip2.out edns-opts edns-opts.pcap edns-opts.out edns-opts-v edns-opts.pcap edns-opts-v.out -v edns-opts-vv edns-opts.pcap edns-opts-vv.out -vv + +# unsupported link types +unsupported-link-type-160 unsupported-link-type-160.pcap unsupported-link-type-160.out +unsupported-link-type-dbus unsupported-link-type-dbus.pcap unsupported-link-type-dbus.out diff --git a/tests/unsupported-link-type-160.out b/tests/unsupported-link-type-160.out new file mode 100644 index 00000000..973e57be --- /dev/null +++ b/tests/unsupported-link-type-160.out @@ -0,0 +1,3 @@ + 1 00:00:00.000000 UNSUPPORTED + 0x0000: 490c 6209 6923 34e8 efd3 a7bf 4ec0 fd3b I.b.i#4.....N..; + 0x0010: 43e0 0b2b 2b2b 2b C..++++ diff --git a/tests/unsupported-link-type-160.pcap b/tests/unsupported-link-type-160.pcap Binary files differnew file mode 100644 index 00000000..d34c60c3 --- /dev/null +++ b/tests/unsupported-link-type-160.pcap diff --git a/tests/unsupported-link-type-dbus.out b/tests/unsupported-link-type-dbus.out new file mode 100644 index 00000000..f833b6a4 --- /dev/null +++ b/tests/unsupported-link-type-dbus.out @@ -0,0 +1,26 @@ + 1 21:35:34.858486 UNSUPPORTED + 0x0000: 6c01 0101 9200 0000 1700 0000 7f00 0000 l............... + 0x0010: 0101 6f00 1500 0000 2f6f 7267 2f66 7265 ..o...../org/fre + 0x0020: 6564 6573 6b74 6f70 2f44 4275 7300 0000 edesktop/DBus... + 0x0030: 0601 7300 1400 0000 6f72 672e 6672 6565 ..s.....org.free + 0x0040: 6465 736b 746f 702e 4442 7573 0000 0000 desktop.DBus.... + 0x0050: 0201 7300 1400 0000 6f72 672e 6672 6565 ..s.....org.free + 0x0060: 6465 736b 746f 702e 4442 7573 0000 0000 desktop.DBus.... + 0x0070: 0301 7300 0b00 0000 5265 6d6f 7665 4d61 ..s.....RemoveMa + 0x0080: 7463 6800 0000 0000 0801 6700 0173 0000 tch.......g..s.. + 0x0090: 8d00 0000 7479 7065 3d27 7369 676e 616c ....type='signal + 0x00a0: 272c 7365 6e64 6572 3d27 6f72 672e 6672 ',sender='org.fr + 0x00b0: 6565 6465 736b 746f 702e 4861 6c27 2c70 eedesktop.Hal',p + 0x00c0: 6174 683d 272f 6f72 672f 6672 6565 6465 ath='/org/freede + 0x00d0: 736b 746f 702f 4861 6c2f 4d61 6e61 6765 sktop/Hal/Manage + 0x00e0: 7227 2c69 6e74 6572 6661 6365 3d27 6f72 r',interface='or + 0x00f0: 672e 6672 6565 6465 736b 746f 702e 4861 g.freedesktop.Ha + 0x0100: 6c2e 4d61 6e61 6765 7227 2c6d 656d 6265 l.Manager',membe + 0x0110: 723d 2744 6576 6963 6552 656d 6f76 6564 r='DeviceRemoved + 0x0120: 2700 '. + 2 21:35:34.859818 UNSUPPORTED + 0x0000: 6c02 0101 0000 0000 1100 0000 3500 0000 l...........5... + 0x0010: 0601 7300 0600 0000 3a31 2e31 3131 0000 ..s.....:1.111.. + 0x0020: 0501 7500 1700 0000 0701 7300 1400 0000 ..u.......s..... + 0x0030: 6f72 672e 6672 6565 6465 736b 746f 702e org.freedesktop. + 0x0040: 4442 7573 0000 0000 DBus.... diff --git a/tests/unsupported-link-type-dbus.pcap b/tests/unsupported-link-type-dbus.pcap Binary files differnew file mode 100644 index 00000000..6933304c --- /dev/null +++ b/tests/unsupported-link-type-dbus.pcap |