aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
AgeCommit message (Collapse)AuthorFilesLines
2021-10-20WIP: gm: Decode GSM GM MS RA Capabilities IE with RLCMAC CSN1 decoderpespin/racapPau Espin Pedrol2-3/+29
Tested with a sample pcap file containing an GSM GM packet (Attach Request) with an MS Radio Access Capabilities IE containing several entries. TODO: * Check if by dropping the ad-hoc decoder we lose support/features. * Drop de_gmm_ms_radio_acc_cap and replace it with de_gmm_ms_radio_acc_cap_rlcmac(), since there are other users of that function in other protocol dissectors. Then all benefit from the change. More than 1k lines of code can be dropped. * Some general clean up required Change-Id: I096eafcb5ca31d0ad1fa63561f43853ee4e7a40f
2021-10-20gtpv2: Update to 3GPP TS 29.274 V17.3.0Joakim Karlsson4-185/+274
2021-10-20Fix some spelling errorsMartin Mathieson2-2/+2
2021-10-20Added Allied Telesis Loop Detection FramesMartin Mayer3-1/+171
2021-10-20EVS: Support decoding Primary 2.8 kbps packetsNan Xiao1-1/+33
2021-10-20EVS: Fix bug in decoding SID frame CNG typeNan Xiao1-1/+1
In 3GPP 26.449 Codec for Enhanced Voice Services (EVS); Comfort Noise Generation (CNG) aspects, Computational details and bit allocation: For the EVS primary modes, the SID payload consists of 48 bits. The first bit of the payload determines the CNG scheme, where 0 stands for the LP-CNG and 1 for the FD-CNG.
2021-10-19QUIC: fix compilation on RaspberryNardi Ivan1-12/+12
2021-10-19RTPS: ixed dissection of unions in user data.ismaelrti1-33/+25
Removed the type_id check when dissecting user data. That check avoids dissection in valid cases.
2021-10-19TCPCL: Reassemble with full 64-bit transfer IDBrian Sipos1-40/+92
2021-10-19MeshConnex (MCX): MCX packet decode logicSangeetha Jain1-0/+159
Dissect MCX IE present in 802.11 packets like Beacon, Assoc Req, Assoc Res ...
2021-10-19BT-uTP: Hand to bittorrent dissector, dissect multiple PDUsJohn Thacker3-17/+552
Handle uTP payload to the bittorrent dissector. Implement dissect PDUs to handle more than one bittorrent PDU in a uTP payload. Implement basic multisegment PDU tracking; not enough to actually desegment, but enough to provide a hint to the start offset of the next PDU when a PDU does span segments. (Provided that they're in order, but OOO handling isn't implemented yet either.) Improves #8792.
2021-10-19EVS: Fix CNG schema for SID payloadNan Xiao1-2/+2
In 3GPP 26.449 Codec for Enhanced Voice Services (EVS); Comfort Noise Generation (CNG) aspects, Computational details and bit allocation: For the EVS primary modes, the SID payload consists of 48 bits. The first bit of the payload determines the CNG scheme, where 0 stands for the LP-CNG and 1 for the FD-CNG.
2021-10-19SOME/IP: WTLV type 5 complains about 6 bit length field (BUGFIX)Dr. Lars Völker1-1/+1
Closes #17666
2021-10-19CSN.1: Fix definition for DownlinkDualCarrierCapability_r7_t in MS RA capPau Espin Pedrol1-2/+2
Related spec: 3GPP TS 24.008 Table 10.5.146
2021-10-19BSSMAP LE: fix dissection of APDU in 2 messagesPascal Quantin1-2/+2
The APDU information element in Perform Location Request and Perform Location Information messages is optional and not mandatory, as seen in 3GPP 49.031. This commit fixes a regression introduced in ga6ed603f5c. Closes #17667
2021-10-19Bluetooth: Update Assigned NumbersJakub Pawlowski1-0/+131
Updated UUIDs to match new version from 1st October 2021 Change-Id: Ifab0296389fe3815f7ce9b15de841e8675faba32
2021-10-19socketcan: use ett_can_fd for CAN FD.Guy Harris1-1/+1
2021-10-18IDMP: Initialize some variables.Gerald Combs2-2/+11
Try to make sure protocolID and saved_protocolID are initialized before we use them. Another attempt at fixing #16342, #17664, and related bugs.
2021-10-18BT SDP: Don't overrun our continuation state buffer.Gerald Combs1-1/+12
Fixes #17635.
2021-10-17btsmp: Fix endianess of debug public keyMatias Karhumaa1-8/+10
Bluetooth LE SMP protocol uses Little-endian byte order. Convert Bluetooth LE Secure Connections debug public key to Little-endian byte order to fix the problem that dissector did not properly identify debug keys when they were used during the pairing.
2021-10-17TCPCLv4: Update TCPCL dissector to include version 4 from dtn-wiresharkBrian Sipos5-878/+2398
Some enhancements and visual fixes to version 3 dissector are also included.
2021-10-16bencode: remove pointless recursionJohn Thacker1-3/+1
This statement is at the top of the function, calls itself recursively without changing any state, reaches the max recursion level, and then travels back up the stack adding expert infos and returning -1, and then at the end always causes a variable to be set to a known value. Remove all that, and just set the variable to the value it's going to have anyway. This speeds things up a lot and prevents adding dozens of expert infos to dictionaries without otherwise changing the behavior, which does seem to work.
2021-10-15Websocket frame reassembly supportMikael Kanstrup1-17/+152
Add support for websocket fragmented payload reassembly.
2021-10-15jpeg: add support for dissecting inline IFD valuesРоман Донченко1-12/+112
In many cases, the "value offset" is actually the value itself. Handle those cases correctly.
2021-10-14socketcan: support the CANFD_FDF flag for identifying CAN FD frames.Guy Harris2-85/+105
The Linux SocketCAN header now uses the formerly-reserved byte in the SocketCAN header after the "payload length" field as an "FD flags" field, with a flag bit reserved to indicate whether the frame is a classic CAN frame or a CAN FD frame, with two other bits giving frame information for FD frames. For LINKTYPE_CAN_SOCKETCAN, use that flag bit to determine whether the frame is classic CAN or CAN FD. As some older LINKTYPE_CAN_SOCKETCAN captures have SocketCAN headers in which the fields after the "payload length" field were uninitialized, so trust that thge "FD flags" was filled in, rather than possibly randomly uninitialized, only if the only bits set in that field are the bits defined to be in that field and the two reserved bytes after it are zero. This will be needed when the current main-branch libpcap is released, as it uses LINKTYPE_CAN_SOCKETCAN rather than LINKTYPE_LINUX_SLL for ARPHRD_CAN devices; we add it now to future-proof the Wireshark releases to which this is being committed. It also handles what existing CAN FD captures using LINKTYPE_CAN_SOCKETCAN exist. For LINKTYPE_LINUX_SLL frames, we have the protocol field to distinguish between classic CAN and CAN FD, so we use that to determine the frame type, rather than looking at the CANFD_FDF flag. dissect_socketcan_common() now handles both classic CAN and CAN FD frames.
2021-10-13GSM A-bis/RSL: dissect some more Osmocom specific IEsVadim Yanitskiy1-0/+124
2021-10-13GSM A-bis/RSL: add a checkbox for Osmocom specific definitionsVadim Yanitskiy1-9/+25
2021-10-13GSM A-bis/RSL: fix wrong tree/length in dissect_rsl_ie_message_id()Vadim Yanitskiy1-2/+2
2021-10-13BT HCI_ISO: Don't overrun our reassembly buffer.Gerald Combs1-1/+7
Fixes #17649.
2021-10-13couchbase: Add Subdoc replace body with xattr opcodeBen Huddleston1-0/+2
Change-Id: Icce8f7a30caf0d52c01b20b8535a1f157a1e4f56
2021-10-13couchbase: Add ReviveDocument subdoc flagBen Huddleston1-0/+3
Change-Id: I914f4aae11b4c459a6db0d7b18ab81b73747fd58
2021-10-13couchbase: Add new subdoc error codesBen Huddleston1-0/+9
Change-Id: I7d5350d1a590e8c5a2b87f4cc0d815d5da63a2f1
2021-10-13gprscdr: Update to 3GPP TS 32.298 V17.0.0Joakim Karlsson3-30/+253
2021-10-13SIP: 200 ok put resp to method in info colAnders Broman1-12/+19
2021-10-13pfcp: Update to 3GPP TS 29.244 V17.2.0Joakim Karlsson1-37/+859
2021-10-13BT-uTP: Track conversationsJohn Thacker2-18/+229
Add endpoint type for uTP connection IDs. Manage uTP conversations, creating generated stream ID to filter on both sides of a conversation. Display more information in INFO column, similar to TCP. This is some progress towards #8792.
2021-10-13BPV7: Address check_static.py issuesMartin Mathieson1-7/+1
epan/dissectors/packet-bpv7.c (00000000000010d0 T bp_block_canonical_free) is not referred to so could be static? epan/dissectors/packet-bpv7.c (0000000000000e50 T bp_creation_ts_new) is not referred to so could be static? One function was not called at all - the other only in this dissector so could be static.
2021-10-12BP: Fix crashes on invalid fuzzed inputsBrian Sipos3-2/+4
2021-10-12TCP: Follow: Don't treat placeholder value 0 as a real ACK numberJohn Thacker1-4/+4
Since the wraparound aware GT_SEQ is used, passing in 0 for the ACK number can result in thinking that bytes are missing and dropping frames from the follow stream tap.
2021-10-12TCP: Port reuse ends with false RetransmissionsEugene Adell1-18/+37
In rare circumstances when a connection could not established on the first try, succeeding in establishing it later would generate many Retransmissions. Closes 17616.
2021-10-12BT-DHT: Exit a loop.Gerald Combs1-6/+7
Always make sure our offset advances in dissect_bencoded_list. Fixes #17651.
2021-10-11autosar_nm: get rid of unused protocol IDs.Guy Harris1-9/+0
We fetch the protocol IDs for several protocols, but use none of them. Get rid of them.
2021-10-11packet-btmesh: fix build without GCRYPTLin Sun1-1/+2
2021-10-11BPSEC, BPv7, COSE: Bugfix MacOS buildDr. Lars Völker3-19/+19
The usage of PRIi64 and PRIu64 may lead to failed builds on MacOS - at least it did for me. This patch fixes this.
2021-10-11Fix some spelling errorsMartin Mathieson6-13/+13
2021-10-10TECMP: Bugfix: TECMP should not decode NULL framesDr. Lars Völker1-7/+14
Null frames are frames with invalid data. This patches makes sure that the invalid data is not further dissected. Closes #17644 Bug present since Wireshark 3.4.
2021-10-10AUTOSAR NM: Bugfix: wrong filters for user defined elementsDr. Lars Völker1-2/+2
When UDP-NM was renamed into AUTOSAR-NM (as well as filename changed) the author of that patch missed the dynamic filters. This patch fixes this oversight and makes sure all filters of AUTOSAR NM start with "autosar-nm.". Fixes #17643
2021-10-10BPv7: Add Bundle Protocol version 7 and BPSec dissectors from dtn-wiresharkBrian Sipos14-747/+4063
2021-10-10BT-DHT, BT-uTP: Use conversation_set_dissector_from_frame_numberJohn Thacker2-6/+22
Since the UDP connection switches back and forth between DHT and uTP, use conversation_set_dissector_from_frame_number so that the dissector called by try_conversation_dissector in packet-udp.c doesn't change for a given frame based on the last packet clicked in the GUI. Split out a heuristic dissector from uTP so that conversation_set_dissector is only called from the heuristic dissector. This doesn't make a difference when the heuristics are accurate but might in some edge cases.
2021-10-10rdpudp: update parsing of AckVec packets to last specDavid Fort1-10/+58
Last version of MS-RDPEUDP2 has detailled the interpretation of ackvec packets. The patch also adds the interpretation of ack vector items (bitmap or RLE encoded).