On at least Ubuntu 14.04 LTS and Ubuntu 14.10 "conntrack -E" has started
failing with Linux 3.18.x. conntrack -L still works.
14.04 and 14.10 ships conntrack-utils version 1.4.1, but 1.4.2 does not
work either.
It fails with:
# conntrack -E
conntrack v1.4.2 (conntrack-tools): Can't open handler
strace shows:
bind(3, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(3, {sa_family=AF_NETLINK, pid=14092, groups=00000000}, [12]) = 0
bind(3, {sa_family=AF_NETLINK, pid=14092, groups=00000007}, 12) = -1 EINVAL (Invalid argument)
Reverting 97840cb67ff5ac8add836684f011fd838518d698 - netfilter:
nfnetlink: fix insufficient validation in nfnetlink_bind
makes everything work again on my systems.
I'm testing with
# modprobe nfnetlink
# modprobe nf_conntrack_netlink
# modprobe nf_conntrack_ipv4
# conntrack -E
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html