Commit Graph

35587 Commits

Author SHA1 Message Date
Martin Mathieson c0faa8f1da Some more dissector spellings. 2021-08-08 22:21:38 +01:00
Martin Mathieson 03c3c9a056 check_typed_item_calls: Add some ptvcursor_add...() calls
Fix up some NFAPI calls.
2021-08-08 17:47:42 +01:00
Martin Mathieson 21eb235d15 ORAN FH CUS: Fix ext11 with disableBFs for orphaned PRBs 2021-08-08 12:01:23 +01:00
Dr. Lars Völker 54d47868b8 ISO15765: Cleanup and Bugfix
This patch fixes the wrong value for frame_length being shown in the
header field.

In addition, code is cleaned up and simplified.
2021-08-06 21:38:18 +02:00
Martin Mathieson aaf79b62d7 F1AP stats 2021-08-06 09:31:15 +00:00
Dylan Ulis 74c00f4c2f CIP Safety: Update CRC S5 Logic
1. Extract Method: validate_crc_s5 - Combine various copy-pasted
   sections.
2. For CRC S5 failures, it would previously show the failure as part of
   CRC S5_2, which is misleading. Now, show the failure as part of the
   overall status.
2021-08-06 03:21:52 +00:00
Dr. Lars Völker a030a70bde CAN: Add support for multiple CANs in a trace (bus ID)
This patch allows CAN frames coming in over SocketCAN and TECMP to be
differentiated in order to follow up with different parsing in the
Signal PDU dissector et. al.
2021-08-06 03:05:51 +00:00
Martin Mathieson c2d7ed28af ORAN FH CUS: Fix a couple of issues
U-Plane: Fix check for detecting further sections
C-Plane: For Section ext11, fix loop for disableBW case
2021-08-06 02:49:47 +00:00
Joerg Mayer edaa5a3b55 packet-extreme.c: EDP type 0x15 is (physical) Linkinfo
Beginnings of dissection.
2021-08-05 22:36:53 +02:00
Jaap Keuter 02adaa1385 NSH: Add NSH Next Protocol value None
Closes #17404
2021-08-05 13:58:19 +02:00
Dario Lombardo 7a584511f1 Fix compilation without optional libraries. 2021-08-05 09:27:50 +00:00
Denis Pronin 5cd9646e72 Fixed incorrect calculating hash from quic_cid_t 2021-08-05 06:43:49 +00:00
Dr. Lars Völker 6b990690e8 ISO15765: Adding first support for FlexRay TP
This patch adds first support for FlexRay TP based on the AUTOSAR
specification including FlexRay addressing.

The special message types (0x4 - 0x7) are only prepared but not added
byt this patch.
2021-08-05 06:27:56 +00:00
Joakim Karlsson 9f54ae73f1 NAS 5GS: D.6.3 UE policy section management result 2021-08-04 20:05:43 +00:00
Joakim Karlsson 008536ae74 pfcp: Update to 3GPP TS 29.244 V17.1.0 2021-08-04 19:49:44 +00:00
Dylan Ulis 3c24694048 CIP: Match Connection ID from different fields 2021-08-04 19:34:11 +00:00
Piotr Winiarczyk 74424dddfc btmesh: Add dissectors of scheduler and time opcodes
Add dissectors of some opcodes for Scheduler (5.2.3 Scheduler messages) and Time (5.2.1 Time messages) from Mesh Models document. Closes #17511
2021-08-02 23:46:05 +00:00
Joakim Karlsson 2132c7619d pfcp: Update to 3GPP TS 29.244 V17.0.0 2021-08-02 19:47:18 +00:00
Arkady Gilinsky 53d28ef199 oampdu: Fix and improve queue object parsing
* Parse Queue Object (0xD6/0x0004) according to specification

Signed-off-by: Arkady Gilinsky <8351139-ark-g@users.noreply.gitlab.com>
2021-08-02 14:12:08 +00:00
Martin Mathieson fd65bdaef8 Make a couple of dissector variables static. 2021-08-02 08:51:21 +01:00
Martin Mathieson 9c030f7680 ORAN: take care not to divide by numBundPrb when 0.
Closes #36689
2021-08-01 10:43:57 +01:00
Dr. Lars Völker aac942e44b LIN: Add support for bus specific dissectors
Since typically multiple LINs are used in parallel the IDs of the
small ID space are reused. This patch adds support for handling
multiple LIN ID spaces in parallel.
2021-08-01 06:38:56 +00:00
Joakim Karlsson c49a652eb9 pfcp: Update to 3GPP TS 29.244 V16.8.0
Just for formality, no changes was made in the release
2021-07-31 08:06:56 +00:00
Joakim Karlsson 22b580b946 pfcp: Update to 3GPP TS 29.244 V16.7.0 2021-07-31 08:06:56 +00:00
Prince Paul a0a9d41d13 ASTERIX: Fix value of hf_010_500
Add Item Number 500 to the value
2021-07-31 07:46:12 +00:00
Dylan Ulis 3f9b0e36ea ENIP: Updates from latest spec
1. New EtherNet/IP commands and Common Packet Formats
2. CIP Security: Attributes (These go better in enip vs cip dissector)
3. TCP/IP object: Improve existing attribute parsing
4. Certificate Management Object: Attribute
5. Add units for some existing types
6. Correct hf_ size mismatch
2021-07-30 21:46:22 +00:00
Dr. Lars Völker 4cdd4a13e0 DoIP: Add a name field for each address field
This patch allows the name resolution of address shown as a column
by adding new name fields.

Additionally: Fixed a bug introduced by my last patch.
2021-07-30 21:26:17 +00:00
Martin Mathieson 3b28d5219f Fix some copy-paste filter names.
Detected with tools/check_typed_item_calls.py --consecutive
2021-07-30 18:02:30 +01:00
João Valverde 7b845e7194 wsutil: rename bytestring_to_str() -> bytes_to_str_punct() 2021-07-29 17:23:05 +00:00
Martin Mathieson d34d1a1e13 More fussing with masks.
Mostly longer masks with odd numbers of digits.
2021-07-29 10:15:58 +00:00
Oscar Gonzalez de Dios 0b8acdaf68 Fixed trailing whitespaces 2021-07-29 07:32:34 +00:00
Oscar Gonzalez de Dios 0f3731449a Updated support to RFC 8664. SR-PCE CAPABILITY Sub-TLV has been added. SR-ERO subobject updated to RFC version: change ST to NT and, NAI of type NT=6 decoding added, updated flag values to official IANA values. Updated errors of Type 10 according to IANA assigned values and numbers. 2021-07-29 07:32:34 +00:00
David Perry 34ee3cbc48 Change some `wmem_packet_scope()` to `pinfo->pool`
As requested [here][1], help with replacing calls to
`wmem_packet_scope()` with references to `pinfo->pool`.

My principles were:

* Plugins chosen semi-randomly.
* When a calling function already has a `pinfo` argument, just use that.
    * Remove `_U_` from its signature if it was there.
* Don't go more than 2 or 3 levels deep of changing signatures.
* If a function is clearly allocing memory to return, change the
  function signature to take a `wmem_allocator_t *`. Otherwise, either
  that or take a `packet_info *` as seems to make sense.
* No mention of `wmem_packet_scope()` should remain in the files I've
  touched.
    * I didn't always succeed at this, but I made a dent.

[1]: https://www.wireshark.org/lists/wireshark-dev/202107/msg00052.html
2021-07-29 01:36:01 +00:00
Martin Mathieson 1c210185c3 ORAN FS CUS: Add section ext 11 2021-07-28 15:23:11 +00:00
Tomas Kukosa ab1b496194 ITS: use custom value format for DSRC elements Angle and Heading 2021-07-28 07:08:26 +00:00
ismaelrti 9b69d05c2f RTPS: UDPv4 Wan locator bitfied not dissected properly
UDPv4 WAN locator bitfield was using the wrong offset thus the data
shown was not correct.
2021-07-28 06:35:17 +00:00
Dylan Ulis a1e05d09c6 CIP: Updates to match current specification
1. Connection Manager parameter is called 'Redundant Owner' instead of 'Exclusive'
2. Add new CIP Class Names
3. Support new time types: UTIME, STIME, NTIME
4. Add units to data type
2021-07-28 06:18:56 +00:00
David Perry 6e8c7283d6 Change some `wmem_packet_scope()` to `pinfo->pool` 2021-07-27 21:36:43 +00:00
Gtker 6d8bfc146d WOWW: Refactor SMSG_CHAR_ENUM to use ptvcursor 2021-07-27 19:08:52 +00:00
Gtker 7e9e2dac0f WOWW: Convert body fields to use `ptvcursor`
This significantly reduces boilerplate required for adding fields.

The changes to SMSG_CHAR_CREATE from ENC_LITTLE_ENDIAN to ENC_NA are
intentional, as are the changes to CMSG_CHAR_RENAME from realm_name to
character_name.
2021-07-27 19:08:52 +00:00
Gtker f864dd7e9d WOWW: Use dots in abbreviations instead of underscores
As directed in PR.
2021-07-27 19:08:52 +00:00
Gtker 8fbf781a7f WOWW: Make abbreviations fit variable names 2021-07-27 19:08:52 +00:00
Gtker 1a2169acf5 WOWW: Add CMSG_CHAR_CREATE fields
Wiki reference:
https://wowdev.wiki/CMSG_CHAR_CREATE
2021-07-27 19:08:52 +00:00
Gtker 22694dffeb WOWW: Add CMSG_CHAR_RENAME field
Wiki reference:
https://wowdev.wiki/CMSG_CHAR_RENAME
2021-07-27 19:08:52 +00:00
Gtker eafb670ee1 WOWW: Add fields for SMSG_NAME_QUERY_RESPONSE
https://wowdev.wiki/SMSG_NAME_QUERY_RESPONSE
2021-07-27 19:08:52 +00:00
Gtker 1fe0f6d2e0 WOWW: Add fields that only require result
The `login_result` field is reused for all results, since there's
nothing about the field that makes it specific to logging in and the
same values can appear in all 3 fields.

Wiki reference:
https://wowdev.wiki/SMSG_CHAR_DELETE

https://wowdev.wiki/SMSG_CHAR_CREATE

https://wowdev.wiki/SMSG_CHARACTER_LOGIN_FAILED
2021-07-27 19:08:52 +00:00
Gtker d2af1dee46 WOWW: Add CMSG_PING and SMSG_PONG fields
Wiki reference:
https://wowdev.wiki/CMSG_PING

https://wowdev.wiki/SMSG_PONG
2021-07-27 19:08:52 +00:00
Gtker 159eaaa37a WOWW: Add SMSG_TUTORIAL_FLAGS fields
Wiki reference:
https://wowdev.wiki/SMSG_TUTORIAL_FLAGS
2021-07-27 19:08:52 +00:00
Gtker 706f940ca8 WOWW: Add fields that only require GUID
Wiki reference:
https://wowdev.wiki/CMSG_NAME_QUERY

https://wowdev.wiki/CMSG_SET_ACTIVE_MOVER

https://wowdev.wiki/CMSG_CHAR_DELETE

https://wowdev.wiki/CMSG_SET_SELECTION
2021-07-27 19:08:52 +00:00
Gtker e31baaf99b WOWW: Add SMSG_LOGIN_VERIFY_WORLD fields 2021-07-27 19:08:51 +00:00