Commit Graph

77263 Commits

Author SHA1 Message Date
Gerald Combs 6dad599a8a WiMax DLMAP: Fix a large loop.
Make sure we advance our offset.

Bug: 16383
Ping-Bug: 16368
Change-Id: I4949cb0988601dbe545d0bc22de4d654b4e61204
Reviewed-on: https://code.wireshark.org/review/36085
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-13 12:17:09 +00:00
Martin Mathieson 04648c2174 UDPCP: fix reassembly filter name, and other trivial improvements
Change-Id: Ia4106e4a0ab2a425a1cf3ff09e77cba7be270cb0
Reviewed-on: https://code.wireshark.org/review/36088
Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2020-02-13 10:45:44 +00:00
Peter Wu eca4bc5682 QUIC: add support for Facebook QUIC variant mvfst
Fix decryption of the Initial Packet for Facebook mvfst, based on IETF
QUIC draft -22.

Bug: 16378
Change-Id: I023738f792a68fe020d780e0caee7c6046fe5ca8
Reviewed-on: https://code.wireshark.org/review/36089
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-02-13 06:50:08 +00:00
Andre Luyer 401098d5c3 tls: GREASE changed from draft to RFC 8701
GREASE (Generate Random Extensions And Sustain Extensibility) is no
longer a draft. Changed references from 'draft' to RFC 8701.
https://tools.ietf.org/html/rfc8701

Change-Id: I9c56098d0c18f1bee1a45ca8ef609b07ea3c0487
Reviewed-on: https://code.wireshark.org/review/36087
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2020-02-13 00:58:09 +00:00
Pascal Quantin 558dac8830 F1AP: dissect more RRC containers
Call NR RRC DL CCCH dieesctor for SRB0 PDUs, and NR PDCP dissector for
SRB1/2/3 PDUs.

Bug: 16384
Change-Id: I2ee0266e628e83e5848d6483c534dc1224318f3b
Reviewed-on: https://code.wireshark.org/review/36084
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-02-12 20:41:47 +00:00
Gerald Combs acaba5ee7e CMake: Fix WinSparkle discovery.
g46b3753d53 changed "ws_find_package(WINSPARKLE ..." to
"ws_find_package(WinSparkle ..." in CMakeLists.txt in order to
fix an issue with case-sensitive folders.

This exposed a different issue in FindWinSparkle.cmake, where we
were passing "WINSPARKLE" to find_package_handle_standard_args. When
successful this would set WINSPARKLE_FOUND, which would in turn *not*
match WinSparkle_FOUND in ws_find_package, which means that we wouldn't
enable automatic updates.

Pass "WinSparkle" to find_package_handle_standard_args instead. Using
a mixed-case package name results in setting both PackageName_FOUND and
PACKAGENAME_FOUND, which fixes our various checks.

Bug: 16381
Change-Id: I46ef98194dc060ad37d9a30bff4d9e905713759e
Reviewed-on: https://code.wireshark.org/review/36079
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-12 13:42:38 +00:00
Jaap Keuter 74c2bcbe9b Qt: Restore space and add tooltips
Followup on commit 33bb4b0c22 adding back
the lower end spacer, moving the language selection to the bottom and
also adding tooltips with variable information.

Change-Id: I55c7e39d3a524bb17ccfad55a0e8bf844a500408
Reviewed-on: https://code.wireshark.org/review/36072
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-12 07:50:41 +00:00
Orgad Shaneh 055b4c59e4 TPNCP: Support IPv6 without modifying tpncp.dat
This reverts tpncp.dat changes in f307dcc1d4
in order to maintain compatibility with previous versions of the dissector.

Also update the real value of address family for IPv6, and reset
address family after using it.

Change-Id: I87acf85a84a5ad41fea4a5658181badccebefcb8
Reviewed-on: https://code.wireshark.org/review/36074
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-11 18:01:42 +00:00
Anders Broman 52559702a0 SIP:Add SIP Header P-Charge-Info RFC 8496
Change-Id: Ifcbf196c940734587ff771492df3f55a69c3d2d5
Reviewed-on: https://code.wireshark.org/review/36078
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-11 16:22:12 +00:00
Anders Broman 912be1a298 NAS 5GS: Dissect more IEs
Change-Id: I79016ef7791ee7d535861222168e3e2f244ef6f4
Reviewed-on: https://code.wireshark.org/review/36075
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-11 11:29:09 +00:00
Martin Mathieson 0fed3e2681 UDPCP: Check Packet Transfer Options
Change-Id: Ic5dda48a27571d521a42940fb6762fb4dbc3bcca
Reviewed-on: https://code.wireshark.org/review/36076
Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2020-02-11 11:13:29 +00:00
Anders Broman 7e73515007 Diameter 3GPP: Fix output of AVP 713 Requested-Nodes
Change-Id: I0ef23d37c070c262f3be6d5c90d6bef9a41c6b79
Reviewed-on: https://code.wireshark.org/review/36071
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-11 08:22:13 +00:00
Alexis La Goutte 8a6000b6dc TLS (QUIC): Add min_ack_delay TP
From https://tools.ietf.org/html/draft-iyengar-quic-delayed-ack-00

And https://github.com/quicwg/base-drafts/wiki/Temporary-IANA-Registry

Ping-Bug: 13881
Change-Id: I60b262d44b03a0b454016392eb1a01d46ca03d52
Reviewed-on: https://code.wireshark.org/review/36032
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-11 04:23:57 +00:00
Gerald Combs 937c7c512a Debian+RPM: Require QtSVG.
Although we don't depend on any of Qt's SVG classes directly, we do use
SVG icons in Preferences → Appearance → Language and QIcon loads its SVG
engine dynamically. If it's not present Wireshark will still run, but
the user won't see any flag icons.

Require QtSVG in the Debian and RPM packaging. It's not that large (~
400k here on Ubuntu 18.04) and ensures that we have a uniform user
experience across platforms. In this particular case, if the user
experience happens to be "Wireshark's UI is in a language I don't
understand" the little flags can come in handy.

Change-Id: If3c2e8a6040967353dbc462ee475ef12514b25f9
Reviewed-on: https://code.wireshark.org/review/36037
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-02-11 01:43:33 +00:00
Peter Wu 76462953a9 SDP: clarify that the G722 sample rate is actually 16000
The actual sampling rate in plugins/codecs/G722/G722decode.c is reported
as 16000 while the RTP clock rate as included in the SDP message is 8000
for historical reasons. Add some text to help people understand where
this difference comes from.

Example dissection for this cosmetic change:

    Session Description Protocol
        ...
        Media Attribute (a): rtpmap:9 G722/8000
            Media Attribute Fieldname: rtpmap
            Media Format: 9
            MIME Type: G722
            Sample Rate: 8000 (RTP clock rate is 8kHz, actual sampling rate is 16kHz)
        Media Attribute (a): rtpmap:101 telephone-event/8000
            Media Attribute Fieldname: rtpmap
            Media Format: 101
            MIME Type: telephone-event
            Sample Rate: 8000

Change-Id: I47ccb798719a23713f28ae36fff6716b6dfbb22b
Reviewed-on: https://code.wireshark.org/review/36073
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-11 00:42:11 +00:00
Rickard Holmberg 980cf9c857 dcm(.h): Update DICOM 2020a definitions
Change-Id: I51d1cde195e9947ffe4e31a7f1e1d8becdc5d433
Reviewed-on: https://code.wireshark.org/review/36069
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-02-10 15:22:01 +00:00
Dario Lombardo f072494611 radiotap: remove unused increment.
Change-Id: I7f94e0d8ccb6650d6ace0a119e7f92045a26b338
Reviewed-on: https://code.wireshark.org/review/36070
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-02-10 14:42:19 +00:00
Jaap Keuter 33bb4b0c22 Qt: Add window title settings the preferences dialog
In case of multiple instances it can be helpful to have an extra identifier
in the window title. These facilities are present and working, yet the
identifiers are not easily modifiable (only through the Advanced preference
page). This changes exposes these setting in the normal Appearance
preference page.

Change-Id: Ib6d7b18d29932edaed7419b44e4edc2f99134cbf
Reviewed-on: https://code.wireshark.org/review/36068
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-10 07:45:57 +00:00
Erwin Rol 2ab65bf0ba extcap: Fix packet time calculation
The packet time calculation used the time(NULL) call to get the time
in seconds and than divided by 1000 to get micro seconds. This results
in correct seconds but some random micro seconds values.

Now get the time in microseconds and divide by 1000000 to get the
seconds and use the remainder for the micro seconds part.

Change-Id: I31f90960e27b0089c20936f69c7dc30f1efd50d9
Signed-off-by: Erwin Rol <erwin@erwinrol.com>
Reviewed-on: https://code.wireshark.org/review/36067
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-10 07:45:33 +00:00
Dario Lombardo 20c8215fd5 radiotap: remove unused increment (CID: 1458175).
Change-Id: I684b3e59c97f45afaf1d4bdfd160a03e4e87b0f1
Reviewed-on: https://code.wireshark.org/review/36064
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
2020-02-10 07:45:14 +00:00
Martin Mathieson 2db9a52a34 UDPCP: Set protocol column
Change-Id: Ide124dcec8eb82b2671f35ce088a536dd0a9b9ae
Reviewed-on: https://code.wireshark.org/review/36066
Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2020-02-09 18:39:11 +00:00
Dario Lombardo a20fea02fc Qt: add initializers.
CID: 1457926, 1446253.

Change-Id: Ia9e727fd9d030b6a5db74aa5a9343c66df8c5e9b
Reviewed-on: https://code.wireshark.org/review/36065
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-02-09 17:27:48 +00:00
Peter Wu b926d24b96 RPM: fix missing qt5-linguist dependency, simplify installed packages
Remove unnecessary Qt5SVG build dependency. Do not install Qt4 qt-devel.
qt5-qtbase-devel is big, try to avoid pulling unnecessary deps.

Change-Id: Id289bea10ea89de6b7a3ea77996d861ff7354560
Reviewed-on: https://code.wireshark.org/review/36058
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-09 13:10:12 +00:00
Gerald Combs 6e7918319b [Automatic update for 2020-02-09]
Update manuf, services enterprise numbers, translations, and other items.

Change-Id: I717a08bf08aadac91f2a63b4681388bf0d038d7b
Reviewed-on: https://code.wireshark.org/review/36060
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-02-09 08:19:22 +00:00
Richard Sharpe 38d54660f2 ieee80211-radiotap: Add support for radiotap TLVs.
From Johannes Berg with changes by Richard Sharpe to make it easier for
people to add support for RADIOTAP Header TLVs in the future.

Change-Id: I66d69cbe16740abce1e75ca1e789a2034283306b
Reviewed-on: https://code.wireshark.org/review/36057
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
Petri-Dish: Richard Sharpe <realrichardsharpe@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-02-08 19:41:47 +00:00
Dario Lombardo 0d68a088fa tools: update pkg in bsd-setup.
This circumvents a buggy pkg version in 11.x.
Move env var to the proper place while here.

Change-Id: Ib527a92cf8b542c8478daddf082c696caa296d80
Reviewed-on: https://code.wireshark.org/review/36055
Reviewed-by: Dario Lombardo <lomato@gmail.com>
2020-02-08 14:03:50 +00:00
Sébastien RAILLARD 4c87407a3c Fix ZEP dissector for displaying the LQI value
Bug: 16369
Change-Id: I0efd99f651b2d09cc3ef71bee4009e72bd43d457
Reviewed-on: https://code.wireshark.org/review/36054
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-02-08 11:12:02 +00:00
Uli Heilmeier 23749592e3 TDS7: Update Feature IDs for FeatureExtAck Token
Updating Feature IDs as defined at
https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-tds/2eb82f8e-11f0-46dc-b42d-27302fa4701a

Change-Id: I5fce096afde1c50bd82a7763e78497a93b2250e9
Reviewed-on: https://code.wireshark.org/review/36053
Reviewed-by: Craig Jackson <cejackson51@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-08 09:40:20 +00:00
Andre Luyer 3e2a837cc0 TLS: update cipher suite list
Update cipher suites with the latest additions to the IANA list:
http://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml

Change-Id: I27d855e4626fae027cb08114d034e0cec67ccda5
Reviewed-on: https://code.wireshark.org/review/36052
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-08 09:40:06 +00:00
Orgad Shaneh f307dcc1d4 TPNCP: Show IPv6 correctly
Change-Id: I6c4ee9190f4cfc6d073857999b2bc6859cad591b
Reviewed-on: https://code.wireshark.org/review/36044
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-08 09:39:48 +00:00
Orgad Shaneh 9d185416da TPNCP: Update tpncp.dat
Change-Id: I2b230f1c236dcbca7f4c60ab28a179702ad3f33e
Reviewed-on: https://code.wireshark.org/review/36043
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-08 09:39:41 +00:00
Aurelien Aptel 02199970d7 SMB2: store file names longer than 256 bytes
File names can be longer than 256 bytes and still be sane. Fixes
filenames being reported as "[unknown]".

Change-Id: I3425d3106cf6ef63e298c2e73a063a207a4d4aea
Reviewed-on: https://code.wireshark.org/review/36045
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-08 09:39:26 +00:00
Gerald Combs 0dd91d64da WSUG: Update the macOS system requirements section.
Bug: 16347
Change-Id: Iaa031422d25fe30bf4c2df0c3d693d069ccdbb85
Reviewed-on: https://code.wireshark.org/review/36041
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-08 07:27:19 +00:00
Tomasz Moń ce4e7bdf4b FTDI MPSSE: Initial MPSSE commands dissection
MPSSE response data and chip specific command parameters are not
dissected yet.

Ping-Bug: 11743
Change-Id: If783ef4580d0f8862419a249191f24521e316271
Reviewed-on: https://code.wireshark.org/review/35961
Petri-Dish: Tomasz Moń <desowin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-08 07:25:17 +00:00
Gerald Combs 7ce2ca316c WiMax DLMAP: Add a length check.
Make sure we have enough data for a CRC.

Bug: 16368
Change-Id: I03a2532061a5cf5e28cb65c83dd4ab90654d1679
Reviewed-on: https://code.wireshark.org/review/36048
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-02-07 19:59:04 +00:00
Dario Lombardo fca18e2e5c Qt: fix compilation without pcap.
Fix a regression introduced in 1e4c4f2209
when compiling without pcap.

Change-Id: Ifda13a135285737a459155020134937069ac5d34
Reviewed-on: https://code.wireshark.org/review/36047
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-02-07 17:05:48 +00:00
Gerald Combs 1e4c4f2209 Qt: Make it possible to hide welcome screen warnings.
The "The NPF driver isn't running. You may have trouble" warning dialog
is now redundant, so remove it along with the "privs.warn_if_no_npf"
recent setting.

Add a more general "sys.warn_if_no_capture" recent setting along with a
getter for SimpleDialog's "Don't show this message again." string. Use
them to add a "Don't show this..." link to the main welcome warning
label.

Change-Id: Idffb800761eebf04b75e4be3f6bf7727dd468949
Reviewed-on: https://code.wireshark.org/review/36042
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Tomasz Moń <desowin@gmail.com>
2020-02-07 07:36:03 +00:00
Cal Turney 19b3376a24 LDAP bogus malformed errors: decoding encrypted data
In captures of LDAP Privacy (encrypted) data, the dissector
threw Malformed errors because had it attempted to decode
encrypted payloads. See attached example capture
"PRIVACY-payload-(encrypted-data).pcap" at
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=16358

Bug: 16358
Change-Id: Ic6d74d464157b145896090316ba73af025af7312
Reviewed-on: https://code.wireshark.org/review/36038
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-07 06:28:48 +00:00
Adrien Aubry 80e1c54ff4 CANopen: Add SDO Block Upload/Download decoding
Previous code did not properly decode protocol (Object dictionnary is not always sent). All changes comply with CANopen DS301 freely available on the web.

Change-Id: Ibaae09af0f1a5300a323a9c94077d1fb7dadd560
Reviewed-on: https://code.wireshark.org/review/35558
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-07 04:39:05 +00:00
Gerald Combs 9266a27264 macOS: Remove a version check from osx-app.sh.
In osx-app.sh, $VERSION used to hold the minor version of the OS. We no
longer set it and it's probably safe to assume that we're building on
Lion or later, so remove it.

Change-Id: I8e85cd7c2fe2162019c7c436b7865be95d4a33e2
Reviewed-on: https://code.wireshark.org/review/36039
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-02-06 17:52:32 +00:00
Martin Mathieson 26be041184 Add dissector for OBSAI UDPCP protocol
Change-Id: I6ca615207ca3a8f52f9886b2da74dcc6d5777987
Reviewed-on: https://code.wireshark.org/review/36036
Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-06 07:24:17 +00:00
Martin Mathieson 31effe3690 PDCP-LTE: Show name alone with Cipher number in more places
Change-Id: Ib6290b55b82b3d61b6612809f652299479157d82
Reviewed-on: https://code.wireshark.org/review/36035
Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2020-02-05 10:58:48 +00:00
Roman-Koshelev 2580053638 TFTP: Rewritten object (file) export algorithm
Significantly increased readability of the code, speed of work
and reduced size of the consumed memory.
 - The number of memory allocations has been reduced from N to a few
 - Removed double (redundant) data copying

Change-Id: I05aed194932ed3305eefb6e2e0f847e57851c41c
Reviewed-on: https://code.wireshark.org/review/36026
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2020-02-05 10:24:36 +00:00
Peter Wu 55f83324ef Qt: simplify decode_as_ action in the packet details view
Use the "create_new" property convention similar to PacketList. Fix a
"QWidget::insertAction: Attempt to insert null action" warning in the
packet dialog while at it.

Change-Id: I29b3b113aba92634b1b9a3427e2313fca30633eb
Reviewed-on: https://code.wireshark.org/review/36023
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-05 04:34:36 +00:00
Peter Wu 6bbd61860b Qt: make Decode As from packet list functional again
The "create_new" property was never set which prevented a new row from
being created once the dialog is opened.

Change-Id: I19c793ebd219bb58cb34f4d67451660ace51aa32
Fixes: v3.1.1rc0-254-gf402b4cdaa72 ("Qt: PacketList call DecodeAsDialog directly")
Reviewed-on: https://code.wireshark.org/review/36020
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-05 04:34:20 +00:00
Richard Sharpe abe50bf237 eee802.11: Fix bug in previous SAE Anti-clogging support.
The code was not properly corrected and a confirm result would show
a malformed packet because two bytes were not accounted for.

Change-Id: Ibc2f14ec46b0d63401d8d3b3768b032ed9b12e56
Reviewed-on: https://code.wireshark.org/review/36028
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
Petri-Dish: Richard Sharpe <realrichardsharpe@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-05 04:33:56 +00:00
Pascal Quantin a6614f995c Windows: upgrade Npcap to 0.9987
Change-Id: I6f1fcbb49b0002a4273fea449cd7346f4f0f1f58
Reviewed-on: https://code.wireshark.org/review/36031
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-02-04 21:05:27 +00:00
Peter Wu 995672e8b6 Qt: allow Resolved Addresses search filter to be cleared
Allow the filter in the Resolved Address dialog to be cleared to disable
filtering without requiring the dialog to be reopened.

Change-Id: I8164d42ac763f8b7faf23821633e129feba69790
Fixes: v3.1.1rc0-244-g743f8598cd0b ("Qt: Rework Resolved Addresses dialog")
Reviewed-on: https://code.wireshark.org/review/36027
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2020-02-04 14:22:25 +00:00
Uli Heilmeier f5f435305b CFDP: Fix off-by-one offset
Reference: https://public.ccsds.org/Pubs/727x0b4.pdf (page 5-1).

Bug: 16361
Change-Id: I4544dc1c968c4c42dad82e11b00459cdbc85045f
Reviewed-on: https://code.wireshark.org/review/36021
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-04 04:15:32 +00:00
Peter Wu 0596047e3f Qt: fix missing IP hosts in Resolved Addresses dialog
Fix several issues in the Resolved Addresses dialog:
 - Missing IP hosts because the list was populated with one
   tab-separated item while the caller expected space-separated items.
 - Fix duplicate entries due to the "values" list not being cleared.
 - Remove IPv4/IPv6 Hash Tables since these are a superset of IPv4/IPv6
   Hosts, except that the former also includes mappings without a known
   name (e.g. 8.8.8.8 -> 8.8.8.8).
 - Fold both IPv4 and IPv6 hosts into one as before. Users like me
   usually look for any IP match, regardless of the address family.
 - Minor optimizations: do not construct the label every time.
 - Rename "Mac Address" [sic] to simply "Address", that covers both IP
   addresses and MAC addresses.

Bug: 16366
Change-Id: I6253fc01da7b6429ce093e7db9fe58e235b7c137
Fixes: v3.1.1rc0-244-g743f8598cd0b ("Qt: Rework Resolved Addresses dialog")
Reviewed-on: https://code.wireshark.org/review/36022
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-04 04:12:11 +00:00