Commit Graph

83445 Commits

Author SHA1 Message Date
Roman Volkov 59208468b9 mpeg descriptor: add Country Availability Descriptor (0x49) 2022-01-30 08:41:28 +00:00
John Thacker e0a11d0607 PROFINET: Fix incorrect API call, assertion
Fix two calls of proto_tree_add_item() when proto_tree_add_uint()
was meant. Passing the actual value of a field instead of an encoding
into proto_tree_add_item() has unexpected results. Fix #17909.

(The whole area of this dissector would probably be cleaner with
more calls to add_item(), but this is a smaller change consistent
with the rest.)
2022-01-29 23:39:20 -05:00
Gerald Combs 813854102b Remove our .bzrignore symlink.
On the off chance that someone is still using Bazaar, they should be
able to create a local symlink.
2022-01-29 20:00:32 +00:00
Martin Mathieson 19ec126687 check_typed_item_calls.py - Find all (but 3) items from calls. 2022-01-29 15:54:19 +00:00
John Thacker ee8a4fdfd7 GTP: Fix cut and paste wrong offset MBMS PCO
Fix the recently added MBMS PCO IE. Related to #17839.
2022-01-28 21:06:33 -05:00
Gerald Combs 451e3cc4ef DNS: Check our NSEC3 hash length.
Add a next hashed owner field only if we have one. Use a wmem_strbuf.
Fixes #17912.
2022-01-28 14:02:15 -08:00
Martin Mathieson 899b07a8eb Fix some filters strings. 2022-01-28 10:49:41 +00:00
John Thacker e406e5b826 DTLS: Only call srtp_add_address now
After commit 16ddc9ab19, we don't need to call srtcp_add_address
separately for a multiplexed connection. Do call it on a client hello
with only a single protection profile offered, in case of a one way
connection, though. Related to #13193.
2022-01-28 06:54:28 +00:00
Jean Yap 804b5ffdb3 ppp-packet.c: VSNP fixes for issue #17815 2022-01-28 06:43:41 +00:00
Jean Yap d4c56c2021 ppp-packet.c: VSNP fixes for issue #17815 2022-01-28 06:43:41 +00:00
Chuck Craft ab8500261b Docs: wslua TreeItem class typo 2022-01-28 06:24:28 +00:00
easonweii 6c9662eda4 GTP: Add dissection for Source RNC PDCP Context Info IE
Add dissection for Source RNC PDCP Context Info (7.7.61) IE.
Related to #17839
2022-01-28 05:02:13 +00:00
Jaap Keuter 2f6cf59ce4 CPPcheck: When we say C11 do check for C11 2022-01-28 04:31:07 +00:00
John Thacker 16ddc9ab19 RTP/RTCP: Create rtcp info when RFC 5761 multiplexing
The RTP dissector supports RFC 5761 multiplexing by default, always
passing payload types that conflict with RTCP to the RTCP dissector.
Thus, when a [S]RTP stream is set up by srtp_add_address, it should
pass along the information to the RTCP dissector so that the rtcp_info
and srtcp_info information is attached to the conversation as well.
Helps with DTLS-SRTP (#13193).
2022-01-27 22:48:13 -05:00
Will Aftring 6a99dacf54 Add Microsoft Cluster Route Control Protocol (MSRCP) 2022-01-27 21:15:49 +00:00
Anders Broman 33b000148f GTPv2: MM Context handle 0 length IEs 2022-01-27 18:08:34 +00:00
Jan Snydr-Michal 1a512bc26d afp: fix dissection of afp.access and afp.file_bitmap fields.
Fix regressions in AppleShare dissection by correcting the length
of afp.access and afp.file_bitmap fields to be UINT16 as specified
in the AppleShare protocol specification.

Fix reuse of afp.file_bitmask in CatSearchExt as a 16 and as a 32 bit
value by introducing afp.request_bitmask for the 32 bit Request
Bitmap.

Closes #17907.
2022-01-27 13:48:18 +00:00
Jan Snydr-Michal f098b4ddba Prevent reuse of hf_afp_file_bitmap as a 16 and 32 bit value in
dissections by introducing hf_afp_request_bitmap for the 32 bit
Request Bitmap in FPCatSearchExt.  Made the hf_afp_access_*
FT_BOOLEANs have a width of 16 to reflect the fact that
hf_afp_access_mode needs to be a FT_UINT16 as AFP spec defines
access mode as a short.
2022-01-27 13:48:18 +00:00
Jan Snydr-Michal 5cdb661b8c afp: fix dissection of afp.access and afp.file_bitmap fields.
Fix regressions in AppleShare dissection by correcting the length
of afp.access and afp.file_bitmap fields to be UINT16 as specified
in the AppleShare protocol specification.  Closes #17907
2022-01-27 13:48:18 +00:00
Nardi Ivan acd2b2a2aa TDS: add decoding of TLS messages
Close #17908
2022-01-27 11:40:08 +00:00
John Thacker 601a55b36d RTP: add some comments 2022-01-27 02:33:50 -05:00
John Thacker 84c89b8f6c GTP': Support Release 15 and higher CDRs
The Release Identifer field is only one nibble in GTP'. So in
Release 15 of 3GPP TS 32.295, an extra octet, Release Identifier
Extension, was added to support CDRs encoded with Release 16 and
higher of TS 32.298. Fix #17903.
2022-01-27 05:24:16 +00:00
Paul Koning 6231bdc716 Fix Linux build issue
This fixes an error due to memcpy not being declared.  Closes #17911.
2022-01-27 04:43:52 +00:00
John Thacker f31881ef0b GTP: Fix wrong GGSN control plane address field
Fix a typo / copy and paste error
2022-01-26 19:33:44 -05:00
Gerald Combs 6e48f973ec Tools: Remove NPL.
Remove tools/npl. It doesn't appear to be used and hasn't had any
activity for many years. Ping #17897.
2022-01-26 17:35:58 +00:00
John Thacker 36521f27b3 DTLS-SRTP: Set up SRTP and SRTCP sessions
Use the information in a use_srtp Extension in a Server Hello to
set up SRTP and SRTCP sessions according to RFC 5764. It is RECOMMENDED
that symmetric RTP be used with DTLS-SRTP, and RTP and RTCP traffic may
be multiplexed, so set up all four possible connections.

Fix #17905.
2022-01-26 14:50:59 +00:00
Dario Lombardo ac164db3ac ieee80211: initialize local buffers.
Fix valgrind errors for jumps on non-initialized memory.

Fix: #17894.
2022-01-26 13:05:25 +00:00
Anders Broman 5c5c109ec0 SIP: Add 3GPP TS 24.229 SIP headers. 2022-01-26 09:56:00 +00:00
Michał Kępień d408ad5ba8 DNS: Base32-encode NSEC3 Next Hashed Owner Name
As the owner name of each NSEC3 record is Base32-encoded, the Next
Hashed Owner Name field in those records should also be displayed in
Base32-encoded form.  This enables the user to quickly tell what span of
hashed owner names is covered by a given NSEC3 record.
2022-01-26 07:48:45 +00:00
John Thacker f7a882d3eb DTLS: comment out unused expert info 2022-01-25 23:20:21 -05:00
Guy Harris e4b26c586c realtek: add support for some Realtek protocols.
This could be extended to handle some "switch tags" seen when capturing
from interfaces supporting the Linux DSA mechanism.
2022-01-25 22:09:57 +00:00
Gerald Combs c49f63b5f5 Docs: Update markup in the text2pcap man page.
Add an EditorConfig entry as well.
2022-01-25 09:52:17 -08:00
John Thacker ab4d858398 RTCP: Don't always Decode As SRTCP
If RTCP is chosen via Decode As, decode as RTCP.
If SRTCP is chosen via Decode As, decode as SRTCP (assuming that
all packets are encrypted, because we can't tell where the E bit is
in that case.)

If possible [S]RTCP is found via the heuristic dissector, assume either
RTCP or (encrypted) SRTCP based a preference. Perhaps later the heuristic
dissector could be improved to make a better decision.
2022-01-25 13:57:27 +00:00
John Thacker 402e05bc37 X509ce: Use FT_ABSOLUTE_TIME for baseUpdateTime, invalidityDate
These two GeneralizedTime fields are manually constructed so they
need to be manually updated for the changes in commit 7e99bbf32b
2022-01-25 13:42:00 +00:00
Uli Heilmeier 11e7240bcf LLRP: Fix check of enough bytes
Don't use DISSECTOR_ASSERT to check for enough bytes.

Reated to #17890
2022-01-25 12:31:18 +00:00
Martin Mathieson 89b7a1328b tools/check_typed_item_calls.py: improve detection of missing items 2022-01-25 11:43:32 +00:00
Stefan Metzmacher 2235d5fd2c packet-kerberos: kerberos.patimestamp use FT_ABSOLUTE_TIME/ABSOLUTE_TIME_LOCAL
This was done for all generated values in commit:

commit 7e99bbf32b
Author:     John Thacker <johnthacker@gmail.com>
AuthorDate: Tue Nov 23 21:36:02 2021 -0500
Commit:     John Thacker <johnthacker@gmail.com>
CommitDate: Thu Dec 2 20:40:22 2021 -0500

    BER: Make GeneralizedTime a FT_ABSOLUTE_TIME

    ...

But we need to also do it for manual stuff.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2022-01-25 11:14:01 +00:00
Alexis La Goutte af40152a0d ieee80211: fix typo (verision => version) 2022-01-25 10:35:19 +00:00
Uli Heilmeier fb7f1823da 5co: Fix failed assertion
Check length before calling tvb_get_raw_bytes_as_string()
Related to #17890
2022-01-24 22:01:18 +01:00
Gerald Combs 5f29a00814 NSIS: Completely remove the User's Guide.
The "Wireshark User's Guide" directory has two levels of directories
underneath it, so remove it recursively in the NSIS uninstaller.
Fixes #17898.
2022-01-23 19:26:47 -08:00
John Thacker e4a33d22a8 GTP: Add MBMS UE Info IE
Add MBMS UE Info IE (7.7.55) and Enhanced NSAPI (7.7.67) IEs.
Related to #17839.
2022-01-23 21:50:55 -05:00
Uli Heilmeier a202350f6f DHCPv6: Fix failed assertion tvb_bytes_to_str()
Check address_length before calling tvb_bytes_to_str()
Related to #17890
2022-01-23 20:57:50 +00:00
Alexis La Goutte ac2389d3e4 ICMPv6: fix missing hf for SubjectKeyInfo 2022-01-23 20:20:21 +00:00
Alexis La Goutte 5ec5edec0f cdp: fix tvbuff.c:4429: failed assertion len > 0
tvb_bytes_to_str don't support length = 0
2022-01-23 20:20:21 +00:00
Alexis La Goutte ccdcc91e81 couchbase: fix Illegal call of proto_item_add_bitmask_tree without fields
extra_flags can't be empty

Fix #17890
2022-01-23 20:20:21 +00:00
John Thacker fbeee407b4 GTP: Fix wrong value_string for PDP organization
PDP organization in PDP context should use its own value string,
not the value string for the PDP type number.
2022-01-23 13:23:27 -05:00
Gerald Combs f7fba2ad52 [Automatic update for 2022-01-23]
Update manuf, services enterprise numbers, translations, and other items.
2022-01-23 17:43:16 +00:00
John Thacker fb37fe8537 GTP: Support Additional Trace Info IEs
Support 7.7.62 Additional Trace Info IE and 7.7.68 Additional
MBMS Trace Info IE. Related to #17839.
2022-01-23 10:29:53 -05:00
Uli Heilmeier 2337761e92 IPP: Fix failed assertion for tvb_bytes_to_str()
Check size before calling tvb_bytes_to_str()
Related to #17890
2022-01-23 10:43:49 +00:00
Gerald Combs 78984d855e Clean up .gitignore.
Remove entries that were generated by HTML Help and NMake or are
otherwise no longer relevant. Organize some other entries a little
better.
2022-01-23 10:15:49 +00:00