aboutsummaryrefslogtreecommitdiffstats
path: root/epan
AgeCommit message (Collapse)AuthorFilesLines
2022-01-18tvbuff: add robustness to tvb search related functionsJaap Keuter1-0/+4
2022-01-18GTP: Add Extended Commong Flags IEAlexis La Goutte1-1/+50
from https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=1595 Fix #17855
2022-01-18ISO15765: change addresses to 32bitDr. Lars Völker3-7/+13
Currently the dissector maps 29bit addresses to 16bit. This limitation is being resolved by allowing 32bit addresses to be passed on.
2022-01-18ORAN FH-CUS: Show I/Q values in U-Plane PRBs.Martin Mathieson1-4/+31
2022-01-17cmake: fix indentation.Dario Lombardo1-4/+4
2022-01-17ISAKMP: Fix TypoDr. Lars Völker1-1/+1
2022-01-17Frame: Parsing of PCAPNG Option Block PEN 46254Dr. Lars Völker1-1/+48
2022-01-17Kafka: Make sure a string pointer is valid.Gerald Combs1-7/+6
Make sure dissect_kafka_string_new always sets a valid display string. Fixes #17880.
2022-01-17IPDC: implement proper length checksJaap Keuter1-24/+27
2022-01-16http2: add PRIORITY_UPDATE frame dissectionLucas Pardue1-26/+65
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.
2022-01-16http3: add PRIORITY_UPDATE frame dissectionLucas Pardue1-9/+47
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.
2022-01-16tvbuff: add robustness to memory copy related functionsJaap Keuter1-2/+5
2022-01-16[Automatic update for 2022-01-16]Gerald Combs3-13/+52
Update manuf, services enterprise numbers, translations, and other items.
2022-01-16http3: fix QPACK blocked streams filterLucas Pardue1-1/+1
2022-01-16http3: detect extended CONNECT settingLucas Pardue1-1/+13
2022-01-16http2: detect extended CONNECT settingLucas Pardue1-0/+11
2022-01-16http2: add support for ORIGIN frameLucas Pardue1-1/+57
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.
2022-01-16PTP: Adding Analysis FeaturesDr. Lars Völker1-9/+549
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%.
2022-01-15Fix some spelling errorsMartin Mathieson1-2/+2
2022-01-15ieee80211: fix wrong proto_tree_add_item call.Dario Lombardo1-1/+1
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.
2022-01-15kafka: Fix Clang Warning Uninitialized argument valueAlexis La Goutte1-1/+1
2022-01-15file-rfc7468: Fix Clang Warnings Uninitialized argument valueAlexis La Goutte1-1/+1
2022-01-14Fixed a typoBahadir Ozgun1-1/+1
2022-01-14extrememesh: use correct address sizes when allocating a buffer.Dario Lombardo1-8/+8
Prevent useless allocation when no addresses are present in pinfo. Useless allocation introduced in b086e5192a. Fix: #17866.
2022-01-14BT Mesh: Fix build error when GCRYPT_VERSION_NUMBER >= 0x010600 is falseLin Sun1-0/+2
2022-01-14Fixed non-existent ness value because of wrong numberBahadir Ozgun1-2/+2
2022-01-13netlink protocol: Add Keepalived and OpenR protocol identifiersQuentin Armitage1-0/+4
Signed-off-by: Quentin Armitage <quentin@armitage.org.uk>
2022-01-13openflow_v5: prevent infinite loops.Dario Lombardo1-5/+120
Check lenghts and add expert info when they are too small and cause infinite loops. Fix: #17847.
2022-01-13openflow_v6: add one more sanity check.Dario Lombardo1-0/+10
Ref: #17847.
2022-01-13tds: consider 0 as invalid token size.Dario Lombardo1-1/+1
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.
2022-01-13JSON: add 3GPP Supported Features handlingJoakim Karlsson1-7/+693
Format defined in TS29.571, ch5.2.2. First API (NPCF) filled from TS29.512, ch5.8
2022-01-13pfcp: correction of IE Type: UE IP Address (93)Joakim Karlsson1-12/+4
2022-01-13tshark: Add new long option --hexdump <hexoption>Jim Young2-11/+45
2022-01-12ssh: prevent packet-driven oversize bignum.Dario Lombardo1-22/+43
Fix: #17857.
2022-01-12packet-rsl: Fix dissect of RLM Cause IE with length 0Pau Espin Pedrol1-0/+3
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.
2022-01-12proxy protocol: Fix parsing of TLV valuesAndy Grover1-4/+4
Do not attempt to look for TLVs in the entire rest of the packet, only look in the proxy protocol header bytes.
2022-01-12NGAP: fix variable ‘ngap_data’ might be clobbered by ‘longjmp’ or ↵Pascal Quantin2-166/+164
‘vfork’ Fixes #17858
2022-01-11except: update some coments.Guy Harris1-1/+10
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.
2022-01-11SIGNAL-PDU: Adding Aggregation FunctionsDr. Lars Völker1-19/+203
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)
2022-01-11Fix handling of dissector registration errors.Guy Harris2-64/+105
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.
2022-01-11CFM: Add 1SL PDU dissectionJaap Keuter1-0/+63
2022-01-11SSH: Make some functions static (were local but declared extern)Martin Mathieson1-8/+8
2022-01-11mpeg descriptor: complete Registration Descriptor (0x05) ID listRoman Volkov1-0/+10
A fix. Add first ten registered IDs.
2022-01-11MPLS ECHO: Fix FEC stack change TLV dissectionJaap Keuter1-6/+6
2022-01-11exceptions: make the exception handler stack per-thread.Guy Harris1-1/+1
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.)
2022-01-10SSH: Add back a NULL check.Gerald Combs1-1/+1
d4a3aabc originally had this check, but I misread the GLib documentation & source, and requested that Lars remove it.
2022-01-10PTP: ITU-T OUI as define instead of constant (cleanup)Dr. Lars Völker2-1/+2
2022-01-10PTP: Adding 802.1AS-2020 1-step Sync supportDr. Lars Völker1-69/+66
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.
2022-01-09dvb: unify some 'Length' fieldsRoman Volkov4-6/+6
Unify the last hex 'Length' fields displaying, make them decimal as other ones.
2022-01-09[Automatic update for 2022-01-09]Gerald Combs1-1/+4
Update manuf, services enterprise numbers, translations, and other items.