Commit Graph

80458 Commits

Author SHA1 Message Date
Guy Harris d6c3781a7a Wireshark: fix output of -L and --list-tstamp-types.
Replace the Wireshark code for that with code that matches what TShark
does.

Update a comment in TShark while we're at it.

Fixes #14215.

(Still leaves it popping up the full window, but that's a bigger
change.)
2021-04-13 17:00:38 -07:00
Richard Sharpe c9e2d3bc57 ieee80211: Correct the handling of Trigger Ranging Common Info.
Was failing to update offset when handling that field.

Change-Id: Ia68880093bf0c1c3c2fab23a458235ba3554523c
2021-04-13 15:04:20 -07:00
Gerald Combs c27a7ffb9a Command line: Add a HAVE_LIBPCAP check for -k.
`-k` is a capture option, so add a HAVE_LIBPCAP check similar to other
flags. Fixes

../ui/commandline.c:459:41: error: no member named 'start_capture' in 'struct commandline_param_info'
                global_commandline_info.start_capture = TRUE;
                ~~~~~~~~~~~~~~~~~~~~~~~ ^
2021-04-13 14:36:12 -07:00
Guy Harris 60e339bba4 Don't handle -k in capture_opts_add_opt().
It's not a generic capture option also supported by TShark and dumpcap,
it's Wireshark-specific (dumpcap *always* starts a capture, and TShark
starts one iff it's passed one or more interfaces on which to capture;
only Wireshark needs it to start the capture immediately - that's a
relic of the days when Wireshark *itself* did what dumpcap now does for
Wireshark).

Handle it in commandline_other_options(), rather than in
capture_opts_add_opt().

That lets us get rid of an argument to capture_opts_add_opt(), and dummy
variables in TShark and dumpcap used to work with that extra argument.
2021-04-13 12:38:06 -07:00
Pascal Quantin 6ab7435af8 RTP player: fix compilation on Windows 2021-04-13 21:05:12 +02:00
Peter Lemenkov da2cdf7a39 bencode: Fix for truncated packets
Some applications emits improper bencode packets (w/o terminating 'e' -
they erroneously imply that EOF can be considered as a
end-of-dictionary). Let's not fail while parsing these packets.

Change-Id: Ib650e246c7f56b40ef07227eb0dd175a30e4d3a9
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
2021-04-13 16:23:33 +02:00
Jirka Novak bc96d375ab RTP Player: Parallel playlist operations avoided
Changes:
- UI is locked during adding new streams
- When decoding of stream fails, it is reported in UI
2021-04-13 13:42:57 +02:00
Chuck Craft ec4a059968 WSUG: update Tools Menu - text and screenshot 2021-04-13 10:14:37 +00:00
Guy Harris 9e05d40825 tshark.c, ui/qt/main.cpp: fix indentation to match what it's supposed to be. 2021-04-13 01:47:10 -07:00
Guy Harris 9b70baac96 Add a new header defining commonly-used exit codes.
"Commonly-used" meaning "used by more than one source file".

Clean up the exit codes, combining some duplicates with different names,
and using some instead of raw numbers in some places.
2021-04-13 01:23:21 -07:00
Guy Harris 20b662b01d rpcap: clarify what the linktype preference does.
"Received" could mean "received by the rpcap client" or "received as
part of the capturing process by Wireshark".  The former would mean "no
capture is happening", so there would be no packets *to* interpret using
that preference; use "captured" to clarify that it's the latter (which
could mean it was dropped as part of the capture process, or it could
just mean we started capturing in the middle of the remote capture
process).
2021-04-12 22:21:14 -07:00
Chuck Craft 0f88e349f3 WSUG: typo in Regular Text Dumps 2021-04-12 22:40:44 +00:00
Pascal Quantin 0338a7afac Windows: upgrade Npcap to 1.30 2021-04-12 22:54:39 +02:00
Graham Bloice 5b70d58502 MQTT: Fix heuristic subdissector call
Modify the dissector to call heuristic subdissectors after both
UAT configured and media type subdissectors have been attempted.
2021-04-12 20:43:01 +01:00
Anders Broman a92265c48a rtp-event: Update rtp_event_type_values
Closes #17335
2021-04-12 15:34:56 +02:00
Richard Sharpe b16d9e2041 ieee80211: Fix an issue Trigger Ranging User Info and Common Info.
The User Info field was appearing when it shouldn't and the Ranging Common
Info was at the wrong level.

Change-Id: Id75222b3048f9ad735fa78d07d5778f08e4c8474
2021-04-11 19:22:06 -07:00
Richard Sharpe 0f3a287e8b ieee80211: Add the Trigger Ranging subtype to the COL_INFO field.
Change-Id: I46cf3c8a06091bca3d9891dde667e5b8c9cac835
2021-04-11 23:09:48 +00:00
Graham Bloice d2bf2af308 protobuf: Load .proto files from standard locations
Modify the protobuf dissector to load .proto files from the
global config and personal config protobuf directories
2021-04-11 21:31:12 +00:00
Jirka Novak 2c82ed9a97 WSUG: Added description of new features of telephony dialogs
Changes:
- Added description of playlist idea and related operations
- Added description of RTP Player dialog
- Added description of VoIP Calls dialog
- Added description of Flow Graph dialog
- Added help link to Flow Graph dialog
- Added description of RTP Streams window
- Added description of RTP Stream Analysis window
- Updated related past images
2021-04-11 15:46:48 +00:00
Sanket Deshmukh 53f031a8bd NETFLOW: Add decodes for Juniper Networks proprietary IE's
Modified the Netflow dissector to decode Juniper Proprietary IE's
and decode IE 315 (data link frame section).
2021-04-11 12:05:14 +00:00
Gerald Combs 0b85227528 [Automatic update for 2021-04-11]
Update manuf, services enterprise numbers, translations, and other items.
2021-04-11 09:27:40 +00:00
Jirka Novak c8c210a7de VoIP dialogs: Cleanups and clarifications based on work on WSUG 2021-04-11 06:41:17 +00:00
Martin Mathieson d06287ec2e Some more spelling fixes.
Changed script to allow recursive search for multi-words.
2021-04-10 22:50:52 +00:00
Tomasz Moń 4bd5830cda CMake: Add ENABLE_VLD option for MSVC
Calling cmake with -DENABLE_VLD=ON when building with Visual Studio,
results in debug configuration being linked to Visual Leak Detector.
By default, Visual Leak Detector outputs the leak summary to Visual
Studio debug window. When ENABLE_VLD is active, VLD is linked to all
wireshark libraries and executables.
2021-04-10 21:53:59 +00:00
Graham Bloice 1b1a4281b4 MQTT: Add a heuristic sub dissector table
Add a heuristic sub dissector table to allow other dissectors
to register and be called if no match is found for the UAT
configured sub dissectors.

Pass the topic string to the heuristic sub dissector in the data
pointer as an aid for the heuristic.
2021-04-10 21:29:38 +01:00
Jirka Novak e35b6d4859 RTP Analysis: Fix of use of uninitialized structure
Fixes crash when RTP Analysis was called directly from Telephony menu.
2021-04-10 13:17:54 +00:00
Pascal Quantin d852c1f38e F1AP: upgrade dissector to v16.5.0 2021-04-10 12:45:17 +02:00
Pascal Quantin fe6b16fb31 E1AP: upgrade dissector to v16.5.0 2021-04-10 10:25:13 +00:00
Pascal Quantin c0e041c6a3 XnAP: upgrade dissector to v16.5.0 2021-04-10 12:07:12 +02:00
Pascal Quantin 1c2cf2ba0e NGAP: fix dissection of extended RAT restriction information IE 2021-04-10 11:30:47 +02:00
j.novak@netsystem.cz 8c6a7c13f9 RTP Player: Fix of opening of multiple dialogs 2021-04-10 08:48:40 +00:00
Basak Kalfa e04ea5c108 PROFINET: Rsi dissection errors are fixed.
According to specification, size of PROFINETIOServiceResPDU
is calculated and checked under dissect_RSI_RSP_block
function. Moreover, dissect_rsi_blocks function is added and
type of PDU and operation number (Opnum) are checked before
dissection starts.
2021-04-10 08:09:18 +00:00
James Ko dbdfe53538 Separate the data bytes in IEEE 802.15.4 TAP DLT
Improve dissection of IEEE 802.15.4 TAP DLT by reporting the number of
data bytes of the original data frame and create a separate packet bytes
pane containing just that data without the TAP TLV content.
2021-04-10 07:48:30 +00:00
Uli Heilmeier c2f3b654f7 Manpage tshark: Add option '-A'
This commit adds option '-A' for rpcap authentication.

Fixes: wireshark/wireshark#16674
2021-04-10 07:32:08 +00:00
Gerald Combs bd123cadaf GitLab CI: Conditionally create C:\Development on Windows. 2021-04-10 07:14:18 +00:00
Donatas Saulys efb5e44539 epan: print leading zeroes for sub-second values. 2021-04-10 06:58:36 +00:00
Preston Hunt 7a2d5fe83e IEEE 802.11: add Ranging trigger type
When dissecting a Trigger Ranging Frame, show the Common Info type as
"Ranging" instead of "Unknown".
2021-04-10 06:41:00 +00:00
John Thacker 67301b471a qcustomplot: Fix some clang code analysis warnings
Two dead stores and a possible call of memcpy with a null
destination.
2021-04-09 17:30:20 -04:00
Pascal Quantin 3341067ca3 NGAP: upgrade dissector to v16.5.0 2021-04-09 18:22:14 +00:00
Pascal Quantin 9f3822ad7b X2AP: upgrade dissector to v16.5.0 2021-04-09 17:08:30 +00:00
Pascal Quantin 7ebd4dba7a S1AP: upgrade dissector to v16.5.0 2021-04-09 18:30:39 +02:00
Yuya Kawakami 861054fb83 epan: fix proto register bgp to make mp_[un]reach_nlri.safi available 2021-04-09 13:04:50 +00:00
Aurelien Aptel 33114aa38c smb2: add compress_data share flag
[MS-SMB2] v62 adds a compress_data flag in share flags.
2021-04-09 10:03:34 +00:00
Aurelien Aptel 5dfedb4997 smb2: update dissection of transport negotiate context
[MS-SMB2] v62 makes the reserved field a flags field with one possible
value
2021-04-09 10:03:34 +00:00
Preston Hunt 763d251589 IEEE 802.11: dissect VHT NDPA extended sta info
az D3.0 adds additional station information to the VHT Ranging NDP
Announcement frame.
2021-04-08 20:09:38 -07:00
Guy Harris 7de6b0822a pcapng: expand a comment and tweak the version test.
Drop in the comment from libpcap about version 1.2 (I wrote that
comment, and generously double-license it under the BSD license and the
GPL :-)).

Redo the version test as

    if (!({version is one we handle}))

to match the way it's done in libpcap.
2021-04-08 19:38:26 -07:00
Loris Degioanni 7894b1d0ea sysdig: a couple more fixes
- parse the number of system call arguments in a way that works for both V1 and V2 event blocks
- returned the correct error string when unable to read the nparams entry from a sysdig event block V2
2021-04-09 01:24:53 +00:00
Loris Degioanni cbbe660504 sysdig: implementation fixes
- make sure nparams is initialized
- validate block_total_length in the correct way for sysdig event blocks
2021-04-09 01:24:53 +00:00
Loris Degioanni 8c70dd8d17 sysdig: simplified the separate handling of the two different sysdig block types 2021-04-09 01:24:53 +00:00
Loris Degioanni fbe8d3a00f sysdig: support the most recent version of sysdig
Update the pcap-ng reader and sysdig event dissector to support the second version of the sysdig event block, which was introduced after Wireshark's original implementation
2021-04-09 01:24:53 +00:00