Commit Graph

920 Commits

Author SHA1 Message Date
John Thacker 2f51b2352d HNBAP: Use specific MNC/MCC fields
Use the specifc MNC/MCC fields for the RAI, LAI, CGI in HNBAP,
continuing to use E212_NONE for all occurances of PLMNidentity.
2021-05-13 04:28:31 +00:00
John Thacker 0a0f090f74 X2AP: Use specific MCC/MNC fields
Use the specific fields for ECGI, NRCGI, and TAI, and E212_NONE
as before for all other IEs.
2021-05-12 22:52:46 -04:00
John Thacker caed4cce7d RANAP: Use RAI specific MNC/MCC fields
The RANAP ASN.1 defines a RAI as being composed of an LAI and a RAC.
(Cf. the RNSAP ASN.1, which defines a RAI as being composed of a
PLMN-Identity, a LAC, and an RAC.) Handle it so that the RAI fields
are used when dissecting a RAI, only using the LAI fields if the LAI
dissection was not called from the RAI.
2021-05-12 04:53:23 +00:00
John Thacker b66bcdfedf NGAP: Use specific MCC/MNC fields
Use the specific MCC/MNC fields in NGAP for the ECGI, NRCGI, LAI,
TAI, and 5GSTAI, using E212_NONE elsewhre. (Note that NGAP refers to
the 5GSTAI as just TAI, and the original TAI as EPS-TAI.)
2021-05-11 22:45:31 -04:00
John Thacker 1701a2db5d S1AP: Use specific MCC/MNC fields
Use the specific MCC/MNC fields for the LAI, CGI, ECGI, NR-CGI, TAI,
and 5GS-TAI IEs, continuing to use E212_NONE for PLMNidentity in all
other cases. Add fields and an enum value for 5GS-TAI to packet-e212.
(The 5GSTAC has an additional octet compared to the original TAC.)
2021-05-09 23:07:19 -04:00
John Thacker a106ba9d27 F1AP: Use specific MCC/MNC fields for NRCGI
Use specific MCC/MNC fields for NRCGI IE, continue to use E212_NONE
by default for everything else.
2021-05-09 10:02:36 -04:00
John Thacker 0b8051db67 E1AP: Use specific MNC/MCC fields for NR-CGI
Use E212_NRCGI for the NR-CGI IE, continue to use E212_NONE by default
otherwise.
2021-05-08 19:38:39 -04:00
John Thacker 7f4c33d634 RANAP: Use specific MNC/MCC fields when applicable
When the PLMNidentity information element is part of the CGI, LAI, RAI,
SAI, or TAI, use the specific MNC/MCC field types as appropriate.
Otherwise, use E212_NONE as before.
2021-05-08 17:26:04 -04:00
John Thacker 7c1efdf712 SABP: Use SAI specific MCC/MNC fields
The field here is always part of a Service Area Identifier (as expected
in the Service Area Broadcast Protocol), so use E212_SAI instead of
E212_NONE.
2021-05-08 15:45:05 -04:00
Tomas Kukosa 9a31ed93c0 ITS: fix unused LongitudinalAccelerationValue_vals 2021-05-08 06:57:44 +00:00
Tomas Kukosa f04c6d3b18 ITS: use custom formatters for better readability 2021-05-08 06:57:44 +00:00
Tomas Kukosa be6aff9e11 ITS: fix - do not emit unused vals
Change-Id: I2c84dc965485ad12ea6703b4c11dce92b668b545
2021-05-06 07:36:08 +00:00
Tomas Kukosa 9d2f37a651 ITS: add Collective Perception Service (CPS) - ETSI TR 103 562 V2.1.1 (2019-12)
Change-Id: Ic0ddd713527ef60d49af5ac08388ce976d86c735
2021-05-06 07:36:08 +00:00
Guy Harris 57a1514ac7 Cast away the return value of g_strlcpy() and g_strlcat().
Most of the time, the return value tells us nothing useful, as we've
already decided that we're perfectly willing to live with string
truncation.  Hopefully this keeps Coverity from whining that those
routines could return an error code (NARRATOR: They don't) and thus that
we're ignoring the possibility of failure (as indicated, we've already
decided that we can live with string truncation, so truncation is *NOT*
a failure).
2021-04-30 03:19:19 -07:00
Pascal Quantin e2e4b79d0d M3AP: update release version in header 2021-04-28 13:38:22 +02:00
Anders Broman cb10c0f53a M3AP: Only version updated, no code changes. 2021-04-28 11:17:40 +00:00
BasiL 3173a808a3 GSM_MAP: Error Code typo's fix
some of the error codes have missed last character
2021-04-20 20:16:20 +00:00
Gerald Combs 9c8f8a3c89 Epan: Fix various missing prototype warnings. 2021-04-16 22:08:17 +00:00
Joakim Karlsson 6d72eb7a30 GTPv2: Add dissect of F-Container in Configuration Transfer Tunnel 2021-04-16 11:44:20 +00:00
Stefan Metzmacher 1d623fd541 packet-ldap: fix regression for SASL handling
commit 19b3376a24
("LDAP bogus malformed errors: decoding encrypted data")
introduced 2 problems:

- guint decr_len = tvb_reported_length(decr_tvb); was
  always called with decr_tvb==NULL

- dissect_ldap_payload() was not called if sasl_tree is NULL,
  it needs to be called even if the tree pointer are NULL
  in order to have the COL_INFO setup correctly.

I guess this should also be backported to stable branches
(together with 2e6d3b571b
 "LDAP: SASL Buffer doesn't include Length field")

https://gitlab.com/wireshark/wireshark/-/issues/17347

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2021-04-16 12:54:43 +02:00
Pascal Quantin d852c1f38e F1AP: upgrade dissector to v16.5.0 2021-04-10 12:45:17 +02:00
Pascal Quantin fe6b16fb31 E1AP: upgrade dissector to v16.5.0 2021-04-10 10:25:13 +00:00
Pascal Quantin c0e041c6a3 XnAP: upgrade dissector to v16.5.0 2021-04-10 12:07:12 +02:00
Pascal Quantin 1c2cf2ba0e NGAP: fix dissection of extended RAT restriction information IE 2021-04-10 11:30:47 +02:00
Pascal Quantin 3341067ca3 NGAP: upgrade dissector to v16.5.0 2021-04-09 18:22:14 +00:00
Pascal Quantin 9f3822ad7b X2AP: upgrade dissector to v16.5.0 2021-04-09 17:08:30 +00:00
Pascal Quantin 7ebd4dba7a S1AP: upgrade dissector to v16.5.0 2021-04-09 18:30:39 +02:00
Pascal Quantin 352b555b7c LTE RRC: upgrade dissector to v16.4.0 2021-04-01 20:01:52 +00:00
Pascal Quantin 348daa8d50 NR RRC: upgrade dissector to v16.4.1 2021-04-01 21:20:48 +02:00
John Thacker 68ba60774f Prettify and standardize LAC, RAC, SAC, TAC in several ASN.1 dissectors
The LAC, RAC, SAC, and TAC tend to be defined in ASN.1 as OCTET STRINGS
of lengths 1, 2, or 3. It generally makes sense to dissect them as
FT_UINT[8,16,24], as appropriate, with BASE_DEC_HEX instead of as FT_BYTES,
so standardize on that.  See commit d6f91a7ca4
for similar work for S1AP.
2021-03-30 21:48:00 -04:00
Martin Mathieson 678914ca0b Fix some item lengths.
As seen by tools/check_type_item_lengths.py
2021-03-29 05:30:27 +00:00
Dario Lombardo ea929d6401 wsutils: add local implementation of g_memdup2.
g_memdup() was deprecated and replaced with g_memdup2() in GLib 2.68,
we provide our own copy of g_memdup2() for older GLib versions.
2021-03-25 09:38:10 +00:00
Uli Heilmeier 2e6d3b571b LDAP: SASL Buffer doesn't include Length field
SASL Buffer starts after the SASL Buffer Length field. Therefore
we should only mark the bytes without the Length field.

Sample capture can be found in wireshark/wireshark#15128
2021-03-24 08:28:20 +00:00
Pascal Quantin 09707973a9 NR RRC: use _ instead of - in filter names
Like what asn2wrs.py does
2021-03-21 19:31:53 +00:00
Pascal Quantin c5c6a5a9cc LTE RRC: use _ instead of - in filter names
Like what asn2wrs.py does
2021-03-21 18:46:53 +00:00
Pascal Quantin f6b0ff72e7 XnAP: use _ instead of - in filter names
Like what asn2wrs.py does
2021-03-21 17:52:50 +00:00
Pascal Quantin 9df7492627 S1AP: have a single filter for ENB-UE-S1AP-ID or MME-UE-S1AP-ID fields 2021-03-21 17:28:31 +00:00
Pascal Quantin 51cf733fc6 NGAP: have a single filter for RAN-UE-NGAP-ID or AMF-UE-NGAP-ID fields
Closes #17304

While in the area, replace - by _ in the other renamed filters as this
is what asn2wrs.py does.
2021-03-21 16:39:49 +00:00
Guy Harris 2820156fbd Move still *more* headers outside of extern "C".
If a header declares a function, or anything else requiring the extern
"C" decoration, have it wrap the declaration itself; don't rely on the
header itself being included inside extern "C".
2021-03-16 13:50:13 -07:00
Anders Broman 1910e416a9 LTE-RRC: Rename some duplicated fields names. 2021-03-08 17:16:44 +00:00
Pascal Quantin 879a33f158 LTE RRC: add dissection of NAS 5GS PDUs
A ng-eNB connects to a 5GC, not an EPC, and thus transports 5GS NAS PDUs
2021-03-08 13:02:19 +01:00
Anders Broman 8ccbdb786a Add support for SRVName SAN extension for TLS certificates
Closes #17256
2021-02-25 10:21:24 +01:00
John Thacker 20ab1ba46b HNBAP: Break out MCC and MNC from PLMNidentity 2021-02-15 19:39:06 -05:00
Pascal Quantin 46c44e0785 NR RRC: add preference to put NAS in the root tree 2021-02-10 14:46:27 +00:00
Pascal Quantin 12ab24019f RRC: add preference to put NAS in the root tree 2021-02-10 13:29:33 +00:00
Stig Bjørlykke 9dd74b2788 p1: Rewrite do_address for extension attributes
Rewrite do_address handling to use proto_data instead of
pinfo->private_table.

Related to #17156
2021-02-10 12:29:42 +00:00
Stig Bjørlykke cb3d463a38 lte-rrc: Add preference to put NAS in the root tree
Add a preference to put DedicatedInfoNAS in the root packet
details tree.
2021-02-10 10:08:21 +00:00
Martin Kaiser 02e875b78f h225: create and populate the stats table only once
Use the new stat_tap_find_table function during init to check if our
statistics table already exists.

If so, we can safely assume that its rows have already beend initialized.
All we have to do is clear the data that was collected by the tap.
2021-02-07 23:02:43 +00:00
Martin Kaiser 72468248c7 gsm_map: create and populate the stats table only once
Use the new stat_tap_find_table function during init to check if our
statistics table already exists.

If so, we can safely assume that its rows have already beend initialized.
All we have to do is clear the data that was collected by the tap.
2021-02-07 22:46:43 +00:00
Martin Kaiser a198094599 ansi_map: create and populate the stats table only once
Use the new stat_tap_find_table function during init to check if our
statistics table already exists.

If so, we can safely assume that its rows have already beend initialized.
All we have to do is clear the data that was collected by the tap.
2021-02-07 22:30:21 +00:00