bugzilla-daemon at netfilter.org
2014-Jun-20 09:51 UTC
[Bug 963] New: nfq_udp_get_payload and nfq_udp_get_payload_len return wrong results
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.
bugzilla-daemon at netfilter.org
2014-Jun-20 09:59 UTC
[Bug 963] nfq_udp_get_payload and nfq_udp_get_payload_len return wrong results
https://bugzilla.netfilter.org/show_bug.cgi?id=963 --- Comment #1 from Ting-Wei Lan <lantw44 at gmail.com> 2014-06-20 11:59:31 CEST --- Created attachment 447 --> https://bugzilla.netfilter.org/attachment.cgi?id=447 [PATCH] extra: fix wrong implementation in nfq_udp_get_payload src/extra/udp.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) -- Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
bugzilla-daemon at netfilter.org
2014-Jun-20 10:00 UTC
[Bug 963] nfq_udp_get_payload and nfq_udp_get_payload_len return wrong results
https://bugzilla.netfilter.org/show_bug.cgi?id=963 --- Comment #2 from Ting-Wei Lan <lantw44 at gmail.com> 2014-06-20 12:00:33 CEST --- Created attachment 448 --> https://bugzilla.netfilter.org/attachment.cgi?id=448 [PATCH] extra: fix wrong implementation in nfq_udp_get_payload_len src/extra/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
bugzilla-daemon at netfilter.org
2014-Jun-20 10:01 UTC
[Bug 963] [PATCH] nfq_udp_get_payload and nfq_udp_get_payload_len return wrong results
https://bugzilla.netfilter.org/show_bug.cgi?id=963 Ting-Wei Lan <lantw44 at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|nfq_udp_get_payload and |[PATCH] nfq_udp_get_payload |nfq_udp_get_payload_len |and nfq_udp_get_payload_len |return wrong results |return wrong results -- Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
Reasonably Related Threads
- [Bug 957] New: [PATCH] Wrong function name in libnetfilter_queue/libnetfilter_queue_ipv6.h
- [Bug 962] New: [PATCH] nfq_ip_snprintf always shows the same address in SRC and DST
- [Bug 800] New: sk_buff.transport_header set incorrectly for NF_IP_PRE_ROUTING hook
- Linux IP fragment overlap bug (fwd)
- [Bug 993] New: nft produces incorrect output when a reject rule is added using nft -f