Commit graph

78663 commits

Author SHA1 Message Date
Odysseus Yang
4f362eef8e MBIM: dissect new UICC commands of MBIM extended version 1.0
MBIM_CID_MS_UICC_APP_LIST
MBIM_CID_MS_UICC_FILE_STATUS
MBIM_CID_MS_UICC_ACCESS_BINARY
MBIM_CID_MS_UICC_ACCESS_RECORD
2020-09-01 10:05:59 -07:00
Peter Oettig
d11ca36362 Portcontrol: Implemented option code 130
Portcontrol: Added support for option code 130 / Port-Set (RFC 7753)
Portcontrol: Made info column for Map Request / Response more helpful
2020-09-01 11:00:40 +00:00
George Hopkins
a8cb2809d1 ErlDP: support features of Erlang/OTP 23 2020-09-01 10:57:37 +00:00
Gerald Combs
3e0ebabdec CI+tools: Install lintian.
Install lintian instead of devscripts (which pulls in lintian + many
other packages) in .gitlab-ci.yml. Add lintian to DEBDEPS_LIST in
debian-setup.sh.
2020-09-01 08:46:08 +00:00
Anders Broman
00bf625286 GTpv2: Add expert info for zero length IE
Add an Expert info for zero length 8.76 CSG Information Reporting Action
IE.
2020-09-01 07:30:44 +00:00
John Thacker
fb86f83949 FCOE: (Pre-T11) Help Ethernet dissector guess about Ethernet FCS
The pre-T11 (pre August 2007) version of FCOE has a frame length, so it's
possible to set the length in order to help the Ethernet dissector determine
if a capture includes the Ethernet FCS, like how other dissectors do it.
This isn't possible in the standardized version, since the length field
was removed. Closes #4594.
2020-08-31 23:39:27 +00:00
Pascal Quantin
d24674c4ae NGAP: fix ngap.MDT_Location_Information.reserved definition 2020-08-31 20:59:37 +00:00
Martin Kaiser
6c0d34cf4b cl3: (trivial) drop _U_ for a parameter that is used
Fix the following compiler warnings

packet-cl3.c:120:39: warning: 'tree' was marked unused but was used [-Wused-but-marked-unused]
  ti = proto_tree_add_protocol_format(tree, proto_cl3, tvb, 0, header_length, "CableLabs Layer-3 Protocol (CL3) Version %u", (guint)version);

packet-cl3.c:136:32: warning: 'tree' was marked unused but was used [-Wused-but-marked-unused]
    dissect_cl3_v1(tvb, pinfo, tree, ti, cl3_tree, header_length);
2020-08-31 20:17:02 +00:00
Martin Mathieson
e7d20090f7 More spelling fixes, last part of 2nd pass of dissectors. 2020-08-31 18:26:28 +00:00
Martin Mathieson
4c74caf9ef More spelling fixes, part 2 of 2nd pass of dissectors.
There will likely be one for for this pass.  Further improvements to the
script are possible, i.e. filtering out (usually filter) strings such
as 'onetwothree' - may not be worth it though.
2020-08-31 16:37:50 +01:00
Martin Mathieson
2999b7f6b3 More spelling fixes, part 2 of 2nd pass of dissectors. 2020-08-31 12:39:37 +01:00
Ana Pantar
73ff25185c EBHSCR: Add CAN and TS, update ETH dissectors
Added new CAN and TS packet dissectors, ETH dissector updated with the latest EBHSCR changes,
each protocol is handled in a separate function
2020-08-31 09:55:38 +02:00
Martin Mathieson
4a4e50992a More spelling fixes, start of second pass of dissectors.
Now easier to find errors due to script improvements and more complete
dictionary file.
2020-08-30 22:34:34 +01:00
Igor Passchier
8ee18eed20 ITS: enable decoding of UDP datagram as ITS message
By default, ITS messages are send based on the geonetworking protocol.
Several tools send these messages via UDP as well
This patch enables "Decode As ITS" for UDP packets
2020-08-30 20:30:21 +02:00
Gerald Combs
54cd3cbb23 [Automatic update for 2020-08-30]
Update manuf, services enterprise numbers, translations, and other items.
/target_branch master
2020-08-30 17:38:32 +00:00
Martin Mathieson
a7c8da4216 Fix build where compilers can't initialise multi-field struct with {0} 2020-08-30 16:36:02 +01:00
Martin Mathieson
4c9f59ee56 Fix more spelling errors in dissector strings.
A second batch of spelling errors, detected using a script
that uses pyspellcheck and a Wireshark-specific dictionary file.

I will take at least one more pass through the dissectors, as
further improvements are made to the script.
2020-08-29 21:32:39 +00:00
Martin Mathieson
b8a773dddc Fix some spelling errors in dissector strings.
A first batch of spelling errors, detected using a script that uses
pyspellcheck and a Wireshark-specific dictionary file.
2020-08-29 19:31:11 +00:00
Mikael Kanstrup
97ade16979 nl80211: Fix abbreviated field names for NAN
Python's lstrip apparently doesn't strip a prefix but instead strips
all supplied characters from beginning of a string. Using lstrip
in generate-nl80211-fields.py script to remove the 'nl80211_' prefix
happened to work for everything but a few NAN related enums.
Introduce a remove_prefix function and regenerate the nl80211
dissector code to fix the abbreviated field names for NAN.
2020-08-28 13:07:13 +02:00
Dylan Ulis
0e2cd329e3 CIP: Combine connection structs
Notes:
1. There are no functionality changes with this delivery
2. This change is to reduce manual copying between structs. This will make it easier to add upcoming feature changes, and fix some connection handling issues (future merge requests).
3. Combine enip_conn_val_t and cip_conn_info_t. Previously, there were 2 different structs to track information about an overall CIP Connection.
2020-08-27 19:56:13 -04:00
Dylan Ulis
ba34033df4 CIP: Combine handling for cip_connID_info_t connections
Notes:
1. There are no functionality changes with this delivery
2. cip_connID_info_t describes a one-way connection. Each CIP Connection includes 2 of these. Previously, each operation was duplicated for each direction.
3. This change is to reduce copypaste, simplify logic, and make it easier to add upcoming feature changes, and fix some connection handling issues (future merge requests)

Changes:
1. Extract Method: get_conversation_info_one_direction
2. dissect_net_param16/dissect_net_param32: Parse and set data into cip_connID_info_t
2020-08-27 15:31:11 +00:00
Anders Broman
52dabc604e Diameter: Update AVP RAT-Type enum value. 2020-08-27 15:29:27 +02:00
Dario Lombardo
2e7d75ba59
cirrus: upgrade to freebsd 11.4. 2020-08-26 23:55:39 +02:00
Pascal Quantin
429fa65c80 Windows: upgrade Npcap to 0.9997 2020-08-26 18:52:41 +00:00
Pascal Quantin
73eff55668 GSM MAP: fix typo in template file
g4c36f43612 changed the autogenerated file instead of the template one
2020-08-26 19:43:31 +02:00
Pascal Quantin
986ead744d NGAP: upgrade dissector to v16.2.0 2020-08-26 18:37:12 +02:00
Martin Mathieson
4c36f43612 Fix a couple of typos in true_false_string entries. 2020-08-25 19:37:22 +00:00
Jaap Keuter
e48e9a5724 WSDG: remove another git review reference 2020-08-25 20:17:06 +02:00
Gerald Combs
f78579ee64 Remove .gitreview.
We no longer use Gerrit, so it's no longer needed.

Change-Id: I2e1d48305970d1ca1d1ab99629d55fb1c9b0c61f
2020-08-25 10:11:19 -07:00
John Thacker
847d3949c9 Apply Decode As induced protocol preference changes
Make sure that pending protocol preference changes caused by Decode
As have been fully applied before redissection. Prevents referencing
already freed memory Closes #16787. Also close #10305
2020-08-25 08:20:58 -04:00
Chuck Craft
4f61542fc3 Update link to report bugs via gitlab issues. 2020-08-25 00:21:28 -05:00
Gerald Combs
97dcaf97fc Convert Gerrit URLs to GitLab.
Convert various code.wireshark.org URLs to their
gitlab.com/wireshark/wireshark equivalents.

Change-Id: I0150d1bd14208eb451a7de818dce6573363b1d27
2020-08-24 23:31:32 +00:00
Mikhail Gusarov
ab4ef189ae wiretap: add Z-Wave Serial API frame type and pcap link-layer header
This header type was added to pcap registry a year ago:
https://lists.sandelman.ca/pipermail/tcpdump-workers/2019-July/001268.html
2020-08-24 19:34:07 +00:00
Yehonatan Zecharia
17e27e6c8b Move quic frag items inside gcrypt feature #if 2020-08-24 17:10:31 +00:00
Yehonatan Zecharia
d75ebf1139 Move btmesh frag items inside gcrypt version #if 2020-08-24 17:10:31 +00:00
Uli Heilmeier
c2f316dfea MPLS-Echo: Fix length of hf_mpls_echo_tlv_fec_igp_ipv6
Fix length of hf_mpls_echo_tlv_fec_igp_ipv6 and the offsets in use.

Fix: wireshark/wireshark#16791
2020-08-24 14:02:17 +00:00
Dario Lombardo
feba9bbff4 ci: add clang-tools to merge-request:ubuntu-clang-other-tests job.
It's required by validate-clang-check.
2020-08-24 13:15:30 +00:00
Dario Lombardo
b586f25789
tools: rename validate-clang-check.py to validate-clang-check.sh.
This reflects the actual language used in the code (sh).
2020-08-24 14:26:23 +02:00
Stig Bjørlykke
9cd9f02b34 Qt: Fix filename used in header comment
Fix a cut'n'paste issue in the filename used in the header comment.
2020-08-24 08:27:22 +00:00
Gerald Combs
1fe4db4bc4 WSDG: Start updating for GitLab.
Update the "Work with the Wireshark sources" chapter for GitLab.

Change-Id: I58b2f0f5eeec85c891bd7fdbb6132eb8147baabf
2020-08-23 22:45:00 -07:00
Gerald Combs
9977ca2132 doc: Update README.dissector for GitLab.
Change-Id: I0fd52a17a80f3d4f6acc3c38d53c7d452e85382f
2020-08-24 04:58:11 +00:00
Gerald Combs
50550708cc Add merge request jobs to GitLab CI and migrate commit validation.
Copy the Buildbot petri dish builder steps to corresponding GitLab CI
jobs. Update validate-commit.py to look for old "Bug:" and "Ping-Bug:"
references and have it call `git stripspace` directly. tools/commit-msg
was specific to Gerrit, so remove it.

Change-Id: Icbc54709052f44c941db9ad6a5dcf596292782a2
2020-08-23 17:46:18 -07:00
Gerald Combs
69ab0b00af [Automatic update for 2020-08-23]
Update manuf, services enterprise numbers, translations, and other items.

Change-Id: Id646b743f1634e9deb29f05186eb1ff87b3bc73a
Reviewed-on: https://code.wireshark.org/review/38232
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-08-23 08:17:41 +00:00
Guy Harris
a42286524a Only do trailing stray character checks on FT_STRING fields.
FT_STRINGZ means "terminated by a null character", so there can't be
non-null characters following the terminating null.

FT_STRINGZPAD doesn't only mean "padded with nulls"; there are protocols
where a string that's not the full length of the part of the packet for
the string has a null terminator but isn't guaranteed to be fully padded
with nulls.  We can later add a separate type for fields where we really
*should* check that the padding is all nulls.

Change-Id: I5964817b4b847cb4db73f8ac673141052e8ef92c
Reviewed-on: https://code.wireshark.org/review/38230
Petri-Dish: Guy Harris <gharris@sonic.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@sonic.net>
2020-08-22 23:12:08 +00:00
Roman-Koshelev
b228b5a1b1 Add Arinc 615A dissector
Bug: 16767
Change-Id: I70a6672d46ac1ea6e495759a47a13b0b8b0c9f33
Signed-off-by: Roman-Koshelev <roman.koshelev@bk.ru>
Reviewed-on: https://code.wireshark.org/review/38112
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-08-22 17:10:27 +00:00
Guy Harris
f91e6535c2 lldp: show the Protocol Identity as bytes, not a text string.
Section D.2.4.3 "protocol identity" of IEEE 802.1Q-2018 says:

    The protocol identity field shall contain the first n octets of the
    protocol after the layer 2 addresses (i.e., for example, starting
    with the EtherType field) that the sender would like to advertise.

Show it as FT_BYTES, not FT_STRINGZ.

Add a comment explaining that, and expand a comment to indicate what
specifications there are for LLDP and some Organizationally Specific
TLVs.

Change-Id: I8c41026379731d1c05134d6e7ad563227f9fbfde
Reviewed-on: https://code.wireshark.org/review/38229
Petri-Dish: Guy Harris <gharris@sonic.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@sonic.net>
2020-08-22 05:56:30 +00:00
Tomas Kukosa
82a4968bc3 plugin_if: add plugin_if_get_frame_data() and plugin_if_get_capture_file()
Change-Id: I7505d4185f18d13d6836c9c9bb8f400d12f2a524
Reviewed-on: https://code.wireshark.org/review/38217
Petri-Dish: Tomáš Kukosa <keksa@email.cz>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2020-08-22 05:32:29 +00:00
Guy Harris
7e46db8f86 gnutella: add a comment about the character encoding.
Change-Id: I9daf9a5de2e49c5d6e16780254db045b673999f5
Reviewed-on: https://code.wireshark.org/review/38228
Reviewed-by: Guy Harris <gharris@sonic.net>
2020-08-22 02:59:26 +00:00
Guy Harris
ae9f431c09 wmem_strbuf: add comments asking whether some checks are necessary.
Change-Id: I5a918eba4301aea64c58a8ada89b4daa49fb8c87
Reviewed-on: https://code.wireshark.org/review/38226
Reviewed-by: Guy Harris <gharris@sonic.net>
2020-08-21 20:21:29 +00:00
Guy Harris
c542e2476c tds: update URLs.
Fix some Wayback Machine URLs that no longer work because the
wayback.archive.org domain name no longer works.

Update some Microsoft URLs that used to go through the Wayback Machine
to point to the current versions at docs.microsoft.com.

Update a comment to reflect the disappearance of a Network Associates
document and its absence from the Wayback Machine.

Change-Id: I27a5b19fa7747a8f601fd9e6c0bf75aba0a3528e
Reviewed-on: https://code.wireshark.org/review/38225
Reviewed-by: Guy Harris <gharris@sonic.net>
2020-08-21 20:17:36 +00:00