From: Andre Tomt <andre@tomt•net>
To: netfilter-devel@vger•kernel.org, netdev@vger•kernel.org
Subject: REGRESSION in nfnetlink on 3.18.x (bisected)
Date: Sun, 21 Dec 2014 00:33:51 +0100 [thread overview]
Message-ID: <5496075F.3060204@tomt.net> (raw)
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
next reply other threads:[~2014-12-20 23:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-20 23:33 Andre Tomt [this message]
2014-12-20 23:51 ` REGRESSION in nfnetlink on 3.18.x (bisected) Andre Tomt
2014-12-22 11:56 ` Pablo Neira Ayuso
2014-12-22 23:23 ` Andre Tomt
2015-01-07 22:03 ` Andre Tomt
2015-01-08 10:47 ` Pablo Neira Ayuso
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=5496075F.3060204@tomt.net \
--to=andre@tomt$(echo .)net \
--cc=netdev@vger$(echo .)kernel.org \
--cc=netfilter-devel@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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