From: pablo@netfilter.org
To: netfilter-devel@vger.kernel.org
Subject: [PATCH 0/2] nfnetlink_queue updates
Date: Mon, 24 Sep 2012 15:03:08 +0200 [thread overview]
Message-ID: <1348491790-10276-1-git-send-email-pablo@netfilter.org> (raw)
From: Pablo Neira Ayuso <pablo@netfilter.org>
Hi,
The following patches aim to provide a workaround for the
problem described by Florian Westphal in:
http://marc.info/?l=netfilter-devel&m=134519473212536&w=2
The idea (by now) is to limit the maximum support length to what
we can handle, which is 65535 - 4 bytes and add a new attribute
that allows us to know the real packet length in the kernel.
Pablo Neira Ayuso (2):
netfilter: nfnetlink_queue: fix maximum packet length to userspace
netfilter: nfnetlink_queue: add NFQA_CAP_LEN attribute
include/linux/netfilter/nfnetlink_queue.h | 1 +
net/netfilter/nfnetlink_queue_core.c | 19 ++++++++++++++-----
2 files changed, 15 insertions(+), 5 deletions(-)
--
1.7.10.4
next reply other threads:[~2012-09-24 13:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-24 13:03 pablo [this message]
2012-09-24 13:03 ` [PATCH 1/2] netfilter: nfnetlink_queue: fix maximum packet length to userspace pablo
2012-09-24 13:03 ` [PATCH 2/2] netfilter: nfnetlink_queue: add NFQA_CAP_LEN attribute pablo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1348491790-10276-1-git-send-email-pablo@netfilter.org \
--to=pablo@netfilter.org \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).