Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
from https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=1595
Fix #17855
|
|
Currently the dissector maps 29bit addresses to 16bit. This limitation
is being resolved by allowing 32bit addresses to be passed on.
|
|
|
|
|
|
|
|
|
|
Make sure dissect_kafka_string_new always sets a valid display string.
Fixes #17880.
|
|
|
|
The HTTP/2 priority update frame is an extension frame defined in
https://datatracker.ietf.org/doc/draft-ietf-httpbis-priority/.
With this change, we add new support for the frame to the HTTP/2
dissection, matching the capability in the HTTP/3 dissector, to expose
the target of the priority and the value of the hint.
|
|
The HTTP/3 priority update frame is an extension frame defined in
https://datatracker.ietf.org/doc/draft-ietf-httpbis-priority/.
Previously, the HTTP/3 dissector only went as far as reporting the
PRIORITY_UPDATE frame types.
With this change, we extend the HTTP/3 dissection to cover the fields
inside the frame. This makes it easier to see the actual target of the
priority and the value of the hint.
|
|
|
|
Update manuf, services enterprise numbers, translations, and other items.
|
|
|
|
|
|
|
|
Add support for ORIGIN frame (RFC 8336) to the HTTP/2 dissector. The
frame is a sequence of 0 or more origin entries (length and ASCII
value), hence dissection is implemented as a subtree.
|
|
This patch links PTPv2 messages to each other and starts analysis
based on the messages:
- Link Sync to FollowUp
- Link PDelay Req to PDelay Res
- Link PDelay Res to PDelay F'Up
- Add timestamp to a sync based on the Follow Up (2-step only).
- Calculate the mean propagation delay and add it to PDelay Resp F'Up.
- Calculate the neighborRateRatio of PDelay and show it
- Calculate the syncRateRatio and show it
This feature is off by default but only slows down dissection of PTP
frames by about 10%.
|
|
|
|
Data from packet has been used as encoding instead of an actual
encoding. Fix by using ENC_NA, since the field is FT_UINT8.
Fix: #17878.
|
|
|
|
|
|
|
|
Prevent useless allocation when no addresses are present in pinfo.
Useless allocation introduced in b086e5192a.
Fix: #17866.
|
|
|
|
|
|
Signed-off-by: Quentin Armitage <quentin@armitage.org.uk>
|
|
Check lenghts and add expert info when they are too small and
cause infinite loops.
Fix: #17847.
|
|
Ref: #17847.
|
|
Instead of consider just negative sizes as invalid, threat 0 the
same way. The size is used to increment the packet offset and 0
causes an infinite loop.
Fix: #17855.
|
|
Format defined in TS29.571, ch5.2.2.
First API (NPCF) filled from TS29.512, ch5.8
|
|
|
|
|
|
Fix: #17857.
|
|
The IE is defined in 3GPP TS 48.058 section 8.3.3 "ERROR INDICATION" as
being a TLV of size 2-4, which means length=0 is an accepted form. Avoid
showing "Malformed packet" error if such packet is found.
|
|
Do not attempt to look for TLVs in the entire rest of the packet, only
look in the proxy protocol header bytes.
|
|
‘vfork’
Fixes #17858
|
|
If KAZLIB_POSIX_THREADS isn't defined, we are still using thread support
- compiler and support library support for per-thread data, at least for
the stack of exception catchers.
Update and expand comments.
|
|
This patch allows to calculate aggregations for easier analysis.
Per configured signal (uint, int, float) the following aggregations
are supported:
- sum of values (sum)
- average of values (avg)
- sum of value * delta_time (int)
|
|
Report all registration errors with REPORT_DISSECTOR_BUG().
In the workers for register_all_protocols() and
register_all_protocol_handlers(), use TRY/CATCH/ENDTRY to catch
DissectorError exceptions thrown by REPORT_DISSECTOR_BUG() when
registering dissectors. Return the error message from the main thread
routine and, when joining the worker thread, if there's an error message
returned, throw it in the current thread, so that it gets caught by the
main libwireshark initialization code.
Fixes the crash in #17856.
|
|
|
|
|
|
A fix. Add first ten registered IDs.
|
|
|
|
This prevents the weird failures I saw on macOS in #17856; instead, it
should fail on *all* platforms with
Unhandled exception ("epan/proto.c:8800: failed assertion "DISSECTOR_ASSERT_NOT_REACHED"", group=1, code=6)
(which it does on macOS 11.6/Xcode 12.5.1 and Windows 10/VS 2019
16.11.8; according to
https://en.wikipedia.org/w/index.php?title=Thread-local_storage&oldid=1064900318#C_and_C++
the major UN*X C compilers support __thread and the major Windows C
compilers support __declspec(thread).).
@jvalverde: on branches that require C11/C++11 support, we could perhaps
just use _Thread_local for C and thread_local for C++. Note that
<thread.h> is optional in C11, and macOS 11.6/Xcode 12.5.1 does not
appear to include it.)
This does not *fix* the aforementioned issue; to do *that* we need to do
TRY in the register-dissectors thread code. I'm committing this
separately because it fixes a bug in our exception package that could
cause all sorts of randomness now and in the future - what we're doing
now is Just Wrong.
(Yes, there's code to support per-thread exception handler stacks *on
platforms with pthreads*, but this is simpler *and* also works on
Windows.)
|
|
d4a3aabc originally had this check, but I misread the GLib documentation
& source, and requested that Lars remove it.
|
|
|
|
This patch adds support for 802.1AS-2020 Sync with 1-step as they carry
the originTimestamp and the Follow_UP TLV.
This patch also corrects that 802.1AS Sync with 2-step DO NOT have the
originTimestamp but "reserved" data.
Based on MR 2638.
|
|
Unify the last hex 'Length' fields displaying, make them decimal
as other ones.
|
|
Update manuf, services enterprise numbers, translations, and other items.
|