Commit Graph

81816 Commits

Author SHA1 Message Date
Michael Tuexen 3d7729c6b3 tools: use glib version 2.68.4 on MacOS 2021-08-24 19:23:49 +00:00
Lin Sun 5e59ffd12d [build] fix warnings for unused variables 2021-08-24 18:47:15 +00:00
ismaelrti ed2d004181 RTPS: Fixed UDPv4 WAN locator port encoding and always dissecting of all fields
Always dissecting the UUID IP and port of UDPv4 WAN no matter the
locator flags set. Also fixing the port encoding.
2021-08-24 16:54:22 +00:00
Evan Huus 678541878c h248: convert to pinfo->pool
This one was non-trivial in places and involved converting a few methods
to use strbufs to simplify.
2021-08-24 12:43:52 +00:00
Evan Huus e8f967f162 asn1: convert more dissectors to pinfo->pool
Just h248 left of the asn1 templates, and it's gonna be tricky.
2021-08-24 12:16:15 +00:00
Joakim Karlsson 28ab4bed8e PFCP: added missing PFCP Session Change Info IE 2021-08-24 11:05:35 +00:00
Joakim Karlsson 51327a330b JSON: adding more 3GPP EPS IEs 2021-08-24 12:00:07 +02:00
Guy Harris f7d05a0d0f pdcp-lte: stub out calculate_digest() if we don't support any crypto.
In the non-stub routine, all parameters are used, so remove the _U_.

In the stub routine, mark all unused parameters with _U_.
2021-08-24 01:14:18 -07:00
Guy Harris e3d93143c8 btmesh: don't provide stub custom field formatting routines.
Use the non-stub versions even if we don't have libgcrypt 1.6.0 or
newer; yes, it's code that won't ever be used, but if you want to
eliminate waste, remove all the fields that aren't used if we don't have
libgcrypt 1.6.0 or later.

This avoids the need to create stub routines, making the code a bit less
confusing (and avoiding the risk of using those fields with
non-functional formatting routines).

It also eliminates "function argument unused" warnings when building
with an older version of libgcrypt, and does so more cleanly than adding
a bunch of _U_s to the stub functions.
2021-08-24 00:40:50 -07:00
Gerald Combs 405db40992 [Automatic update for 2021-08-22]
Update manuf, services enterprise numbers, translations, and other items.
2021-08-23 23:26:01 +00:00
Dr. Lars Völker 0091a83e31 BLF: adding Interface blocks (bugfix)
This patch adds code to add the interface blocks, so that the packets
read by blf can be written again (e.g., to pcapng).
2021-08-23 21:19:29 +02:00
Dr. Lars Völker 5de353f324 BLF: WTAP_BLOCK_PACKET should have been MULTIPLE_BLOCKS_SUPPORTED 2021-08-23 20:30:12 +02:00
Martin Mathieson 36793d1298 ORAN: Fix width of TRX weight pair in ext11.
It depends upon the iqwidth, was hardcoded to uncompressed
16-bit weights.
2021-08-23 18:03:38 +01:00
Martin Mathieson febd96affd PFCP: Fix a conflict in ie_type value_string 2021-08-23 14:31:37 +00:00
Martin Mathieson 381e2a35f9 ORAN FH CUS: Fix inclusion of C section 5 fields 2021-08-23 15:12:05 +01:00
ismaelrti 030a80f8a9 RTPS: Added dissection of submessage DATA_FRAG_SESSION.
Introduced new submessage DATA_FRAG_ASESSION (id 0x81). It is the same
as a DATA_FGRAG_submessage but with an extra sequence number field
called "virtualSeqNum".
2021-08-23 11:25:14 +00:00
Joakim Karlsson 3d67141ca2 RADIUS: correction of 3GPP AVPs 2021-08-23 11:08:25 +00:00
Martin Mathieson d3b016a365 Remove trailing colons from item label names
This is a new check added to check_typed_item_calls.py --label

Ignoring cases where item type is FT_NONE, as fpr tjpse
text was appended that otherwise would lack a colon.
2021-08-23 08:32:56 +00:00
Dr. Lars Völker d3392ffb55 BLF: Fixing Typo to fix FlexRay Status 2 2021-08-22 23:27:58 +00:00
Dr. Lars Völker 0ace04ae7a Signal PDU: Adding LIN PDUs to info col (Bugfix)
This patch activates the update of the info column for singnal pdus
coming in using the LIN path.
2021-08-22 22:32:05 +00:00
Dr. Lars Völker 514281f9a7 TECMP: RTR is only CAN (BUGFIX!)
Bugfix. ESI in CAN-FD was interpreted as RTR
2021-08-22 22:15:55 +00:00
Dr. Lars Völker 2883fb22e9 ISO15765: Adding support for AUTOSAR TP frame formats
This patch adds support for the FlexRay AUTOSAR TP frame formats as
defined by AUTOSAR_SWS_FlexRayARTransportLayer.pdf
2021-08-22 21:59:08 +00:00
Dario Lombardo bf5843b646 file: fix constness in declaration.
Ref: ee0dc72084
2021-08-22 21:17:18 +00:00
Martin Mathieson 21c222a66e ORAN FH CUS: Fix dissection of UEId field. 2021-08-22 20:40:32 +01:00
Dario Lombardo ee0dc72084
file_packet_provider: fix constness in declaration.
This fixes a warning (threated as error) on Windows

(ClCompile target) ->
         C:\projects\wireshark\file_packet_provider.c(84,1): warning C4028:  formal parameter 3 different from declaration [C:\projects\wireshark\build\shark_common.vcxproj]
2021-08-22 19:47:15 +02:00
Martin Mathieson 82b1092fe9 ORAN: Decompress block floating point numbers (used in ext11). 2021-08-22 13:39:20 +01:00
Dario Lombardo 8bcd077eb0
kerberos: add missing parameter. 2021-08-21 22:52:35 +02:00
Guy Harris 4de9f6ef83 Fix some issues with Exported PDUs.
Fix the description in wsutil/exported_pdu_tlvs.h to reflect reality
(i.e., to match what the code in Wireshark that reads the exported PDU
TLVs, and all code that writes them, does).

In the code that dissects them, treat all strings as FT_STRINGZPAD, as
any null bytes at the end of the string are padding, not part of the
string.

See merge request !3895 and issue #17535.
2021-08-21 02:31:45 -07:00
Jirka Novak dd161ade12 RTP Player: Fix of resampling for visual waveform
When capture was longer (e.g. 800s), audio was decoded correctly, but
visual waveform was shown incorrectly. Reason was exceeding range of
guint32 during calculation. Calculation is now made in guint64 and then
put back to guint32.
2021-08-21 07:20:33 +00:00
Jorge Mora 2c556a0e90 Infiniband: display the NAK error code
Display the NAK error from the ACK Extended Transport Header (AETH)
when the syndrome is a NAK error code.
2021-08-20 23:20:07 +00:00
Guy Harris c6717dc6b3 text_import.c: get EXP_PDU_TAG_PROTO_NAME from the header.
Don't hardcode 12, use EXP_PDU_TAG_PROTO_NAME from
wsutil/exported_pdu_tlvs.h.
2021-08-20 14:58:44 -07:00
Guy Harris 097656e805 androiddump: get the WIRESHARK_UPPER_PDU tags from the header.
Don't define WIRESHARK_UPPER_PDU_TAG_DISSECTOR_NAME ourselves and use
it, use EXP_PDU_TAG_PROTO_NAME from wsutil/exported_pdu_tlvs.h.
2021-08-20 13:16:15 -07:00
Martin Mathieson 4fc200ce51 UDPCP: Set length of Packet Transfer Options subfree 2021-08-20 17:57:58 +01:00
Pascal Quantin e20e6e30d7 LPPe: upgrade dissector to OMA-TS-LPPe-V1_0-20200630-D
Closes #17531
2021-08-20 18:19:23 +02:00
Taisuke Sasaki 79e82c3018 OSPF: Add Flexible Algorithm (draft-ietf-lsr-flex-algo-17) 2021-08-20 15:56:51 +00:00
Martin Mathieson 78b4835bc5 ORAN FH CUS: For Ext12, create subtree for value pairs 2021-08-20 11:05:19 +00:00
Martin Mathieson 927690e883 Fix some docbook spellings. 2021-08-20 10:43:01 +00:00
Alvin 9d8f38e600 ORAN : add extension type 12 2021-08-20 09:47:18 +00:00
Guy Harris 4e80643cc0 Move LINKTYPE_WIRESHARK_UPPER_PDU definitions to a separate header.
Have wsutil/exported_pdu_tlvs.h define the LINKTYPE_WIRESHARK_UPPER_PDU
TLV type and length values, as well as the port type values written to
files in EXP_PDU_TAG_PORT_TYPE TLVs.

Update the comment that describes the LINKTYPE_WIRESHARK_UPPER_PDU TLVs
to more completely and correctly reflect reality (it was moved from
epan/exported_pdu.h to wsutil/exported_pdu_tlvs.h).

Rename those port type values from OLD_PT_ to EXP_PDU_PT_; there is
nothing "old" about them - yes, they originally had the same numerical
values as the PT_ enum values in libwireshark, but that's no longer the
case, and the two are now defined independently.  Rename routines that
map between libwireshark PT_ values and EXP_PDU_PT_ values to remove
"old" from the name while we're at it.

Don't include epan/exported_pdu.h if we only need the
LINKTYPE_WIRESHARK_UPPER_PDU definitions - just include
wsutil/exported_pdu_tlvs.h.

In extcap/udpdump.c, include wsutil/exported_pdu_tlvs.h rather than
defining the TLV types ourselves.
2021-08-20 02:18:19 -07:00
Stig Bjørlykke ebf5da61c6 gsm_sim: Show status in info column when response only
Show value from status word in info column when packet is a
response only (not SIMtrace).
2021-08-20 08:29:00 +00:00
Stig Bjørlykke 1807d3874a coap: Do not handle Accept as Content-Format
Only use value of Content-Format to dissect the content in the
current packet. Accept is used to tell which format is expected
in the reply.

Fixes: #17536
2021-08-20 08:12:44 +00:00
Kaige Ye 487445c596 MySQL: Fix COM_QUERY response dissector when CLIENT_DEPRECATE_EOF is set
When CLIENT_DEPRECATE_EOF is set, no EOF packet between field packets and row
packets. See
https://dev.mysql.com/doc/internals/en/com-query-response.html#text-resultset
2021-08-20 07:56:05 +00:00
Guy Harris d679564d7b Use the wsutil/pint.h functions to fill in "exported PDU" headers.
That makes the code cleaner, including making it clearer that the fields
in those headers are big-endian.
2021-08-20 00:35:33 -07:00
Guy Harris 1b54c40a5b jpeg: don't free something allocated from a wmem pool.
If it's allocated with the NULL "pool", yes - that's just a regular
allocation - but if it's allocated from a pool, no.
2021-08-19 15:59:43 -07:00
Evan Huus eda26f9e5f wmem: convert more asn1 dissectors to pinfo->pool
We prefer pinfo->pool over the global wmem_packet_scope() now. Convert a
few more asn1 dissectors. After this commit, just three asn1 dissectors
remain.
2021-08-19 15:07:44 +00:00
Thomas Dreibholz 042001fb55
Added heuristics to ICMP and ICMPv6 dissectors to decode the payload. 2021-08-19 16:13:16 +02:00
Thomas Dreibholz a104403dad
Added HiPerConTracer dissector. 2021-08-19 16:13:15 +02:00
Michail Koreshkov 595a5a1c9d gsm_a_rr: add NRI decoding when pool is used
Protocol BSSGP has option in GUI to enable decoding NRI when SGSN pool
is used. But this configuration option is not used in code.

I have marked this option as obsolete and add new single option to protocol dissector gsm_a_rr
where TLLI is decoded and added code for processing NRI.
2021-08-19 09:51:39 +00:00
Jirka Novak 6672f1eb2b Updated release notes 2021-08-18 19:27:10 +00:00
Jirka Novak af059913b3 RTP Analysis: CSV export has header line
Export to CSV from RTP Analysis has header now. Header is on top of the
export so for export of multiple tabs it is just once in the export.
2021-08-18 19:27:10 +00:00