Commit Graph

83576 Commits

Author SHA1 Message Date
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
Zoran Bošnjak 8f873bcbb7 asterix: Sync with asterix-specs #251f703483
Whitespace fix.
2022-01-23 08:45:04 +00:00
Zoran Bošnjak 63cbb2dd1e asterix: output format fix
Use HEX, DEC, HEX_DEC..., depending on item size and byte alignment.
2022-01-23 08:45:04 +00:00
Zoran Bošnjak 99ab96555a asterix: minor cleanup in decoding subitems
The "VALUE" string should not be displayed for generated subitem levels.
2022-01-23 08:45:04 +00:00
John Thacker b4e74af118 check_typed_item_calls.py: Don't match files with extra extensions
When checking is_dissector_file(), only match against files that
end in ".c" and not, e.g. ".c.swp" ".c~" or other such temporary
files that might be binary files (as with vim .swp files).

Prevents errors like "UnicodeDecodeError: 'utf-8' codec can't decode
byte 0xe4 in position 18: invalid continuation byte" with Python 3
when a dissector file is open in vim.
2022-01-23 00:00:32 +00:00
Dirk Ziegelmeier 0efe56399c gitignore: Add ignores for clangd 2022-01-22 21:37:46 +00:00
John Thacker f7ea4ab085 GTP: Dissect two IEs from BSSGP
Dissect two IEs that are transparent container from BSSGP (3GPP TS
48.018), 7.7.72 BSS Container and 7.7.78 List of set-up PFCs.
Related to #17839.
2022-01-22 14:32:21 -05:00
Eason Wei 7005b047a4 GTP: add dissection of IE's for some "for future use" 2022-01-22 12:06:34 +00:00
John Thacker 470b6b17ad GTP: Dissect more undecoded IEs
Dissect MBMS Protocol Configuration Options, Operator Selection Entity,
and PDU Numbers. Related to #17839.
2022-01-22 00:42:05 -05:00
Guy Harris 125f5cbd88 Fix no-ZLib builds.
Don't use ZLib routines or data types if we're built without ZLib.

Don't support --compress-type=gzip, or a gzip check box in the Output
pane of the Capture Options dialog, if we're built without ZLib.

Fixes #17899.
2022-01-21 15:04:28 -08:00
Martin Mathieson d7d2994228 check_typed_item_calls.py: fix matching of calls 2022-01-21 21:59:50 +00:00
Uli Heilmeier 81b57b29ab PPP: Fix failed assertion for tvb_bytes_to_str()
Check size before calling tvb_bytes_to_str()

Related to wireshark/wireshark#17890
2022-01-21 20:54:53 +00:00
John Thacker f57919d6ba GTP: Dissect CSG related IEs
Dissect User CSG Information (UCI), CSG Information Reporting Action,
CSG ID, and CSG Membership Indication IEs. Related to #17839.
2022-01-21 20:38:06 +00:00
Jaap Keuter f37d8bad53 GTP: add dissection of various IE's 2022-01-21 20:26:48 +00:00
John Thacker b2f78b47b4 GTP: Don't include padding in the RAC in ULI
From 3GPP TS 29.06 V 17.1.0 7.7.51:
The routing area code consists of 2 octets and is found in octet 10
and octet 11. Only the first octet (10) contains the RAC and the
second octet (11) is coded as "11111111".

Don't include the spare octet 11 in the RAC field. The RAC is only
one octet.
2022-01-21 08:49:36 -05:00
John Thacker 56f1ee5c3a GTP: Support Cell Identification IE
Related to #17839.
2022-01-21 07:48:18 -05:00
Dr. Lars Völker a05d35fd4f SOCKS: Allow SOCKS over TLS 2022-01-21 10:39:47 +00:00
John Thacker f5bb44f75f GTP: Add CAMEL Charging Information Container IE
Add CAMEL Charging Information Container IE (type 155) from
ETSI TS 129 060 7.7.54. Related to #17839
2022-01-20 09:33:29 -05:00
Dirk Ziegelmeier de0fde6e46 Profinet Plugin: Improve dissecting PDPortDataReal block 2022-01-20 05:07:08 +00:00
Dirk Ziegelmeier 74255a072f Profinet plugin: Dissect Neighbors block 2022-01-20 05:07:07 +00:00