Commit Graph

85578 Commits

Author SHA1 Message Date
Gtker c9f1d411a4 woww: Add gm_ticket_type to CMSG_GMTICKET_UPDATETEXT 2022-10-25 19:08:09 +00:00
Gtker c3630bc0e9 woww: Remove compressed field from CMSG_GMTICKET_CREATE 2022-10-25 19:08:09 +00:00
Gtker 25403e9f15 woww: Add comment field to CMSG_GMSURVEY_SUBMIT 2022-10-25 19:08:09 +00:00
Gtker 1996a520ec woww: Remove compressed CMSG_AUTH_SESSION field 2022-10-25 19:08:09 +00:00
Gtker 24b4c703c4 woww: Add battleground related updates 2022-10-25 19:08:09 +00:00
Gtker aa1ff9f57d woww: Update incorrect messages 2022-10-25 19:08:09 +00:00
Gtker ec659dc177 woww: Add more fields for SMSG_ATTACKERSTATEUPDATE 2022-10-25 19:08:09 +00:00
Gtker e561372278 woww: Update SMSG_ADDON_INFO, fix endless array looping
The arrays would previously loop for the amount of bytes left, not the
amount of objects left.
2022-10-25 19:08:09 +00:00
Gtker 53fa582c92 woww: Rename compressed_addon_info to addon_info 2022-10-25 19:08:09 +00:00
Gtker 75b312c659 woww: Make message direction detection be more flexible 2022-10-25 19:08:09 +00:00
Gtker 7f46c9fc56 woww: Register with decode_as instead of _with_preference
Feedback in PR
https://gitlab.com/wireshark/wireshark/-/merge_requests/8356#note_1121741591
2022-10-25 19:08:09 +00:00
Gtker 1fa99c5f0d woww: Update release-notes.adoc with more information 2022-10-25 19:08:09 +00:00
Gtker 15a7cfc943 Add WOWW to docbook/release-notes.adoc
As requested
https://gitlab.com/wireshark/wireshark/-/merge_requests/8356#note_1122847782
2022-10-25 19:08:09 +00:00
Gtker 238a49fcc5 woww: Add update mask 2022-10-25 19:08:09 +00:00
Gtker 2c921dd098 woww: Add Aura Mask 2022-10-25 19:08:09 +00:00
Gtker 81c2c29f7f woww: Auto generate implementation from wowm
This has been autogenerated from `wowm` descriptions of the messages at
https://github.com/gtker/wow_messages/tree/main/wow_message_parser/wowm/world
The generator is written in Rust and located at
https://github.com/gtker/wow_messages/tree/main/wow_message_parser/src/wireshark_printer
2022-10-25 19:08:09 +00:00
Gtker 460ad699bf woww: Make preparations for auto generating dissector 2022-10-25 19:08:09 +00:00
Chuck Craft 978def5b51 tools/compress-png: migration to python typos
Allow --list to run with no other options
Loop through all compressors checking if they exist
Add filename for searching in IDE
2022-10-25 17:52:28 +00:00
Jakub Pawlowski 974123c507 Bluetooth: add Volume Control Service characteristics parsing 2022-10-25 17:30:00 +00:00
Gerald Combs 708da48526 IEEE 802.11: Fix a length check.
Fix a length check issue introduced in 85a9e05c52.
2022-10-25 09:06:33 -07:00
Alexis La Goutte e7a4f4b2e3 H224: Fix typo (Sequence -> Segment)
Close #18514
2022-10-24 20:19:26 +00:00
AndersBroman 92d58f297d PER: Fix call_per_oid_callback() open type length is in bytes.
tvb_new_octet_aligned() expects the length in bits.
2022-10-24 20:18:34 +00:00
Gerald Combs 85a9e05c52 IEEE 802.11: Fix DSCP string handling
Replace looped snprintfs with wmem_strbuf_append_printfs.
2022-10-24 18:53:09 +00:00
Gerald Combs 39910654d3 IEEE 802.11: Fix SCIDX string handling
Appending to a string using snprintf inside a loop can be problematic
because you have to ensure that your start offset stays within the
bounds of your buffer and that your size (which is unsigned) doesn't
overflow. Switch to a wmem_strbuf.

Fixes #18527
2022-10-24 11:23:34 -07:00
Alexis Gryta ce2b9a046a .gitlab-ci's variables: as string 2022-10-24 18:14:26 +00:00
Brian Sipos c4b30942d0 epan: Fix build errors about try/catch block on some compilers
The original error was identified in a comment on !8583
2022-10-24 15:29:15 +00:00
John Thacker 0647fc5f23 SCTP: Fix host name address parameter
The deprecated Host Name Address Parameter, RFC 9260 3.3.2.1.4:
"At least one null terminator is included in the Host Name string
and MUST be included in the length."

That makes it a string which is both counted and null-terminated,
which is a FT_STRINGZ. Return the string as obtained rather than
formatting it a second time. Don't pass in a width as a format specifier,
because the length of the UTF-8 string is not necessarily the length
in octets, if replacement characters or escaping was used.

Fix #18534.
2022-10-24 13:25:24 +00:00
Lewis Hamilton 4de19bf866 Metamako: Fixed int being printed as hex
After a recent merge, a type was changed to PRIu64, when it should of been PRIx64
2022-10-24 09:58:19 +00:00
Guy Harris 8d1efeba40 h224: fix protocol name in comments.
[skip ci]
2022-10-24 01:39:43 -07:00
Stig Bjørlykke 3353a158a9 Add dot in Protocol column for H.xxx dissectors
Closes #18524
2022-10-24 09:26:14 +02:00
John Thacker 70ebded081 GTP, GTPv2: Use ENC_APN_STR for FQDN.
Both specifications say: "The FQDN field encoding shall be identical
to the encoding of a FQDN within a DNS message of section 3.1 of IETF
RFC 1035 [31] but excluding the trailing zero byte."

Since it's only one name, that probably means that compression is
impossible, and indeed the dissectors already check and assume that
if the first byte is in the letter range, that it's probably incorrectly
directly encoded as a dotted string instead of DNS-style.

Since compression isn't supported, use ENC_APN_STR to avoid generating
bogus UTF-8 in packets with errors.

Fix #18531
2022-10-24 01:24:57 +00:00
Chuck Craft c6e228bb17 Qt: Resolved Addresses - display filename if present 2022-10-24 00:07:09 +00:00
Chuck Craft 72234923c4 github: use latest winflexbison3 in workflow build
Use current version (2.5.24.20210105) which is hosted on github.
Should reduce timeouts previous version had which is hosted on
sourceforge.
2022-10-23 17:33:06 -05:00
Gerald Combs 30905d9c50 [Automatic update for 2022-10-23]
Update manuf, services enterprise numbers, translations, and other items.
2022-10-23 16:46:15 +00:00
Tomasz Moń 0e7c240897
capture: Convert sync pipe to GIOChannel
Reduce the amount of platform specific Wireshark code by using
GIOChannel watch, i.e. do not use UNIX specific GLib functionality and
do not peek into pipe every 100 ms on Windows.
2022-10-23 13:17:10 +02:00
AndersBroman 5c53de8f47 X2AP: Make it possible to dissct private IEs 2022-10-22 21:40:23 +02:00
John Thacker 398fb66598 wow: Reverse string bytes before converting to UTF-8
WOW has several 4 octet ASCII strings in reverse order. g_strreverse
does not work on UTF-8 multibyte characters, such as REPLACEMENT
CHARACTER when there are errors. Reverse the string buffer before
converting from ASCII.

Fix #18529
2022-10-22 09:34:23 -04:00
John Thacker be992b94a1 mpeg-descriptor: Ensure language code is valid UTF-8
Use tvb_get_string_enc to get the 3 character language code
when adding to the subtree.

Fix #18523
2022-10-21 22:10:29 +00:00
Gerald Combs 8514eb0e21 GitLab CI: Remove the "Latest Clang" job.
It was a subset of the "Code Checks + Clang Warnings" job.

[skip ci]
2022-10-21 13:10:23 -07:00
Jim Walker bd4c98b8ed Couchbase: remove unnecessary update to offset
Addresses clang-analyzer warning:

"packet-couchbase.c:2636:7: warning: Value stored to 'offset' is never read"

Change-Id: Ib91fbd64e08f65cbe83887ebdf5b6ae545672bc5
2022-10-21 18:43:41 +00:00
Gerald Combs 197e645f6a GitLab CI: Switch the RPM test jobs to the 2x-daily schedule.
[skip ci]
2022-10-21 11:42:41 -07:00
Gerald Combs 83d5533711 GitLab CI: Switch our Linux packages to a twice daily schedule.
The RPM packages use a versioned build directory, which creates problems
for ccache. The APT packages simply take a long time to build. Switch
both to a twice-daily schedule so that we don't set fire to CI minutes
in parallel with every merge.

Back out a recent CMake change since it's no longer needed.
2022-10-21 11:15:22 -07:00
Chuck Craft 61d81683c8 github: make yaml syntax consistent (msys2.yml)
Simplify output of grep | sort | uniq when checking "uses"
2022-10-21 15:15:16 +00:00
Chuck Craft d896660e63 github: make yaml syntax consistent (lockdown.yml)
Simplify output of grep | sort | uniq when checking "uses"
2022-10-21 14:30:45 +00:00
AndersBroman 533eb735e3 Camel: Dissect TimeAndTimezone
Closes #18485
2022-10-21 14:05:03 +00:00
John Thacker cbfa038602 UCP: Fix string encoding
For EMI and UCP, the encoding for alphanumeric messages, as
specified in ETS 300 133-3 as well as the EMI extension
specification, is rather unique: GSM 7-bit alphabet characters
are each translated (thus unpacked) to two hex byte IRA characters
(same as ASCII over the 0-9 A-F range), with '/' used as an
end of string indicator.

Translate the hex bytestring to bytes, and then convert the bytes
using the unpacked GSM 7-bit alphabet instead of treating them
as ASCII or UTF-8. Check for invalid bytes which are not ASCII hex
and replace them in the final returned string with the UTF-8
replacement character. Fix #18518 better.
2022-10-21 07:39:44 -04:00
João Valverde 6aa33f0fc9 wmem: Make strbuf_utf8_validate() accept embedded NUL bytes 2022-10-21 10:21:21 +00:00
ismaelrti 338e6b50e2 RTPS: Parse Secure Volatile DATA
Added dissection for DATA(v) submessages.
2022-10-21 09:40:48 +00:00
João Valverde 8b3521272a H.224: Fix protocol filter name to match fields and convention 2022-10-21 09:26:11 +01:00
AndersBroman 3be3b2cc95 H224: Add a basic dissector
ping: #18514
2022-10-21 08:18:07 +00:00