Commit Graph

86128 Commits

Author SHA1 Message Date
Pascal Quantin e9176b652d ASN.1 PER: fix dissect_per_restricted_character_string_sorted()
Avoid incrementing offset if it was already changed when trying to fetch
length. Closes #18702
2022-12-22 20:51:49 +00:00
John Thacker 5ee2e7c268 QUIC: Handle QUIC connections multiplexed on the same 5-tuple
Different QUIC connections can be multiplexed on the same network
5-tuple. Handle this, including checking for Stateless Reset tokens
on all connections on the same 5-tuple.

Create a CONVERSATION_QUIC type using our internal QUIC connection
ID, and set the conversation elements so that subdissectors like
TLS that set conversation data only alter data for the one QUIC
connection instead of all multiplexed connections.

Various failures are expected, per RFC 9000, if zero-length connection
IDs are used when multiplexing connections on the same local IP addresses
and ports.

Fix #17099
2022-12-22 19:56:19 +00:00
Gerald Combs bf17e3260e CMake: Set a default output directory for log-based extcaps 2022-12-22 19:30:17 +00:00
Martin Mathieson 369993d72c E2AP: Use gnbid to share RAN Function ID mappings 2022-12-22 19:18:18 +00:00
Gerald Combs f809e62b2a Tools: Move speexdsp to the Alpine and RPM basic lists. 2022-12-22 17:44:37 +00:00
Martin Mathieson 398b05d199 DECT-NWK: Fix a couple of typos 2022-12-22 12:05:12 +00:00
João Valverde ba1a85d381 dfilter: Improve arithmetic error messages 2022-12-22 10:13:30 +00:00
easonweii 0e4bcf427f H224: Completing of H.224 dissection for Client Data Octets
Add the client protocols prasing for CME (Client Management Entity) and H.281/FECC (Far-End Camera Control).
Related #18667
2022-12-22 08:40:53 +00:00
Bernhard Dick ae0d6324c4 DECT-NWK: Fix windows build
When building using msvc implicit changes of the integer sizes in
fmt_dect_nwk_ipei are treated as error due to possible loss of
information.
This is now forecome by explicitely masking the shifted value to fit in
guint16 and by typecasting in calculation to guint16 (the maximum value
that needs to fit here is sum(x=1..x=12)(9x)=702 )
2022-12-21 21:30:20 +00:00
Bernhard Dick 8aec74c0ba DECT-NWK: Simplify data dissector call 2022-12-21 21:30:20 +00:00
Bernhard Dick cdf134b4e5 DECT-NWK: Update wmem_strbuf function usage
In 32f88ad22c the function to create new
sized wmwm strbufs has been renamed and got a parameter change. This
updates DECT-NWK parts accordingly.
2022-12-21 21:30:20 +00:00
Bernhard Dick b7d2d107d4 DECT-NWK: Update hf type
Use type int instead of gint for all hf_ variables as this is used in
the functions and structures
2022-12-21 21:30:20 +00:00
Bernhard Dick 0905bc33b5 DECT-NWK: Remove solved TODO marks 2022-12-21 21:30:20 +00:00
Bernhard Dick 9cddc16d68 DECT-NWK: Dissect more IPUI types 2022-12-21 21:30:20 +00:00
Bernhard Dick 4e0365b25b DECT-NWK: Improve display of DECT chars/strings 2022-12-21 21:30:20 +00:00
Bernhard Dick 1d8152afd7 DECT-NWK: Escape DECT chars >= 0x80 2022-12-21 21:30:20 +00:00
Bernhard Dick ad06d7cec6 DECT-NWK: Use DECT charset for strings 2022-12-21 21:30:20 +00:00
Bernhard Dick 75fb2e770c DECT-NWK: Add basic support for DECT charsets 2022-12-21 21:30:20 +00:00
Bernhard Dick cc86a34c90 DECT-NWK: Fix IPEI string formatting 2022-12-21 21:30:20 +00:00
Bernhard Dick 1272bd3c2d DECT-NWK: Fix missing initialization 2022-12-21 21:30:20 +00:00
Bernhard Dick 4fed21f5a8 DECT-NWK: Make format function static 2022-12-21 21:30:20 +00:00
Bernhard Dick e3f010683f DECT-NWK: Dissect more S-Format message types
Adds basic dissection for futher S-Format message types:
* CISS
* CRSS
* COMS
* CLMS
2022-12-21 21:30:20 +00:00
Bernhard Dick 08cdb705e9 DECT-NWK: Add dissector to relnotes 2022-12-21 21:30:20 +00:00
Bernhard Dick 98a86dc660 DECT-NWK: Add fields to PORTABLE-IDENTITY
Add dissection of TPUI and IPEI field including IPEI format string to
the PORTABLE-IDENTITY S-Format information element
2022-12-21 21:30:20 +00:00
Bernhard Dick 3b1084d0a1 DECT-NWK: Fix missing prototype 2022-12-21 21:30:20 +00:00
Bernhard Dick e95424b4cd DECT-NWK: fix proto tree item length
The Default Cipher Key algorithm field within AUTH-TYPE is only in the
last two bits of octet 5c, not 5c+5d
2022-12-21 21:30:20 +00:00
Bernhard Dick bb9785c849 DECT-NWK: Fix typos 2022-12-21 21:30:20 +00:00
Bernhard Dick d4f070ce54 DECT-NWK: Add further ie dissection
Added dissectin of the S-Format information fields
* DURATION
* IWU-TO-IWU
* MODEL-IDENTIFIER
* CODEC-LIST
2022-12-21 21:30:20 +00:00
Bernhard Dick 775ea97ddf DECT-NWK: Fix TERMINAL-CAPAPILITY
The mask for the control codes field within the TERMINAL-CAPABILITY
information element was masking the wrong bits.
2022-12-21 21:30:20 +00:00
Bernhard Dick 528391f2bd DECT-NWK: Fix hf definition
Definition of hf_dect_nwk_s_ie_terminal_capability_blind_slot_6a
reffered to the TFS for its bits by accident, this is now removed.
2022-12-21 21:30:20 +00:00
Bernhard Dick be04f23917 DECT-NWK: fix typo in field name 2022-12-21 21:30:20 +00:00
Bernhard Dick 271f7e00f9 DECT-NWK: Fix value_string terminations 2022-12-21 21:30:20 +00:00
Bernhard Dick 2e6e44d1b1 DECT-NWK: Add MULTI-DISPLAY, MULTI-KEYPAD
Add basic dissection of S-Format elements MULTI-DISPLAY and
MULTI-KEYPAD. The dissector now holds information regarding control
characters of the DECT charset.
2022-12-21 21:30:20 +00:00
Bernhard Dick 1c0da0d2e2 DECT-NWK: Add TERMINAL-CAPABILITY dissection
Dissection of the TERMINAL-CAPABILITY S-Format information element has
been implemented.
2022-12-21 21:30:20 +00:00
Bernhard Dick f4ec602228 DECT-NWK: Add LOCATION-AREA dissection 2022-12-21 21:30:20 +00:00
Bernhard Dick d1befab186 DECT-NWK: Add single binary value IEs
Add dissection of the S-Format information elements RAND, RES, RS all
holding an arbitrary data within their whole field length
2022-12-21 21:30:20 +00:00
Bernhard Dick 42751da3c3 DECT-NWK: Add AUTH-TYPE dissection 2022-12-21 21:30:20 +00:00
Bernhard Dick 79e3822dee DECT-NWK: Dissect MM messages
Added value strings for all MM messages and use S-Format IE dissection
also for MM
2022-12-21 21:30:20 +00:00
Bernhard Dick eaeff2858a DECT-NWK: Fix CIPHER-INFO
The value for Escaping to proprietary algorithm was wrong and the
Boolean field Y/N was registered using the wrong base, resulting in a
failed assertion during dissection
2022-12-21 21:30:20 +00:00
Bernhard Dick d9130e8d20 DECT-NWK: Add fixed len information elements
Dissection of all fixed length S-Format information elements has been
added to the dect-nwk dissector
2022-12-21 21:30:20 +00:00
Bernhard Dick 443f0dcc33 DECT-NWK: Handle CALLING-PARTY-NUMBER
Add begin of dissection of S-Format Calling Party Number information
element.
2022-12-21 21:30:20 +00:00
Bernhard Dick da2048d5f3 DECT-NWK: Move IE dissection out of LCE
Dissection of S-Format information elements has moved to an own
function that is now also used for dissecting CC messages
2022-12-21 21:30:20 +00:00
Bernhard Dick b7fc9a2788 DECT-NWK: Begin LCE-PAGE-RESPONSE dissection
First steps in dissection of the LCE-PAGE-RESPONSE message. Basic
dissection for S-FORMAT information elements being mandatory or
optional in this message is included.
2022-12-21 21:30:20 +00:00
Harald Welte 1be5ec9433 DECT-NWK: Initial dissector for DECT NWK layer
Change-Id: Idf0b97ce40ec5b2dd1b507a72fed64cfee288354
2022-12-21 21:30:20 +00:00
Pascal Quantin 318b5a819d NAS 5GS: fix a typo 2022-12-21 15:59:14 +00:00
João Valverde 263bda375c dfilter: Check if type supports unary minus
Fix crash for types that do not support unary minus.

Fixes #18750.
2022-12-21 14:43:39 +00:00
Chuck Craft c654566fc6 UAT: comment out FIX reminder 2022-12-20 17:45:17 -06:00
Martin Mathieson 7f5668e8ec WLAN: fix a couple of warnings from check_typed_item_calls.py 2022-12-20 21:21:35 +00:00
Martin Mathieson 5ccde702c1 PDCP-NR: Add a field to show/filter decrypted data 2022-12-20 16:36:39 +00:00
Martin Mathieson cc9905b87f tools/bsd_setup.sh: speexdsp is a required package 2022-12-20 12:27:41 +00:00