Commit graph

88998 commits

Author SHA1 Message Date
João Valverde
81cb82abf4 CMake: Try to fix release notes dependencies (take 2) 2023-10-03 15:43:26 +00:00
João Valverde
cd01931eb9 dfilter: Remove syntax node magic number
Syntax nodes always have one type and the compiler
can check it. Reserve magic numbers for data contained
inside syntax node. Remove the magic number field in
stnode_t and the STNODE_MAGIC define. Keep the other
magic values for type checking.

This exposed a bug with an assertion for oper type syntax
nodes. Fix the assertion to check the correct pointer value
against the magic number.
2023-10-03 14:52:56 +00:00
John Thacker
c0885fe390 Find: Switch search_pos to the start byte
There's a lot of potentially confusing arithmetic from setting
search_pos to the last byte of a match. We can always test
search_len against zero to see if we actually had a match for
hightlighting purposes. (The ordinary byte searches won't find
zero length matches, but the regex search might, and not even
necessarily at the start of the bytes if there's a lookbehind term,
and currently they're handled incorrectly.)

We can't find fields with length zero based on an offset currently
anyway. (If we tried, would we match fields that contained the byte
before or after the zero length offset?)

Perhaps we shouldn't allow zero length regex matches for packet
byte searches at all; PCRE2 has an option to prevent such matches.
2023-10-03 08:38:49 -04:00
João Valverde
6de60e12be CMake: Try to fix release notes dependencies 2023-10-03 11:32:10 +00:00
Anders Broman
14f9bcacc2 YACC: Update yacc.py to 3.11 2023-10-03 12:48:40 +02:00
Jaap Keuter
c38e6ecbf6 SAToP: Add optional RTP header handling 2023-10-03 06:07:56 +00:00
João Valverde
46a7f4c17f WSDG: Update build type flags to reflect reality
CMake will add NDEBUG with RelWithDebInfo. Fix that entry.

CMake will not add -O0 with Debug. Fix that entry.

Remove the WS_DEBUG_UTF_8 flag. It is too much detail in
this context.
2023-10-03 00:24:40 +01:00
Gerald Combs
7db4de58af GitLab CI: Switch the macOS builds to Qt 6.5.3 2023-10-02 14:18:49 -07:00
Gerald Combs
c1c86c4d8b Debian: Fix a couple of symbol versions 2023-10-02 12:59:53 -07:00
João Valverde
15d3e3ff68 GUI: Add release notes to Help menu 2023-10-02 19:43:46 +00:00
Gerald Combs
7f8dc702da GitLab CI: Fix a filename 2023-10-02 11:51:14 -07:00
Gerald Combs
a89f301313 GitLab CI: macOS signature workflow updates. 2023-10-02 10:56:01 -07:00
Pascal Quantin
fd3d36b10d LPP: upgrade dissector to v17.6.0 2023-10-02 17:09:48 +00:00
Pascal Quantin
c00e73e890 F1AP: upgrade dissector to v17.6.0 2023-10-02 18:28:28 +02:00
Pascal Quantin
35afac76f3 E1AP: upgrade dissector to v17.6.0 2023-10-02 17:51:24 +02:00
Pascal Quantin
ba655f9214 XnAP: upgrade dissector to v17.6.0 2023-10-02 17:02:34 +02:00
Pascal Quantin
bb5ef53e20 NGAP: upgrade dissector to v17.6.0 2023-10-02 16:01:46 +02:00
Pascal Quantin
91fbc04b3a NR RRC: upgrade dissector to v17.6.0 2023-10-02 15:01:24 +02:00
Pascal Quantin
68266efa92 X2AP: upgrade dissector to v17.6.0 2023-10-02 13:41:45 +02:00
Pascal Quantin
15af80bf09 LTE RRC: upgrade dissector to v17.6.0 2023-10-02 12:22:14 +02:00
Pascal Quantin
c40d0b4508 NAS 5GS: upgrade dissector to v17.12.0 2023-10-02 11:36:58 +02:00
Pascal Quantin
49599f68b0 NAS EPS: upgrade dissector to v17.11.0 2023-10-02 11:17:22 +02:00
Gerald Combs
8c073467d4 GitLab CI: Fix a path 2023-10-01 18:05:00 -07:00
Gerald Combs
e05e08e049 GitLab CI: More macOS signature updates 2023-10-01 17:06:03 -07:00
Gerald Combs
e1234e277a [Automatic update for 2023-10-01]
Update manuf, services enterprise numbers, translations, and other items.
2023-10-01 22:54:20 +00:00
John Thacker
8e59e06395 find: Use ws_memmem in match_binary 2023-10-01 17:49:22 -04:00
John Thacker
67914dc866 wsutil: Optimize memmem some more
When the needle is length 1, just use memchr
When the needle is longer, use memchr to check the first byte
before calling memcmp on the rest, so we can skip through the loop
faster.

The GNU memmem returns the haystack when the needle length is 0,
which matches the standard C behavior for strstr when the needle
string is null. Do that, so that our portable version matches the
GNU version on systems that have it. (This shouldn't cause a problem,
because we've being doing that on systems with GNU glibc already.)
2023-10-01 20:02:09 +00:00
Markku Leiniö
9956361f4b WSUG: Title spelling fix
Change 'Control Protocol dissection' to 'Control Protocol Dissection'
2023-10-01 18:05:02 +00:00
John Thacker
9c90105c36 Find: Remove redundant match_narrow function
The case sensitive exact match of a needle of a given length
in packet bytes is the same whether the value originally came from
a string or a converted hex string. We don't need two static functions
that are exactly the same.
2023-10-01 11:26:07 -04:00
John Thacker
d96594ad93 Qt: In find packet, disable character encoding combobox when unused
Only enable the character encoding combobox in Find Packet when
searching the Packet Bytes, which is when it does something.
When searching in the packet list or tree details, strings have
already been converted to UTF-8.
2023-10-01 11:05:44 -04:00
Markku Leiniö
894221f2c8 DHCP: Add preference for seconds elapsed field endianness
Default is "Autodetect" (= same as the previous behavior), other options
are "Big Endian" and "Little Endian" (written as in the existing UUID
endianness preference).
2023-10-01 09:01:03 +00:00
John Thacker
147b95d2d5 Find: Update search frame for Finding multiple fields
Add GUI support to turning on and off finding multiple occurrences
in a frame.

Also add a checkbox for searching backwards.

This makes the number of controls large, so split it into two rows.
2023-10-01 08:56:32 +00:00
John Thacker
4c69b8facf Find Packet: Find packet details multiple matches in a frame
When searching packet details with Find Packet, step through
each field that matches the search, using the currently selected
field as a starting point for searching the current frame before
going onto another frame.

Handle both forwards and backwards, so that backwards searching
initially finds the last match in each frame.

Part of #11269. (Packet bytes searching should presumably also
be handled.)
2023-10-01 08:56:32 +00:00
John Thacker
3a0e70d6eb wsutil: memset mempbrk pattern when compiling
Most of uses of ws_mempbrk use static ws_mempbrk_pattern structs so
the pattern is automatically initialized to zero, but ensure that
it is zero so that locally declared patterns don't have to be
declared with = {0} (e.g., in cf_find_packet_data, where data is
currently used unitialized but the compiler and static analysis
doesn't catch it).

This also allows re-compiling with a new pattern later.
2023-09-30 21:24:03 -04:00
John Thacker
46e3bffb3d debian: Make Lintian happy about version numbers
Don't include a hyphen and anything after it, lintian
doesn't like it because it looks like a Debian version number
2023-09-30 19:38:42 -04:00
John Thacker
23458361e4 Debian: Add missing symbols
From commit 1d9ba7de54
2023-09-30 19:34:26 -04:00
John Thacker
51b875f573 debian lintian: Remove Synopsys override
Lintian removed "Synopsys" as a spelling error for "synopsis" precisely
because it's the name of this company, so now our override gives
warnings about an unused override

d46bf35641

[skip ci]
2023-09-30 19:33:07 -04:00
John Thacker
f3dd768d35 Fix some misspellings in dissectors 2023-09-30 19:09:27 -04:00
Gerald Combs
f3b687aaf2 GitLab CI: Generate Sparkle signatures on macOS
Try with Sparkle 2.2.2 this time.
2023-09-30 14:51:17 -07:00
João Valverde
ddd0c4a83b wslog: Set a GLib default handler
Instead of setting a handler for specific domains try to set
a default handler for all domains.

In the past this was unreliable but it should work better to
drive all GLib logging through wslog.
2023-09-30 14:11:10 +00:00
Martin Mathieson
10e312fde1 More value_string fixes 2023-09-28 15:33:39 +01:00
Michael Tuexen
3f3ef7f463 macos-setup: fix uninstalling sparkle 2023-09-30 10:41:47 +02:00
Michael Tuexen
5cc394fa96 macos-setup: fix building of spandsp 2023-09-30 10:09:20 +02:00
Michael Tuexen
8ad5adb32b macos-setup: update location of zlib 2023-09-30 10:08:26 +02:00
Gerald Combs
672637758a macos-setup: Install Sparkle 2.2.2 2023-09-30 07:32:02 +00:00
Gerald Combs
8bd086302f GitLab CI: More macOS updates 2023-09-29 18:51:40 -07:00
Gerald Combs
26fab0dab2 GitLab CI: Fix a couple of paths 2023-09-29 17:53:30 -07:00
Gerald Combs
19a8e8ebeb GitLab CI: Generate Sparkle signatures on macOS 2023-09-29 15:01:13 -07:00
Martin Kaiser
e314032dc8 mdb: start dissecting the Peripheral ID response
Start dissecting the Peripheral ID response message. Reuse the helper
function to dissect ID fields.
2023-09-29 20:27:15 +00:00
Alexis La Goutte
505e5be0f4 vmware-hb: add value_string for build number
using following PowerShell Script

$esxireleases = Invoke-RestMethod https://www.virten.net/repo/esxiReleases.json
foreach ($esxi in ($esxireleases.data.esxiReleases | Sort-Object {[int]$_.build})) {
   write-host "    { $($esxi.build), ""$($esxi.friendlyname)"" },"
}
2023-09-29 19:23:48 +00:00