Commit Graph

85592 Commits

Author SHA1 Message Date
Gerald Combs 23f206c8b8 GitLab CI: Build RPMs in parallel.
Our RPM spec runs `cmake --build ... -j1` on Fedora and Rocky. Set
RPM_BUILD_NCPUS, which increases the `-j` value so that ninja can make
full use of the system.

[skip ci]
2022-10-25 19:35:43 +00:00
Gtker 3a19d97867 woww: Make enums use biggest size occurrance 2022-10-25 19:08:09 +00:00
Gtker 71e989a0f4 woww: Make types have the FT of their largest type instead of smallest 2022-10-25 19:08:09 +00:00
Gtker da8a0e64f3 woww: Remove _guid from some HFs 2022-10-25 19:08:09 +00:00
Gtker f88027a1ef woww: Remove _guid from item and player in SMSG_ITEM_NAME_QUERY_RESPONSE 2022-10-25 19:08:09 +00:00
Gtker b2ee0f32d1 woww: Add underscore to buy_bank_slot_result 2022-10-25 19:08:09 +00:00
Gtker c77b972edc woww: Make SMSG_TURN_IN_PETITION_RESULTS use petition_results 2022-10-25 19:08:09 +00:00
Gtker bc433b41ce woww: Remove incorrect field from SMSG_PETITION_SHOWLIST 2022-10-25 19:08:09 +00:00
Gtker 302117823b woww: Update SMSG_PETITION_SIGN_RESULTS 2022-10-25 19:08:09 +00:00
Gtker ba1edd97e8 woww: Add SMSG_GUILD_ROSTER 2022-10-25 19:08:09 +00:00
Gtker 8e3d587421 woww: Remove skip fields and add gm_ticket_queue_status 2022-10-25 19:08:09 +00:00
Gtker 226ee2e242 woww: Add change NECK_OR_RELIC to RELIC and fix SPLINE_FLAG_UNKNOWN31
For 1.12 0x02 is just NECK and RELIC is 0x1C.
2022-10-25 19:08:09 +00:00
Gtker d6e47936a4 woww: Fix warnings about values being out of scope for int 2022-10-25 19:08:09 +00:00
Gtker 478fddaec4 woww: Split GM_TICKET_STATUS enumerators with underscores 2022-10-25 19:08:09 +00:00
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