Commit Graph

79357 Commits

Author SHA1 Message Date
Vadim Yanitskiy cf6f049456 GSM A-bis/OML: fix dissect_oml_attrs(): do not dissect empty IEs
Before:

  FOM Attribute ID: SW Description
      FOM Attribute Length: 0
      FOM Attribute Value: <MISSING>
  FOM Attribute ID: File ID
      FOM Attribute Length: 8
      FOM Attribute Value: 3136386435303200

After:

  FOM Attribute ID: SW Description
      FOM Attribute Length: 0
  FOM Attribute ID: File ID
      FOM Attribute Length: 8
      FOM Attribute Value: 3136386435303200
2020-12-17 09:16:13 +00:00
Frédéric Perrin 7010b4236f bfd: add ports for BFD on LAG and seamless BFD 2020-12-17 08:51:19 +00:00
Guy Harris ca13c3ce49 macos-setup: get rid of a debugging "set -x". 2020-12-16 23:23:13 -08:00
Guy Harris 9fbf79c045 macos-setup: various cleanups.
In uninstall_autoconf, when running uninstall subfunctions, pass the
arguments to the subfunctions.

When uninstalling Ninja, remove the "we've finished installing this"
indicator file.

Get rid of a debugging "set +x".
2020-12-16 18:14:30 -08:00
Guy Harris 190442d76e macos-setup: set SDKROOT when running xcrun.
That lets it find the right SDK path if you're not using the default
SDK.
2020-12-16 14:09:22 -08:00
Gerald Combs bf45e8c3f1 macOS: Add a workaround for libsnappy.
Work around an issue with libsnappy similar to what we do with libssh.
2020-12-16 21:31:29 +00:00
Pascal Quantin 6deafe8afa F1AP: upgrade dissector to v16.3.1 2020-12-16 21:58:11 +01:00
Gerald Combs d4b40c0047 Qt: Force layer backing on Big Sur when needed.
Make sure NSView.wantsLayer is true by setting QT_MAC_WANTS_LAYER=1 at
startup if we're running on Big Sur and we were built with a version of
Qt susceptible to QTBUG-87014. Fixes #17075?
2020-12-16 20:28:16 +00:00
Guy Harris f2af1ea66d macos-setup: fix uninstallation of libtasn1.
Fix a copy-and-pasteo.
2020-12-16 11:54:53 -08:00
Đorđije Manojlović 7e8392c784 R-GOOSE dissector: Fix subtree item lengths 2020-12-16 15:28:45 +00:00
Anders Broman adb1b59495 Fix duplicated filter names. 2020-12-16 15:13:31 +01:00
Anders Broman 4735eddfef Fix duplicated filter names 2020-12-16 12:58:38 +00:00
Guy Harris 19ffed19bd fcdns: the Owner Id field is a 3-octet FC address, not a text string.
Make it FT_BYTES with SEP_DOT, like other 3-octet FC addresses.
2020-12-16 12:28:28 +00:00
Pascal Quantin 7b4abddef2 LPPa: upgrade dissector to v16.1.0 2020-12-16 12:02:37 +01:00
Pascal Quantin 4427c11571 NRPPa: upgrade dissector to v16.1.0 2020-12-16 09:54:06 +00:00
Guy Harris ed6f6a49aa fcswils: fix a comment.
In an ESS capability object, the well-known type and well-known subtype
fields are 1 byte, not 2 bytes.
2020-12-16 08:44:09 +00:00
Martin Mathieson 58dc84ab04 ORAN: check valid sample bit width from prefs 2020-12-16 06:16:06 +00:00
Pascal Quantin 099554adb0 extract_asn1_from_spec.pl: fix parsing with CRLF line ending 2020-12-16 04:48:53 +00:00
Gerald Combs 3e3194092c GitLab CI: Switch from clang 10 to clang 11.
The wireshark/wireshark-ubuntu-dev currently ships with both clang 10
and 11. Upgrade to clang 11.
2020-12-15 15:16:40 -08:00
Jaap Keuter 3f0fc1b232 FC: use ETHERTYPE_UNK when applicable, no excuses
Two interlocking problems cause the dissection of FC to fail in some cases,
as shown in the capture of the related issue.

The FC dissector assumes that ETHERTYPE_UNK in the data structure passed
to it is coming from the MDS header dissector only, and thus that header
sizes have to be taken into account. This is not / no longer the case.
It always passes down ETHERTYPE_FCFT. Therefore the MDS header size
checking does not apply to ETHERTYP_UNK, so is removed as condition.

The other FC related dissectors were forced to setup a data structure to
pass to FC for it to handle that part of the frame. Because these weren't
related to ethernet, these lazily set the ethertype field in the data
structure to 0. This unfortunately matches ETHERTYPE_UNK, triggering the
MDS header size checking in FC, leading to this issue. With the first
problem resolved, now make it explicit that unknown ethertype is indicated
by ETHERTYPE_UNK, not '0'.

Addresses primary part of issue #17084
2020-12-15 20:26:29 +00:00
Jaap Keuter 354a6fd015 FCdNS: use correct header field for field of flags
closes #17084
2020-12-15 19:56:15 +00:00
Gerald Combs 9c1893b565 GitLab CI: Try to optimize our ccache maximium size. 2020-12-15 19:29:53 +00:00
Anders Broman 5dff85e84b Fix duplicated filter names. 2020-12-15 14:43:43 +00:00
robionekenobi 253c49b73e packet-mq: Improve MQINQ Display
Improve display of Integer value (use standard, no alignement)
Reduce un-needed space in table display for Prm.
Use, where possible, 'xxx: Text (decimal)' display for Integer value
2020-12-15 13:01:34 +00:00
Martin Mathieson b7cb24c1fd check_typed_item_calls.py: some tweaks 2020-12-15 11:54:48 +00:00
Anders Broman 0fdbe0839d asn2wrs: Rename duplicated filter names 2020-12-15 10:54:58 +00:00
Dario Lombardo d13a7899ec github: use macos 11.0 in macos image.
Fix: #17063.
2020-12-15 08:12:10 +00:00
Martin Mathieson 99cc1280dc VCDU: Sequence Count is 3 bytes. 2020-12-15 06:05:05 +00:00
Pascal Quantin 4bf4a46f9b Qt: add support for new netsh syntax in Firewall ACL Rules window
Closes #17083
2020-12-14 22:39:53 +00:00
Pascal Quantin 5ed3a4dc02 Windows: clean libpcap package 2020-12-14 19:23:22 +00:00
Pascal Quantin 0d11bbeeaf Windows: upgrade Npcap to 1.10 2020-12-14 19:44:35 +01:00
Jirka Novak ff3fffcf5c VoIP: VoIP calls statistics are cleared when retap is issued
Every press of Play Stream or Prepare Filter caused incorrect increasing
of Packets count and added Comments.
The reason was that callinfo statistics were not clear before recap
therefore all new values were added to exiting ones.
Patch solves it.
2020-12-14 13:29:38 +00:00
Yoni Gilad 6048e027ec SCTP: Fix marking of dependent frames for tshark
In SCTP reassembly, dependent frames were only marked on the second pass,
but tshark requires them to be marked on the first pass in order to write
them with -w <FILE>. This fix marks the dependencies on the first pass.
Fixes #16773.
2020-12-14 11:20:10 +00:00
Gerald Combs ac8ac25da1 GitLab CI: Increase our merge-req:ubuntu-gcc-ctest parallelization. 2020-12-14 09:58:30 +00:00
Guy Harris 5bb776bfe3 TDS: make dissect_tds_prelogin_response() return a Boolean.
It either returns 1 or 0, and that's intended as a Boolean; make it
return a gboolean and use TRUE and FALSE rather than 1 and 0.
2020-12-13 23:07:23 -08:00
Guy Harris 5a53365f60 TDS: show the COLMETADATA results token flags in hexadecimal.
All other bitflag fields are shown in hex; this one should be, too.
2020-12-13 22:40:09 -08:00
Martin Mathieson 701d72754a ORAN: trivial comments and formatting changes 2020-12-13 19:55:44 +00:00
Gerald Combs 21928345d3 [Automatic update for 2020-12-13]
Update manuf, services enterprise numbers, translations, and other items.
2020-12-13 17:05:48 +00:00
j.novak@netsystem.cz 7f376c7ced SNMP: Fix checking of SNMP v3 auth if MD5 method is used
When the user enters row to SNMP Users table in wireshark and Authentication model is set to MD5, row is ignored in processing. The reason is that constant for MD5 is 0, but the code checks if the value is defined by simple 'usm_p.user_assoc' condition. Therefore 0 never succeeds.
As item can have only listed values, I think the check can be removed.
Function verified on sample.

I propose to cherry pick the change to all stable branches.
2020-12-13 15:28:36 +00:00
Martin Mathieson 9d2481c9f5 ORAN: Skip BF Weights if don't do comp method 2020-12-13 14:31:39 +00:00
Jose Rubio 270561ade1 DCT2000: Allow any PDU to be dissected.
There are traffic dumps that only include the PDU payload
without lower layer information.  This commit allows any
dissector to be embedded in the DCT2000 as a protocol name.
tshark/wireshark will decode it despite having no lower
layer information.

The change allows a DCT2000 protocol field to look for a
dissector.

The change can be enabled or disabled with the preference
dct2000.use_protocol_name_as_dissector_name and it defaults
to FALSE.

Example:

Session Transcript (format 3.1)
December 6, 2020     16:45:20.5185
LTE-RRC.1/lte_rrc.dl_dcch/1/// r tm 22.5695 l $2c02
S1AP.1/s1ap/1/// s tm 23.3926 l
$001700130000020063000608023d7c00830002400202a0
2020-12-13 11:17:42 +00:00
Guy Harris 02c5f50009 macos-setup: more cleanups.
Fix/update/expand some comments.

Do uninstalls for dependencies using CMake more similarly.

For LZ4, as it comes with a Makefile rather than any
autotools/CMake/etc. configuration, "make distclean" might not be
necessary, so, as it's not supported, just do "make clean".

For libssh, do all removes in the uninstall in a single command, and use
$DO_RM, so that it uses sudo iff /usr/local isn't writable by us.  In
addition, remove the build directory as the equivalent of "make
distclean".

As with libssh, so with brotli.
2020-12-13 00:44:24 -08:00
Guy Harris 7d01e3a74e macos-setup: clean up uninstallation of snappy.
For a CMake build done in a subdirectory of the source directory, the
equivalent of "make distclean" is "rm -rf {that subdirectory}".  Make it
so.

When uninstalling the stuff snappy installs with "rm -rf", use $DO_RM,
so it's done with sudo iff /usr/local isn't writable by us, just as
"make uninstall" is done with $DO_MAKE_UNINSTALL so it's done with sudo
iff /usr/local isn't writable by us.

Fix up the list of what to remove, now that we're building snappy as a
shared library, so that it removes shared libraries rather than the
non-existent static library.

Update a comment while we're at it, as Lua isn't the only dependency
that doesn't support "make uninstall".
2020-12-12 23:47:27 -08:00
Martin Mathieson 1a3703cc3e ORAN: Fix possible divide by zero errors
Report as expert info errors and bail on BFW extension
header if see invalid values (that would have resulted
in division by 0).
2020-12-13 06:25:02 +00:00
Guy Harris e92119c608 macos-setup: build snappy as a shared library.
The older versions of snappy apparently used autotools and build a
shared library by default; for example, Wireshark 3.2.6 for macOS is
built with snappy, and includes a snappy dynamic library in the app
bundle.

The current version uses CMake and does *not* build a shared library by
default.  Instead, it builds a static library, which, when you try to
link it to a C-only shared library...

...does not work.

The linker sees that you're statically linking in a bunch of C++ .o
files and gets upset because it can't find C++ standard library routines
used by that code.

If it's a dynamic library, the library was itself already linked with
the C++ standard library, so the external references to that library
from the snappy library are already marked as having been resolved to
the extent that they're expected to be in the C++ standard library at
run time - and, when the dynamic snappy library is built, it's marked as
depending on the C++ standard library, so the run time linker will, when
it loads the snappy dynamic library, see that the C++ standard library
is required and will load it if it hasn't already been loaded.
2020-12-12 21:30:51 -08:00
Gerald Combs b63692e327 GitLab CI: Disable LTO on Windows
`cmake -DENABLE_LTO=off ..` builds more quickly here, so add it to
merge-req:windows.

Fix a typo.
2020-12-13 01:31:09 +00:00
Guy Harris 504f2ea42a Snappy uses CMake, and they didn't bother to provide an unintall target.
Or a distclean target, for that matter.

Do the best we can.

(libpcap and tcpdump support both autotools and CMake, and Wireshark
uses only CMake; all of them support an uninstall target in CMake.  Go
forth, read what they did, and sin no more.)
2020-12-12 15:51:10 -08:00
Guy Harris 2ecb606142 Work around more NeXTStEP-induced pain.
GNU libtool has a libtool program and a libtoolize program.

The development tools for NeXTStEP, apparently, had a libtool program as
well, and the current version of the development tools for the current
version of NeXTStEP, generally known as "Xcode for macOS", still have
that program.

This means that we do some renaming after installing GNU libtool, so
that its "libtool" becomes "glibtool" and its "libtoolize" becomes
"glibtoolize".

That meant we had to compensate for that when running autoreconf when
building and installing minizip.

It turns out we have to do that when running autogen.sh when building
and installing GLib as well.
2020-12-12 21:59:59 +00:00
Gerald Combs 53775325df RPM: Try to fix openSUSE packaging.
Try to fix

    + /usr/lib/rpm/suse_update_desktop_file.sh wireshark
    ERROR: suse_update_desktop_file: unable to find wireshark
2020-12-12 21:16:55 +00:00
Scott McKay b687813f58 acn: Change new DMX protocol name
Change name to better define protocol
2020-12-12 20:48:13 +00:00