Commit Graph

75992 Commits

Author SHA1 Message Date
Roland Knall 9ac61952ec Qt: Correctly identify the active profile
Correctly mark the active profile in the list and identify
it by making it bold, even if it has been renamed

Change-Id: I8c5c8215b924735f460c5bd0bb4d4c21632d494b
Reviewed-on: https://code.wireshark.org/review/34211
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-08-13 08:16:41 +00:00
Roland Knall 4b00898a2a Qt: Prevent loop in renames of profiles
This prevents the case, where there are two profiles, and one is
renamed, after which the second one is renamed to the firsts original
name. This could lead to undefined behavior in the underlying data
structure.

Fixes an issue as well, where deleting the identical named duplicate
would delete the original one

Bug: 15975
Change-Id: Ia7112779f2c2ef926c3ea915852b6d7b4497f777
Reviewed-on: https://code.wireshark.org/review/34189
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-08-13 08:16:12 +00:00
Roland Knall 7daf939ebc Qt: Fix translations for profiles
Translations where not applied correctly because of the ellipsis

Change-Id: I1de4648d80537865c436c9d1963e96d394317332
Reviewed-on: https://code.wireshark.org/review/34250
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-08-13 08:15:57 +00:00
Peter Wu 1aaf590fac EAP: ignore retransmissions to avoid breaking EAP-TTLS reassembly
Remember the most recently seen Identifier field for the authenticator
and peer. Flag packets that mismatch and skip further processing if it
could modify the state as is the case for EAP-TTLS.

Bug: 5056
Change-Id: If439d5ef2ae390208f678ff271d3036efaf9fa7f
Reviewed-on: https://code.wireshark.org/review/34261
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-08-13 07:50:49 +00:00
Anders Broman 1d40491b96 Diameter 3GPP: Dissect new ULR and DSR Flags.
Change-Id: Idd42138e5ce98c804ebe7811b8a942a9e9bd8127
Reviewed-on: https://code.wireshark.org/review/34263
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-08-13 07:50:31 +00:00
Martin Boye Petersen 478b39e824 ZigBee OTA: Fix field-control dissection in OTA commands
Field control field was handled in the same way for QueryNextImageRequest,
ImageBlockRequest and ImagePageRequest, but none of these fields
are defined in the same way according to the specification.
Also the optional MinimumBlockPeriod field in ImageBlockRequest was missing.

Change-Id: Ibd5c7adbcc6493771baf0a099661cbd2282ee71d
Reviewed-on: https://code.wireshark.org/review/34257
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-08-13 04:33:22 +00:00
Tom Haynes 6ab745cdd3 nfs: Add the third version of the Hammerspace NFSv4 file handle dissector
Change-Id: I7cbc670b08d0198f0afd466ddedd1dd9888d8000
Signed-off-by: Tom Haynes <loghyr@hammerspace.com>
Reviewed-on: https://code.wireshark.org/review/34259
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-08-13 04:32:51 +00:00
Jaap Keuter 48ac902807 DNS: Add few DNS type full names
Items as SSIG, NSEC and DNSKEY had no descriptive. Add these.

Bug: 15970
Change-Id: I95916e628505c227338346c7aca8ae2dd5050f95
Reviewed-on: https://code.wireshark.org/review/34256
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-08-12 23:52:16 +00:00
Gerald Combs f5aaea0da9 doc+docbook: More CSS tweaks.
Change-Id: I16af6fec3eccf5e8516a1fbcfe269882493e41d0
Reviewed-on: https://code.wireshark.org/review/34260
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-08-12 23:07:20 +00:00
Peter Wu 86a35ac6a2 cmake: allow VCSVERSION to be overridden with VCSVERSION_OVERRIDE
The default VCSVERSION from make-version.pl is based on the "git
archive" information (for tarballs) or uses "git describe" to discover
the version. Distributors such as Debian who directly build from a Git
repository might want to include a deterministic value, therefore add a
new option to achieve this.

Change-Id: I5a39670519f4d846020d917b124fc4d548d00137
Reviewed-on: https://code.wireshark.org/review/34100
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-08-12 20:26:32 +00:00
Robert Cragie b22030f712 Thread: Fix URI token passing to CoAP dissector
Incorrect token index being passed to Thread CoAP dissector.

Change-Id: Ic64060134c655a5e7cfdee0cd0b78b98b60f090e
Reviewed-on: https://code.wireshark.org/review/34154
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-08-12 20:23:42 +00:00
Martin Boye Petersen 1239e1fd34 ZigBee: Update ZigBee Manufacturer Codes
Updated ZigBee Manufacturer Codes as per Zigbee-053874r55.

Change-Id: I9e6f112b9cd5e4fc4dda03c3fe6734e1b5af8b57
Reviewed-on: https://code.wireshark.org/review/34246
Reviewed-by: Kenneth Soerensen <knnthsrnsn@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-08-12 19:48:03 +00:00
Gerald Combs 7af296d9fd doc+docbook: Add .guimenuitem.
Change-Id: I63f097576d3dd85425e6e44fbc1c46fd4305f3e7
Reviewed-on: https://code.wireshark.org/review/34254
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-08-12 18:43:40 +00:00
Gerald Combs 29febdc4f3 doc+docbook: Add .guibutton and .keycap rules.
Change-Id: I3499b97600ea3ad8e036a40f219e2a80693916ed
Reviewed-on: https://code.wireshark.org/review/34253
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-08-12 17:59:50 +00:00
Roland Knall d6a34592e1 Qt: Fix drop event for main window
Make sure, that the main window only recognizes drop events containing
text/uri-list mime-types, as those are the only ones containing file
drops. All other mime-types (e.g. display filter drops) will be ignored

Bug: 15986
Change-Id: Id4338f75c563d2d177d858d2de470db1ab3499f7
Reviewed-on: https://code.wireshark.org/review/34248
Petri-Dish: Roland Knall <rknall@gmail.com>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-08-12 13:57:29 +00:00
Peter Wu 40b19131c2 EAP: force a new conversation at EAP-Request/Identify
TLS requires unique conversations for every TLS session. With EAP-TTLS
over EAPOL, only a single conversation was created, breaking TLS.
Force a new conversation at the start of the EAP protocol to fix this.

This alone was not sufficient, the right conversation was not always
matched. This happened due to wildcard matching in EAP (NO_PORT_B) while
TLS does not use NO_PORT_B. TLS ended up setting a dummy port via
"conversation_set_port2" because PT_NONE is considered connection-less.
Even after treating PT_NONE as *not* connection-less in conversation.c,
the EAP Success message was not correctly matched against a conversation
and resulted into creation of another conversation.

To avoid all of that mess, just use the same conversation matching logic
as TLS, without NO_PORT_B. The original conversation tracking logic in
EAP was presumably added to avoid multiple conversations for EAP over
RADIUS (UDP), but that requirement does not seem necessary.

Verified with `tshark -2r eap-tls-bug-cert.pcap -otls.log_file:out.txt`,
two different `conversation =` values exist for the two sessions.

Bug: 15983
Change-Id: I3376624ee3ea627eaa6233d39ae3c1d19bdc98bb
Reviewed-on: https://code.wireshark.org/review/34247
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-08-12 04:10:17 +00:00
Gerald Combs 8a0e22b4b9 doc+docbook: Update our CSS file.
Update ws.css by rebasing
https://github.com/geraldcombs/asciidoctor-stylesheet-factory against
the latest master at
https://github.com/asciidoctor/asciidoctor-stylesheet-factory and adding
a ".guimenu" rule.

Change-Id: I79532c18ffd036ba5a24b84a7eaa448231cbf7f0
Reviewed-on: https://code.wireshark.org/review/34225
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-08-12 04:07:39 +00:00
Peter Wu 84ff57971f QUIC: add references to the QUIC wiki
A frequent question is what Wireshark version to use for a particular
QUIC draft version. These are documented on the QUIC Tools wiki, add a
reference to help users looking at the source code.

Change-Id: Ieb008d1fa5bfb91e11cb64613336b8bf3e98a5e8
Reviewed-on: https://code.wireshark.org/review/34239
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>
2019-08-12 04:05:59 +00:00
Peter Wu d4c14dd11c TLS: update outdated file-level comment
Some of these links are broken, but most of the information is severely
outdated. Replace it my a more up-to-date list of references.

Change-Id: I2a7a6041317c281f56ee86fe720a63332d493943
Reviewed-on: https://code.wireshark.org/review/34238
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>
2019-08-11 20:25:00 +00:00
Jaap Keuter 486efaedb1 make interface update libnl1 compatible
With libnl1 its not possible to get from the message the same notice of
the interface being added or removed as with libnl3. This code has to be
reserved for libnl3 only. Make compilation of this code conditionsal.

Bug: 15981
Change-Id: I2588fd2ba6508a8544bdd4eac46436b4f78ee524
Reviewed-on: https://code.wireshark.org/review/34242
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-08-11 20:20:34 +00:00
Peter Wu 7bd3edccf1 EAP: show reassembled TLS fragments only on the final frame
This avoids multiple dissections on the second pass which could
potentially break decryption and TLS handshake reassembly.

Bug: 15982
Change-Id: I9f83fbd51c732140b831f7d5f29f46e9694e405c
Reviewed-on: https://code.wireshark.org/review/34237
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-08-11 20:19:57 +00:00
Richard Sharpe 4ce6f6040d radiotap: Comment that there are no more header bit numbers left.
The new approach for radiotap headers is TLVs. Let people know there
are no more bits available for headers and point them to the correct
place: www.radiotap.org.

Change-Id: I8393c6ea32edd3cb09bcbf8c5e624c222b422c06
Reviewed-on: https://code.wireshark.org/review/34233
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
Petri-Dish: Richard Sharpe <realrichardsharpe@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-08-11 17:22:31 +00:00
Kenneth Soerensen c91856a48f IEEE 802.15.4: Add conversation table and conversation filter
Change-Id: I3ec5be36bff3768bce66975deb15fec2dcc5cb26
Reviewed-on: https://code.wireshark.org/review/34155
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-08-11 15:12:06 +00:00
Kenneth Soerensen 5d638e83eb ZigBee: Add conversation table and conversation filter
Change-Id: Idb650334e56e2cd268ff29138ed71386edfc8851
Reviewed-on: https://code.wireshark.org/review/34156
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-08-11 15:11:24 +00:00
Jason Cohen cae2b50b36 f5ethtrailer: generate keylog entries from the debug data
The f5ethtrailer TLS diagnostic information is able to provide
TLS state information from the clientssl and serverssl profiles.
Render the correct info to properly formatted keylog entries
that could in turn be used to decrypt the TLS session in Wireshark.

Preference added to f5ethtrailer to allow disabling the
generation of keylog records

Bug: 15948
Change-Id: I69c02f45827f71d4dd26b733cdd87f99e71bc00d
Reviewed-on: https://code.wireshark.org/review/34141
Reviewed-by: Jason Cohen <kryojenik2@gmail.com>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-08-11 14:57:57 +00:00
Gerald Combs 89f041908a [Automatic update for 2019-08-11]
Update manuf, services enterprise numbers, translations, and other items.

Change-Id: I76c1666b7e0a8df14aef00011b968fedacd6ac9a
Reviewed-on: https://code.wireshark.org/review/34228
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-08-11 08:19:21 +00:00
Peter Wu e1e41c0db5 Qt: fix wrong default packet list order in Qt 5.13
Workaround a Qt 5.13 bug that made QTreeView::sortByColumn(-1)
ineffective and results in sorting rows by the first column in reverse
order.

This must be called before setModel since that already triggers sorting.

Bug: 15979
Change-Id: I86c26959d3cb9dd4118193dcda4b1308cc911290
Reviewed-on: https://code.wireshark.org/review/34226
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-08-10 18:50:42 +00:00
Roland Knall 5750f24787 Qt: Correctly present numerous text on extcap
Change-Id: I21f66e3496d21fc721b3916fe8e94fd0b9d07f51
Reviewed-on: https://code.wireshark.org/review/34227
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-08-10 18:49:05 +00:00
Roland Knall 5e1bcb8501 Qt: Fix numerous translation for extcap
Change-Id: Id7c2b5e2f889775f19e5af1a4906dc82c42e091e
Reviewed-on: https://code.wireshark.org/review/34221
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-08-09 20:28:20 +00:00
Roland Knall 5199a0efd9 Qt: Fix coverity issues for profile model
Change-Id: I59c4f6e6d22ae77934d3c841cd6905c76da76781
Reviewed-on: https://code.wireshark.org/review/34219
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-08-09 12:56:59 +00:00
Roland Knall 372fc9ff6c Qt: Fix Preference dialog translation
The title names of each section are not presented correctly

Bug: 15977
Change-Id: I68ab0fb6fc7131f9d2af67fa38c509ed6808c7d3
Reviewed-on: https://code.wireshark.org/review/34218
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-08-09 11:03:07 +00:00
Guy Harris a41c7aa223 Update the set of buildbots to the current reality.
(That's the master and 3.0.x buildbots; the 2.6 Mac buildbot is running
an older version of Apple's UNIX-for-Macs - sufficiently older that
Apple's name for it was different back then.)

While we're at it, note that it's been updated past VS 2013.

Change-Id: I063daa7c38ff58aed0c77950d4265b5544783f2c
Reviewed-on: https://code.wireshark.org/review/34217
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-08-09 02:43:43 +00:00
Gerald Combs 9a1d7caac3 tools: Add oxipng to compress-pngs.sh.
Change-Id: I2dc6871fe2288d86bdfda1161afcc25200ded823
Reviewed-on: https://code.wireshark.org/review/34208
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-08-08 16:36:31 +00:00
Roland Knall 0dfb50ef82 Qt: Restructure duplicateEntry to rectify copying issues
Various issues rose during restructuring which are now being
fixed with the help of unittests. Mainly also renaming new
profiles and createing copies from them, as well as deleting
profiles and keeping copies names

Change-Id: I39e1772c7be586fe07ea0613fa9e23d40d864012
Reviewed-on: https://code.wireshark.org/review/34214
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-08-08 14:23:22 +00:00
Stig Bjørlykke dc4084fb82 Qt: Respect recent values on startup
Do not call showHideMainWidgets() in initShowHideMainWidgets() because
this will override loaded recent values on startup.

Setting checked and visible based on recent values is done in layoutPanes()
and updateRecentActions().

This affects the following View settings: Main Toolbar, Filter Toolbar,
Wireless Toolbar, Status Bar, Packet List, Packet Details and Packet Bytes.

Also always hide empty_pane because it's never useful to show this.

Bug: 15976
Change-Id: Id63b8a5fdd263793a283137134f424d7cb4caf82
Reviewed-on: https://code.wireshark.org/review/34209
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-08-08 11:13:14 +00:00
Roland Knall 52e111e4d9 Qt: Remove unnecessary label from default copy
Restructures dataPath for PROF_STAT_COPY to ensure correct labeling of
the hintLabel

Bug: 15974
Change-Id: I69f61f4f8db74ca52c3b72d32af2b2bb8b19957d
Reviewed-on: https://code.wireshark.org/review/34202
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-08-08 11:12:25 +00:00
Roland Knall 293b239406 Qt: Simplify guard checks
Change-Id: I726dfba29ad75719a128e39190f6deeb9e77ceeb
Reviewed-on: https://code.wireshark.org/review/34204
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-08-08 11:12:14 +00:00
Dario Lombardo b69f032d03 tools: add libnl to rpm-setup.
Add libnl-devel on RHEL.

Change-Id: I82a147ee6c67292d8e2571f91545ae5af5a5e8ff
Reviewed-on: https://code.wireshark.org/review/34191
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
2019-08-08 08:59:52 +00:00
Anders Broman e0857e190c NAS-5GS: Dissect the Route selection descriptor.
Bug: 15914
Change-Id: If67e6d868df0493e32ef80b489c9a5e1de87fab1
Reviewed-on: https://code.wireshark.org/review/34205
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-08-08 07:48:33 +00:00
Alexis La Goutte 2f5d8a1780 lsd: Add support of IPv6
Bug: 15971
Change-Id: Ie6dea766f6fd38507a2e38d3b16525792993a8a7
Reviewed-on: https://code.wireshark.org/review/34206
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-08-08 03:45:37 +00:00
Anders Broman 6b09c1d03b NAS-5GS: Enhance Appendix D.5 dissection.
Bug: 15914
Change-Id: Ib69f5126b77b63dabd2d4317521e660f6d6c0b7f
Reviewed-on: https://code.wireshark.org/review/34203
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-08-07 11:40:27 +00:00
Alexis La Goutte 7cd55aafe2 f5ethtrailer: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: I6d891123215c14202e1d764a32fa62de157da142
Reviewed-on: https://code.wireshark.org/review/34200
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-08-07 04:06:16 +00:00
Alexis La Goutte 64ff87712f s7comm: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: Iddd57361c9e25e13a28fd86531f6195214a52848
Reviewed-on: https://code.wireshark.org/review/34199
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Thomas Wiens <th.wiens@gmx.de>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-08-07 04:05:49 +00:00
Bruno Verstuyft aa3598764e DOCSIS: correct behaviour when working with truncated messages
Change-Id: If2c1bb73a69bdc552389cd213da8aef47f6dc658
Reviewed-on: https://code.wireshark.org/review/34198
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-08-06 12:31:35 +00:00
Stig Bjørlykke 8097f6a038 Qt: ProfileModel code cleanup
Remove code which cannot be reached.
Remove unused QString variables.
Fix indentation.

Change-Id: If4616fb5f800f5a87bff6d7571b366a583af62fc
Reviewed-on: https://code.wireshark.org/review/34195
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-08-06 10:31:07 +00:00
Uli Heilmeier fe8744026c ISO14443: Update some commands
Updates short frames commands and added read/write for Type 2 tags.

Change-Id: Ief7069cba8f6543290a246eda439b39c20c3079a
Reviewed-on: https://code.wireshark.org/review/34190
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-08-06 10:25:31 +00:00
Anders Broman f86c6bd957 GTPv2: hf for spare bits must have a bitmask.
Change-Id: Idc0c9e3eea9fc888c7fd7f03d3382e9bc83a9adb
Reviewed-on: https://code.wireshark.org/review/34197
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-08-06 10:24:23 +00:00
Roland Knall 24e43bf542 Qt: Fix profile copy with wrong profile name
Bug: 15967
Change-Id: Ifda13a517fdcfd5a34fd298f08d0714e36301a91
Reviewed-on: https://code.wireshark.org/review/34187
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-08-05 15:11:44 +00:00
Roland Knall 353a2dabb0 Qt: Better translation texts
Improve text for translation in the profile model

Change-Id: If1cb7f4e83c9a45729391ce8a69029d6bc95d87b
Reviewed-on: https://code.wireshark.org/review/34188
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-08-05 15:01:05 +00:00
Roland Knall 5c678288bc Qt: Check filename before import
Before the unzipped files are being copied from the temp directory,
they are checked against the stored list of profile names, to ensure,
that only allowed files are being imported.

Also ensures, that no empty directory exists for the skipped one

Bug: 15969
Change-Id: I6ae8c9fb5f63d089d42fc0ef18dbe84baec515a2
Reviewed-on: https://code.wireshark.org/review/34184
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-08-05 13:47:11 +00:00