https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=16134
Bug ID: 16134
Summary: Add support for LZ4 to tvbuff
Product: Wireshark
Version: 3.0.5
Hardware: x86-64
OS: Windows 10
Status: UNCONFIRMED
Severity: Enhancement
Priority: Low
Component: Dissection engine (libwireshark)
Assignee: bugzilla-ad...@wireshark.org
Reporter: franc...@daily-prophet.org
Target Milestone: ---
Build Information:
3.0.5
--
tvbuff supports various compression algorithms: zlib, brotli, LZ77,
LZ77+huffman, LZNT1; however it does not support LZ4.
LZ4 is used by kafka and cql dissectors but as there is no direct support in
tvbuff, they have to import the LZ4 library themselves.
I think it would make sense to have support in tvbuff for LZ4 compression so
kafka and cql --as well as other dissectors-- could use it conveniently.
file tvbuff_lz4.c with
tvbuff_t *tvb_uncompress_lz4(tvbuff_t *tvb, const int offset, int comprlen);
tvbuff_t *tvb_child_uncompress_lz4(tvbuff_t *parent, tvbuff_t *tvb, const int
offset, int in_size);
See also :
smb adding support for LZ77 and LZNT1 and support was added to tvbuff:
https://code.wireshark.org/review/c/33855/13#message-863e0777_f507e1cf
cql: https://code.wireshark.org/review/c/17952/
kafka: https://code.wireshark.org/review/c/21577/
--
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via: Wireshark-bugs mailing list <wireshark-bugs@wireshark.org>
Archives: https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe