Commit Graph

75587 Commits

Author SHA1 Message Date
Roland Knall 8e80415aaf Qt: Fix 5.13 deprecated warnings
With Qt 5.13 some methods are deprecated. Fixing those warnings

Change-Id: Ia290f06f2b681de1d5b437624de77d8a5c2f5266
Reviewed-on: https://code.wireshark.org/review/33761
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-06-28 17:16:09 +00:00
Anders Broman 41d0cf7320 S1AP: Catch out-of-bounds error when dissecting UERadioCapability.
Change-Id: I14fbf46583a5e17bcd3e7b05d1faee43983f47a5
Reviewed-on: https://code.wireshark.org/review/33763
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-06-28 12:50:07 +00:00
Stig Bjørlykke 44c5e62635 Qt: Fix default position when "Apply as Column"
The default position for a column when "Apply as Column" is before
the Info column if this is last, else add last.

This bug was introduced in g5ae259c4.

Change-Id: I68adaec5092e0ed1c65e771f171c42000fdc83fc
Reviewed-on: https://code.wireshark.org/review/33759
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2019-06-28 09:18:15 +00:00
ismaelrti fe5015f603 RTPS: Decompress ZLIB compressed serialized Type Object
Type Object parameter can be sent compressed using zlib to
save bandwidth. This data can be decompressed and
dissected as an usual Type Object.

Change-Id: Id226b01daff225bb8e21aea765dcc5f7a0165bb7
Reviewed-on: https://code.wireshark.org/review/33738
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-06-28 04:07:05 +00:00
Gerald Combs c4a0ca271f Qt: Fixup our template icon generation.
Use generatedIconPixmap() to generate our template icon variants.

Change-Id: Ie952f0d02309420c6e8e347e031f37c5f43cdb9e
Reviewed-on: https://code.wireshark.org/review/33758
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-06-27 19:32:15 +00:00
Roland Knall 154b4f680d Qt: Drop column content as text
If the column context does not yield a field description (as in the
case of the protocol or info column) drop as a text instead

Change-Id: Iaa0babf55df8eea65d879aadcf82d6d54f3c8208
Reviewed-on: https://code.wireshark.org/review/33757
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-06-27 15:43:50 +00:00
Bruno Verstuyft 8c34629c06 DOCSIS: CM-CTRL and DPD: fixed wrong tlv indent
Change-Id: I786c4db5e61f733e85312f4e4d724e1fcd92c6df
Reviewed-on: https://code.wireshark.org/review/33753
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-06-27 13:02:01 +00:00
Dario Lombardo 57949e043a imap: remove useless nesting.
Change-Id: I9961d8cdc005a4fc14e716e8bca7b08cd6fbb85c
Reviewed-on: https://code.wireshark.org/review/33754
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-06-27 13:00:50 +00:00
John Tapparo 28cb63cc00 f5ethtrailer - Dissect BIG-IP v15 low noise trailer
Bug: 15876

Add code to understand the version 3 "low noise" trailer.

Dissect fields added in the version 3 trailer.

Re-organize the "ingress" field from trailer version <= 2 to a flags field for
version >= 3.  Mark the f5ethtrailer.ingress field as a gerenated field in
version 3 and higher so that users can still use it for filtering, but move the
"real" ingress to be part of the flags.

Change-Id: I946e91e6b482ee5bd4e6d5a9c2523613a607c609
Reviewed-on: https://code.wireshark.org/review/33743
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-06-27 04:13:18 +00:00
Gerald Combs 8094ad896b macOS: Fix our token wait.
Change-Id: I3a678267b38a598f43322a1440dd87fa42acf901
Reviewed-on: https://code.wireshark.org/review/33750
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-06-26 23:30:17 +00:00
Gerald Combs d9e230d79a macOS: Add a notarization upload wait check.
altool appears to only support one notarization upload at a time. Add a
loop that waits for an empty upload token directory.

Convert the status check to a timeout loop.

Change-Id: I30fd15b6f098acfe5d9bdcd72237c56cc066dda4
Reviewed-on: https://code.wireshark.org/review/33749
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-06-26 23:15:04 +00:00
Guy Harris dc7b757c91 With -T, change the packet's encapsulation type as well.
Bug: 15873
Change-Id: I8d36b0fba42481b5e27e9ad9643d3603486c3645
Reviewed-on: https://code.wireshark.org/review/33745
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-06-26 20:38:45 +00:00
Gerald Combs a7052d4ea9 Qt: Make sure we create template icons for all modes.
When creating a StockIcon based on a template, make sure we add pixmaps
for each icon mode.

Change-Id: Ia894229132e18a22a59797c8fb4590bc09508ba0
Reviewed-on: https://code.wireshark.org/review/33740
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-06-26 16:23:38 +00:00
Gerald Combs e5230a5d10 macOS: Make sure we bundle our plugin dependencies.
Add our plugins to the bundle binary list.

Copy libraries using `install` in order to ensure that we can doctor
them up.

Bug: 15867
Change-Id: I864455f6ef7312938e89493015fd55874ab0a0c3
Reviewed-on: https://code.wireshark.org/review/33744
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-06-26 16:13:57 +00:00
Oliver Smith ca62d2c009 GSUP: fix IMEI decoding missing last byte
Do not cut off the last byte when passing the IMEI IE to the
bssap.imei dissector.

Change-Id: Id5cda256f5a641afcf72c677313b8d8681366ee8
Reviewed-on: https://code.wireshark.org/review/33742
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-06-26 13:49:39 +00:00
Anders Broman 6038b56330 cdma2k: Static nark some value strings.
Change-Id: I9af4f62b021048230e956b64999e8585b4d98545
Reviewed-on: https://code.wireshark.org/review/33741
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-06-26 07:57:18 +00:00
Dario Lombardo 1af6e1f860 tap: add credentials tap.
This new tap collects credentials (username and paassword)
from the dissectors.

So far, few dissectors have been instrumented:
- http (basic auth)
- http (header auth)
- ftp
Others can be instrumented as well using the same technique.

Tshark has a new option (-z credentials) and Wireshark a new
"tools" menu: the documentation has been updated accordingly.

Change-Id: I2d0d96598c85bb3ea4fb5ec090dd8dc28b481fc9
Reviewed-on: https://code.wireshark.org/review/33453
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Dario Lombardo <lomato@gmail.com>
2019-06-26 07:09:54 +00:00
XuNiu 94d0e081c6 mmdbresolve: check the return value of malloc
The return value of malloc() is used without validation

Bug: 15851
Change-Id: I2635937d3107a75076e9bbee536797d97792683d
Reviewed-on: https://code.wireshark.org/review/33705
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-06-26 06:44:07 +00:00
Gerald Combs 94f497f929 Qt: Use a lighter link color in dark mode.
Add ColorUtils::themeLinkBrush, which returns a readable link color in
dark mode. Use it in place of existing ...palette().link() calls.

Add ColorUtils::themeLinkStyle, which produces an HTML <style/> block
that lightens the link foreground color in dark mode. Use this to style
links in the about box and in elided labels.

Catch ApplicationPaletteChange events where needed.

Add dark theme / dark mode notes to the WSDG.

Ping-Bug: 15511
Change-Id: I92925bd997f97b155491f55a8c818f03549bc7f4
Reviewed-on: https://code.wireshark.org/review/33704
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-06-25 20:31:41 +00:00
akuchekar cbcb50e8af Decoding of SMS contents when SMS over SMPP
Bug: 15823
Change-Id: If77c03aaa806c870bafdda111e2ccdd1ee15b505
Reviewed-on: https://code.wireshark.org/review/33510
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2019-06-25 15:38:37 +00:00
Gerald Combs 867a13d9e6 Fix a couple of shellcheck issues.
Change-Id: Iaebbe5227ffcc581e794a3be1f8b9020fd600f68
Reviewed-on: https://code.wireshark.org/review/33739
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-06-25 15:13:51 +00:00
Anaël Fiaux 641d4bbea4 TLS: increase size of line buffer for reading keylog file
Previous buffer size was truncating 2048 and 4096 bits DH pre-master
secrets (PMS_CLIENT_RANDOM). New size allows to read DH pre-master
secrets up to 4096 bits.

Change-Id: Ib1bb8946f9c81b4b8e85f82ca7401b3cc9901a1f
Reviewed-on: https://code.wireshark.org/review/33722
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-06-25 11:38:37 +00:00
ismaelrti 3f12d58a62 RTPS: Micro release and revision versions swapped
In Connext DDS Micro versions lower than 3.0.0 revison version is
placed before release version in the packet. From 3.0.0 release version
is followed by revision version.

Bug: 15868
Change-Id: I6c0db7b687e1d452737b4545cf5f0605b527f603
Reviewed-on: https://code.wireshark.org/review/33692
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-06-25 11:37:51 +00:00
Dario Lombardo deb81bd99f asn1: replace DISSECTOR_ASSERT_NOT_REACHED with DISSECTOR_ASSERT.
Change-Id: I5f7b870ada61c10397ecd6c1becf0087211252f7
Reviewed-on: https://code.wireshark.org/review/33734
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-06-25 11:37:23 +00:00
akuchekar dca6d36aab New Diameter AVPs
Change-Id: Iac06fcc8b8ebde4c0310a8d1b52952277976c2d8
Reviewed-on: https://code.wireshark.org/review/33733
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-06-25 11:35:53 +00:00
Dario Lombardo 45a3d0787f asn1: don't increment a buffer beyond its end.
Bug: 15870
Change-Id: I04cbb822f0e77c8e0ac8513e3a5c13116920ca6e
Reviewed-on: https://code.wireshark.org/review/33731
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-06-25 11:16:06 +00:00
Martin Mathieson 68122d26b9 DCT2000: skip/show carrierId for LTE/NR RRC headers.
Change-Id: I95023cb395a913408d47e559ff5aa2b6843749f5
Reviewed-on: https://code.wireshark.org/review/33729
Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2019-06-25 03:55:32 +00:00
Gerald Combs fa65d4dad9 Qt: Use QEvent::ApplicationPaletteChange
Use QEvent::ApplicationPaletteChange instead of QEvent::PaletteChange.

Change-Id: I98c5db03fe01dc3a716b31c05179330e695835d6
Reviewed-on: https://code.wireshark.org/review/33730
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-06-24 16:59:23 +00:00
Matthieu Coudron 58cb604f2c netlink-sock_diag: delimit more fields
Change-Id: I3627391c6bfe994deb7845cb6215c29b7405c122
Reviewed-on: https://code.wireshark.org/review/33726
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-06-24 13:01:11 +00:00
Anders Broman 8fc02d08e1 NAS 5GS: Dissect UE policy section management list.
Change-Id: Idbbb37eb70c454001b85be0ce0b2680976c1f89d
Reviewed-on: https://code.wireshark.org/review/33728
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-06-24 12:40:58 +00:00
Dario Lombardo 3ae9831cb1 ldap: remove dead increment (found by clang).
Small indentation fixes while here.

Change-Id: Id1d0a0e9556e5910f5cddfc442549eb2f5fc8a3c
Reviewed-on: https://code.wireshark.org/review/33721
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-06-24 12:14:58 +00:00
Bruno Verstuyft 266e4bafb6 DOCSIS: OPT: fixed TLV indent
Change-Id: I3a748e5129803c3280f73213d86c518e8daa0aa2
Reviewed-on: https://code.wireshark.org/review/33725
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-06-24 11:48:29 +00:00
Ben Huddleston 592322ac1c couchbase: Add prepare seqno to DCP_COMMIT
Given that we send the prepare seqno for DCP_ABORT and we have
ensured it is sent as non-zero, we may as well send it in the DCP_COMMIT
to allow replica nodes to do some additional error checking.

Change-Id: I67fb7d3e98a6518ec80c1a713e8d1d5637425a75
Reviewed-on: https://code.wireshark.org/review/33724
Reviewed-by: Jim Walker <jim@couchbase.com>
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>
2019-06-24 11:48:17 +00:00
Anders Broman ddd9c2a416 nas5gs-updp: Add message decoding.
Change-Id: I4362a149964fd9c99a708ae3a5d1722f594b849d
Reviewed-on: https://code.wireshark.org/review/33723
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-06-24 10:22:26 +00:00
Peter Wu 5d515bd0f3 make-version: remove defunct --git-description option
This option always writes "1" when supplied because of a missing "=s" in
the argument specification. Aside from that, the regex would produce the
wrong output for tagged releases. Finally, this command line approach
would never have worked since version.h is always overwritten by CMake.

Change-Id: I83a4bc3c48a41d566bf70991d2ab181b85071488
Reviewed-on: https://code.wireshark.org/review/33711
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-06-24 08:50:30 +00:00
XuNiu e66ded5efe packet: make sure handle and dissector table exist
Some patches have done one same thing, that is checking the
existence of both handle and dissector before further operating.
Based on this, one missed spot was found.

Bug: 15852
Change-Id: I11ef51aa1aa3fab305203df931882a19cd6670f8
Reviewed-on: https://code.wireshark.org/review/33706
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>
2019-06-24 08:49:36 +00:00
Dario Lombardo df34133584 kerberos: remove dead assignment (found by clang).
Change-Id: Ic171f2ff2c53621f079dc9efa0cd8a19d91d8af9
Reviewed-on: https://code.wireshark.org/review/33720
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-06-24 00:24:52 +00:00
Dario Lombardo f01b2f36d4 ldap: remove dead assignment (found by clang).
Change-Id: Id61b68419b71d07ac66c4436eafd430602917eaa
Reviewed-on: https://code.wireshark.org/review/33719
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-06-24 00:23:36 +00:00
Balint Reczey 2639691687 debian: Use proper CC flags when test-compiling with development headers
Change-Id: Icdc239f490ea648cfbddb6c23edcc0a4b63bbb22
Reviewed-on: https://code.wireshark.org/review/33713
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-06-23 18:46:37 +00:00
Peter Wu ba3f25b3ee debian/rules: remove unused variables
Neither VERSION nor docdir are used in CMake, remove it. The wheezy
workaround was needed to fix build failures with PIE, but since Wheezy
is EOL, it can be removed.

'distrelease' can also be removed, but let's keep it in case
distro-specific workarounds are needed in the future.

Change-Id: I6e8a296112b218ebce79f697bbb1def7c0efdad7
Reviewed-on: https://code.wireshark.org/review/33712
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-06-23 18:46:22 +00:00
Peter Wu 7dfcb4425a asn2wrs: use system lex and yacc from ply if available
Tested with python-ply 3.11 and Python 3.7.3 on Arch Linux using the
'ninja asn1' command.

Bundling lex.py and yacc.py is one distribution method suggested by PLY
upstream (https://www.dabeaz.com/ply/README.txt), but since it is also
available in many Linux distributions, we could potentially remove it in
the future. Windows developers can install it through pip if needed.

Change-Id: I9c847072916ee33da49994820b435ec1d7110303
Reviewed-on: https://code.wireshark.org/review/33708
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-06-23 17:31:15 +00:00
Gerald Combs 99a87a68ca [Automatic update for 2019-06-23]
Update manuf, services enterprise numbers, translations, and other items.

Change-Id: I6e991dce44d14d00e24b8dde4883e0e1e2d4aef8
Reviewed-on: https://code.wireshark.org/review/33714
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-06-23 08:20:28 +00:00
Pau Espin ec10752adb BSSMAP: Introduce Osmocom Osmux Support and CID extension IE
References:
https://git.osmocom.org/libosmocore/commit/?id=18506c850c3bbcbfa814e07dc02a17fdb5f7bb9a
https://osmocom.org/issues/2551

IE GSM0808_IE_OSMO_OSMUX_SUPPORT (T, 1 byte) is sent in AoIP appended to
BSSMAP RESET in order to announce the peer that its MGW supports handling
Osmux streams upon call set up.

IE GSM0808_IE_OSMO_OSMUX_CID (TV, T 1 byte & V 1 byte) is sent in AoIP
during call set up:
* MSC->BSC Assignment Request
* BSC->MSC Assignemnt Complete

The 1 byte value contains the local Osmux CID, aka the recvCID aka CID where the
peer sending the Assign Req/Compl will look for Osmux frames on that
call. Hence, the peer receiving this CID value must use it to send Osmux
frames for that call.

As a result, a given call leg BSC<->MSC can have one different Osmux CID
per direction. For example:
* MS => MGW_BSC ==CID 0==> MGW_MSC
* MS <= MGW_BSC <=CID 1=== MGW_MSC

This allows for setups with 256 call legs per BSC on scenarios where NAT
is not a problem, where MSC can have a pool of 256 CID per MGW_BSC (or
remote peer).

Change-Id: Idc7a59a112c1eade2a056bc93230d580f58dda80
Reviewed-on: https://code.wireshark.org/review/33668
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-06-23 06:15:07 +00:00
Gerald Combs 737b7eb6c6 Qt: Handle ApplicationPaletteChange events in the welcome page.
Update our various welcome page style sheets when we receive an
ApplicationPaletteChange event.

It looks like ApplicationPaletteChange is the proper way to detect a
system-wide theme change, since we can infinitely recurse if we hold
things wrong inside a regular PaletteChange event (I'm guessing setting
CSS background and foreground colors were the culprits in this case).
Switch from PaletteChange to ApplicationPaletteChange everywhere.

Ping-Bug: 15511
Change-Id: I6e7aa627d9ca1d1d3872ab31620ea5c579061191
Reviewed-on: https://code.wireshark.org/review/33703
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-06-23 06:14:16 +00:00
Gerald Combs a9ed94356d Qt: Split the filter dropdown arrow icon into dark and light versions.
The capture and display filter widgets set their dropdown arrow icons
using CSS, which means we can't use a template icon without a
significant amount of hackery. This is the only instance where we set an
icon using CSS, so split it into dark and light versions and use them as
appropriate.

Ping-Bug: 15511
Change-Id: I699ddc327d8eb109129e60bcb5036b14e6e34414
Reviewed-on: https://code.wireshark.org/review/33696
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-06-23 06:13:32 +00:00
Peter Wu 70d61952df QUIC: add 0-RTT decryption support (draft -20)
Since the key log format nor wire format provides any information on the
0-RTT cipher, perform trial decryption. Tested with quant-dsb.pcapng

Bug: 13881
Change-Id: I1c082bccf12d1ed6d12def6e8cc1b3d9bce1d93a
Reviewed-on: https://code.wireshark.org/review/33695
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-06-23 06:13:06 +00:00
Gerald Combs 7b557088e9 Qt: Convert the rest of the preference dialog list buttons.
We no longer use the old icon names, so remove their aliases from
stock_icons.qrc.

Ping-Bug: 15511
Change-Id: If3c5e2b95825207a401e12607fcb94cdcc8a51c8
Reviewed-on: https://code.wireshark.org/review/33689
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-06-21 23:51:49 +00:00
Balint Reczey d0b961f982 debian/control: Update Vcs-{Browser|Git} to point to Salsa
Fixes Lintian warnings:

    I: wireshark source: vcs-field-uses-insecure-uri vcs-browser http://svn.debian.org/wsvn/collab-maint/ext-maint/wireshark/trunk/
    I: wireshark source: vcs-field-not-canonical http://svn.debian.org/wsvn/collab-maint/ext-maint/wireshark/trunk/ https://anonscm.debian.org/viewvc/collab-maint/ext-maint/wireshark/trunk/
    W: wireshark source: vcs-deprecated-in-debian-infrastructure vcs-browser http://svn.debian.org/wsvn/collab-maint/ext-maint/wireshark/trunk/
    I: wireshark source: vcs-field-uses-insecure-uri vcs-svn svn://svn.debian.org/svn/collab-maint/ext-maint/wireshark/trunk
    I: wireshark source: vcs-field-not-canonical svn://svn.debian.org/svn/collab-maint/ext-maint/wireshark/trunk svn://anonscm.debian.org/collab-maint/ext-maint/wireshark/trunk
    W: wireshark source: vcs-deprecated-in-debian-infrastructure vcs-svn svn://svn.debian.org/svn/collab-maint/ext-maint/wireshark/trunk

Change-Id: I81456ec8569ccf2e554efb944b1c84e306c66c41
Reviewed-on: https://code.wireshark.org/review/33678
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-06-21 16:59:37 +00:00
Peter Wu bc7797792c debian/control: remove debhelper and cdbs from wireshark-dev
Fixes lintian warnings:

    W: wireshark-dev: binary-package-depends-on-toolchain-package depends: debhelper
    W: wireshark-dev: binary-package-depends-on-toolchain-package depends: cdbs

wireshark-dev does not depend on either cdbs or debhelper, remove it. A
versioned debhelper dependency is present as Build-Depends however.

Change-Id: Ic3393e7ecbaf6d4bdf032315e5da586823ae1e05
Reviewed-on: https://code.wireshark.org/review/33676
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-06-21 16:59:27 +00:00
Peter Wu e56ec71c6a debian/control: fix minor Lintian warnings related to Priority, etc.
Fixes the following Lintian 2.15.0 (Debian sid) warnings with WS 3.0.2:

    W: wireshark-common: extended-description-line-too-long
    W: wireshark-common: command-with-path-in-maintainer-script postrm:11 /usr/sbin/delgroup
    W: wireshark-dbg: priority-extra-is-replaced-by-priority-optional
    W: wireshark-doc: priority-extra-is-replaced-by-priority-optional

Replace absolute path test in postrm and fix indentation.

Remove the Priority line in binary packages since they default to the
Source priority which is set to "optional". See
https://www.debian.org/doc/debian-policy/ch-archive.html#s-priorities

Change-Id: Ib07f6414348cbbfb1e7177643d9b9acfd9f1a477
Reviewed-on: https://code.wireshark.org/review/33675
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-06-21 16:59:14 +00:00