Commit Graph

78241 Commits

Author SHA1 Message Date
Gerald Combs 2340a2ebb2 DHCPv6: Fix a header field entry.
msgtype_vals_ext is an extended value string. Make sure we register it
as such.

Change-Id: Icd0b6280ee3d6df45078afb8eecd174b8bb6d6fd
Reviewed-on: https://code.wireshark.org/review/37698
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-07-04 17:33:52 +00:00
Marko Hrastovec 7975b3ae1d Typing errors for Category 011 in ASTERIX
- An error is corrected, where hf_019_010 is used instead
  of hf_011_010.
- An error is corrected for field names in 011_290_01 PSR.
- An error is corrected for field name in 011_610 Bank number.

Change-Id: I8d0bd7a3f6baad4e94b4d09538dbf1b792893491
Reviewed-on: https://code.wireshark.org/review/37692
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
2020-07-04 13:40:36 +00:00
Martin Mathieson 729ddd1c9d DHCPv6: Fix compilation error.
Was introduced in https://code.wireshark.org/review/#/c/37661/

Change-Id: I57b06b11953f1a9a9dbaad006ef88810cb3f7315
Reviewed-on: https://code.wireshark.org/review/37683
Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com>
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2020-07-04 11:46:41 +00:00
Pascal Quantin 78329eb938 NR RRC: fix dissection of MobilityFromNRCommand IEs
Change-Id: I2cd4fd2d5af359bd4a432c02284da78548416dd3
Reviewed-on: https://code.wireshark.org/review/37686
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-07-03 21:30:41 +00:00
Pascal Quantin 8174e94fe9 NR RRC: fix dissection of 5GS S1 mode to N1 mode NAS container
Change-Id: I9b33ee238b0b67c25ffa24409f36042a1b6f64fe
Reviewed-on: https://code.wireshark.org/review/37684
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-07-03 15:42:21 +00:00
Adrien Destugues f5d08e31c8 DVB-S2: show raw bbframe data when it is not dissected
Change-Id: Ibdd42d971a1ec7815fcf3467802ff2010d8c498b
Reviewed-on: https://code.wireshark.org/review/37672
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-03 10:08:52 +00:00
Adrien Destugues 73d1721db6 DVB-S2: Reassemble GSE frames.
Large data (for example big DVB-RCS2 tables) can be fragmented at the
GSE level. Reassembly is required to properly decode the data.

Change-Id: I555148e99d43e610208bd87fc64a4bc212fea4b2
Reviewed-on: https://code.wireshark.org/review/37592
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-03 09:11:46 +00:00
Didier Barvaux fb215255bb DVB-RCS2: dissect Ethernet/VLAN payload
Change-Id: Iaae5bef3650544c49a74277495ef7a930390556a
Reviewed-on: https://code.wireshark.org/review/37591
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-03 09:11:31 +00:00
Josselin VALLET 4bf4ee88f0 DVB-RCS2: Handle optional BBFrame EIP CRC 32 field
Change-Id: Ie30eddf80797beaf86a339c2e5743da4a92ec0f0
Reviewed-on: https://code.wireshark.org/review/37590
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-03 08:18:58 +00:00
Paul Chambon 0455c0f16b DVB-RCS2: Added several descriptor dissection
Change-Id: I055b43b61db98ea0ffde030431defb39aba2f630
Reviewed-on: https://code.wireshark.org/review/37589
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-03 06:37:31 +00:00
Jaap Keuter a17b0f144a WSDG: make sure _U_ is rendered correctly
Change-Id: I85b969cbd567a83a79aeb11593e14551ee1f027f
Reviewed-on: https://code.wireshark.org/review/37674
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-03 06:12:59 +00:00
Stig Bjørlykke daebdc4b1a Qt: Handle filenames in preference editor frame
Add support for handling PREF_SAVE_FILENAME, PREF_OPEN_FILENAME and
PREF_DIRNAME in a preference editor frame.

Change-Id: Ie9d1cc08bc79a0adefff344fd0d117405f86475c
Reviewed-on: https://code.wireshark.org/review/37669
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2020-07-03 06:12:48 +00:00
Stig Bjørlykke a6d8a2c118 Qt: List all protocols in PacketList "Protocol Preferences"
Show all protocols which has preferences in the packet list context
menu "Protocol Preferences".

Change-Id: I72e2ed95db36cc6d817ca44db214782f075d55d6
Reviewed-on: https://code.wireshark.org/review/37666
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2020-07-03 06:12:40 +00:00
Ludovic Cintrat 7bf8a87429 DTLS: Add connection ID extension support
* Add DTLS connection ID extension based on
draft-ietf-tls-dtls-connection-id-07, excerpt:

A CID is an identifier carried in the record layer header that gives the
recipient additional information for selecting the appropriate security
association.

* Support session tracking based on connection ID, i.e. a connection ID
list is built then looked up to retrieve the session of a packet, then
the related conversation is updated with this session.

Bug: 16600
Change-Id: I050d7b5b09dad33eb39d506aca67ee839b3b7181
Reviewed-on: https://code.wireshark.org/review/37351
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-03 06:12:21 +00:00
Stig Bjørlykke b8a330d2d5 Qt: Update ByteView recent settings on all tabs
The ByteView recent settings are common for all tabs. Ensure all
tabs are updated when display format or character encoding is changed.

This fixes an issue where the row_width is wrong and the menu action
checkmarks are out of sync after switching ByteView tab.

Change-Id: Ied25ac41467143f37327ccadcb821262eb86ef0a
Reviewed-on: https://code.wireshark.org/review/37655
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2020-07-03 06:11:56 +00:00
Paul Chambon 0c5b81c641 DVB-RCS2: Added TIM, TMST, TDT and TBTP2 dissection
Change-Id: Ic53007e4237c9e5f6b3e7b1218d63f5fd9074165
Reviewed-on: https://code.wireshark.org/review/37588
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-03 05:46:27 +00:00
Cal Turney faeefc9d59 DHCPv6: fix for bogus errors. Detailed error msgs
Routine "dhcpv6_domain()" of packet-dhcpv6.c has the following
issues:
a. It is unaware of partial (relative) domain names which unlike
   FQDNs must *not* be root terminated(0); otherwise, the resolver
   interprets them as top-level domains (TLDs) such as "com." and
   "org.".
b. Malformed errors are not thrown when they should be and when
   thrown, it does so for the wrong reason.
c. No detail is provided as to the nature of a malformation.
d. The routine does not know the difference between an "empty"
   and "root-only" domain name.
Routine "dhcpv6_option():
The meanings of flags octet of the in the OPTION_CLIENT_FQDN
option sent by the client are different that those of the server.
These differences are not reflected in the display. In addition,
the description of the 'N' bit is incorrect in either case. The
sender type must be determined in order to label them correctly
and to detect conflicts among them.
These changes fully address the above issues. Six types of
domain name errors are now detected. I believe the unusually
large amount of detailed comments with RFC references and
explanations were needed in this case due to the introduction
of concepts such as partial domain names that were not
recognized as such and thus improperly handled and labelled.
The subtree option headers have been converted from "Text only"
to named fields (dhcpv6.option.type_str). Example captures are
attached to the bug report.
The msgtype global variable has been eliminatd.

Bug: 16627
Change-Id: I8d9bf1164835ece2272cc92dd0917322024422d2
Reviewed-on: https://code.wireshark.org/review/37661
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Cal Turney <cturney111@gmail.com>
2020-07-02 21:49:33 +00:00
Guy Harris b46a554ae7 Packetlogger: check for more packet types in the libwiretap heuristics.
As we're now checking the first *few* packets of the file, we must allow
*all* Packetlogger packet types when checking whether the purported
packet type is valid.

Put a note in the Packetlogger dissector so that, if anybody adds a new
packet type, they know that they have to add it to the reader code as
well.

Bug: 16670
Change-Id: Id83493f678182fd3e1b5537f4dfa295fe26dfcb1
Reviewed-on: https://code.wireshark.org/review/37675
Petri-Dish: Guy Harris <gharris@sonic.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@sonic.net>
2020-07-02 21:29:23 +00:00
Michaël Bouchaud af31bff2f9 DVB-RCS: dissect signalling tables in DVB-S2 dissector
- Dissect the RCS header
- Dissect BCT, FCT, FCT2, SPT, NIT, RMT, MMT2, SCT, TIM, TBTP2, CMT
- Dissect RCS descriptors inside these tables

Change-Id: Ib6f3ec3dc0e5dce36f7480e645bffcfff6155e5f
Reviewed-on: https://code.wireshark.org/review/37587
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-02 19:05:57 +00:00
Anders Broman 656aed7d6a Try to squelch [-Wpointer-sign] warnings.
Change-Id: Ic2bdf6acde0eef222264665622f33f7513f3fc9d
Reviewed-on: https://code.wireshark.org/review/37673
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-02 17:25:10 +00:00
Alexis La Goutte 1a8b67c772 ieee80211: Fix bitmask of RNSX fields
Change-Id: I3921085cbdfef55909333fe13f5cee58a78b10c8
Reviewed-on: https://code.wireshark.org/review/37630
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-02 14:34:39 +00:00
Anders Broman 5a823dda01 opa-mad: Try to squelch [-Wpointer-sign] warnings.
Change-Id: Ib04117aaa3a2ad7071b0b51103d0effffeafacf6
Reviewed-on: https://code.wireshark.org/review/37668
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-02 13:54:38 +00:00
Stig Bjørlykke dd247d821e Qt: Remove ellipsis from "Disable protocol" menu item
The protocol preferences menu item for disabling the protocol does
not bring up a new dialog, so remove the ellipsis.

Change-Id: I210bd6d5f76ce240f1d2a2d1a852e176a48ea1f0
Reviewed-on: https://code.wireshark.org/review/37667
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-02 11:17:09 +00:00
Anders Broman cd566f4a6a DNS: Try to squelch [-Wpointer-sign] warnings.
Change-Id: I0b857e4eb6686707d03520bf14b641f30d683db6
Reviewed-on: https://code.wireshark.org/review/37665
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-02 09:03:43 +00:00
Mališa Vučinić ff4296a1fe oscore: Small bug fixes.
- Rename Key ID Context header field.
- Account for ID Context in max info length calculation.

Change-Id: I6f61055dba74294ace275eb852e34ea6caa32627
Reviewed-on: https://code.wireshark.org/review/37642
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-02 07:18:02 +00:00
Dr. Lars Völker 916550de96 TECMP: Adding support for the TECMP protocol
The Technically Enhanced Capture Module Protocol (TECMP) allows the
transport of data recorded on different technologies (e.g. Ethernet,
CAN, LIN, FlexRay). A typical usage scenario is data recording in
vehicles, e.g. for validating and testing autonomous driving.

Bug: 16661
Change-Id: If7c08529049cc1d30d9a5640b4216eac83546800
Reviewed-on: https://code.wireshark.org/review/37610
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-02 06:20:27 +00:00
Vadim Yanitskiy 39b4d2eb3e A-bis/RSL: fix dissection of Mobile Allocation in CHANnel ACTIVation
According to 3GPP TS 48.058 (version 15.0.0), section 9.3.5,
3GPP TS 44.018 "Mobile Allocation" IE shall for compatibility
reasons be included but empty, i.e. the length shall be zero.

It does not mean that the Mobile Allocation IE should not be
decoded by Wireshark though. Some BSC implementations may still
be sending it with length greather than 0.

Let's expose de_rr_mob_all() and use it in dissect_rsl_ie_ch_id().
If the length is greather than 0, raise a protocol warning.

Change-Id: Idd0f2b3cd1e684f2c812b566fde71a1cc727c2c4
Signed-off-by: Vadim Yanitskiy <vyanitskiy@sysmocom.de>
Reviewed-on: https://code.wireshark.org/review/37575
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-02 06:18:27 +00:00
Stig Bjørlykke 408bc4cb1d Qt: Add keyboard shortcut for Decode As
Add keyboard shortcut Ctrl+Shift+U (User specified decodes) to bring
up the Decode As dialog.

Change-Id: Idd720431f87a5b645fdb151ef6d37347d26dbf1c
Reviewed-on: https://code.wireshark.org/review/37617
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2020-07-02 06:13:36 +00:00
Stig Bjørlykke 9a1a5fd22a Qt: Add copy from another profile for Decode As
Add a new button to the Decode As dialog to copy entries from
another profile.

Change-Id: Ia04edd063bd2eba14b2b14acfd53b03111646f7e
Reviewed-on: https://code.wireshark.org/review/37616
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2020-07-02 06:13:27 +00:00
Matthew Weant e312d07367 EAP: Handling Identities with Periods
Fixing EAP WLAN identity dissection to account for
identities that contain periods. Also fixed an issue
with the identity unknown data field where it would
incorrectly calculate the number of remaining bytes
in identity messages.  In that same vein, renamed the
field from hf_eap_identity_unknown_data to
hf_eap_identity_padding as it is only null bytes appended
to the end of identity strings. Lastly, I corrected
the EAP WLAN identity MCC and MNC lookup logic.  It
wrongly assumed that NAI Realm MCC and MNCs should only
exist or dissect with permanent EAP identities which
is not the case.  The algorithm used to perform lookups
would also not resolve all MCC/MNC pairs for the MNC value.

Bug: 16524
Change-Id: I1d9955618dab0c70de9fcd88088a4390989653c7
Reviewed-on: https://code.wireshark.org/review/37250
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-02 05:05:24 +00:00
Jaap Keuter d592e475cc ASTERIX: add dissection of I001/050 and I001/060
Bug: 16667
Change-Id: Ibbaacb2df15c7924f4140414f886d7b23c2ea949
Reviewed-on: https://code.wireshark.org/review/37654
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-02 05:00:32 +00:00
Stig Bjørlykke cb5bb6c99b Qt: Use elided heading in filter menus
The heading in Apply as Filter and Prepare as Filter may be very
wide for byte arrays. Use ElideRight with an appropriate length
to limit the menu width.

Change-Id: I2b8f5c805d8fd180c23a211fb7a88d16591175d0
Reviewed-on: https://code.wireshark.org/review/37641
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-02 04:59:49 +00:00
Vadim Yanitskiy 1699e50102 GSM/RR: fix wrong field name in SI2quater dissector
Change-Id: I99e3c86268b0e800a468eca47298db488933ef9a
Signed-off-by: Vadim Yanitskiy <vyanitskiy@sysmocom.de>
Reviewed-on: https://code.wireshark.org/review/37657
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-02 04:58:27 +00:00
Gerald Combs bd11d5b90b wslua: Include stdint.h on Windows.
The Universal CRT supplies stdint.h, so there's no reason to define our
own types.

Change-Id: I40d4216136aaecae1dc07b0b32ac31032a74b632
Reviewed-on: https://code.wireshark.org/review/37648
Petri-Dish: Guy Harris <gharris@sonic.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@sonic.net>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-01 20:23:22 +00:00
Stig Bjørlykke f0f2480f3c coap: Add Hop-Limit Option
Add Hop-Limit Option from RFC 8768.

Change-Id: I029cd1528f6cfdb87e8c259d2169633a72f1f418
Reviewed-on: https://code.wireshark.org/review/37640
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-07-01 18:40:02 +00:00
Jaap Keuter 65a70ffd82 ASTERIX: CAT001/210 has an extension indicator, it's not fixed
Bug: 16662
Change-Id: Ia0599ed7f5cab8efa4d644738ff5e4d2703d597b
Reviewed-on: https://code.wireshark.org/review/37635
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Tested-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-07-01 18:38:36 +00:00
Pascal Quantin c41c47505c NAS 5GS: fix dissection of extended emergency number list IE
Bug: 16668
Change-Id: If936bf25d8a062b72f1b682f9cf7d47d51aa5d1e
Reviewed-on: https://code.wireshark.org/review/37644
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-07-01 18:37:06 +00:00
Anders Broman f3a835701e btsdp: Try to squelch [-Wpointer-sign] warnings.
Change-Id: Ib5d0d249b128eeb40ed8d91e2ca1f027ab1dfb64
Reviewed-on: https://code.wireshark.org/review/37634
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-01 14:50:03 +00:00
Martin Mathieson 45da818a53 Add internalAstError to suppressed errors from cppcheck.
cppcheck seems to get confused by the VALS() macro.

Change-Id: Iba59a4886a0461cea9797a09a10e67420b09af19
Reviewed-on: https://code.wireshark.org/review/37639
Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2020-07-01 12:00:56 +00:00
Anders Broman 217c0e65f1 NGAP: Preserve column info when NGAP is embedded in HTTP2.
Fix regression due to different dissector function called.

Change-Id: Ibf3bfc5ac1cb740e71afa89018d57808c418cdab
Reviewed-on: https://code.wireshark.org/review/37638
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-01 11:35:29 +00:00
Pascal Quantin 18d29c7023 S1AP: add dissection of inter RAT to EUTRA transparent containers
Change-Id: Ibcffda34dea8e8e4f247667222cca24b80cd32b1
Reviewed-on: https://code.wireshark.org/review/37637
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-01 10:56:17 +00:00
Michael Bouchaud (yoz) 50a71ea0a7 DVB-S2: Add DVB-S2x support
- New modcods
- Extended rolloff factor encoding

Change-Id: I4b5667ef286b04e95dd343c5ec7793376f4e09ad
Reviewed-on: https://code.wireshark.org/review/37586
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-01 10:44:40 +00:00
Pascal Quantin b8aec0a9f2 NGAP: decode Handover Request Acknowledge target to source RAN container
As this message does not include the Handover Type IE, let's use the
dissect_target_ng_ran_container_as preference

Change-Id: If220e22ee9cfb6ef0c794ff0f1bd6d75a0fdcf88
Reviewed-on: https://code.wireshark.org/review/37636
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-01 10:36:41 +00:00
Anders Broman ca41ee2aed tests: Try to squelch [-Wpointer-sign] warnings.
Change-Id: I78bba8e39c14c1f6c5b31a79e327cbaf21473a17
Reviewed-on: https://code.wireshark.org/review/37633
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-01 10:01:39 +00:00
Audric Schiltknecht 5ae50899bd DVB-S2: Add option to not dissect BBFrame contents
Since bbframes can contain ethernet packets, it is sometimes a bit
annoying to write filters handling multiple layers of ethernet/ip/...

This option allows disabling dissection of the inner packets to focus
only on the outside layers.

Change-Id: I9409d5b671b616477fe7cfcfaabe1f33f0d528c1
Reviewed-on: https://code.wireshark.org/review/37585
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-01 08:36:14 +00:00
Stig Bjørlykke 4af7888cae coap: Fix "End of Block #" indication
The M bit is used in Block1 Option in a request and in Block2 Option
in a response. Use this to determine when to prefix the block number
information with "End of".

Change-Id: I11c741b15f97f68d668d6cbec97660a6ea392dc1
Reviewed-on: https://code.wireshark.org/review/37629
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-01 08:17:54 +00:00
Anders Broman 133dbc2178 BER: Add the posibillity to do "decode as" on an UDP port.
Change-Id: I2897b32b58f154c9998316b16d24bf97ef544153
Reviewed-on: https://code.wireshark.org/review/37628
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-01 07:24:04 +00:00
Michaël Bouchaud 4b40c28a0e DVB-RCS: Dissect NCR in DVB-S2 dissector
DVB-RCS specifies an NCR (Network Clock Reference) which can be included
in the GSE stream and used to synchronize the return channel.

Change-Id: Ie9c99c8964e44245258a4a446755b2c59379088f
Reviewed-on: https://code.wireshark.org/review/37584
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-01 04:15:28 +00:00
Stig Bjørlykke 40f3c393c3 coap: Move dissection of payload before state tracking
Change-Id: Icd8bce0a12167cc3edb3cb70fad5dd696af0b796
Reviewed-on: https://code.wireshark.org/review/37623
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2020-06-30 21:09:38 +00:00
Stig Bjørlykke 90d63ba075 coap: Add items for block payload and block length
Add items for block_payload and block_length to be used for block
analysis when reassembly is not complete.

Change-Id: I969cac9a50903431c727a2fc424eca464f0167d7
Reviewed-on: https://code.wireshark.org/review/37622
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2020-06-30 21:09:21 +00:00