aboutsummaryrefslogtreecommitdiffstats
path: root/epan
AgeCommit message (Collapse)AuthorFilesLines
2023-03-02DRDA: Add SQL Statement LengthAlexis La Goutte1-1/+8
Add missing length to SQL Statement Close: 18876
2023-03-01file-pcapng-darwin: fix Dead Store found by Clang AnalyzerAlexis La Goutte1-2/+0
2023-02-28epan: Expand on comment regarding g_atomic_pointerJohn Thacker1-2/+3
Related to #17753
2023-02-28Revert "Reset the "current conversation elements" after each dissector call"John Thacker1-10/+0
We do want to reset these (and probably most other elements of the packet_info struct) when starting to process a new PDU at the same protocol level as the most recently processed dissector. However, find_conversation_pinfo() is used in the GUI and elsewhere to get the final value of conversation and address information, so we don't want to reset the values after the last PDU. Revert this until we can find a better general way of handling this. (!8013 handles the specific PPP case for #18278.) Perhaps eventually there should be some separation between addresses and conversation information used for the next dissector called, and the value for the packet used after the packet is fully dissected (by the GUI, etc.) This reverts commit 80e287f82c084617b5624ceeba71de7f260f8d44. Fix #18781.
2023-02-28icmpv6: Show ND lifetime as time stringStig Bjørlykke1-12/+31
Show Neighbor Discovery option lifetime values as time string.
2023-02-28RTPS: make a function staticMartin Mathieson1-0/+1
2023-02-28UDS: cleanup structureDr. Lars Völker1-82/+39
Remove ETTs that do not match the standard.
2023-02-28dfilter: Use ws_debugJohn Thacker1-6/+3
Use ws_debug instead of ws_log(WS_LOG_DOMAIN, LOG_LEVEL_DEBUG) in dfilter_compile_real, so that the logging is optimized away in a Release build.
2023-02-27[Automatic update for 2023-02-26]Gerald Combs2-25/+2328
Update manuf, services enterprise numbers, translations, and other items.
2023-02-27ppp: Reset conversation elements between each frame in raw HDLC streamJohn Thacker1-0/+24
When breaking up a raw HDLC byte stream into frames, each frame should be treated separately, much like it were a new frame in an ordinary capture file. That means that many of the elements in the big packet_info struct should be reset for each new frame. In particular, the "most recent conversation" information stored in conv_elements and conv_addr_port_endpoints should be reset. This is not that different to how multiple PDUs should be handled in some other protocols (DVB-S2, TCP, etc.). When a frame contains protocol layers A, B, then C, we should distinguish between "C is contained within B within A" and "C and B are consecutive PDUs both contained within A." Unfotunately, it's difficult to handle this in a general way, as we don't know when calling the dissector for a PDU whether another PDU will follow or not. If something is the last PDU, we don't want to reset the last addresses/ports/conversation, so that we can access them for display purposes, conversation filters, the related packets line, follow stream, etc., many of which use find_conversation_pinfo Fix #18278.
2023-02-26UDS: fix WDBI assertDr. Lars Völker1-7/+10
2023-02-26UDS: Fixing dissector bugs (tvb_bytes_to_str_punct with 0 length)Dr. Lars Völker1-9/+12
This patch fixes 3 bugs where tvb_bytes_to_str_punct length was not checked. Fixes: #18865
2023-02-26[Automatic update for 2023-02-19]Gerald Combs1-14/+85
Update manuf, services enterprise numbers, translations, and other items. services failed.
2023-02-26ORAN FH CUS: Add section extension type 2Martin Mathieson1-1/+192
2023-02-26epan: Determine if an active color filter has a hfid/protoJohn Thacker4-1/+125
Add functions to test if a compiled dfilter considers an hfid or a protocol id interesting. Use those to define functions to test if any enabled color filter considers an hfid or a protocol interesting.
2023-02-25NR-RRC: Fix assign instead of comparisonJohn Thacker2-8/+8
This is mean to use the value to select the correct field length. Fix Coverity CID 1517107, 1517124, 1517136, 1517164, 1517184, 1517195.
2023-02-25Fix item length in ASN.1 templates tooJohn Thacker2-2/+2
Some of the item length changes in !9655 needed to be done with the ASN.1 templates so that they don't get lost on ASN.1 regeneration. Fixup ed8ee831fda2df69657af95dc34a3ea6b3ef4c88
2023-02-25ORAN FH CUS: add section extensions 16, 17, 18, 21Martin Mathieson1-5/+117
2023-02-25Change some `wmem_packet_scope()` to `pinfo->pool`David Perry18-265/+266
As requested [here][1] by @eapache, help with removing calls to `wmem_packet_scope()` in favour of references to `pinfo->pool`. * Plugins chosen semi-randomly. * When a calling function already has a `pinfo` argument, use that. * Remove `_U_` from its signature if it was there. * If a function seems narrowly focused on getting and (possibly) returning memory, change the function signature to take a `wmem_allocator_t *`. * If it seems more focused on packet-based operations, pass in a `packet_info *` instead and use `pinfo->pool` within. * If there are several functions defined with the same call signature, add `pinfo _U_` to the argument list of similar functions in order to maintain clarity/symmetry. [1]: https://www.wireshark.org/lists/wireshark-dev/202107/msg00052.html
2023-02-24TECMP: Changing voltage from string to doubleDr. Lars Völker1-3/+4
2023-02-24ORAN FH CUS: Add ext20Martin Mathieson1-4/+122
2023-02-24UDS: Fixing names of RDTCI subfunctions 0x0b-0x0eDr. Lars Völker1-2/+6
This fixes the dissection of RDTCI subfunction. Fixes: #18873
2023-02-24fix conflictAlexis La Goutte2-2/+2
2023-02-24PTP: Fix wrap around issue in PTP analysis codeDr. Lars Völker1-19/+34
The PTP analysis code did not support very long traces, in which the PTP seqid wrapped around (~2.27 hours with 125ms intervals). This is fixed by ensuring that PTP messages are only matched, if less than 60s apart. Fixes: #18872
2023-02-24Fix more warnings from tools/check_typed_item_calls.pyMartin Mathieson13-113/+114
2023-02-24protobuf: fix typoAlexis La Goutte1-1/+1
mssage => message
2023-02-24protobuf: Fix Clang Warning AnalyzerAlexis La Goutte1-2/+1
line 764: Value stored to 'subtree' is never read
2023-02-23TECMP: Fix voltage representation in vendor dataDr. Lars Völker1-1/+1
Fixes: #18871
2023-02-23TLS: use macros for GREASE checksDavid Perry1-7/+16
The tests in `packet-tls-utils.c` for GREASE values aren't strictly correct, in that they would falsely ignore a value such as 0x1a2a. Create a macro to replace this test, which also serves to document the intent of the test to future developers. Also create a macro for the reserved values of QUIC transport parameters which serve a similar function as GREASE.
2023-02-22file-pcapng-darwin: fix Dead Store found by Clang AnalyzerAlexis La Goutte1-1/+0
2023-02-22Fix Wi-SUN LBS-IE dissectorMathis Marion1-1/+1
2023-02-22RTPS: Improving support queries dissectionismaelrti1-52/+161
- Added topic name (tq) suffix in the column information. - Added topic query kind field dissection - Added filter for last and intermediate DATA_SESSION submessages
2023-02-22CIP: Improve connection analysisDylan Ulis2-27/+82
2023-02-21RDMnet: Bug FixesJim Schaettle1-0/+2
- Endpoint List Get Response - Endpoint Responders Get Response
2023-02-21BBLog: Add support for PRU eventsMichael Tuexen2-3/+75
While there, fix also the reporting of unknown types or events of timers.
2023-02-21file-pcapng: fix might be clobbered by ‘longjmp’ or ‘vfork’ ↵Joakim Karlsson1-1/+1
[-Werror=clobbered]
2023-02-21Diameter 3GPP: update some Rx related AVPsPascal Quantin1-7/+131
2023-02-21BBLog: Update event typesMichael Tuexen1-2/+6
2023-02-21BBLog: Improve handling of timer eventsMichael Tuexen2-2/+45
2023-02-20gmr1_rr: try to explain the 0x100 hack.Guy Harris1-3/+67
I leave it to those more familiar with the protocol to explain this better or in more detail and, if possible, to come up with a better way of doing this.
2023-02-21RSVP: Add missing S2L_SUB_LSP filter.Martin Stigge1-0/+13
Now S2L_SUB_LSP objects shows up as "rsvp.s2l_sub_lsp" instead of "rsvp.obj_unknown".
2023-02-20BBLog: Prepare for event type specifc info columnMichael Tuexen1-1/+16
While there, improve the handling of unknown event types.
2023-02-20BBLog: Display BBLog information for IN/OUT eventsMichael Tuexen1-2/+631
2023-02-20ieee80211: Fix Short SSID encodingsJosh Schmelzle1-2/+2
Change ENC_NA to ENC_LITTLE_ENDIAN for following Short SSID items: - hf_ieee80211_ff_fils_discovery_short_ssid - hf_ieee80211_short_ssid
2023-02-20Check that value_string values fit into field widthMartin Mathieson13-21/+25
2023-02-19lua: Check for negative lengths when constructing TvbRangeGilbert Ramirez1-0/+4
2023-02-19USBLL: End transfer reassembly on STALLTomasz Moń1-57/+231
Some classes, most notably Mass Storage, use STALL (instead of ZLP) to prematurely end transfer. Finish reassembly when dissecting STALL. For IN transfers ending reassembly is pretty straightforward and resembles ZLP packet. For OUT transfers the reassembled URB is opposite direction than the STALL handshake itself and last data packet may not be part of reassembled URB. The last OUT data packet is part of reassembled URB only if packet was acknowledged with NYET before endpoint was STALLed.
2023-02-19bblog: show textual errno valuesMichael Tuexen2-1/+210
2023-02-19bblog: improve TCP state namesMichael Tuexen1-7/+7
Use the names from RFC 9293 for consistency.
2023-02-19RTPS: Restore timestamp present flagJohn Thacker1-1/+1
Fix: Unused href entry: epan/dissectors/packet-rtps.c: hf_rtps_flag_timestamp_present created from e93f42350400687800262925839fb14f40ab234b