Commit Graph

83576 Commits

Author SHA1 Message Date
Gerald Combs 79da670bd1 Packaging+GitLab CI: Move debian to the packaging directory.
We keep our various packaging assets in the "packaging" directory. Move
the Debian assets there. dpkg-buildpackage doesn't seem appear to have a
"debian directory path" option, but symlinking worked in my test
container.
2022-02-13 13:21:58 -08:00
Gerald Combs 4e3b2ec007 [Automatic update for 2022-02-13]
Update manuf, services enterprise numbers, translations, and other items.
2022-02-13 16:39:57 +00:00
Roman Volkov 7d171d3782 mpeg descriptor: add Short Smoothing Buffer Descriptor (0x61) 2022-02-13 11:01:08 +00:00
Alexis La Goutte 1212ec9d56 msrcp: Fix warnings about -Wmissing-prototypes 2022-02-13 10:47:45 +00:00
Alexis La Goutte 26d48b9464 ppp: Fix Dead Store found by Clang Analyzer
packet-ppp.c:4901:13: warning: Value stored to 'offset' is never read [deadcode.DeadStores]
2022-02-13 10:34:30 +00:00
Alexis La Goutte c115a2ae60 signal-pdu: fix DeadStore found by Clang Analyzer
packet-signal-pdu.c:2265:17: warning: Value stored to 'ti' is never read [deadcode.DeadStores]
packet-signal-pdu.c:2268:17: warning: Value stored to 'ti' is never read [deadcode.DeadStores]
packet-signal-pdu.c:2271:17: warning: Value stored to 'ti' is never read [deadcode.DeadStores]
2022-02-13 10:34:30 +00:00
Alexis La Goutte 3dee67b2a2 msrcp: Fix DeadStore found by Clang Analyzer
packet-msrcp.c:135:17: warning: Value stored to 'msrcp_trans' is never read [deadcode.DeadStores]
2022-02-13 10:34:30 +00:00
Alexis La Goutte a1be626264 text2pcap: Fix DeadStore found by Clang Analyzer
text2pcap.c:476:13: warning: Value stored to 'pcap_link_type' is never read [deadcode.DeadStores]
2022-02-13 10:34:30 +00:00
Alexis La Goutte 6d063e0190 EAP: fix Argument with 'nonnull' attribute passed null 2022-02-13 10:34:30 +00:00
Alexis La Goutte 38d5d79d74 bt-dht: Fix Argument with 'nonnull' attribute passed null 2022-02-13 10:34:29 +00:00
Alexis La Goutte 123a5f4e13 libpcap(wiretap): Fix unreachable-code
libpcap.c:1007:19: warning: code will never be executed [-Wunreachable-code]
2022-02-13 10:23:43 +00:00
Alexis La Goutte 0f86319543 follow_stream_dialog(qt): Fix Wunreachable-code
follow_stream_dialog.cpp:591:29: warning: code will never be executed [-Wunreachable-code]
2022-02-13 10:23:42 +00:00
Alexis La Goutte 13c42f5f83 help_url(ui) Fix Wunreachable-code
help_url.c:308:15: warning: code will never be executed [-Wunreachable-code]
2022-02-13 10:23:42 +00:00
Alexis La Goutte f5eceb4ad0 blf: fix Wunreachable-code
blf.c:764:47: warning: code will never be executed [-Wunreachable-code]
2022-02-13 10:23:42 +00:00
Roman Volkov d73752d228 mpeg descriptor: add XAIT Content Location Descriptor (0x7D) 2022-02-13 10:05:38 +00:00
Roman Volkov c73101601e mpeg descriptor: add Time Shifted Event Descriptor (0x4F) 2022-02-12 18:39:21 +00:00
Roman Volkov 2406588c64 mpeg descriptor: add Service Identifier Descriptor (0x71) 2022-02-12 12:33:06 +02:00
Dirk Ziegelmeier dc5cb69409 Profinet plugin: Decode more r/w indexes 2022-02-11 20:16:07 +00:00
Dirk Ziegelmeier a17037de4b Profinet plugin: Update several enums
According to PN AL Protocol, Oct 2020
Indices, user structure identifier, channel error type, ext channel error types
2022-02-11 20:16:07 +00:00
Roland Knall 699c3c051a Qt: Fix ASAN heap-use-after-free 2022-02-11 18:51:54 +00:00
John Thacker 52955b9c43 Qt: highlight when search result is in the current packet.
Calling setCurrentIndex with QItemSelectionModel::ClearAndSelect clears
the currentIndex, but not the selection, so it doesn't trigger
selectionChanged. However, highlighting depends on the selectionChanged
signal, not currentChanged(), and it's not emitted if we're still on the
same packet/row as the current selection (which can occur if searching
for something that occurs in exactly one packet in a capture.)

Since packet_list_select_row_from_data() cares about where the data
is within the packet, it needs to clear the selection.  Fix #8269
2022-02-11 18:21:35 +00:00
John Thacker 0011bb6a4c Qt: Allow omitting secondary data sources when printing
Add a checkbox to the packet format group box to allow the
hexdump to only have the main frame instead of secondary data
sources as well, so that Print and Export Packet Dissections can
be used for input to text2pcap.
2022-02-10 23:28:53 -05:00
David Perry fc3f061829 Differentiate `-c` from `-a packets:` 2022-02-11 01:54:53 +00:00
Jérôme HAMM 4b8c280d68 ssh: fix warnings found by Clang Analyzer (deadcode.DeadStores) 2022-02-10 14:29:11 +00:00
Jérôme HAMM 5ddca40727 ssh: dissecting server signature 2022-02-10 14:29:11 +00:00
Jérôme HAMM 9f2e1dbaf5 ssh: dissecting generic connection packets 2022-02-10 14:29:11 +00:00
Jérôme HAMM 54a9d92b28 ssh: dissecting specific user authentication packets 2022-02-10 14:29:11 +00:00
Jérôme HAMM 62489e0b57 ssh: dissecting generic user authentication packets 2022-02-10 14:29:11 +00:00
Jérôme HAMM ae394cd42a ssh: dissecting generic transport packets 2022-02-10 14:29:11 +00:00
Jérôme HAMM 15046059cb ssh: displaying sequence number 2022-02-10 14:29:11 +00:00
Jérôme HAMM 41b442d9c0 ssh: checking and showing Message Authentication Code 2022-02-10 14:29:11 +00:00
Dror Eiger 7ea9bab84b Geneve: new option classes 2022-02-10 14:07:06 +00:00
Gerald Combs e1dbf36519 Docs: Add new protocols to the release notes. 2022-02-09 11:28:07 -08:00
Alexis La Goutte 84569f3ab8 ieee80211: add support of Fortinet Vendor Specific
Only support type 10 (SYSTEM ?) with subtype 1 (AP-NAME)

See https://www.nickjvturner.com/ap-name-broadcast-support for pcap
2022-02-09 18:23:26 +00:00
David Perry 1e0d117eb7 Specify directory for temporary captures 2022-02-09 14:32:28 +00:00
John Thacker f72787e86f TCP: Fix SYN and FIN retransmission vs ooo detection
Since nextseq is incremented by an extra one byte for SYN/FIN packets,
the out-of-order check should take that into account. Otherwise an
immediately retransmitted SYN or FIN is treated as a retransmission.
Related to #13843.
2022-02-09 02:02:18 +00:00
John Thacker 26dafbae39 file: Fix memory leak in Find Packet
If we don't find the data in a packet, reset the wtap record so
that the block we just searched is freed before we lose our pointer
to it.
2022-02-08 20:03:02 -05:00
Uli Heilmeier 782e7db8c0 PER: Check length calling tvb_new_octet_aligned()
Fix calling tvb_new_octet_aligned() with length == 0

Related to #17890 case 17
2022-02-08 17:19:26 +00:00
Stefan Metzmacher 833a825c7c packet-dcerpc-netlogon: use SEC_CHAN_* values from packet-dcerpc-misc
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2022-02-08 10:45:21 +00:00
Uli Heilmeier 0fd55dbf54 WSCBOR: Add checks for length and NULL
Additional checks for NULL and length before calling
tvb_new_subset_length() or proto_tree_add_item()

Related to #17890 case 8
2022-02-08 10:12:56 +00:00
Martin Mathieson 095255481a Tidy up some masks in items. 2022-02-08 08:56:17 +00:00
Guy Harris 1e27fe59fd Clean up checking for invalid field definitions.
Add comments to indicate what types of display information various field
types are allowed.

Make the error messages for fields that only allow some particular
display information types specific to those types, rather than saying
"no field information allowed".  This also gets rid of some
fallthroughs, one of which allows BASE_PROTOCOL_INFO for floating-point
types, which makes no sense.
2022-02-07 22:01:45 -08:00
Gerald Combs a8c8ee6908 epan: Fix our FT_UINT_BYTES and FT_UINT_STRING checks.
FT_UINT_BYTES and FT_UINT_STRING lengths are always at least the width
of the count bytes. Fix for 1136ce9610 / #17891.
2022-02-08 02:29:50 +00:00
Gerald Combs e93001a8dd BP: Make sure our offset advances.
Fixes #17933.
2022-02-08 02:07:55 +00:00
Gerald Combs 8d3c217779 GDSDB: Make sure our offset advances.
Fixes #17931.
2022-02-08 01:23:28 +00:00
Roland Knall 1e795b3f8c Qt: Fix Packet bytes dialog view
Mac/Linux use a different sorting for the QDialogButtons
2022-02-07 22:03:01 +00:00
Stig Bjørlykke 3c4e4cc134 p_mul: Change display of missing sequence numbers
Show missing sequence numbers with from and to instead of listing
every number in the range as generated fields.

Bonus: explicitly show the range delimiter.

Fixes: #17932
2022-02-07 21:45:15 +00:00
Damir Franusic 027f6a02e8 GDT: add dissector for SCTP PPID 49 protocol 2022-02-07 20:20:43 +00:00
Gerald Combs 2a4171fc06 WAP: Clamp our value lengths to a usable value.
tvb_get_guintvar returns a length which is often used for arithmetic.
Clamp it to a value which is less likely to overflow. Fixes #17925.
2022-02-07 20:06:41 +00:00
Guy Harris 6b3daa9aec ZigBee ZCL: fix the zero-length item check.
The fix for #17926 got the check backwards, so non-empty arrays, sets,
and bags couldn't be dissected, as they'd always report a "zero-length
item" error.  Both versions of the check dissect zero-length items, as
they test for equality, but the old version thought that a
non-zero-length item was also bad, as the offset was greater after
dissecting the item than before dissecting the item.
2022-02-07 11:35:28 -08:00