Commit Graph

80823 Commits

Author SHA1 Message Date
Anders Broman 1ad447aab9 NRPPA: Update to 3GPP TS 38.455 V16.3.0 (2021-04) 2021-05-18 10:11:30 +00:00
Christian Fischer dd7639f64c packet-cip.c: Remove superfluous space in vendor name of cip_vendor_vals 2021-05-18 08:56:20 +00:00
Guy Harris 6e95a0aa47 PortsModel: don't populate it by doing a lot of weird string-pushing.
When enumerating port-to-name entries, the callback to
wmem_map_foreach() gets passed:

- a key, which is the port number for the entry;
- a value, which is a pointer to a structure containing pointers to port
names for various transport protocols;
- a user data pointer.

That's sufficient (if you work around some C++ annoyances) to append a
row to a PortsModel, if the user data pointer is a pointer to the
PortsModel.

The existing code, instead, appended to a QStringList of lines (in
effect, undoing the effort of the code that read the services file and
filled in the wmem_map, re-generating a set of lines) in the callback,
and then iterated over all the lines, splitting them with blanks and
appending rows.

Looking at that made my eyeballs bleed so badly that I decided not to
spend any time figuring out why it wasn't working.

So I just make the callback just append rows, avoiding all the
string-pushing.

Fixes #17395.
2021-05-18 01:03:04 -07:00
Nardi Ivan 389a899a18 QUIC: improve handling of unencrypted padding data
0af60377b4 added an heuristic to detect (unencrypted) padding data;
it is based on the fact that all coalesced QUIC packets must have the
same CID.
Unfortunately it doesn't work when the CID length is 0.

Treat decryption error of SH packets as a non fatal error, report them
as possible padding data misdetectd as coalesced packets and try
decrypting next traffic.

Close #17383
2021-05-17 20:10:59 +02:00
Dario Lombardo 5eb6b85a7a sparkplug: fix crash.
The crash occurs when we don't have enough data to perform a string
comparison. Fix by first check it.
2021-05-17 16:05:00 +00:00
Dario Lombardo 8f8453bb12 spakplug: fix leak. 2021-05-17 16:05:00 +00:00
Anders Broman dda4a4f4c8 LCS-AP: Update to V16.2.0 (2020-12) - no code change 2021-05-17 15:49:22 +00:00
Dario Lombardo 9d3069fe7d
http: fix compilation without zlib and brotli. 2021-05-17 10:06:08 +02:00
John Thacker 157222a031 NGAP, XNaP, NAS_5GS: Add E212_GUAMI to MCC/MNC field choices 2021-05-16 19:39:15 -04:00
Pascal Quantin 1767788e3c NAS EPS: use newly introduced E212_GUMMEI 2021-05-16 23:24:02 +02:00
John Thacker c571e0a5d5 S1AP, X2AP: Add GUMMEI MNC/MCC fields
Add a new MNC/MCC field type to packet-e212 for the GUMMEI
(Globally Unique MME Identity), and use it where appropriate
in S1AP and X2AP. See 3GPP TS 23.003.
2021-05-16 15:59:35 -04:00
Trevor Bergeron 7c0c66b3cc Docs: Fix git hook ln command 2021-05-16 14:31:31 +00:00
Gerald Combs e33147d573 [Automatic update for 2021-05-16]
Update manuf, services enterprise numbers, translations, and other items.
2021-05-16 09:29:06 +00:00
Uli Heilmeier 0630631e88 HTTP: Disabled decompression is not an error
When a user disabled decompression we shoudn't report this as an error.
2021-05-15 20:14:30 +00:00
Emmanuel Touzery 467f13f16c fix #17369 tshark json now handles mixed children 2021-05-15 13:35:01 +00:00
pengtian fb41f052bb Add Chinese GMTLSv1(1.1) protocol in tls dissector 2021-05-15 08:39:40 +00:00
Guy Harris 1a7b9c28d3 Don't include wsutil/plugins.h in epan/epan.h - it's not necessary.
It's *not* part of the exported API, but epan/epan.h is, and everything
that needs it either includes it or includes someething else that
includes it.

See issue #17390.
2021-05-14 23:46:31 -07:00
John Thacker 7ab95200c1 SBC-AP: Use specific MCC/MNC fields
Use specific MCC/MNC fields for ECGI, NRCGI, TAI, and 5GSTAI, continuing
to use E212_NONE for all other IEs.
2021-05-15 06:12:41 +00:00
John Thacker 2ab87f882d M2AP, M3AP: Use ECGI specific MCC/MNC fields
Use the specific MCC/MNC fields for the ECGI IE, and continue to
use E212_NONE for all others.
2021-05-15 05:57:37 +00:00
John Thacker e020b44e7c XNAP: Use specific MCC/MNC fields
Use the specific MCC/MNC fields for the E-CGI and NR-CGI IEs,
and the 5GSTAI IEs. Continue to use E212_NONE for all others
(including GlobalNG-RANCell-ID, which has a PLMN-Identity and
then a choice of EUTRA or NR cell identity in a way that makes
it difficult to determine if it is a ECGI or NRCGI when the
ASN.1 is processed in sequence.)
2021-05-14 19:23:11 -04:00
David Perry 162cba438d Don't try to install qt5-default
As of Debian bullseye and Ubuntu 21.04, `qt5-default` is no longer
available. This patch removes it and adds its dependencies instead
as suggested in <https://askubuntu.com/a/1335187/580576>.
2021-05-14 21:31:26 +00:00
Gerald Combs 7b2c0edb74 CMake: Remove a no-longer-needed workaround.
It looks like the setting autogen properties for the wireshark target in
2c62e2eb3f means we don't have to work around CMake issue 22085 any
more.
2021-05-14 13:45:47 -07:00
Gtker e693cd05b1 WOW: Change realm timezone to id
The timezone is not sent.

The id is used for initial sorting the in client realm list.

Wiki reference:
https://wowdev.wiki/Packets/Login/Vanilla#Server_2

C++ implementation:
https://github.com/EmberEmu/Ember/blob/development/src/login/grunt/server/RealmList.h
2021-05-14 15:18:34 +00:00
Gtker e10fc59720 WOW: Change realm color to category
The "color" was probably confused with the realm flags field.

Wiki reference:
https://wowdev.wiki/Packets/Login/Vanilla#Server_2

C++ implementation:
https://github.com/EmberEmu/Ember/blob/development/src/login/grunt/server/RealmList.h
2021-05-14 15:18:34 +00:00
Gtker ac1a9f1aed WOW: Add two factor fields for client proof packet
Wiki reference:
https://wowdev.wiki/Packets/Login/Vanilla#Proof_packets

C++ implementation:
https://github.com/EmberEmu/Ember/blob/development/src/login/grunt/client/LoginProof.h
2021-05-14 15:18:34 +00:00
Gtker c0e2f60325 WOW: Add two factor fields for server challenge packet
Wiki reference:
https://wowdev.wiki/Packets/Login/Vanilla

C++ implementation:
https://github.com/EmberEmu/Ember/blob/development/src/login/grunt/server/LoginChallenge.h
2021-05-14 15:18:34 +00:00
Gtker ac8f95951e WOW: Reduce indentation in main parsing function
Having basically the entire function inside an if block is annoying to
read.
2021-05-14 15:18:34 +00:00
Graham Bloice f6ad4812a2 Add SparkplugB dissector
Add a dissector for SparkplugB as a heuristic subdissector of MQTT
and which calls protobuf to dissect the messages payload.
2021-05-14 12:11:03 +01:00
Gerald Combs 2c62e2eb3f CMake: Set Qt autogen properties for Wireshark.
It looks like multi-configuration generators (notably MSBuild) need
Qt autogen properties set on the wireshark target as well as qtui. Do
so unconditionally in both cases. (We were doing so conditionally for
qtui before.)
2021-05-14 07:55:25 +00:00
Dr. Lars Völker 9a400118df UDS: Adding support for Routine ID and Data ID resolution 2021-05-14 07:39:10 +00:00
Dr. Lars Völker 771872cc7e SOME/IP-SD: Adding support for parsing into the config string
This patch splits the SOME/IP-SD configuration string according to
the specification into smaller key-value-pairs or keys. This makes
analysis involving the configuration options much easier since it
allows filtering on these elements of the configuration string.
2021-05-14 07:22:39 +00:00
Dr. Lars Völker d95b118fc5 AUTOSAR NM: Adding support for 64bit elements in user data
This patch adds suppport for 64bit elements in the user data. With
CAN-FD and Ethernet replacing traditional CANs, NM is not limited
to 8 Byte messages anymore; therefore, the limitation of uint32
elements needed to change.
2021-05-14 07:06:24 +00:00
Odysseus Yang c4b32c8f46 ETWDUMP: Update to support live capture
etwdump will read events from a live session with the params as the filter, also the params can be used as filter when reading from a etl file.
2021-05-13 21:17:09 +00:00
Pascal Quantin 40a988533f WOW: fix patch comparison in version_is_at_or_above()
As reported by Coverity in CID 1484784
2021-05-13 20:15:47 +02:00
Vadim Yanitskiy ffb0723fb3 osmo_trx: add TRXDv2 PDU dissection support 2021-05-13 06:36:48 +00:00
Vadim Yanitskiy 1ac8da5971 osmo_trx: cosmetic: re-arrange TRXD related fields 2021-05-13 06:36:48 +00:00
Vadim Yanitskiy bcf893a3dd osmo_trx: append PDU version string to the root tree item 2021-05-13 06:36:48 +00:00
Vadim Yanitskiy 859d1c74cc osmo_trx: dissect version-specific content in sub-trees 2021-05-13 06:36:48 +00:00
Vadim Yanitskiy 7d0fa4af18 osmo_trx: separate TRXDv0/v1 Tx burst dissection function 2021-05-13 06:36:48 +00:00
Vadim Yanitskiy 36d75a9682 osmo_trx: dissect_otrxd_common_hdr() is not common anymore
The upcoming TRXDv2 brings significant changes, not only adding
new fields but also changing order and presence of those that
were considered common so far.  Let's rename this function to
reflect that it's TRXDv0/v1 specific, and call it directly
from the corresponding dissection functions.
2021-05-13 06:36:48 +00:00
Vadim Yanitskiy 1e11273663 osmo_trx: let it warn us if there are unhandled tail octets 2021-05-13 06:36:48 +00:00
Vadim Yanitskiy 92a24506a0 osmo_trx: 'Unknown PDU version' is an error, not warning 2021-05-13 06:36:48 +00:00
Vadim Yanitskiy 8786ffb611 osmo_trx: refactor version specific handling of burst bits 2021-05-13 06:36:48 +00:00
Vadim Yanitskiy 06719b9c31 osmo_trx: dissect_otrxd_mts(): store dissection results 2021-05-13 06:36:48 +00:00
Vadim Yanitskiy ed12e1bde1 osmo_trx: store essential PDU information in a structure 2021-05-13 06:36:48 +00:00
Vadim Yanitskiy d7328d4e1e osmo_trx: return offset from dissect_otrxd_rx_hdr_*() 2021-05-13 06:36:48 +00:00
Vadim Yanitskiy 233c3a10d5 osmo_trx: add 'true_false_string' for NOPE.{ind,req} 2021-05-13 06:36:48 +00:00
Vadim Yanitskiy d893ee2af4 osmo_trx: move MTS field dissector into a separate function 2021-05-13 06:36:48 +00:00
Vadim Yanitskiy 8adf9742c9 osmo_trx: update coding of the MTS field in TRXDv1 2021-05-13 06:36:48 +00:00
Vadim Yanitskiy 8ed012dc42 osmo_trx: add a macro for GMSK modulated burst length 2021-05-13 06:36:48 +00:00