[Bug 567] ulogd writes invalid len field in per-packet headers

bugzilla-daemon at bugzilla.netfilter.org bugzilla-daemon at bugzilla.netfilter.org
Mon May 14 15:10:22 CEST 2007


https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=567





------- Additional Comments From jaap.keuter at xs4all.nl  2007-05-14 15:10 MET -------
The Wireshark bugreport quotes the error produced by this line:
  *err_info = g_strdup_printf("pcap: File has %u-byte packet, bigger than
maximum of %u", hdr->hdr.orig_len, WTAP_MAX_PACKET_SIZE);
Where hdr.orig_len comes from this structure:
struct pcaprec_hdr {
	guint32	ts_sec;		/* timestamp seconds */
	guint32	ts_usec;	/* timestamp microseconds (nsecs for PCAP_NSEC_MAGIC) */
	guint32	incl_len;	/* number of octets of packet saved in file */
	guint32	orig_len;	/* actual length of packet */
};

The sample capture shows for the first packet incl_len "00 00 00 30" (matching
the contents of the captured packet), while orig_len shows "00 30 00 00".


-- 
Configure bugmail: https://bugzilla.netfilter.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the netfilter-buglog mailing list