Skip to content

NFQUEUE and NFLOG fixes.

Eric Leblond netfilter-devel 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2Fix computation of allocated size for netlink skb.net/netfilter/nfnetlink_queue.c+1 -11 reply
2/2Fix computation of netlink skb size.net/netfilter/nfnetlink_log.c+1 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [stable-patch 0/2] NFQUEUE and NFLOG fixes.

Hi,

The following two patches fix similar bugs in NFQUEUE and NFLOG. The allocated size of the skb use for the netlink message was too small due to the use of NLMSG_ALIGN instead of NLMSG_SPACE. In fact, the size for the initial netlink header was missing.

The effect on my setup was the drop of all queued packets of length inside the range [8*k+41, 8*k+48] with k an integer.

Effect on NFLOG has not been tested and is not known.

BR,
--
Eric Leblond
INL: http://www.inl.fr/
NuFW: http://www.nufw.org/