Commit Graph

78789 Commits

Author SHA1 Message Date
Martin Mathieson ef1c388acd GTP NR RAN Extension Header: Update to latest spec.
Type 2 (Assistance Information Data) is still missing.
2020-09-04 20:29:45 +01:00
John Thacker 645716fb6d FCOE: Autodetect Ethernet FCS by examining EOF
In the T11 version of FCOE, the length field was removed. If the last
four reported bytes don't look like the EOF plus padding, but the four
bytes before that do, then the Ethernet FCS is almost surely present so
treat it that way. Closes the other case of #4594
2020-09-04 11:23:56 +00:00
Pascal Quantin f68719bd8a RTP: always add rtp.payload field but hide it if a subdissector is found
This is useful to dump the RTP payload using tshark without the need to
deactivate the sub dissector
2020-09-04 10:51:14 +00:00
Dario Lombardo aaf2edf8a7 github: fix windows build.
Downgrade winflexbison3 to 2.5.18.20190508.

Related: #16824.
2020-09-04 10:27:27 +00:00
Gerald Combs 188b4a655f README.developer: Note that sources can use UTF-8.
We started allowing source files to be encoded as UTF-8 in April 2019 in
bd75f5af0a. Update README.developer to match.

README.developer no longer has a "Code style" section, so update the
Developer's Guide to point to the "Portability" section.
2020-09-04 10:01:23 +00:00
Gerald Combs fd075df3f8 tools: Make the "Allow commits" error more obnoxious.
Add ANSI codes and emoji so that the error stands out in the pipeline
output. Clarify the text.
2020-09-04 09:22:04 +00:00
Martin Mathieson c2b69f4e9b Fix a couple of spelling errors in docbook files. 2020-09-04 08:31:46 +00:00
Chuck Craft eb626aa650 Query #define was being used in reply processor. 2020-09-04 06:21:39 +00:00
Anders Broman 0e6551336d Diameter 3GPP: Pretify dissection of 3GPP AVP 524 Codec-Data 2020-09-04 06:04:50 +00:00
Martin Mathieson 38d77e6c7c Fix some typos detected in man pages. 2020-09-03 21:07:35 +00:00
Stig Bjørlykke 07ad7843f6 Qt: Use UTF8 middle dot for non-printable characters
Use UTF8 middle dot for non-printable characters in ShowPacketBytes to
clearly show the difference between a non-printable character and '.',
and to align with the PacketBytes view.
2020-09-03 20:49:01 +00:00
Pascal Quantin c09cb5c343 GTPv2: fix dissection of Target Identification IE
Closes #16822
2020-09-03 21:54:18 +02:00
Pascal Quantin 09c9b87c8c XnAP: upgrade dissector to v16.2.0 2020-09-03 12:22:26 +02:00
Gerald Combs d5bafdcf5d WSDG: Add a note about "Allow commits from members..."
Recommend checking "Allow commits from members..." when creating merge
requests.
2020-09-03 03:42:11 +00:00
Gerald Combs 7476911490 tools: Force "Allow commits from members..." in merge requests.
Add a verify_merge_request routine to validate-commit.py. If the
required CI_MERGE_REQUEST_XXX environment variables are set it uses them
to query the GitLab API to see if "allow_collaboration" is true in the
current merge request.

This is a ham-fisted way of ensuring that committers can rebase and can
be removed if and when https://gitlab.com/gitlab-org/gitlab/-/issues/23308
is fixed.
2020-09-02 18:44:05 -07:00
Gerald Combs 10204490d7 USB HID: Avoid allocating a huge amount of memory.
Make sure we don't pass a huge number to wmem_array_grow. Closes #16809.
2020-09-02 21:19:32 +00:00
Gerald Combs 0e6027313d gitlab-ci: Enable the Windows MR build.
Git is currently broken in gitlab-runner 13.3.0 + Windows + Docker...

https://gitlab.com/gitlab-org/gitlab/-/issues/239013

...but it appears to work fine in gitlab-runner 13.2.0. I reverted the build machine to that version, so we can enable the merge-request:windows build.
2020-09-02 13:23:24 -07:00
Gerald Combs 898e390c2c Fix the Windows build.
Fetch time zone names using _tzname.
2020-09-02 12:36:53 -07:00
Gerald Combs 5aec54c9c3 GitLab CI: Set up ccache.
Set up a per-job cache directory and enable ccache as described at

https://gould.cx/ted/blog/2017/06/10/ccache-for-Gitlab-CI/

and

https://docs.gitlab.com/ee/ci/yaml/README.html#cache

Enable ccache in the merge-request steps.

Export DEB_BUILD_OPTIONS=nocheck while we're here.
2020-09-02 17:37:44 +00:00
George Hopkins 2411eae9ed multipart: fix deallocation of invalid parts
Fixes #16741
2020-09-02 11:38:56 +00:00
Juanjo Martin 83050495a7 RTPS: Fixing typo in a mask, it should be app_id instead of host_id 2020-09-02 10:05:28 +00:00
Martin Mathieson 4f3f9ca54b Fix some spelling mistakes found among plugins. 2020-09-02 10:13:37 +01:00
Guy Harris a1762dcbb0 get_zonename(): don't convert _tzname[] values to UTF-8.
Now that we're setting the C-language locale to use the UTF-8 code page,
they're already *in* UTF-8; g_locale_to_utf8() doesn't treat the
C-language locale's code page as the "locale" code page, it uses the
system code page, so it reads a UTF-8 string as being in some local code
page's encoding and proceeds to mangle it in the process of converting
it to UTF-8.

Closes #16811 (closed)
2020-09-01 23:52:35 -07:00
Gerald Combs c702b44a01 USB HID: Fix a double free.
Make sure we allocate a new field.usages array for
USBHID_MAINITEM_TAG_OUTPUT as we do for USBHID_MAINITEM_TAG_INPUT.
Closes #16818.
2020-09-01 22:01:46 +00:00
Martin Mathieson 218881dd13 Fix some spelling errors detected in epan/prefs.c
Ignored "st_sort_casesensitve", as it will not normally be seen by users,
and changing it would lose the previous setting (if set).
2020-09-01 20:43:42 +00:00
Pascal Quantin c4634b1e99 TCP: do not use an unknown status when the checksum is 0xffff
Otherwise it triggers an assert when adding the column as the field is
defined as BASE_NONE and not BASE_DEC or BASE_HEX. Thus an unknown value
(not in proto_checksum_vals[)array) cannot be represented.
Mark the checksum as bad even if we process the packet.
Closes #16816
2020-09-01 19:06:01 +00:00
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