netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] nfnetlink_queue updates
@ 2012-09-24 13:03 pablo
  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
  0 siblings, 2 replies; 3+ messages in thread
From: pablo @ 2012-09-24 13:03 UTC (permalink / raw)
  To: netfilter-devel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-24 13:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-24 13:03 [PATCH 0/2] nfnetlink_queue updates pablo
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

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).