Commit Graph

85049 Commits

Author SHA1 Message Date
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
Gerald Combs ec1986cb97 Falco Bridge: Update to match falcosecurity-libs 0.8.0.
Update sinsp-span to use the current Falco libs APIs. Update the
FindSinsp CMake module to use pkg-config.
2022-08-15 16:21:47 -07:00
Gerald Combs 08feb35af0 Version: 3.7.3 → 4.1.0.
[skip ci]
2022-08-15 15:33:00 -07:00
Gerald Combs f9bb537537 Transifex: Fix our Debian/.po path. 2022-08-15 22:29:28 +00:00
Stephen Hemminger 476835e734 Fix typo in INSTALL
Use "program" not "pogram"

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2022-08-15 21:41:59 +00:00
John Thacker 7d583e1340 TLS: rename reassembled data source from SSL to TLS 2022-08-15 07:33:55 -04:00
Guy Harris 09c5183878 Linux USB: fix incorrect values for the packet length.
When reading memory-mapped Linux capture files, fix up the "real" length
field, in case the file was written by a program doing a capture done
with a version of libpcap with a bug that causes it to incorrectly set
the "real" length for isochronous transfers.
2022-08-14 22:50:51 -07:00
Chuck Craft bbb9610cb3 pluginifdemo: Qt5->Qt6; bump version to 0.0.2 2022-08-15 05:07:46 +00:00
John Thacker e33bc8d5bf docs: Update the sample dissector
Update the sample dissector for some best practices,
and avoid some deprecated behavior.

Use register_protocol instead of creating an anonymous
dissector handle, so that Lua, Export PDU, custom
User DLT disection, etc. can find it. (See #5612)

Use auto preferences and prefer port ranges when possible
(See #14319)
2022-08-15 04:53:58 +00:00
Guy Harris 8674eea7b0 frame: warn if the real length is less than the captured length.
That should never be the case; if you slice off part of a sausage, the
remainder of the sausage cannot be longer than the original sausage.

Warn about that.
2022-08-14 16:12:07 -07:00
John Thacker 7962d18222 tls-utils: Add malformed expert info instead of asserting
If ssl_add_vector is called with a offset past offset_end,
add the malformed buffer too small expert info and return
failure instead of failing an assertion. Malformed packets
can cause this to happen, so it's not necessarily a dissector
bug.

Also change the other assertion to output the result of the
comparison to aid in debugging.

Related to #17890.
2022-08-14 16:23:37 -04:00
Pascal Quantin 938cc05d20 NGAP: add NTN related restricted RATs 2022-08-14 18:00:53 +00:00
Gerald Combs a24f1cbd8d [Automatic update for 2022-08-14]
Update manuf, services enterprise numbers, translations, and other items.
2022-08-14 16:53:51 +00:00