Commit Graph

85011 Commits

Author SHA1 Message Date
Martin Mathieson eb197df564 RLC Graph: store secs in time_t 2022-08-20 19:56:34 +00:00
Chien Wong 5c216de8cc ieee80211: Improve A-MSDU dissecting
Fix subframe length issue.
Add padding.

Signed-off-by: Chien Wong <m@xv97.com>
2022-08-20 16:43:32 +00:00
Chien Wong 3b7c611be1 ieee80211: Add Transition Disable KDE dissecting
Signed-off-by: Chien Wong <m@xv97.com>
2022-08-20 06:14:29 +00:00
Stephen Hemminger 005169491e pcapng: add support displaying hash from pcapng
Add support for displaying one or more packet hashes that
have been recorded in EPB options.

A patch to add support for EPB hash option is pending for next
DPDK release.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2022-08-20 06:12:28 +00:00
Gerald Combs 07c7ce6ad0 Windows: Upgrade libgcrypt to 1.10.1. 2022-08-19 18:30:16 -07:00
John Thacker 346c53b0b2 QUIC: In stateless reset only set from_server if token found
When calling quic_find_stateless_reset_token, only change the
from_server pointer is the reset token is actually found.
Fixes a few cases where a new Initial connection is sent with
client and server reversed. Also fixes an error failing to
dereference a pointer to a boolean.
2022-08-19 19:37:41 -04:00
David Perry d0c8efe889 Use `register_dissector()` for more protocols 2022-08-19 22:53:58 +00:00
Martin Mathieson b809e73f7c Fix some spelling errors 2022-08-19 17:46:34 +01:00
huangqiangxiong bb6fc5bb9a Protobuf: correct the starting offsets of the field name and type tree items 2022-08-19 15:14:09 +00:00
John Thacker 2007c929d2 QUIC: Add support for stateless reset
Fix #17938
2022-08-19 12:46:07 +00:00
zhangzhilei 034e48b500 TLS:support decrypt TLS_SM4_GCM_SM3 ciphersuite
ECC_SM4_GCM_SM3 is defined in RFC8998,and it defined how to use
SM3 and SM4 in tls1.3.
2022-08-19 18:08:39 +08:00
zhangzhilei 10b2e62a4a TLS:support decrypt ECC_SM4_GCM_SM3 ciphersuite
ECC_SM4_GCM_SM3 is defined in GB/T38636-2020
Information security technology-Transport layer cryptography protocol
which is a Chinese national standard.
the gcm behaviour of ECC_SM4_GCM_SM3 is the same as TLS1.2.
2022-08-19 08:28:40 +00:00
ismaelrti 066e80cb33 RTPS: Added new Security PIDs in Participant and Endpoint Discovery
Added dissections for the following PIDs:
- PID_PARTICIPANT_SECURITY_DIGITAL_SIGNATURE_ALGO
- PID_PARTICIPANT_SECURITY_KEY_ESTABLISHMENT_ALGO
- PID_PARTICIPANT_SECURITY_SYMMETRIC_CIPHER_ALGO
- PID_ENDPOINT_SECURITY_SYMMETRIC_CIPHER_ALGO
2022-08-19 07:55:05 +00:00
zhangzhilei 7b56170979 TLS:support decrypt ECC_SM4_CBC_SM3 ciphersuite
ECC_SM4_CBC_SM3 is defined in GB/T38636-2020
Information security technology-Transport layer cryptography protocol
which is a Chinese national standard.
prf alg of ciphersuites defined in GB/T 38636-2020 are the same as TLS1.2.
2022-08-19 07:25:51 +00:00
Gerald Combs f854083fd8 Falco Bridge: Add a NULL check. 2022-08-19 04:38:05 +00:00
Dario Lombardo bd0949ba1e rdpudp: fix leaking copy_address.
Fix: #18224.
2022-08-19 04:21:45 +00:00
Michael Tuexen ecefcf8801 TCP: Implement AccECN
This work is based on
https://www.ietf.org/archive/id/draft-ietf-tcpm-accurate-ecn-20.html
In particular, add support for the AccECN option, the experimental
AccECN option, the AE flag and the ACE field.
2022-08-19 00:41:24 +00:00
Gerald Combs 308d9d1856 macOS: Make sure we rpathify QtNetwork.
QtNetwork might be linked with brotli, so make sure we fix up its rpath.
2022-08-18 12:19:54 -07:00
Vadim Yanitskiy 2755cb7516 GSUP: add missing Number of Vectors Requested IE
This IE was introduced back in 2019, see:

https://gerrit.osmocom.org/q/Iaecc47280f8ce54f3e3a888c1cfc160735483d0f
https://cgit.osmocom.org/libosmocore/commit/?id=49ddef610a003f1000422284bf31a653249cf09e
2022-08-18 18:42:53 +00:00
Vadim Yanitskiy 9ca0193fed GSUP: add missing Supported/Current RAT Types IEs
These IEs were introduced back in 2018, see:

https://gerrit.osmocom.org/q/I93850710ab55a605bf61b95063a69682a2899bb1
https://cgit.osmocom.org/libosmocore/commit/?id=1b729ce106f474e29e7bbd57c01c3472e75a8b25

Below is an example PDU containing them:

GSUP SendAuthInfo Request, IMSI: 901700000043352
    Message Type: SendAuthInfo Request (8)
    IE: IMSI, 901700000043352
        Information Element Identifier: IMSI (1)
        Information Element Length: 8
        IMSI: 901700000043352
        [Association IMSI: 901700000043352]
            Mobile Country Code (MCC): International Mobile, shared code (901)
            Mobile Network Code (MNC): Clementvale Baltic OÜ (70)
    IE: Supported RAT Types
        Information Element Identifier: Supported RAT Types (41)
        Information Element Length: 1
        Supported RAT Type: EUTRAN (SGS) (3)
    IE: Current RAT Type
        Information Element Identifier: Current RAT Type (42)
        Information Element Length: 1
        Current RAT Type: EUTRAN (SGS) (3)
2022-08-18 18:42:53 +00:00
Gerald Combs bf6f2068ab macOS: Try to make sure we can find brotli.
libbrotlidec and libbrotlicommon show up in `otool -L` without any path
information on the macOS builders, similar to what's described at

https://github.com/google/brotli/issues/934

Try to work around this in osx-app.sh.
2022-08-18 11:11:14 -07:00
Gerald Combs b51a66f4f1 GitLab CI: Fix our macOS Intel deployment target. 2022-08-17 22:53:58 +00:00
Michael Tuexen c2574b72f4 TCP: Add support for TARR option
Based on https://datatracker.ietf.org/doc/html/draft-gomez-tcpm-ack-rate-request-05.
2022-08-18 00:08:30 +02:00
Michael Tuexen 9cea2c26a1 TCP: Use RFC 6994 for experimental options
Modernize the handling of experimental TCP options based on
RFC 6994. In particular use ExID instead of magic (which
in the context of RFC 6994 are the last two bytes of a
32-bit ExID) and add a desciption of ExID based on the
current state of the IANA registry.
2022-08-17 21:33:31 +00:00
Gerald Combs e555b458de GitLab CI: Enable Qt6 for the macOS builds. 2022-08-17 13:33:55 -07:00
David Perry 3b36ae4b1a TCP tap: check if have seglen before using it 2022-08-17 19:41:05 +00:00
Gerald Combs 9445bda1d8 GitLab CI: Switch the macOS builds to Qt 6.2.4. 2022-08-17 18:46:09 +00:00
Michael Pergament bd6c21696a Add support for Addd Path in EVPN NLRI 2022-08-17 18:22:17 +00:00
Tomasz Moń 12bb2788f9 CMake: Break on GLib criticals by default in MSVC
Set G_DEBUG=fatal-criticals environment variable when debugging with
Visual Studio. Setting the environment variable conveniently triggers
breakpoint whenever there is a programmer error.
2022-08-17 17:06:57 +00:00
Gerald Combs 0b068f3b06 Docs: Add a SharkFest link to the release notes. 2022-08-17 17:04:57 +00:00
Gerald Combs d2a70cc4ac CMake: Add a Logray patch version. 2022-08-17 16:20:06 +00:00
Rubin Gerritsen 56817af9b5 Bluetooth: Decode LL_VERSION_IND packets with version 5.3
Bluetooth 5.3 was released 2021-07-13.

Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
2022-08-17 16:29:25 +02:00
John Thacker 704d6ff104 smb: Squash small leak in export object
After a free chunk is removed from the list of free chunks,
it should be freed.
2022-08-17 13:41:09 +00:00
Uli Heilmeier 117788f694 BTATT: Fix bitmask for btatt.battery_power_state
Fixes: #18267
2022-08-17 14:33:39 +02:00
John Thacker b3c7c31124 tiff(file): Don't add a proto item when heuristics fail
Don't add the protocol to the tree if heuristics fail.
Make sure that we have enough bytes to perform the heuristics.
If the magic number is wrong, don't go on to retrieve the ifd offset.
2022-08-17 07:52:39 +00:00
Guy Harris c725f35689 ascend: make the time stamp in the parser state a time_t.
It's set from the result of mktime(), which returns a time_t, and it's
assigned to a time_t that's ultimately assigned to the time_t secs
member of an nstime, so no reason for it to be a guint32.

This should squelch Coverity CID 1509354.
2022-08-16 18:40:20 -07:00
Guy Harris d48808dc76 5views: don't allow out-of-range time stamps.
This should squelch Coverity CID 1509355.
2022-08-16 18:03:48 -07:00
Guy Harris 7411bc298b nettl: don't allow out-of-range time stamps.
This should squelch Coverity CID 1509360.
2022-08-16 17:19:20 -07:00
Guy Harris efea61f405 libpcap: don't allow out-of-range time stamps.
This should squelch Coverity CID 1509363.
2022-08-16 16:38:03 -07:00
Guy Harris 7bc6771397 visual: don't allow out-of-range time stamps.
This should squelch Coverity CID 1509368.
2022-08-16 15:46:26 -07:00
Guy Harris 79219b5247 netxray: don't allow out-of-range time stamps.
This should squelch Coverity CID 1509369.
2022-08-16 14:46:44 -07:00
Gerald Combs b679f22a54 Docs: Clean up the release notes. 2022-08-16 14:08:08 -07:00
Gerald Combs d498529201 Windows: Upgrade Npcap to 1.70. 2022-08-16 12:46:25 -07:00
Tomasz Moń c6ef99f006
win32-utils: Explicitly list inherited handles
Windows processes inherit all inheritable handles when a new process is
created using CreateProcess() with bInheritHandles set to TRUE. This can
lead to undesired object lifetime extension. That is, the child process
will keep ineritable handles alive even if it does not use them. Up to
Windows Vista it was not possible explicitly list handles that should be
inherited. Wireshark no longer works on Windows releases earlier than
Vista, so use the new API without checking Windows version.

Require all callers to win32_create_process() to pass in the list of
handles to inherit. Set the listed handles as inheritable shortly before
calling CreateProcess() and set them as not inheritable shortly after
the process is created. This minimizes possibility for other callers
(especially in 3rd party libraries) to inherit handles by accident.

Do not terminate mmdbresolve process on exit. Instead rely on process
exit when EOF is received on standard input. Previously the EOF was
never received because mmdbresolve inherited both ends of standard input
pipe, i.e. the fact that Wireshark closed the write end was not observed
by mmdbresolve because mmdbresolve kept write handle the standard input
pipe open.
2022-08-16 20:53:22 +02:00
Pascal Quantin 3c3d715628 Diameter: update 3GPP RAT-Type AVP enum 2022-08-16 18:46:30 +02:00
Trond Norbye fb0d271641 [Couchbase] Add support for new features
Add support for parsing RU and WU reported in flex header and
the new status codes.
2022-08-16 14:24:46 +00:00
Adrian Granados 9a560060ad ieee80211: Add dissector for Arista (Mojo) vendor specific IE
Dissector only supports type 6: AP Name.
2022-08-16 14:08:15 +00:00
Dieter Dobbelaere 321465db07 Corrected description of `wlan.fc.type_subtype`. 2022-08-16 12:19:48 +00:00
Anders Broman a47830e56f Increase number of preallocated fields. 2022-08-16 09:43:42 +02:00
Pascal Quantin 653c4d3e91 XnAP: upgrade dissector to v17.1.0 2022-08-16 01:33:00 +00:00