Commit Graph

77263 Commits

Author SHA1 Message Date
João Valverde 7322c35a47 Remove keep alives from "Bad TCP" coloring rules
Change-Id: Ie0c2160f469ba32535f52e074670318739cfa81a
Reviewed-on: https://code.wireshark.org/review/35869
Reviewed-by: Jasper Bongertz <jasper@packet-foo.com>
Reviewed-by: João Valverde <j@v6e.pt>
2020-03-02 14:48:09 +00:00
Dario Lombardo a7e3942101 Add github actions yaml files.
Change-Id: I06e9968b792d9c218273873f36ee8e9157b04344
Reviewed-on: https://code.wireshark.org/review/36181
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-02 14:17:04 +00:00
Ameya Deshpande 321de10aad USB Audio: Dissecting Selector Unit and Endpoint Descriptor
Dissection of "Class-specific Audio Control Interface Descriptor:
Selector Unit Descriptor" and "ENDPOINT DESCRIPTOR" for USB Audio
Device added.
The USB Audio class extended Standard USB Endpoint Descriptor 2
bytes further. A condition to check whether the interface class is
CLASS_AUDIO is added and the 2 bytes are dissected.

Change-Id: I63f1334df71b9e8cd92a299d533b732b0a13ace7
Reviewed-on: https://code.wireshark.org/review/36250
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-02 14:16:12 +00:00
Vadim Yanitskiy 340e9b3e84 GSMTAP: also dissect PCS band indicator of ARFCN
The absolute radio-frequency channel numbers may overlap between
both DCS1800 and PCS1900 frequency bands. The purpose of the PCS
band indocator is to avoid ambiguity for the overlapping numbers.

Change-Id: I5c6e429e9c579d1e132994954a4d32f2f1bd6ca5
Reviewed-on: https://code.wireshark.org/review/36240
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: Anders Broman <a.broman58@gmail.com>
2020-03-02 14:15:31 +00:00
Gerald Combs a42fde90c1 [Automatic update for 2020-03-01]
Update manuf, services enterprise numbers, translations, and other items.

Change-Id: I14e268fb0be2a1a85e10a4ff7b5f0b0559489f3a
Reviewed-on: https://code.wireshark.org/review/36246
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-03-01 08:20:11 +00:00
Dylan Ulis 612568d7b3 Edit Resolved Name: Allow user to remove name
User can remove the previously set name, just by editing the current
name, and removing all text (empty string). Empty strings are skipped by
the name resolution code.

Bug: 11221
Change-Id: Id9c64885b5dd82fd72dd16b25a0f8046b8102a11
Reviewed-on: https://code.wireshark.org/review/36206
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-01 06:49:20 +00:00
Tomasz Moń 04a86e99e4 Qt: Fix import profile from directory crash
Do not append separator to import directory path. Calling QFileInfo()
constructor with string ending in directory separator results in
creating QFileInfo instance for file with empty filename.

Bug: 16410
Change-Id: I4fe248fcdb0c0c67843652475ae58c2a473a9fa8
Reviewed-on: https://code.wireshark.org/review/36238
Petri-Dish: Tomasz Moń <desowin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-01 06:48:21 +00:00
Tomasz Moń 50a4063352 USB: Record bcdVersion in device product data
Set usb conversation info vendor, product and version based on values
recorded in device product data. This results in USB dissectors that
register on VID/PID to get correct vendor, product and version
information if configuration descriptor is not present in the capture.
One such dissector is FTDI FT where the version is used to determine
chip type.

Ping-Bug: 11743
Change-Id: Idcc361861b616222e32fc0d8cef9f9dd687cf1e4
Reviewed-on: https://code.wireshark.org/review/36243
Petri-Dish: Tomasz Moń <desowin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Filipe Laíns <lains@archlinux.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-01 06:46:07 +00:00
Tomasz Moń c68366f01d FTDI MPSSE: Group commands with parameters
Group command with parameters under its own subtree. Besides grouping,
this makes it possible to filter the command with specific parameters.

Ping-Bug: 11743
Change-Id: I4702a0cac6bd398a271c310185bf2670d352ba55
Reviewed-on: https://code.wireshark.org/review/36241
Petri-Dish: Tomasz Moń <desowin@gmail.com>
Reviewed-by: Filipe Laíns <lains@archlinux.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-01 06:45:50 +00:00
Tomasz Moń c07a48b6d3 Qt: Fix profile zip import on Windows
Do not use QDir::separator() as a directory separator. QT internally
uses "/" as separator on all systems, including Windows. The zip files
were not unzipped into target directory because splitting path on
QDir::separator() in ProfileModel::cleanName() returned only one part
(there weren't any "\' in file name, only "/").

Qt documentation for QDir::separator() mentions:
  "You do not need to use this function to build file paths.
   If you always use "/", Qt will translate your paths to conform to
   the underlying operating system. If you want to display paths to
   the user using their operating system's separator use
   toNativeSeparators()."

Bug: 16410
Change-Id: I9627684f58f4c1da24b6eec8958a2542fe07d915
Reviewed-on: https://code.wireshark.org/review/36237
Petri-Dish: Tomasz Moń <desowin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2020-02-29 10:15:29 +00:00
Aurelien Aptel ab274af1ed SMB2: properly show reused FIDs
When dissecting a trace containing the same FID multiple times (for
different file paths) Wireshark would get confused and show file path
of the latest occurence of the FID for all usage.

Example:

  => open  req "\dir\lol.txt"
  <= open  rsp fid=0x123

from this point, 0x123 is "lol.txt", yet wireshark will show "bar.txt"

  => write req fid=0x123 data="foo"
  <= write rsp ok
  => close req fid=0x123
  <= close rsp ok

from this point, 0x123 is no longuer valid

  => open  req "\dir\bar.txt"
  <= open  rsp fid=0x123

from this point, 0x123 is "bar.txt"

  => write req fid=0x123 data="foo"
  <= write rsp ok
  => close req fid=0x123
  <= close rsp ok

Wireshark displays "bar.txt" for all occurences of 0x123. This patch
fixes that and stores the interval (in frame numbers) in which each
FID is valid. From the first time the FID is seen to the time the
close is done.

Change-Id: I9027bb1756d1dbee0393b50786f49845b79f129c
Reviewed-on: https://code.wireshark.org/review/36192
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-29 08:58:12 +00:00
Roland Knall 4fe7fbd51d Qt: Changes ProfileModel assert
The assert mistakenly crashed the import

Bug: 16410
Change-Id: I385f4ba9b842f0f25d6ffe30db6065946fd55d84
Reviewed-on: https://code.wireshark.org/review/36233
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2020-02-28 20:34:03 +00:00
Filipe Laíns 3c28305ca8 FTDI MPSSE: Dissect setting the clock divisor
This patch dissects the clock divisorset command. For the FT2232D it
will also calculate the clock based on the divisor.

Calculating the clock for newer chips requires more context that what we
currently have. The master clock is 60MHz by default but can be
configured to 12MHz for compatibility with older chips. We need to track
the "Divide by 5" commands (0x8A/0x8B) to be able to claculate the
clock.

Ping-Bug: 11743
Change-Id: Ica3acfa97b4db38c2f28bb14cb1e0576d9b5139e
Signed-off-by: Filipe Laíns <lains@archlinux.org>
Reviewed-on: https://code.wireshark.org/review/36167
Petri-Dish: Tomasz Moń <desowin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Tomasz Moń <desowin@gmail.com>
2020-02-28 17:12:44 +00:00
Gerald Combs cead73576d macOS: Expand a comment.
Change-Id: I4755c2ca44bc33954e3ea69c6ea2b7dc0983db4c
Reviewed-on: https://code.wireshark.org/review/36232
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-02-28 16:40:02 +00:00
Anders Broman a5926fdda7 nettrace_3gpp_32_423: Improve parsing.
Change-Id: I4593154a7791355afff76f7ca823c7f786605490
Reviewed-on: https://code.wireshark.org/review/36224
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-28 15:24:37 +00:00
Aurelien Aptel 54261ccaf2 SMB2: remove duplicate session info
When smb2_session_info() was factored out a bug was introduced where
instead of appending text in the parent it appended text in the new
sub item, showing it twice. Fix that by appending to the parent item
instead.

Change-Id: I87c681cd5ea233b3a8c451d0dde2cd2ddf8da48e
Reviewed-on: https://code.wireshark.org/review/36191
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-28 14:54:14 +00:00
Joakim Karlsson f222e4be33 pfcp: update IE 8.2.12 Transport Level Marking
Corrected IE name
Added DSCP value

Change-Id: I7d68ade1ff6292727d55294b73278be34c31d4e9
Reviewed-on: https://code.wireshark.org/review/36223
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-28 14:45:32 +00:00
Angelos Drossos 27dc3d1481 btatt: Call btatt.handle subdissectors
The BT ATT protocol dissector has a dissector table for the
`btatt.handle` field so that is is possible to register subdissectors.
But registrating the subdissector via `btatt.handle` field has no
effect. Instead, it has to be registered via `bluetooth.uuid` field.

In some cases, the BT ATT dissector doesn't call its subdissectors when
it is registered via `bluetooth.uuid` field: It is when no frame
connects the BT UUID to the handle.

This fix now calls the registered subdissector of the `btatt.handle`
field if any.

As an improvement, duplicate code could be removed for BT GATT
subdissectors because dissect_btgatt() extracts already the UUID from
the short name and then calls dissect_attribute_value().

The BT GATT subdissectors will be shown as subtree as before because its
implementation is in the same file. All other subdissectors will get its
own root tree as it is common for new protocol layers.

Bug: 16371
Change-Id: I99393e51e949a6488014f175c09a44743ce353a2
Reviewed-on: https://code.wireshark.org/review/36176
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-28 06:29:24 +00:00
Stefan Tatschner d398471cb5 Add support for ISO 15765-2:2015 jumbo frames
In the case CAN-FD is used as a transport, the header of ISO15765
changes for first frames (ISO 15765-2:2015). In my previous commit
"Add support for first frames with CAN-FD" (54010d4093) I added
support for *single frames*.

This patch really adds support for ISO 15765-2:2015 first frames, also
known as jumbo frames. Documentation is available in this presentation,
on slide 24:

* http://s3.eu-central-1.amazonaws.com/cancia-de/documents/proceedings/slides/hartkopp_slides_15icc.pdf

Change-Id: Ic97a3c71ee1df4d133dbfb04a1c781fa66739cf0
Reviewed-on: https://code.wireshark.org/review/36189
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-28 06:29:10 +00:00
Jason Cohen 14663215e8 f5ethtrailer: Correctly generate the TLS keylog entries
Bug: 16417
Change-Id: Ide3f78503df8bc6b8f6278201eff271df50c4cfb
Reviewed-on: https://code.wireshark.org/review/36222
Reviewed-by: Jason Cohen <kryojenik2@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-28 06:25:32 +00:00
Tomasz Moń eabc9356c2 Qt: Do not display alerts on repeated failed reads
If read from capture file fails, set a flag that result in subsequent
read attempts to not display alert box on read failure.

This solves endless "An error occurred while reading the capture file"
error when the underlying trace file becomes unavailable. Now it is
possible for the user to close the capture file.

Bug: 4811
Change-Id: I411bbb3fb717bc994ab1f5e3805e2c8b4ee09c5e
Reviewed-on: https://code.wireshark.org/review/36114
Petri-Dish: Tomasz Moń <desowin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-28 04:54:15 +00:00
Ameya Deshpande 236dbcf66c USB Audio: Audio-class specific format 3 dissection
Improve dissection of "Class-specific Audio Streaming Interface Descriptor:
Format type descriptor" by performing dissection for FormatType 3.
Conditions for checking Number Channels=2, Subframe Size=2 and
Bit Resolution=16 are added.
Else they are added to expert info.

Change-Id: Ie8b005ccadda39c653782fc38280ce21cf2ca0a8
Reviewed-on: https://code.wireshark.org/review/36185
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-28 04:53:46 +00:00
Gerald Combs b3871fb864 macOS: Software update fixes.
Run our software update checks in the foreground.

Post NSApplicationWillTerminateNotification prior to exiting the
application. This *should* start the automatic updater if a new version
of Wireshark was downloaded in the background, but is difficult to test
without a fully signed and notarized application bundle.

Bug: 16416
Change-Id: I212dbb42e1cafff713ff195b448c2799750bc6ac
Reviewed-on: https://code.wireshark.org/review/36221
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-02-28 04:50:38 +00:00
Joakim Karlsson 00edddb9ba GTPv2: 8.22 F-TEID, update interface types
Change-Id: Iaeaa0bce866ece4702da7f5b3c4446fc568325f0
Reviewed-on: https://code.wireshark.org/review/36220
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-28 04:49:27 +00:00
Joakim Karlsson 14d3c06d15 pfcp: Update to 3GPP TS 29.244 V16.2.0 final part
Change-Id: I40350c99e9291cea3b07ede642f58189d2e2edf0
Reviewed-on: https://code.wireshark.org/review/36217
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-28 04:49:17 +00:00
Joakim Karlsson 6a0f70041d pfcp: Update to 3GPP TS 29.244 V16.2.0 part5
Change-Id: I7c5a9c3f5279a34d80865cf1ad38329f73e7e739
Reviewed-on: https://code.wireshark.org/review/36216
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-27 21:07:38 +00:00
Pascal Quantin b6d67794d8 NGAP: fix dissection of intra 5GS NASC IE
Change-Id: I97d235bba56cdc5671b438695365fc76ab7cbdd9
Reviewed-on: https://code.wireshark.org/review/36218
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-02-27 17:22:17 +00:00
Joakim Karlsson 20bef29f72 pfcp: Update to 3GPP TS 29.244 V16.2.0 part4
Change-Id: I959cc0582d31c3a70531e1561b2e8c6d782ebbff
Reviewed-on: https://code.wireshark.org/review/36215
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-27 16:05:04 +00:00
Rasmus Jonsson b1a4aac543 Qt: fix packet list selection regression
When adding or removing a filter, the currently selected packet
is deselected. beginResetModel/ endResetModel were used which
reset the QModelIndex, now changed back to dataChanged/
headerDataChanged as before.

Bug: 16414
Change-Id: Ia8fa91e3378bdc0792382184e75e59900397e8b9
Reviewed-on: https://code.wireshark.org/review/36204
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2020-02-27 10:52:26 +00:00
Guy Harris 1ed9ddd26a Fix some typoes in comments.
Change-Id: I951e183e24bf77e0f2f09266e2dc5db7a4caf0ec
Reviewed-on: https://code.wireshark.org/review/36211
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2020-02-27 05:33:15 +00:00
Guy Harris e1e8e2dce9 Clean up some comments in the preferences file.
Automatic software updates are now supported in macOS as well.

In the file, the channel name doesn't have UPDATE_CHANNEL_ in front of
it; it's just DEVELOPMENT or STABLE.

Change-Id: I11a8e10b3c0ee6c4eec2568bf94d42c4098b82a5
Reviewed-on: https://code.wireshark.org/review/36207
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2020-02-27 05:17:57 +00:00
Aurelien Aptel 3383667106 SMB2: generate session for every packet
We generate sessions for all packets, no need to skip Tree Connects.

Change-Id: I4a99d26f0ded12cc3de2f07489fb4994a43743a5
Reviewed-on: https://code.wireshark.org/review/36190
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-27 04:29:54 +00:00
Mikael Kanstrup c583304dd5 Add TEAP dissector
Initial support for TEAP (Tunnel Extensible Authentication Protocol)
defined in RFC7170.

Only partial support implemented. Mainly the parts needed to discover
the carried EAP payload when establishing IEEE802.11 EAP-TEAP
connections.

Bug: 16379
Change-Id: Ic2b31d0b871b430792a371cd09926811e350c32b
Reviewed-on: https://code.wireshark.org/review/36104
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-27 04:28:49 +00:00
Gerald Combs f8f6ce55de Test: Make sure we can run Wireshark on macOS.
Run Wireshark tests on macOS only if SECURITYSESSIONID. If this isn't
reliable enough we might be able to get away with running a small UI
utility, e.g. `pbpaste > /dev/null`.

Change-Id: Ieccb87bcc1312f02c22ec2905a80437bf136d964
Reviewed-on: https://code.wireshark.org/review/36195
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-02-26 21:54:57 +00:00
Gerald Combs 574aa22870 macOS: Fix a sanity check.
Change-Id: I1ae61bcc70f5994661b88d6a3c1a93e038b6b6cf
Reviewed-on: https://code.wireshark.org/review/36199
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-02-26 21:52:21 +00:00
Gerald Combs 47bd34873b macOS: Add a sanity check.
Check the file permissions in our application bundle.

Ping-Bug: 16407
Change-Id: I41c9dc903f764ea74b6f34a21ecb99d44bd1658f
Reviewed-on: https://code.wireshark.org/review/36193
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-02-26 21:03:08 +00:00
Dario Lombardo 0659802f5f tools: add missing packages to macos-setup-brew.
Change-Id: Ie3068a3f6fa64319d8a4d84e6f57b06e6fac3408
Reviewed-on: https://code.wireshark.org/review/36174
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
2020-02-26 13:26:06 +00:00
Aurelien Aptel c334293099 smb2: move file related metadata into session object
Move the files hashtables from the conversation to the session object
so that it can be shared across TCP connections.

In a multichannel capture, this lets file opened on one channel be
accessible in another channel.

Change-Id: Ic8909b590e7f6614d8d92422c0c1641d521240e3
Reviewed-on: https://code.wireshark.org/review/36184
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-26 05:47:36 +00:00
Aurelien Aptel 46d6230cd4 smb2: make sessions table per-file rather than per-conversation
In a multichannel capture a session can be shared across multiple
conversation.

Adds a global per-file autoreset hashtable named smb2_session.

This change already makes decryption works since the session
decryption keys can now be shared.

Change-Id: I8991aa2afc4dcbe0bc88f4302c3f09ed61ab85ff
Reviewed-on: https://code.wireshark.org/review/36183
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-26 05:46:41 +00:00
Aurelien Aptel 12b8144dfc smb2: add editor modelines in header
Change-Id: Idc2ef8b47a6310afcde702da26a70613d839ae66
Reviewed-on: https://code.wireshark.org/review/36182
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-26 05:45:29 +00:00
Alexis La Goutte 5608e07641 bthci_cmd: fix typo
Bug: 16411
Change-Id: I9fed7473c2fc3772bc65f7a126ac2f5af79f027f
Reviewed-on: https://code.wireshark.org/review/36186
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-26 05:45:01 +00:00
Jim Walker 9bde8f53f3 couchbase: Add new HELLO features and flex frame changes
Add new HELLO
* open tracing
* preserve TTL

Add some flex frame dissection
* impersonate (user name)
* preserve TTL (validate len is 0)
* open tracing has no further dissection

Change-Id: Id8ca22fbd7ba52ff04a9dcc062e8ce15f4b0ccaf
Reviewed-on: https://code.wireshark.org/review/36127
Reviewed-by: Dave Rigby <daver@couchbase.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-25 13:43:32 +00:00
Alexis La Goutte 5a44e1b7c5 goose: test field is renamed to simulation
The GOOSE dissector included Wireshark is using the GOOSE message
definition that was described in an older version of the IEC 61850
standard. To be precise, the current field names in Wireshark
corresponds to the Edition 1 of the IEC 61850 standard.
This GOOSE message definition is defined in Table 23 of the
IEC 61850-7-2:2003.
In this release (IEC 61850-7-2:2003) there is a field name called: Test.

However, in the new version of the IEC 61850, the Edition 2 of the
IEC 61850 standard, the Test field was renamed to Simulation.
To be precise, the new GOOSE message definition is defined
in Table 43 of the IEC 61850-7-2:2010.

Bug: 16402
Change-Id: I407987d7f4564b5bafa0c9217756c3f9f23918f6
Reviewed-on: https://code.wireshark.org/review/36175
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-25 13:42:03 +00:00
Alexis La Goutte 3c5759a0d2 lacp: Fix Dead Store
Fix dead store (Dead assignement/Dead increment) Warning found by Clang

Change-Id: If0f7198615de9bf03c2f905b9a56c4531aa4be5e
Reviewed-on: https://code.wireshark.org/review/36143
Reviewed-by: Jason Cohen <kryojenik2@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-25 13:41:40 +00:00
Gerald Combs 7e38df24c6 Remove some entries from .gitignore.
Remove "Wireshark.*", since that makes tools like ag and rg skip
packaging/wix/Wireshark.wxs. Add a note about this.

Remove other no-longer-relevant entries.

Change-Id: Ib3841249aef2018ca2ef0285a5d0ea799c54d310
Reviewed-on: https://code.wireshark.org/review/36145
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-25 12:37:19 +00:00
Guy Harris cd6134da90 Add ws_strtoi() and ws_strtoui() routines and use them.
Those fetch gint and guint values, respectively, rather than values with
specified sizes in bits.

This should squelch Coverity CID 1457357.

Change-Id: Ia8f100bd3fe90c266e24a4346f80b2667c653b93
Reviewed-on: https://code.wireshark.org/review/36177
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2020-02-25 08:27:52 +00:00
Dongle Su f2a64e9559 RTP: Add support for RTP over TCP (RFC 4571)
Fix the dissector error of RTP over TCP(RFC4571)

Bug: 16392
Change-Id: I517daee0cf1ff47484d9b5ea5007ecde9fe16a44
Reviewed-on: https://code.wireshark.org/review/36091
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-24 15:34:03 +00:00
Anders Broman 4e98225198 GTPv2: Dissect more flags
Change-Id: I42907c1d339e105efd45d248a94d041afebc6a75
Reviewed-on: https://code.wireshark.org/review/36170
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-24 15:33:06 +00:00
Anders Broman 301cb9956b gtpv2: 8.12 Indication, add new bit decoding.
Change-Id: I9791bc901cc88288963a31c36b4660595e23d470
Reviewed-on: https://code.wireshark.org/review/36169
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-24 09:47:59 +00:00
Dylan Ulis 7b99a82bf8 Edit Resolved Name: Don't add duplicate IPs
1. Switch list of manually resolved names from a list to a map
   (IP Address --> Custom Hostname)
2. If an address was already in the list, just update the old entry.
Previously this added a new entry anytime somebody would edit a
hostname.
3. Display the previous hostname in the GUI
4. Remove unused manually_resolve_cleanup()

Bug: 11221
Change-Id: I42d5b6267eb6613bdf7783865bc2d30d6bda1147
Reviewed-on: https://code.wireshark.org/review/36059
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-24 07:45:00 +00:00