Commit Graph

86581 Commits

Author SHA1 Message Date
Chuck Craft 373c8f616d github: call reworked macos-setup-brew.sh with options 2023-02-03 10:47:12 -06:00
John Thacker d2067aea8d RTP: Add a "Multiplexed as in RFC 7983" default preference setting
RTP is commonly multiplexed on the same UDP 5-tuple with STUN, DTLS, and
other protocols including ZRTP.  RFC 7983 gives current best practices for
dealing with the multiplexing that doesn't involve assuming that version
0 packets are always the same protocol. Implement that for the "what to do
if RTP packets have the wrong version number" preference and set it as the
default.

Only use this setting when RTP is being dissected non-heuristically
(leave heuristic dissections to the other protocol's heuristic
dissector.)

This avoids a problem of the STUN heuristic dissector setting itself
to be the new dissector for an RTP conversation (cf issue #18148).
This also allows dissection of TURN ChannelData multiplexed on the
same 5-tuple as RTP set up by, e.g., SDP.

Fix #18832
2023-02-03 12:33:46 +00:00
Guy Harris 56651c4db1 tshark: fix previous fix for memory leak.
Pass the correct filter variable to warn_about_capture_filter();

Fixes the fix for #18837.
2023-02-03 04:03:15 -08:00
Martin Mathieson 85c134894a ORAN FH CUS: change some item long texts 2023-02-03 10:29:11 +00:00
Guy Harris d69208c5e7 tshark: plug a memory leak.
Put the "attempt to compile a filter string as a capture filter" code
into a common routine, and, if the attempt succeeds, free up the
generated capture filter code.

Fixes #18837.
2023-02-03 08:29:44 +00:00
ismaelrti 43861fd852 RTPS: Added dissection of the RTPS PING string
Dissection of the RTPS PING string field
2023-02-03 07:42:54 +00:00
Gerald Combs 1bcc5d097d GitLab CI: Add a macOS merge request build.
Add an initial "macOS Build" job that uses GitLab's macOS beta.
https://about.gitlab.com/blog/2021/08/23/build-cloud-for-macos-beta/

Add command line options to macos-setup-brew.sh and use it to install
our packages.

Skip running tests for now.
2023-02-02 23:13:29 +00:00
ismaelrti e93f423504 RTPS: Added support for new pre-ahared-secret-based RTPS protection
New submessage HEADER_EXTENSION has been introduced prior to
RTPS_PREFFIX submessage.
2023-02-02 19:33:38 +00:00
Stig Bjørlykke e3719872b5 gsm_sms: Allow empty src and dst in hashing functions
Allow empty pinfo.src and pinfo.dst in hashing functions to fix
reassembly when delivered in a NAS message.

Fixup 1d8680d07f
2023-02-02 15:13:46 +01:00
Martin Mathieson 54e5e2c8a6 Fix some spelling errors 2023-02-02 12:13:21 +00:00
John Thacker 15dfa3aa20 Qt: Fix order of ShowAs enums
The ShowAs enum should stay in the same order as the Items
are added to the ShowAs combobox, because setCurrentIndex()
is used with the enum values, e.g. when setting the value to
"Show As Image" when the bytes are an image.
Fixup c9e08b7be3
2023-02-01 21:18:58 -05:00
Pascal Quantin c0c939c4f3 NGAP: fix dissection NAS PDU IE broken in b801ea0191 2023-02-01 15:33:37 +00:00
Pascal Quantin c649b14803 NAS 5GS: fix dissection of 5GSM network feature support IE 2023-02-01 16:15:58 +01:00
Martin Mathieson 199d8e86d0 Make some symbols static. 2023-02-01 11:00:24 +00:00
Gerald Combs 9d9d72f47b Qt: Fix Logray compilation with Qt 6.4
Copy+paste afa2579124 to fix

wireshark/ui/logray/logray_main_window_slots.cpp:1564:40: error: attempt to use a deleted function
            stats_tree_action->setData(cfg->abbr);
                                       ^
Qt/6.4.2/macos/lib/QtCore.framework/Headers/qvariant.h:199:5: note: 'QVariant<char *, false>' has been explicitly marked deleted here
    QVariant(T) = delete;
    ^
2023-01-31 14:03:04 -08:00
Martin Mathieson ed8ee831fd More fussing with items and calls. 2023-01-31 17:32:05 +00:00
ismaelrti 858f759fa2 RTPS: Improving the way the Domain ID is dissected
Taking the domain id from discovery traffic if available or showing
amessage that the value might not be accurate if not.
2023-01-31 16:14:01 +00:00
ismaelrti 1c9b202f5f RTPS: Fix incorrect DomainId when port is not default.
Trying to deduce the DomainIf from the port is not correct when the port
is not default. Using discovery data instead if available.
2023-01-31 16:14:01 +00:00
Cody Planteen 9e7c15fcb5 VRT: add decoding of more CIF1 fields to VITA 49 dissector 2023-01-31 12:50:36 +00:00
João Valverde b376b340af MSYS2: Update README 2023-01-31 12:28:12 +00:00
John Thacker 25544e4d4f TLS: Add to HTTP upgrade subdissector table
RFC 2817. Ping #18825
2023-01-31 01:52:09 +00:00
Gerald Combs 894e8c46c6 Revert "Enable rpathification and working relocation on Linux"
This reverts commit 7a346c398a.
2023-01-30 22:30:56 +00:00
Gerald Combs abb0e7e9e5 CMake: Lower-case a filename
GPL_appendix.adoc should be gpl_appendix.adoc as of 171dbd6ea8.
2023-01-30 14:05:42 -08:00
Gerald Combs 171dbd6ea8 Docs: Rename our guide source files
Rename the various "WSUG_" and "WSDG_" files to wsug_ and wsdg_
respectively. Remove the "chapter" and "app" parts from the filenames as
well.
2023-01-30 20:05:06 +00:00
Gerald Combs 27d5925b39 Docs: Prepare to lower-case some file names.
Prepare to lower-case GPL_appendix.adoc, WSDG_preface.adoc, and
WSUG_preface.adoc.
2023-01-30 20:05:06 +00:00
Brendan Meath 4d92967b74 Fix order of CAG only flag descriptions. 2023-01-30 18:05:14 +00:00
Holger Jeromin 910a21a57a fix mimimum typo in comment
Came from https://datatracker.ietf.org/doc/html/draft-ietf-6man-mtu-option-02 but RFC 9268 is fixed, too.
2023-01-30 15:06:00 +00:00
John Thacker 67a01bdf26 wiretap: Preserve NRBs with editcap, mergecap, and tshark
Use a pointer to the growing array of NRBs from the source
file, as with DSBs, so as to handle reading NRBs in the middle
of a file in one-pass mode.

Write NRBs when reading a file with editcap, or in tshark when
not dissecting packets and writing our own NRB. Continue not
to write the NRB if we're supplying our own list of address info
instead.

If we have already read the entire source file in (such as in
two-pass tshark), move all the NRBs to the beginning of the file
before packets, as done with DSBs.

When merging files with mergecap, write both sets of NRBs. (There
is no attempt to merge the NRBs by looking for common entries.)

Check for name resolution data in the middle of dumping a file,
not just at the end, and check for DSBs at the end of a file,
after all the packets. This means that Wireshark no longer writes
the NRB at the very end of the file after all the packets (which
is worse for future one-pass reads), and DSBs after all packets
are preserved.

Ping #15502
2023-01-30 13:29:49 +00:00
Mathis Marion 3ff9f075c6 Update ICMPv6 dissector with ND EARO status
See https://www.rfc-editor.org/rfc/rfc8505#section-4.1 Table 1
2023-01-30 13:28:52 +00:00
Mathis Marion 7908dfd930 Update ICMPv6 dissector for ND EARO
RFC 8505 introduces the Extended Address Registration Option (EARO)
which uses some previously reserved fields from the Neighbor Discovery
Address Registration Option (ARO) defined in RFC 6775.

https://www.rfc-editor.org/rfc/rfc8505#section-4.1
https://www.rfc-editor.org/rfc/rfc6775#section-4.1
2023-01-30 13:28:52 +00:00
Martin Mathieson aa31a1b405 GREBonding: fix type in vals for link type 2023-01-30 13:11:15 +00:00
Martin Mathieson efe35a4ccc Fix or suppress more warnings from check_typed_item_calls 2023-01-30 10:28:24 +00:00
Jim Walker d085725bb6 Couchbase: update snapshot flags for change streams
Two new flags maybe generated by couchbase DCP

* history 0x10
* may contain duplicates 0x20

Change-Id: Ic8c377fd1a5e7dc65453a779a1a36a94283a64ed
2023-01-30 08:24:17 +00:00
João Valverde 7a346c398a Enable rpathification and working relocation on Linux
Dumpcap depends on wsutil.so. The path to the shared library
is encoded in the RPATH (or RUNPATH) property of ELF binaries.
This is currently an absolute path on most Unixy systems.

Dumpcap could not be made to work with a relative RPATH because it
uses elevated privileges and some loaders will ignore relative
RPATHs and non-standard paths under those circumstances, because of
(justified) security concerns.

To enable relocation of the program we link dumpcap statically
with wsutil instead.

This provides a fully working relocatable installation on Linux
and other platforms that support relative RPATHs.
2023-01-29 23:38:00 +00:00
João Valverde 43e530e94d Update msys2-setup.sh 2023-01-29 22:08:47 +00:00
João Valverde 62005a7e20 GitHub: Switch MSYS2 build to UCRT64 2023-01-29 22:07:43 +00:00
João Valverde 80a35f632e GitHub: Build MSYS2 commit SHA
The PKGBUILD always builds the tip of the master branch. Try to
allow selecting a commit using $PKG_COMMIT.
2023-01-29 22:07:43 +00:00
Martin Mathieson 1de8882cc3 Fix some too-short item lengths 2023-01-29 20:43:00 +00:00
Gerald Combs b8f0d17af9 wsutil: Filesystem routine updates.
Make sure init_plugin_dir and get_doc_dir uses the same logic as
get_datafile_dir. Update each so that the xxx_DATA_DIR and
xxx_PLUGIN_DIR environment variables take precedence.

CMake's ENABLE_APPLICATION_BUNDLE determines whether or not we're using
an application bundle layout, so check for it instead of __APPLE__.
2023-01-29 20:35:18 +00:00
Gerald Combs 75742c81b6 macOS: Copy our top-level .pkgs instead of symlinking them
Make copies of our top-level packages instead of symlinking them. Blind
attempt at fixing #18830.

Switch to UDZO for our application disk images as recommended in
https://developer.apple.com/forums/thread/128166

[skip ci]
2023-01-29 18:54:50 +00:00
Gerald Combs 620dc806db [Automatic update for 2023-01-29]
Update manuf, services enterprise numbers, translations, and other items.

services failed.
2023-01-29 18:53:10 +00:00
Martin Mathieson 407b707e1f check_typed_item_calls: filter out some false positives 2023-01-29 18:39:20 +00:00
Tomasz Moń 516c69b921
Qt: Allow caching columns while dissecting color
It is fine to dissect and cache columns data during color dissection if
it won't evict already cached data. There is rather high probability of
using the column data because color information is dissected in order.
2023-01-29 10:39:06 +01:00
Alexis La Goutte ac64be57c0 MONGO: add BSON Element Decimal128
Close: 18791
2023-01-28 21:12:45 +00:00
João Valverde 60f3e33849 MSYS2: Remove packages that were upstreamed
Remove dependency packages that are now upstream.

Update PKGBUILD dependencies and README.
2023-01-28 15:39:52 +00:00
Tomasz Moń e7d5c49fe1
epan: Use hash table for dependent frames
Dependent frames list order does not matter and thus significantly
faster data structure can be used. Replace the list with hash table to
avoid excessive CPU usage when opening files containing reassembled
packets consisting of large number of fragments.
2023-01-28 15:17:42 +01:00
Tomasz Moń 5e3d77761b
USBLL: Do not reassemble across reset boundary
Invalidate endpoint info on SET ADDRESS to prevent reassembly and/or
retransmission detection across reset boundary.

Leave endpoint info intact when assigning default address (0) to avoid
issues related to unknown control endpoint max packet size. Only control
transfers are allowed to address 0 so this should pose no issues.
2023-01-28 10:54:40 +01:00
David Fort bb8d183387 rdp_egfx: improve command parsing and packet browsing 2023-01-27 23:18:23 +01:00
David Fort bc40c57b82 rdp: fix zgfx decompression
This fixes a decoding error when the packet is not compressed.
2023-01-27 23:18:23 +01:00
Jorge Mora dbf5bf27d3 NFS: add NFSv4.1 CB_RECALL_ANY operation
Add support for CB_RECALL_ANY operation as given in the following:
RFC 5661 Network File System (NFS) Version 4 Minor Version 1 Protocol.
RFC 8435 Parallel NFS (pNFS) Flexible File Layout.

    Opcode: CB_RECALL_ANY (8)
        Objects to keep: 0
        Number of masks: 1
        Type mask: 0x00000001 (Read Delegation)
            Type: Read Delegation (0)
2023-01-27 11:17:15 -07:00