Commit Graph

78241 Commits

Author SHA1 Message Date
Gerald Combs 4a4c8bdfea Systemd journal: Fix timestamp conversions.
Use ws_strtou64 to convert __REALTIME_TIMESTAMP= and other timestamps,
which should work across platforms.

Bug: 16664
Change-Id: I371f2b60e1957e57dbbdbbc3ded5ad49e8eb79d1
Reviewed-on: https://code.wireshark.org/review/37849
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-14 04:02:35 +00:00
Eric Wild 73f24f5ad8 ccid: dissect interrupt notifications for 8 slots
This was previously limited to one byte (=4 slots), and afaik no readers
existed that supported more slots until now - now there is the sysmocom
octsim that as the name implies offers 8 slots.

Change-Id: I5eccc7b6fb0d3c12ef7d7379d3ee88b5e7c45b71
Reviewed-on: https://code.wireshark.org/review/37816
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-14 04:01:42 +00:00
Stig Bjørlykke 4fc9098830 Qt: Keep pane sizes when quit without loading a file
Change from master_split_.show() to packet_list_->show() in layoutPanes()
to avoid an issue where the pane sizes was stored with wrong values when
quit just after startup without loading a file.

This fixes a regression issue from g5ce52f74 and g7ebd5405.

Change-Id: I7ba1b5f8c9440d41d58dfd729013a0fd1e16be07
Reviewed-on: https://code.wireshark.org/review/37839
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2020-07-13 16:16:25 +00:00
Tomas Kukosa 7f09a6fd81 ITS: ISO TS 19321 (IVI) updated to version 2
Change-Id: Ia865f9d56c891d10ac910ab60a6432f7eca01a58
Reviewed-on: https://code.wireshark.org/review/37843
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-13 15:43:44 +00:00
Sultan Qasim Khan 2b6f38b37d Extend the BLUETOOTH_LE_LL_WITH_PHDR format
Introduce backwards compatible meanings to previously RFU flag bits.
This allows indicating packet direction and supporting BLE5 features.

0x0380 indicates the PDU type
0xC000 indicates the PHY mode

PDU types are:
0: Advertising or Data (Unspecified Direction)
1: Auxiliary Advertising
2: Data, Master to Slave
3: Data, Slave to Master
4: Connected Isochronous, Master to Slave
5: Connected Isochronous, Slave to Master
6: Broadcast Isochronous
7: Reserved

PHY modes are:
0: LE 1M
1: LE 2M
2: LE Coded
3: Reserved

For PDU type 1 (auxiliary advertising), MIC bits 0x3000 are repurposed
to indicate auxiliary advertisement type.

Auxiliary advertisement types are:
0: AUX_ADV_IND
1: AUX_CHAIN_IND
2: AUX_SYNC_IND
3: AUX_SCAN_RSP

Change-Id: I1e6ddc1488d4cf5c05af4a179c9ad362e94f42f6
Reviewed-on: https://code.wireshark.org/review/37142
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-13 05:16:03 +00:00
Dmitriy Eliseev 474f8c9a17 synphasor: solve issues from buildbot
Solve issues from buildbot and improve display of FRACSEC and FRAMESIZE
Link to report: https://buildbot.wireshark.org/petri-dish/builders/Ubuntu%20Petri%20Dish%20x64/builds/12010/steps/conflict%20check/logs/stdio
Pcap for checking: https://bugs.wireshark.org/bugzilla/attachment.cgi?id=17413

Change-Id: I88d12faeab07c98d18712c63939eb5eece466ec8
Reviewed-on: https://code.wireshark.org/review/37836
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-13 05:15:42 +00:00
Richard Sharpe cb8fa30177 ieee1905: Comform to the latest Multi-AP spec plus add reassembly.
Here we conform to the latest ieee1905 Multi-AP spec as tested by the
WFA. We also add support for reassembling ieee1905 messages.

Bug: 16660
Change-Id: Ic67784d7c213856a364f88c177ede9688271ea2a
Reviewed-on: https://code.wireshark.org/review/37574
Petri-Dish: Richard Sharpe <realrichardsharpe@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-13 05:15:15 +00:00
Stig Bjørlykke db966fdd2f coap: Do retransmission detection only for CON and NON
Only do retransmission detection for CON and NON type messages.

Change-Id: I5b5d93800918a98d4d321d1dcd0f3090b485ba9e
Reviewed-on: https://code.wireshark.org/review/37842
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-13 05:14:18 +00:00
Tomasz Moń b61a4abc91 FTDI FT: Use custom reassembly table key functions
Construct FTDI FT reassembly table key based on desegment data. This
makes sure that the code can find corresponding data in the reassembly
table (which wasn't true for fuzzed captures).

Ping-Bug: 16691
Change-Id: I37f29aca07ec5e27f8a07db9233a9bb6d809dbda
Reviewed-on: https://code.wireshark.org/review/37841
Petri-Dish: Tomasz Moń <desowin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-13 05:13:54 +00:00
Tomasz Moń dd43aa2a0f FTDI MPSSE: Do not unnecessarily request reassembly
When scanning for Bad Command synchronization code 0xFA followed by the
command byte, only request reassembly if the last byte is 0xFA.

Ping-Bug: 16691
Change-Id: Ic04f47e2baece05c0a9a7f748d3035b18cf4e6a2
Reviewed-on: https://code.wireshark.org/review/37840
Petri-Dish: Tomasz Moń <desowin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-13 05:13:27 +00:00
Tomasz Moń 756178514f FTDI MPSSE: Speed up malformed captures dissection
Maintain separate RX and TX command info trees. When dissecting TX
packets during the first pass, the code has to traverse no more entries
than added by single TX packet. After the first pass there is no longer
a need to find the correct spot in the list, as the TX command info tree
points directly to the correct location.

Ping-Bug: 16691
Change-Id: Ie4a1d2e1152876b8b0a09308ed5a182b9a2e2895
Reviewed-on: https://code.wireshark.org/review/37837
Petri-Dish: Tomasz Moń <desowin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-13 05:12:56 +00:00
Martin Kaiser 32a804dea2 kafka: snappy: free the composite tvb only once
The snappy decompression routine has the same bug that was fixed for lz4 in
79576219c9 ("kafka: lz4: free the composite tvb only once").

Refactor the composite tvb handling for snappy as well. Allocate the
composite tvb only if we are cetain that data will be added to it.
Do not free the composite tvb ourselves, leave this to epan cleanup.

Change-Id: Ide3a88d1c02e525fe1aadd176068ce68c2330b98
Reviewed-on: https://code.wireshark.org/review/37838
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Petri-Dish: Martin Kaiser <wireshark@kaiser.cx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-13 05:12:09 +00:00
Alexis La Goutte a71ecfa2b5 QUIC: add GREASE QUIC Bit Transport Parameter
based on https://tools.ietf.org/html/draft-thomson-quic-bit-grease-00 and
https://github.com/quicwg/base-drafts/wiki/Temporary-IANA-Registry#quic-transport-parameters

Change-Id: Ib0a66ff7ecf5a5b40a3ed52d36798e2dcd3bcaa2
Ping-Bug: 13881
Reviewed-on: https://code.wireshark.org/review/37787
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-13 05:11:45 +00:00
Gerald Combs 300099e9e2 [Automatic update for 2020-07-12]
Update manuf, services enterprise numbers, translations, and other items.

Change-Id: I68419eed3c7d203b483f51f09f56b863fd65ffd0
Reviewed-on: https://code.wireshark.org/review/37832
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-07-12 08:17:56 +00:00
Peter Wu 69216a385d QUIC: fix decryption when the client uses an empty SCID
Decryption of short header packets would fail if the client sends a SCID
due to a logic error. This was observed with Chrome 86.0.4198.2.

Thanks to Ashwin Jagadish for the report and sample capture.

Change-Id: I81f5ab1bc1ea1b379e4edd65969d3c3e58340065
Ping-Bug: 13881
Fixes: v2.9.0rc0-269-gec30d0b004 ("QUIC: implement connection migration (draft -10 and -11)")
Reviewed-on: https://code.wireshark.org/review/37830
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-07-12 05:53:13 +00:00
Peter Wu 34c2353a39 QUIC: improve display of unknown or large Transport Parameter types
Display unknown TP types directly in the tree, users can then easily
look it up in sources such as
https://github.com/quicwg/base-drafts/wiki/Temporary-IANA-Registry

Fix display of large GREASE such as 0x3b318c8103de1274.

Change-Id: I6665fa4337e92ae973979813b7e58d66f38ae0fb
Ping-Bug: 13881
Reviewed-on: https://code.wireshark.org/review/37829
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-07-12 05:51:44 +00:00
Tomasz Moń ed334d4f2d FTDI MPSSE: Improve command to response tracking
Display command code in command in packet entry. Fix command response in
linking when response for subsequent commands in packet was not in the
same packet as for the first command. Link to response packet only for
commands that actually have response.

Ping-Bug: 11743
Change-Id: I7c336202cf7d89b5cf785ad6ede8f1a71e0dc063
Reviewed-on: https://code.wireshark.org/review/37827
Petri-Dish: Tomasz Moń <desowin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-12 05:07:27 +00:00
Tomasz Moń c706a909e3 FTDI FT: Reassemble fragmented MPSSE data
FTDI FT does not have a sense of data segments. It simply transports
asynchronous data bytes between two parties. MPSSE dissector notifies
FTDI FT dissector when it needs more data to process command and/or
response using the desegment API.

FTDI FT assumes that the segment starts at the offset given by MPSSE and
ends when either MPSSE does no longer ask for more data, or when MPSSE
asks for more data but not from the beginning of tvb passed to it (when
packet contains both end of previous segment and start of a new one).

Ping-Bug: 11743
Change-Id: Ib400bedd4d61166c98f711e4ab132a3a3bd8051d
Reviewed-on: https://code.wireshark.org/review/37709
Petri-Dish: Tomasz Moń <desowin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-12 05:06:35 +00:00
Martin Mathieson 70119bb905 check_dissector_urls.py: Add options to control which files to scan
The intention is to try to run this on the Petri-dish buildbot,
where it could run with '--commits 1' to warn about files touched
in the most recent commit.

Change-Id: Ie924d39e093d1fef8cfbdf02d15bbede386b2862
Reviewed-on: https://code.wireshark.org/review/37826
Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-12 05:05:08 +00:00
Alexis La Goutte 415f72a146 QUIC: Add column info for ACK_FREQUENCY and TIME_STAMP frame type
Change-Id: Id30c4d88240c421c676ec3f1c729f5df3f865912
Ping-Bug: 13811
Reviewed-on: https://code.wireshark.org/review/37822
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-12 05:04:39 +00:00
Tomas Kukosa 29c9425d22 PER: decode SEQUENCE OF with extended SIZE constraint, fix unaligned integer
Change-Id: Iec225830f749e535fd7eb4468b66b190ce3253de
Reviewed-on: https://code.wireshark.org/review/37825
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-12 05:03:14 +00:00
Tomas Kukosa 1257bd379a asn2wrs: support for (SIZE(A..B),...) constraint
Change-Id: Icf4c6c7c91cbdc22aff2363b0d21b24d123da482
Reviewed-on: https://code.wireshark.org/review/37824
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-12 05:02:56 +00:00
Alexis La Goutte f505ada1f0 pfcp: fix typo found by lintian
treshold => threshold

Change-Id: I408683aa4943ebffdc53db559ff5fc7f384f35a9
Reviewed-on: https://code.wireshark.org/review/37823
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-11 06:03:07 +00:00
Gerald Combs d0cd357825 Qt: Remove some dead code.
We no longer support Qt 5.2 or earlier.

Change-Id: I94ba6df2120956dadfce407fd999d39250485bc6
Reviewed-on: https://code.wireshark.org/review/37821
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: John Thacker <johnthacker@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-11 06:02:28 +00:00
Dario Lombardo 584569932b packet: don't mess up the subdissectors list during optimization.
Bug: 16690
Change-Id: Ie8340dca7bb56d58425985c16a07d0ed6887d03f
Reviewed-on: https://code.wireshark.org/review/37820
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Dario Lombardo <lomato@gmail.com>
2020-07-10 21:24:42 +00:00
Christian Krump a0b2ff45f5 EPL: use predefined tf strings from tfs.(ch)
predfined tf strings are used for the new introduced ring reduncancy flags

Change-Id: I5273eff410391bf4f104feea8602377698a97c8d
Reviewed-on: https://code.wireshark.org/review/37819
Petri-Dish: Roland Knall <rknall@gmail.com>
Reviewed-by: Christian Krump <christian.krump@br-automation.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2020-07-10 08:52:13 +00:00
Gerald Combs 3b86e04c2d Doc: Have make-authors*.pl explicitly use UTF-8.
Our authors lists and man pages are encoded as UTF-8 and have been for
quite a while. Remove perlnoutf.pl and ensure that standard I/O uses
UTF-8 as described at

https://www.perl.com/pub/2012/05/perlunicook-make-all-io-default-to-utf-8.html/

Change-Id: I7016ec5e3a12934463b43bcfdde2c424069c20ac
Reviewed-on: https://code.wireshark.org/review/37817
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-10 06:29:21 +00:00
Nardi Ivan 770872790d Stun: add heuristic over TCP
Change-Id: Id059773a9f9567b1e66935aebafd0c1f73c9f15b
Reviewed-on: https://code.wireshark.org/review/37814
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-10 06:28:47 +00:00
vahapemin 734287d6d4 Profinet: ControlBlockProperties Decoded Properly
According to specification, problematic Block Decode
is fixed.

Change-Id: I0d1a13a26771231eb6f05b18325ee2bb94e975bc
Reviewed-on: https://code.wireshark.org/review/37813
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-10 06:26:05 +00:00
Peter Wu 1cbaaf3e8d tls: Update list of CT logs to 2020-05-29
Avoid string literals while at it to avoid -Wpointer-sign warnings with
GCC 10. This has the additional benefit of avoiding storing the trailing
NUL byte after the data, resulting in a tiny reduction in binary size.
This compound literal syntax is supported since C99 which is permitted
by doc/README.developer.

Change-Id: I35f4d3a46aa78e12915d92136f1de0891131bede
Reviewed-on: https://code.wireshark.org/review/37818
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-10 05:11:26 +00:00
Anders Broman 5d313ecb2d TDS:Fix -Wpointer-sign warnings.
Change-Id: I230c8a642557181024d4454ce5126bf0a33f4ac2
Reviewed-on: https://code.wireshark.org/review/37811
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-09 14:56:34 +00:00
Uli Heilmeier 3526ecd623 BGP: Fix scope for path attribute packet_data
We need wmem_file_scope() to handle path attribute info after
MPLS/VNI label.

Bug: 16678
Change-Id: Ib487b271110c78d2d4ae10f01fc24cda3edc0713
Reviewed-on: https://code.wireshark.org/review/37790
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-09 07:24:13 +00:00
Christian Krump d9f88b3289 EPL: extended decoding of ring redundancy flags
There are some ring redundancy flags available in the SOA frame.
These flags could be interesting for some users and should be decoded.

Bug: 16687
Change-Id: Ica20a9b2a87adf31dca3b064785cdac2e5bc3d2c
Reviewed-on: https://code.wireshark.org/review/37810
Reviewed-by: Christian Krump <christian.krump@br-automation.com>
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2020-07-09 07:15:00 +00:00
Gerald Combs 455a4794d8 USB: Add a size check.
In dissect_usbpcap_iso_packets check for a sane isochronous packet
count, otherwise we might overflow our data start offset.

Bug: 16677
Change-Id: I79534b4a519eefcf85cf4dd03424ac654bacd8c9
Reviewed-on: https://code.wireshark.org/review/37789
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-09 06:20:48 +00:00
Guy Harris 4cf092382d spoolss: pick up what some printer attributes mean from Microsoft documentation.
The page at

https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-printer

lists a number of printer attributes that correspond to the attributes
listed here.

Describe what the hidden attribute means, more clearly describe whta the
enable-devq attribute means, and clean up other descriptions to make
them more stylistically consistent.

Change-Id: I4830df6dc610bce6b7603750d5c4aa73685f6c28
Reviewed-on: https://code.wireshark.org/review/37806
Reviewed-by: Guy Harris <gharris@sonic.net>
2020-07-08 21:31:06 +00:00
Jaap Keuter 5b0adea0b3 Nano: Fix field abbrev
Found by conflict check

Change-Id: Ifdb0a2e5debab8ce8ed13127ea986d15a45e700b
Reviewed-on: https://code.wireshark.org/review/37792
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@sonic.net>
2020-07-08 20:58:49 +00:00
Jaap Keuter c9a5557c76 PIM: Fix field abbrev
Found by conflict check

Change-Id: I4fa1ff6da2fb2823ab1f937042c05aada6eb1238
Reviewed-on: https://code.wireshark.org/review/37793
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@sonic.net>
2020-07-08 20:54:43 +00:00
Guy Harris fb37407d27 NIS+: give the meanings of the NIS_CALLBACK return value.
From reading GNU libc's .x file for NIS+ (which has an Oracle America
copyright, suggesting that it was originally a file from Sun, and thus
likely to be the official NIS+ rpcgen file), and from reading the way
the GNU libc code treats the return value of the return value of an
NIS_CALLBACK RPC, it appears to be a Boolean where "true" means that the
callback in question is still running and "false" means it's not
running.

Label the results as such.

(I should probably really check the Illumos source to see if it includes
the NIS+ client and server and, if so, read that, so see what Sun's code
did.)

Change-Id: I4eb430dfca3d1162972a2a750effc31f626f20bf
Reviewed-on: https://code.wireshark.org/review/37791
Reviewed-by: Guy Harris <gharris@sonic.net>
2020-07-08 19:52:11 +00:00
Dr. Lars Völker 038161d78e TECMP: Resetting VLAN depth per frame
The current dissector only allows 10 nested vlan tags and stops
dissections, if more are present.
This patch lets the TECMP dissetor reset the VLAN depth for
each embedded Ethernet frame it hands over the Ethernet dissector.

Bug: 16685
Change-Id: I29a726274a01c2ef296d4d1eeaffd6d5960db294
Reviewed-on: https://code.wireshark.org/review/37786
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-08 15:27:24 +00:00
Anders Broman 4660a30bab Fix -Wpointer-sign warnings.
Change-Id: I47efaeedc42d60456e9b98b951c75086b102788f
Reviewed-on: https://code.wireshark.org/review/37788
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-08 15:26:33 +00:00
Stefan Metzmacher 48630d4742 packet-smb2: correctly dissect SMB2 TRANSFORM_HEADER Flags
In the SMB 3.1.1 dialect, this field is interpreted as the Flags field, which indicates how the SMB2 message was transformed:
    Encrypted 0x0001
    - The message is encrypted using the cipher that was negotiated for this connection.

In the SMB 3.0 and SMB 3.0.2 dialects, this field is interpreted as the EncryptionAlgorithm field,
which contains the algorithm used for encrypting the SMB2 message. This field MUST be set to one of the following values:

    SMB2_ENCRYPTION_AES128_CCM 0x0001
    - The message is encrypted using the AES128 CCM algorithm.

For dissection it's enough to expect SMB 3.1.1, as the value and the meaning
of 0x0001 is always the same (as AES128 CCM was the only possible algorithm before 3.1.1)

Change-Id: I4bd796bd1be38ed4a6481aa7bf68cb5b2e3637d2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/37785
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-07-08 10:42:08 +00:00
Anders Broman 5b91801a8d value_string: Change the bytes_string struct to avoid Wpointer-sign
Change-Id: Ie9db520f73dbbf61a6aecb37cf5ed8839f3e1052
Reviewed-on: https://code.wireshark.org/review/37770
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-08 06:43:55 +00:00
Yann Pomarède 7ed3180a29 ieee80211: add VS SGDSN type 1 message
Bug: 16680
Change-Id: Ia540d252371a045e4d1c0b0e2eb87db8fa21fc31
Reviewed-on: https://code.wireshark.org/review/37681
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-07-08 06:29:00 +00:00
John Thacker e84d431e39 QT: Don't use qAsConst and C+11 on QT < 5.7
Introduced QT 5.7 calls in my recent change (also C+11, which is
required for QT >= 5.7). Providing an alternate code path for QT < 5.7

Change-Id: I866af35138d4691a659aee756ce9c3ce4ffb933f
Reviewed-on: https://code.wireshark.org/review/37779
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-07-08 05:51:06 +00:00
Pascal Quantin 416ccd18c4 E212: allow to decode 5 digits long short IMSI used in MAP messages
Bug: 16676
Change-Id: I8ba5bce3ec3a63f3c95ebb58ffdbe54d3546a96a
Reviewed-on: https://code.wireshark.org/review/37775
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-08 05:11:13 +00:00
Jaap Keuter 570b9ffe7b UMTS_RLC: Rename rlc.ciphered_data expert item
Found by conflict check

Change-Id: I98e5fd7d5b894a27aa07055a6bfa6735c4e4df79
Reviewed-on: https://code.wireshark.org/review/37774
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-08 05:10:51 +00:00
Jaap Keuter e566c615f0 NIS+: Make true_false string differentiating
Found by conflict check

Change-Id: I51ba81592aa0779f45f26fc4a89215051245c328
Reviewed-on: https://code.wireshark.org/review/37772
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-08 05:10:28 +00:00
Gerald Combs af6140d643 Test: Remove an unused routine.
dump_failed_output didn't do anything, so remove it.

Change-Id: If2c1c48ff38987bcd535e95585784eb9981a0f4e
Reviewed-on: https://code.wireshark.org/review/37752
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-08 05:08:23 +00:00
Gerald Combs f0d456bf2d cppcheck: Fixup some comparisons.
Change-Id: I6901c31cdea7399bc18dbf968c14c477f71a90dd
Reviewed-on: https://code.wireshark.org/review/37777
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-07-08 01:56:18 +00:00
Anders Broman 1484c1e7f6 Fix Wpointer-sign warnings.
Change-Id: Ia51998293b967f363856d2b9ac92f498a9f54d76
Reviewed-on: https://code.wireshark.org/review/37769
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-07 18:42:07 +00:00