[Bug 963] New: nfq_udp_get_payload and nfq_udp_get_payload_len return wrong results
bugzilla-daemon at netfilter.org
bugzilla-daemon at netfilter.org
Fri Jun 20 11:51:14 CEST 2014
https://bugzilla.netfilter.org/show_bug.cgi?id=963
Summary: nfq_udp_get_payload and nfq_udp_get_payload_len return
wrong results
Product: libnetfilter_queue
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: libnetfilter_queue
AssignedTo: netfilter-buglog at lists.netfilter.org
ReportedBy: lantw44 at gmail.com
Estimated Hours: 0.0
nfq_udp_get_payload:
udph->len is the length of packet, not the length of the UDP header.
UDP header is a constant, which equals sizeof(struct udphdr).
nfq_udp_get_payload_len:
pktb->tail - pktb->transport_header is the length of entire UDP packet,
not the length of UDP packet payload.
--
Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the netfilter-buglog
mailing list