Commit Graph

79034 Commits

Author SHA1 Message Date
Uli Heilmeier 48c09fe046 QT: progress UI: Fix TextLabel string to loading
Change TextLabel to Loading for progress UI
Fixes: wireshark/wireshark#16987
2020-11-04 19:24:36 +00:00
Alexis La Goutte ad1cf5eeb0 QUIC: Fix typo
Reported by Martin Thomson
2020-11-04 07:16:47 +00:00
Stig Bjørlykke a4e9931c98 docbook: Fix example to run tests containing dumpcap 2020-11-03 19:44:36 +00:00
Uli Heilmeier 57e89b6e60 Gitlab: Tweak Bug issue template
Add request to use button "Copy To Clipboard".
2020-11-03 16:17:48 +00:00
Uli Heilmeier 47f10ea819 Gitlab: Fix label for FeatureRequest issue template
Remove quick action for label.
2020-11-03 10:50:05 +01:00
Uli Heilmeier a3b2afab9b Gitlab: Add issue template for Websites
Template to report Websites related issues similar to product "Web sites"
on bugs.wireshark.org.
2020-11-03 08:28:43 +00:00
Taisuke Sasaki 22e595666c ISIS: Add Purge Originator ID TLV (rfc6232) 2020-11-02 22:22:24 +00:00
Orgad Shaneh 321f231bd9 ACDR: Fix dissection of control packets
The recorded protocol on this case is eth and not ip.
2020-11-02 20:44:07 +00:00
Dr. Lars Völker 9ac8dcb3a1 SOME/IP: Cleanup of length field parsing (BUG FIX)
This patch makes the parsing of length fields consistent by moving them
below their parent element and adjusting the length of the parent
element. And it fixes some problems by doing this.

Problems fixed by this:
- Bytes skipped after dynamic length arrays. This resolves #16951
- A byte was ignored before unparsed payload.
- Unions not marking the correct byte range.
- String having the length field twice.

Signed-off-by: Dr. Lars Völker <lars.voelker@technica-engineering.de>
2020-11-02 20:18:52 +00:00
Nardi Ivan 905f304d54 STUN: fix heuristic over TCP
STUN heuristic over TCP (added in 770872790d) doesn't handle multiple
STUN messages in the same TCP payload.

While at it, added a comment (forgotten in 354bbbe7cb) about different
TURN channel support among STUN versions
2020-11-02 19:51:22 +00:00
Martin Mathieson 24d7ff72bb Speed up ethernet entry (manuf and wka) parsing.
This saves around 3% time (profiling a small capture file) at startup.
parse_ether_address_fast() was returning FALSE in some cases
where it shouldn't have, i.e.
- the test for the having hex chars incorrectly discarded any case where the
  msb of any address octet is set, i.e. any value from 80 to f0.
- it now allows ':' and '-' as a separator (so that many of the wka entries
  also match).
2020-11-02 15:52:13 +00:00
John Thacker 63d045e7eb rpm-setup: Find opus development package for OpenSUSE 2020-11-02 13:42:22 +00:00
Andre Luyer 18365c16a1 Nettrace: correct conversion from ISO 8601 to time stamp
A nettrace 3gpp capture contains the 'beginTime' in ISO 8601 format.
This patch corrects the conversion for the following steps:
- the UTC offset must be subtracted from the given time,
- given time must be converted to UTC time when an offset is provided (localtime otherwise)
- sub-seconds conversion fixed (i.e. .0012 was converted to .12).

Closes #16888
2020-11-02 13:19:55 +00:00
Chuck Craft 44241f694e win32: fix MR180 - broke "-i -" input pipe 2020-11-02 12:56:44 +00:00
Thiyagarajan P cda11f813d Support to dissect Gate Announcement
Added support for dissecting the Gate Announcement element
IEEE80211-2016, section 9.4.2.111
2020-11-02 12:11:56 +00:00
Masaru Tsuchiyama bd5431ff44 remove empty zorder (fix warning) 2020-11-02 08:05:49 +00:00
Stig Bjørlykke c84681aca2 Qt: Support ampersand in funnel menu and button
An ampersand in the menu item or a button is used as shortcut, so
use "&&" to get a real ampersand.
2020-11-02 07:16:42 +00:00
Martin Kaiser 1db107a249 rx: simpler check for a known type
Call try_val_to_str to check if the type is listed in our value string of
known types.
2020-11-01 20:31:29 +00:00
Uli Heilmeier e07bb433b2 RTCP: Extended Reports: check for padding
Check if padding flag is set and alter length accordingly.
Display rtcp.xr.bl the same way as rtcp.length.

Fixes: wireshark/wireshark#16933
2020-11-01 20:08:06 +00:00
Martin Mathieson 07df04e4c7 Unistim: Set the length and type of IP address fields properly. 2020-11-01 19:43:24 +00:00
Gerald Combs 666e287c73 [Automatic update for 2020-11-01]
Update manuf, services enterprise numbers, translations, and other items.
2020-11-01 17:54:07 +00:00
John Thacker 25f1540d39 Add bcg729 to the optional RPMs installed when building 2020-11-01 13:04:28 +00:00
Gerald Combs 21e1056058 CMake: Don't restrict ENABLE_CCACHE.
Don't restrict ENABLE_CCACHE, but print a warning for non-gcc and
non-clang compilers. Fixes #16960.
2020-11-01 10:15:04 +00:00
Nardi Ivan 9613c943e0 QUIC: fix connection lookup for Version Negotiation packets
VN packets don't have any real packet type, even if they have a long header
2020-10-31 15:54:12 +01:00
Nardi Ivan cafdab3967 QUIC: allow dissection of sessions forcing version negotiation
Right now, these sessions are not dissected as QUIC, let alone decrypted
2020-10-31 15:54:12 +01:00
Sylvain Munaut b6222766cc usbvideo: Fix dissection of PROBE infos structure
Refer to USB Device Class Definition for Video Devices
document revision 1.5.

 * bmFramingInfo is 1 byte
 * Cut & Paste error for bMaxVersion label

Change-Id: Ib1221886f864a6ab9dbab70a8e5fca6482bf4267
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-10-31 12:33:07 +00:00
Martin Mathieson b925734fe2 GSM A: Uncertainty speed is only 1 byte. 2020-10-31 12:09:23 +00:00
Pedro Jose Marron cc4ad69366 IEEE 802154: Improve support for vendor specific IEs
Provide better dissection information for vendor specific IEs
and remove the expert warning displayed so far.
2020-10-30 22:15:12 +00:00
Martin Mathieson 5b3bce3b5a OAMPDU: Fix the length of an item. 2020-10-30 11:12:25 +00:00
Masaru Tsuchiyama 73f3bc97a5 enable compression options only when gbNewFileAuto is checked. 2020-10-30 00:25:22 +00:00
Masaru Tsuchiyama c14ea41233 add support for compression of capture file 2020-10-30 00:25:22 +00:00
Dieter Dobbelaere 9d6ebdc8a5 Dissect frame drop count if present. 2020-10-29 18:10:41 +00:00
Vadim Yanitskiy 732591237b GSM A RR: fix wrong cause value in gsm_a_rr_RR_cause_vals
Also, take a chance to correct the comment: section 6.11.0 does
not exit in 3GPP TS 44.018.  In version 15.4.0 Release 15 of
the referenced document it is 10.5.2.31 (table 10.5.2.31.1).
2020-10-29 09:27:13 +00:00
Jonas Falkevik 156f9e81fc lcsap: fix decode of plmnIdentity
Corretly decode MNC if it consists of 3 digits
Change to what is called big endinan MNC

   8   7   6   5   4   3   2   1
 +---+---+---+---+---+---+---+---+
 |  MCC digit 2  |  MCC digit 1  |  octet x
 +---------------+---------------+
 |    Filler     |  MCC digit 3  |  octet x+1
 +---------------+---------------+
 |  MNC digit 2  |  MNC digit 1  |  octet x+2
 +---------------+---------------+

 MNC of length 3:

   8   7   6   5   4   3   2   1
 +---+---+---+---+---+---+---+---+
 |  MCC digit 2  |  MCC digit 1  |  octet x
 +---------------+---------------+
 |  MNC digit 1  |  MCC digit 3  |  octet x+1
 +---------------+---------------+
 |  MNC digit 3  |  MNC digit 2  |  octet x+2
 +---------------+---------------+

From 3GPP TS 29.171
7.4.27 PLMN Identity

- digits 0 to 9, encoded 0000 to 1001,
- 1111 used as filler digit, two digits per octet,

- bits 4 to 1 of octet n encoding digit 2n-1
- bits 8 to 5 of octet n encoding digit 2n

The Selected PLMN identity consists of 3 digits from MCC followed by either
- a filler digit plus 2 digits from MNC (in case of 2 digit MNC) or
- 3 digits from MNC (in case of a 3 digit MNC).
2020-10-29 00:53:13 +01:00
Martin Mathieson 7c178d752f Bluetooth protocols: fix some protocol item lengths 2020-10-28 22:35:28 +00:00
John Thacker abf3eaace8 Encodings: Add FT_STRINGZ support for GB18030, EUC-KR 2020-10-28 22:05:17 +00:00
Pascal Quantin 4ff3c82534 Bug.md: use code blocks for logs and build information sections 2020-10-28 21:32:58 +00:00
Gerald Combs 05bd5cd91e CI+RPM: Disable the Fedora build for now.
Fedora 33's RPM environent added changes that break CMake. Disable it
for now.
2020-10-28 20:48:49 +00:00
Gerald Combs b1d18e41db Qt: Add a recent item for packet diagram field values.
Fixes #16957.
2020-10-28 20:11:25 +00:00
Gerald Combs 1c2fd68e26 Qt: Fix saving+restoring frozen packet list rows.
Use the packet list selection model to save and restore selected rows
when freezing and thawing. Fixes #16770.
2020-10-28 15:36:07 +00:00
Dieter Dobbelaere 9b5d4945d0 DOCSIS/XRA: fix typos + cleanup. 2020-10-28 13:58:38 +00:00
Jaap Keuter 918db88055 Create protocols to the end of the TVB if length unknown upfront
Creating protocols with unknown length must be created to the end of the TVB
first and reined back using proto_set_len() once the length becomes known.
Not doing so can make indentification of problems harder and prevents analysis
engines like MATE from properly processing the generated protocol trees.
With this change the remaining offending dissectors are corrected for this.

Closes #16961
2020-10-28 12:40:44 +00:00
Arnout Vandecappelle (Essensium/Mind) af0c4203a0 ieee1905: fix endianness of fields
In IEEE1905.1, everything is encoded in network byte order (big endian).
However, the dissector has a lot of ENC_LITTLE_ENDIAN. Change these into
ENC_BIG_ENDIAN.

The IPv4 Type TLV is not changed in this commit, since I'm not able to
test that TLV with an actual IEEE1905.1a implementation.

Many other fields are currently encoded as ENC_NA put should probably be
ENC_BIG_ENDIAN as well. However, they seem to work with ENC_NA, so they
are also not changed.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2020-10-28 12:16:56 +00:00
Dieter Dobbelaere 7c9eb8b235 Fix typo: 'descriptionfor' -> 'description for'. 2020-10-28 11:00:12 +01:00
Huang Qiangxiong 1c5d577d63 Protobuf: fix bugs about field subdissector
Don't try to dissect bytes as string and show its value item if the
bytes field has a subdissector. And add field subdissector under field
item instead of value item.

close #16956
2020-10-28 08:54:30 +00:00
Dr. Lars Völker ecdd7f3ede TECMP: Adding support for two temps in Vendor Data
The TECMP vendor data format for the Status Capture Module message has
support for two temperatures (chassis and silicon). This patch allows
dissection of those temperatures.
2020-10-28 08:31:44 +00:00
Guy Harris 889e0d5cb6 Add a new record type REC_TYPE_SYSTEMD_JOURNAL.
Systemd journal entries aren't file-type-specific; they're found in both
systemd journal entry blocks in pcapng files and in systemd journal
export files.  Give it a record type, for use with both file types.

This fixes #16955.

It also means that you can open a systemd journal export file and save
it as a pcapng file.
2020-10-27 20:06:26 -07:00
Stig Bjørlykke edd71daa90 lte-rrc: Pluralize PagingRecord(s) 2020-10-27 15:51:11 +01:00
Stig Bjørlykke 5413331ed3 AT: Handle response without leading \r\n
The AT response may not contain a leading \r\n, so avoid checking
for this to determine if it's a response. This characters will be
removed as a part of white space removal anyway.
2020-10-27 07:22:09 +00:00
Guy Harris 639891651f Impose limits on the number of records we read.
Start the limit at 2^32-1, as we use a guint32 to store the frame
number.

With Qt prior to Qt 6, lower the limit to 53 million packets; this
should fix issue #16908.
2020-10-26 16:52:58 -07:00