Commit Graph

80587 Commits

Author SHA1 Message Date
Jirka Novak 54b7886a5e RTP Player: Memory consumption improvements
Audio for play is now decoded and stored without silence parts.

Changes:
- ui/qt/utils/rtp_audio_file.cpp created to handle silence skipping
- ui/qt/rtp_audio_stream.cpp refactored to support it
- Fixed issue with exporting streams: File synchronized export was missing
leading silence.
- No line is shown in waveform graph if there is silence
2021-04-25 19:34:52 +02:00
database64128 d5bd5a920b 🔍 Fix HiDPI scaling on Windows
- Set `Qt::HighDpiScaleFactorRoundingPolicy::PassThrough` to fix large UI on devices with non-integer scaling factors
- Fix #17007
- See discussions at https://github.com/keepassxreboot/keepassxc/issues/2815 and my fix at https://github.com/keepassxreboot/keepassxc/pull/4915
2021-04-25 17:18:18 +00:00
Jirka Novak e91806b8e9 RTP Player: Fix for compilation when no HAVE_LIBPCAP is defined
See comment on !2801.
2021-04-25 14:47:59 +02:00
Pascal Quantin 1408db615b Windows: upgrade Npcap to 1.31 2021-04-25 13:08:52 +02:00
Gerald Combs c4d6b0f6d7 [Automatic update for 2021-04-25]
Update manuf, services enterprise numbers, translations, and other items.
2021-04-25 09:28:50 +00:00
Martin Mathieson d9ad3b15c5 Fix more item lengths. 2021-04-24 19:22:37 +01:00
Dr. Lars Völker 8a96d2a903 CAN, AUTOSAR NM, Signal PDU: Fix the interpretation of CAN ID
This patches makes sure that the registered IDs are not influenced
by the three flags mapped into the same uint32.

This was a oversight in the AUTOSAR NM and Signal PDU dissectors.
2021-04-24 11:40:57 +00:00
Daniel Dulaney e35efdee8d TIFF: Add a basic TIFF dissector 2021-04-24 10:42:59 +00:00
John Thacker 9569288c3b BGP: Update Subsequent Address Family Identifiers (SAFI)
Update SAFI defines and value string from last update at
https://www.iana.org/assignments/safi-namespace/safi-namespace.xhtml
2021-04-24 08:28:10 +00:00
ferst da80daaf83 DNP3: Add TLS dissector
IEEE 1815-2012[1] section 7.8 describes the use of DNP3 over TLS using TCP
port 19999. This commit creates a global to store the return of
`register_dissector` and then calls `ssl_dissector_add` in
`proto_reg_handoff_dnp3`.

[1] https://ieeexplore.ieee.org/servlet/opac?punumber=6327576
2021-04-24 07:56:40 +00:00
Piotr Winiarczyk 91d21fc334 btmesh: Fix typo in PDU name
The Light Lightness Get is the proper name for the PDU 0x824B
2021-04-24 09:02:31 +02:00
Joakim Karlsson 1bd0cf5fbd NVMe: fix build error
packet-nvme.c:2396:8: error: ‘grp’ may be used uninitialized in this
function [-Werror=maybe-uninitialized]
     ti = proto_tree_add_item(grp, hf_nvme_get_logpage_lba_status_nel,
cmd_tvb, poff, len, ENC_NA);
        ^
packet-nvme.c:2378:17:
note: ‘grp’ was declared here
     proto_tree *grp;
                 ^
2021-04-23 08:04:58 +00:00
Christian Ambach 96e8ab4682 AJP13: properly display request attributes
do not show only the value of an attribute, but also its name

Change-Id: Ieb07e994dd984bdc98a52a947b2d3b06bc26fd30
Signed-off-by: Christian Ambach <ambi@samba.org>
2021-04-23 07:05:40 +00:00
Christian Ambach de5a830e95 AJP13: properly display common headers
do not show only the value of a header value, but also the header's name

Change-Id: I84ef3107cf3d4b0c8aa96fe137aa9be19c30c6ab
Signed-off-by: Christian Ambach <ambi@samba.org>
2021-04-23 07:05:40 +00:00
Preston Hunt 9ad9bb8969 IEEE 802.11: display STA Info STS with custom func
Updated dissection of number of STS field to use the same custom
function as used by STS dissection in other frames.
2021-04-23 05:44:43 +00:00
j.novak@netsystem.cz 0048142ea1 RTP Player: Added button 'Refresh streams' for live capture 2021-04-22 19:33:11 +00:00
Martin Mathieson c182fa4268 Make some vars static. 2021-04-22 09:47:51 +01:00
Josh Schmelzle f3bd0b5772 80211: Rename VHT_TX_PWR_ENVELOPE to TX_PWR_ENVELOPE 2021-04-22 04:30:19 +00:00
John Thacker 50dda353ec SGSAP: Use ECGI specific fields for the ECGI MCC/MNC 2021-04-22 04:14:30 +00:00
Thomas Dreibholz 4232d2f81d Fix for the ASAP and ENRP statistics.
Removed wrong stat_tap_set_field_data() call -> interval display is working
correctly now.
2021-04-22 03:55:15 +00:00
Richard Sharpe fe13ec8fd2 ieee80211: Fix handling of PASN Auth for seq==3.
The original code was too complex and missed some IEs.

Change-Id: I0734f31e9f4b37b8a876b675dbde8972745f124e
2021-04-21 22:52:25 +00:00
Peter Wu 785657d9b8 CMake: fix macOS build when Qt5 and Qt6 are both installed
When both qt (qt@6) and qt5 are installed via Homebrew, the build fails:

    FAILED: ui/qt/CMakeFiles/qtui.dir/qtui_autogen/mocs_compilation.cpp.o
    ...
    In file included from ui/qt/qtui_autogen/mocs_compilation.cpp:2:
    In file included from ui/qt/qtui_autogen/EWIEGA46WW/moc_about_dialog.cpp:10:
    In file included from ui/qt/qtui_autogen/EWIEGA46WW/../../../../../repos/wireshark/ui/qt/about_dialog.h:15:
    In file included from /Users/pwu/repos/wireshark/ui/qt/models/astringlist_list_model.h:15:
    In file included from /usr/local/opt/qt5/lib/QtCore.framework/Headers/QAbstractTableModel:1:
    In file included from /usr/local/opt/qt5/lib/QtCore.framework/Headers/qabstractitemmodel.h:43:
    In file included from /usr/local/include/QtCore/qvariant.h:43:
    In file included from /usr/local/include/QtCore/qatomic.h:41:
    /usr/local/include/QtCore/qglobal.h:667:26: error: no template named 'enable_if_t' in namespace 'std'; did you mean 'enable_if'?
             typename = std::enable_if_t<std::is_arithmetic_v<T> && std::is_arithmetic_v<U> &&
                        ~~~~~^

That qvariant.h header is from Qt 6 which is backwards incompatible:

    /usr/local/include/QtCore -> ../Cellar/qt/6.0.2/include/QtCore

It appears that `<qt5 prefix>/include` must be explicitly included as
the default Qt5 include directories does not cover this:

    $ find /usr/local -lname '*include/QtCore' -ls
    ... /usr/local/include/QtCore -> ../Cellar/qt/6.0.2/include/QtCore
    $ find /usr/local -name qvariant.h -ls
    ... /usr/local/Cellar/qt@5/5.15.2/lib/QtCore.framework/Versions/5/Headers/qvariant.h
    ... /usr/local/Cellar/qt/6.0.2/lib/QtCore.framework/Versions/A/Headers/qvariant.h
    $ find /usr/local -name QtCore -lname '*Headers' -ls
    ... /usr/local/Cellar/qt@5/5.15.2/include/QtCore -> ../lib/QtCore.framework/Headers
    ... /usr/local/Cellar/qt/6.0.2/include/QtCore -> ../lib/QtCore.framework/Headers
    $ ls -la /usr/local/opt/qt5
    ... /usr/local/opt/qt5 -> ../Cellar/qt@5/5.15.2
2021-04-21 20:30:53 +00:00
Thomas Dreibholz c295e8a149 Added missing documentation for the RSerPool statistics features. 2021-04-21 19:53:09 +00:00
Peter van der Perk 4959ae652e UAVCAN/CAN dissector see https://uavcan.org/ 2021-04-21 19:36:44 +00:00
Pascal Quantin f15d35b0c8 CSP: fix compilation with MSVC 2021-04-21 20:45:48 +02:00
Thomas Dreibholz f199c00d40 Improvements for the CSP dissector 2021-04-21 11:16:43 +00:00
Jim Young d42042fcbb Qt: Add checkbox for enabling/disabling packet-list hover_style
At times the presence of the packet-list hover_style colorization can make
it difficult to determine the state of the packet directly under the mouse
cursor. This forces the user to move the mouse cursor away from the
packet-list row to reveal the next colorization state. The packet-list row
colorization style precedence, from highest to lowest, is: hover_style,
Selected, Ignored, Marked and then coloring rules.

This patch adds a new 'Packet List settings:' checkbox option 'Enable
mouse-over colorization'. By default the supporting preference
`gui.packet_list_hover_style.enabled` will be enabled (TRUE). When this
checkbox is disabled, the packet-list hover_style (mouse-over)
colorization will not be used.
2021-04-21 08:36:27 +00:00
Thomas Dreibholz 6d809554a4 Fixed typo. 2021-04-21 04:16:27 +00:00
Thomas Dreibholz 1c7d9a57ab Further SCTP Analysis dialog layout improvements. 2021-04-21 04:16:27 +00:00
Thomas Dreibholz c0aa2a0841 More SCTP Analysis GUI layout fixes. 2021-04-21 04:16:27 +00:00
Thomas Dreibholz 317d264664 Second part of SCTP Analysis GUI layout fixes. 2021-04-21 04:16:27 +00:00
Thomas Dreibholz df394c057b First part of SCTP Analysis GUI layout fixes. 2021-04-21 04:16:27 +00:00
Vadim Yanitskiy eb3e124b46 GSMTAP: use Wireshak's API for displaying dB/dBm units 2021-04-21 02:24:29 +02:00
ismaelrti eb5f4eea99 RTPS: Added new coherent sets PIDs.
Add support for new PIDs (PID_GROUP_COHERENT_SET, PID_END_COHERENT_SET,
PID_END_GROUP_COHERENT_SET, PID_END_COHERENT_SET_SAMPLE_COUNT).
2021-04-20 20:53:31 +00:00
ishaangandhi 1e012c2c00 Read ICMP extensions from after the original datagram
RFC 4884 requires ICMP extensions be read after the original datagram. For backwards compatibility, if there is no `icmp_original_dgram_length` field in the packet, we assume they are 128. However, if this field is there, we should prefer to use that.
2021-04-20 20:36:07 +00:00
BasiL 3173a808a3 GSM_MAP: Error Code typo's fix
some of the error codes have missed last character
2021-04-20 20:16:20 +00:00
Constantine Gavrilov 4d72ce1a4a NVMe: Get LogPage: Sanitize Response.
This closes #17327
2021-04-20 17:47:13 +00:00
Constantine Gavrilov 59d81aa02a NVMe: Get LogPage: Reservation Response. 2021-04-20 17:47:13 +00:00
Constantine Gavrilov 6b80b58506 NVMe: Get LogPage: Endurance Group Aggregate Response. 2021-04-20 17:47:13 +00:00
Constantine Gavrilov 01e32eaa20 NVMe: Get LogPage: LBA Status Response. 2021-04-20 17:47:13 +00:00
Thomas Dreibholz a228c46030 Added decoding of NetPerfMeter message flags 2021-04-20 16:56:29 +00:00
Uli Heilmeier b0a8f287ac Gitlab Issue Template: Add label via quick action
Add ~enhancement label via quick action if user is allowed to add it.
If there is no permission we still have "~enhancement" in the issue text.
2021-04-20 10:28:13 +00:00
Martin Mathieson d75e9f95eb More trivial spellings. 2021-04-20 08:46:16 +00:00
Gerald Combs b7a0650e06 MS-WSP: Don't allocate huge amounts of memory.
Add a couple of memory allocation sanity checks, one of which
fixes #17331.
2021-04-20 08:13:50 +00:00
Gerald Combs 9222bd77cd Remove unneeded modelines in ui.
Remove the editor modeline blocks from the source files in ui that use 4
space indentation by running

perl -i -p0e 's{ \n+ /[ *\n]+ editor \s+ modelines .* shiftwidth= .* \*/ \s+ } {\n}gsix' $( ag -l shiftwidth=4 $( ag -g '\.(c|cpp|h|m|mm)') )

This gives us one source of indentation truth for these files, and it
*shouldn't* affect anyone since

- These files match the default in our top-level .editorconfig.

- The one notable editor that's likely to be used on these files and
*doesn't* support EditorConfig (Qt Creator) defaults to 4 space
indentation.
2021-04-20 07:43:39 +00:00
Jirka Novak 9bb2af76d9 RTP Stream: Small code cleanup 2021-04-20 06:37:43 +00:00
Gerald Combs cd81255da2 Qt: Fix various compiler warnings.
Fix const-qual and missing-prototypes warnings found by Clang.
2021-04-20 06:11:40 +00:00
David Perry 26c5635973 [#17212] Define loading order for lua plugins
Instead of loading lua plugins in the random-seeming order that is
returned by the filesystem, sort the list of plugin filenames in
ASCIIbetical order. This makes the load order of plugins predictable.

This particular order was chosen to be consistent with the precedent set
by various *nix tools.
2021-04-20 05:38:32 +00:00
Chuck Craft 9f72d4ce60 DOC: tshark io,stat - function name not optional 2021-04-19 21:55:45 -05:00
Jirka Novak a8ccb67921 VoIP Calls: Streams related to calls can be selected in RTP Streams
When user press S(elect)/D(eselect) key, all RTP streams related to
selected call/calls are selected/deselected in RTP Streams window. If
window is not shown, it is opened.
Documentation updated.
2021-04-19 20:04:05 +00:00