https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=15292
Bug ID: 15292
Summary: text2pcap set snaplength to 64k, while processing
frames of 256k
Product: Wireshark
Version: 2.6.4
Hardware: All
OS: All
Status: CONFIRMED
Severity: Normal
Priority: Low
Component: Extras
Assignee: bugzilla-ad...@wireshark.org
Reporter: jaap.keu...@xs4all.nl
Target Milestone: ---
Build Information:
Text2pcap (Wireshark) 2.6.5 (v2.6.5rc0-90-ga7187e64)
Copyright 1998-2018 Gerald Combs <ger...@wireshark.org> and contributors.
License GPLv2+: GNU GPL version 2 or later
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiled (64-bit) with GLib 2.58.1, with zlib 1.2.11.
--
When writing the PCAP file start (through libpcap_write_file_header() or
pcapng_write_interface_description_block()) text2pcap sets the snap length to
PCAP_SNAPLEN (=64k). On the other hand when writing frame data the size (unless
using option -m) is limited by WTAP_MAX_PACKET_SIZE_STANDARD (=256k). This
allows for larger frames written to the capture file then the snaplength would
suggest (allow?).
--
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