Commit Graph

84794 Commits

Author SHA1 Message Date
João Valverde e7f439bc2f Convert capture file regex search to PCRE2.
Replace the use of the obsolete GRegex with PCRE2.

Fixes a crash reported in issue #17500.
2022-07-27 11:21:03 +00:00
Kaige Ye 2cc887e80d MySQL: Add dissector for binlog event HEARTBEAT_LOG_EVENT_V2 2022-07-27 06:33:34 +00:00
John Thacker ae1c630025 QUIC: Use the stored datagram info for follow filter
Using the addresses and ports to retrieve the QUIC connection
has issues with connection migration. We deal with that in
the QUIC dissector and store that information in proto data.

Use that proto data for generating the follow filter from a
selected packet. This makes it more robust to connection migration
and cases where different QUIC connections reuse the same UDP
5-tuple.
2022-07-26 20:12:06 -04:00
Gerald Combs 1ed39fa0b5 Add vcpkg-export-20220726-1.
Add vcpkg-export-20220726-1, which includes

  Dirent 1.23.2
  Gettext 0.21
  GLib2 2.72.3
  Libffi 3.4
  Libiconv 1.17
  Liblzma 5.2.5
  Libxml2 2.9.14
  PCRE 8.45
  Zlib 1.2.12

Ping #16265.
2022-07-26 23:33:29 +00:00
Chuck Craft c4f9831412 gtpv2: adjust field size and bitmask for gtpv2.smenb
Closes #18225
2022-07-26 15:20:06 -05:00
KATAOKA, Toshihiro 7a75c638ac ORAN: Block FP improvement, additional correction
optimized add_tree for hf_oran_iSample, hf_oran_qSample as float.
2022-07-26 15:15:45 +00:00
KATAOKA, Toshihiro 6189eee63f Improvemnet Block FP decompression, common in case both U plane/C plane.
1. Block FP is used in both U plane I.Q. samples and C plane beamforming
   weight decompression.
2. excluded digital power scaling(DPS) out of BFP decompression, i.e. (1<<15)
   bits shift, because DPS is applied only U plane.
3. added digital power scaling to be called from U plane I.Q. samples
   calculation.
4. improved U plane I.Q. samples calculation similar logic used in C
   plane bfw calculation.
5. improved U plane I.Q. samples index start from '0'.

reference: O-RAN WG4.CUS.0 v.09.00.
 8.1.2 and 8.1.3 for clarification, digital power scaling applied only U
   plane.
 annex A.1.2 and A.1.3 for clarification, digital power scaling not
included in Block FP.
 annex D for I.Q. smples index
2022-07-26 15:15:45 +00:00
KATAOKA, Toshihiro c41a27b96d ORAN: eAxC ID flexible bit allocations 2022-07-26 15:13:25 +00:00
Martin Mathieson 9c2cbc842a PDCP_NR: Show direction in more sequence analysis expert output 2022-07-26 11:56:02 +00:00
Stig Bjørlykke bfe8187608 test: Add dfilter 'double' tests
Add test cases for scientific notation and not equal.
2022-07-26 10:32:16 +00:00
Stig Bjørlykke f7a5efe87b doc: Update README.display_filter
Update fvalue_t definition in README.display_filter.
2022-07-26 12:08:57 +02:00
Gerald Combs 3307397da1 CMake: Set the correct variables for ccache.
As the RULE_LAUNCH_COMPILE documentation says,

"Note: This property is intended for internal use by ctest(1). Projects
and developers should use the <LANG>_COMPILER_LAUNCHER target properties
or the associated CMAKE_<LANG>_COMPILER_LAUNCHER variables instead."
2022-07-25 14:10:39 -07:00
John Thacker b093b6a992 epan: Make find_or_create_conversation create what it finds and vice versa
The endpoint elements pinfo->conv_endpoint and pinfo->conv_elements
cause find_or_create_conversation (via find_conversation_pinfo) to
look for conversations based on those endpoints. It should also
make it create conversations based on those endpoints, so that
subsequent calls find the same conversation it just created instead
of repeatedly creating new ones.
2022-07-25 20:35:56 +00:00
Gerald Combs babb059f21 GitLab CI: Disable tests in the Debian package job. 2022-07-25 11:12:15 -07:00
Roland Knall cb8fc2874c macos: Remove no longer needed function
Fixes #18221
2022-07-25 17:00:55 +00:00
Joakim Karlsson 4be3ae9738 CMake: improve finding C-Ares library 2022-07-25 16:02:50 +00:00
John Thacker cb3fd3b5cd quic: Handle out-of-order CRYPTO frames, aka "Chaos Protection"
Implement out of order buffering and desegmentation for QUIC
CRYPTO frames. Particularly useful for Chrome's "Chaos Protection"
that intentionally introduces them, but handles out of order
CRYPTO frames in different UDP payloads as well. (Buffering
packets at a higher encryption level until the out of order
lower level frames have arrived is a different issue.)

Adds a preference, which defaults to on since if there is
out of order, it's not very useful to turn it off.

Fix #17732. Fix #18215.
2022-07-24 23:27:38 -04:00
John Thacker 081bc13eb8 rpm: Disable build terminating on double dash versions for all distros
RPM 4.11.2 introduced build failures on "wrong" version formatting,
including everything with a double dash. This broke a lot of
packages, so many distributions turned it off by default, but
some don't. Make sure it's off, because build from git versions
have dashes. Fixes the Rocky 9 CI build.

Note that we try to work around this by replacing the dashes in
our version number with underscores, but RPM will still complain
about an invalid version in the dependency it generates from our
pkg-config file.
2022-07-24 20:13:46 -04:00
Gerald Combs d1bd808e84 appveyor: We no longer require Perl.
[skip ci]
2022-07-24 23:47:53 +00:00
Gerald Combs 6fc9667b16 Debian: Don't override our license in the About dialog. 2022-07-24 15:35:04 -07:00
Gerald Combs fa9703cb27 GitLab CI: Rocky 9 fixups.
The Ninja command is available as "ninja", so use that.

[skip ci]
2022-07-24 13:49:45 -07:00
Tomasz Moń 18e08d04d1
Qt: Setup GLib mainloop when needed
GLib watches and timeouts require GLib mainloop iterations. If the GLib
mainloop is not running, then GLib watches and timeouts won't trigger.
Back in the GTK+ days, then GLib mainloop was running on all systems.
Since the Qt transition, GLib mainloop only runs on Linux when Qt does
support it and environment variable QT_NO_GLIB=1 is not set.

Start polling GLib mainloop in separate thread if Qt is not running GLib
mainloop. Note that only the polling is handled in separate thread, the
dispatch and thus all user callbacks execute in the main thread.

Running GLib mainloop when needed enables full GLib functionality on all
platforms and thus allows us to simplify our code by using GLib platform
specific code.
2022-07-24 20:57:18 +02:00
Gerald Combs 5a8977acd2 Docbook: wslua_util → wslua_utility.
3bb40a586d renamed wslua_util.c to wslua_utility.c. Update
docbook/wsluarm.adoc to match.
2022-07-24 18:09:50 +00:00
Gerald Combs d1074274d1 More Perl cleanup.
Remove perl from INSTALL and our RPM spec.

[skip ci]
2022-07-24 11:05:44 -07:00
Gerald Combs 6196394833 Tools: Remove Pod installation steps from rpm-setup.sh.
[skip ci]
2022-07-24 10:54:15 -07:00
Gerald Combs 3bb40a586d wslua: Rename wslua_util.c to wslua_utility.c.
Rename wslua_util.c to wslua_utility.c so that our file name has the
form "wslua_<lower case lua module name>.c", which is the case for our
other modules.
2022-07-24 17:11:57 +00:00
Gerald Combs e68db21421 docbook: Add file comments to wsluarm.
Add a comment to each class and function noting which C file it is
defined in.
2022-07-24 17:11:57 +00:00
Gerald Combs c252852c9d [Automatic update for 2022-07-24]
Update manuf, services enterprise numbers, translations, and other items.

Asterix failed.
2022-07-24 16:37:40 +00:00
Marius David 73910a3319 Update Keysight/Ixia netflow fields support. 2022-07-24 10:02:05 +00:00
Gerald Combs 34d30922eb GitLab CI: Switch to Rocky Linux 9.
Rocky Linux 9 includes a supported version of c-ares.
2022-07-23 17:02:48 -07:00
Gerald Combs 49dda8c71e Make Perl optional.
Update our documentation, build configuration, and setup scripts to make
Perl optional.
Closes #18152.
2022-07-23 21:12:25 +00:00
Gerald Combs a1c83a901b docbook: Port make-wsluarm to Python3
Port the script that creates docbook/wsluarm_src/*.adoc to Python3.
Ping #18152.
2022-07-23 20:51:24 +00:00
Dr. Lars Völker 832687cc74 UDS: Change Symbol Names as of ISO 14229-1:2020 Amd1
In ISO 14229-1:2020 there is a conflict of symbol names. These will be
resolved in the ISO 14229-1:2020 Amd1. This patch already implements
this change.
2022-07-23 18:53:09 +02:00
Dr. Lars Völker 90ac880b8a TECMP: Fix CRC decoding on FlexRay Null Frames (Bugfix)
Skipping FlexRay Null Frame Payload to avoid bogus CRC values.
2022-07-23 15:39:40 +00:00
Uli Heilmeier 54b4be9015 ECATMB: Add SDO Information to CANopenType
Fixes #18220
2022-07-23 16:16:27 +02:00
João Valverde 5f85c1f8aa dfilter: Use an exact floating-point string representation
The FTREPR_DFILTER format for floating-point numbers
is using an inexact representation so using "apply as
filter" on a floating-point protocol field does not produce a
match, as could be reasonably expected, because we don't
get back the same floating-point number.

Using g_ascii_dtostr() instead produces a string with enough
precision to get back the same machine number with IEEE 754 doubles.

Fixes #16483.
2022-07-23 01:08:31 +01:00
Gerald Combs fd830dff58 wslua+lrexlib: Fixup our dependencies and paths.
Add a register_wslua target and have lrexlib depend on it so that
declare_wslual.h is generated in the right order. The working directory
when we create declare_wslua.h and register_wslua.c is epan/wslua,
so there's no need to explicitly set it. Remove an unneeded lrexlib
include path.
2022-07-22 19:08:13 +00:00
John Thacker 74082386de DVB-S2: Store whether low roll-off values are used in conversation data
It's possible to have a capture that has multiple DVB-S2[X] streams
on different UDP or RTP ports that use different roll-off values.
Store the information about whether we've transitioned into the
lower roll-off range in conversation data instead of in a global.
2022-07-22 17:56:25 +00:00
Dr. Lars Völker 3e7ea95108 TECMP: Adding Subdissector support
Adding subdissector support based on interface_id. This allows to write
custom dissectors for e.g. UART/RS232 data.
2022-07-22 17:40:06 +00:00
Dr. Lars Völker d92af30f29 SOME/IP: Remove legacy datatype support
Signal PDUs over SOME/IP can be dissected since Wireshark 3.6 directly.
The workaround for SOME/IP to support signal dissection (legacy data
types) is therefore not needed anymore and is removed to cleanup the
dissector code.

This patch might make it necessary to regenerate the Wirehark config.
The Fibex-Converter was already updated.
2022-07-22 17:24:45 +00:00
Dr. Lars Völker b1edbd337f TECMP: Show unparsed payload of control messages 2022-07-22 17:08:29 +00:00
Jirka Novak 6d0619cdd0 ciscodump: Added support for IOS XE and ASA
Changes:
- The tool now recognizes which software is running on a device - IOS, IOS XE
  or ASA. Based on it, it uses correct sequence of commands to setup
  capture, read captured packets and clear the capture.
- The tool reads packets on the fly so you don't have to wait till
  --remote-count of packets is reached.
- The tool reads timestamps from capture on the device for IOS and ASA (on
  IOS-XE, there is no timestamp in dump).
- Except Windows platform the tool handles early stop of capture on the device
  and clear of capture buffer on the device (it finish the capture).
- There are special interface names to allow the tool to generate
  specific capture types.
- Data collection and config cleanup is handled in two separated ssh
  sessions.
- Documentation updated.

Closes #17672.
2022-07-22 15:55:28 +00:00
Jirka Novak f2b30e70eb ciscodump: Added support for IOS XE and ASA
Changes:
- The tool now recognizes which software is running on a device - IOS, IOS XE
  or ASA. Based on it, it uses correct sequence of commands to setup
  capture, read captured packets and clear the capture.
- The tool reads packets on the fly so you don't have to wait till
  --remote-count of packets is reached.
- The tool reads timestamps from capture on the device for IOS and ASA (on
  IOS-XE, there is no timestamp in dump).
- Except Windows platform the tool handles early stop of capture on the device
  and clear of capture buffer on the device (it finish the capture).
- There are special interface names to allow the tool to generate
  specific capture types.
- Documentation updated.

Closes #17672.
2022-07-22 15:55:28 +00:00
Jirka Novak 62e81d53ba Removed useless function 2022-07-22 15:55:28 +00:00
Jirka Novak 274f423401 Fixed issue in processing filters for ASA 2022-07-22 15:55:28 +00:00
Jirka Novak 1e53e49a54 ciscodump: Added support for IOS XE and ASA
Changes:
- The tool now recognizes which software is running on a device - IOS, IOS XE
  or ASA. Based on it, it uses correct sequence of commands to setup
  capture, read captured packets and clear the capture.
- The tool reads packets on the fly so you don't have to wait till
  --remote-count of packets is reached.
- The tool reads timestamps from capture on the device for IOS and ASA (on
  IOS-XE, there is no timestamp in dump).
- Except Windows platform the tool handles early stop of capture on the device
  and clear of capture buffer on the device (it finish the capture).
- There are special interface names to allow the tool to generate
  specific capture types.
- Documentation updated.

Closes #17672.
2022-07-22 15:55:28 +00:00
John Thacker 9d284afa90 quic: Handle multiple Client Initial messages before a server initial
If there are multiple Client Initial messages before the first server
response (e.g., a long fragmented TLS Client Hello), we won't recognize
the client ID from the server connection and we need to look it up
in the list of initial connections.
2022-07-22 10:22:13 -04:00
Kaige Ye 158becb733 MySQL: support COM_REGISTER_SLAVE 2022-07-22 06:28:57 +00:00
Roi Berkovich 4702e3bfad WLAN: fix IEEE802.11 dissection bug
When parsing wlan header above capwap, first two bytes are swapped (fcf
and flag). the offset was handled incorrectly, causing wireshark to
display incorrect fcf data in the tree summery and completely wrong
flags information (in the case of swap, the flags point to the same
byte as the fcf)
2022-07-22 05:49:01 +00:00
Gerald Combs b9ee6f4563 wslua: Fix more argument definitions. 2022-07-21 17:38:22 -07:00