From: Pablo Neira Ayuso <pablo@netfilter.org>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net
Subject: Re: [PATCH 2/2] [RFC] netlink: fix possible spoofing from non-root processes
Date: Mon, 20 Aug 2012 21:09:15 +0200 [thread overview]
Message-ID: <20120820190915.GA3727@1984> (raw)
In-Reply-To: <20120819212327.GA14853@1984>
On Sun, Aug 19, 2012 at 11:23:27PM +0200, Pablo Neira Ayuso wrote:
> On Fri, Aug 17, 2012 at 07:22:29PM +0200, pablo@netfilter.org wrote:
> [...]
> > [ I don't know any FOSS program making use of Netlink to communicate
> > to processes, please, let me know if I'm missing anyone important ]
>
> Patrick pinged me for little reminder on NETLINK_USERSOCK. We still
> have to allow netlink-to-netlink userspace communication for it.
>
> So, please find a new version of this patch that allows non-root
> processes for that Netlink bus. For others, my patch restricts to root
> processes the ability of sending messages with dst_pid != 0.
Sorry, I just noticed that you cannot apply this to your net tree
since it depends on patch 1/2 which is not a fix.
I'll get back to you with one path that you can apply to your net
tree.
I'll resend 1/2 later to net-next once this has been sorted out.
next prev parent reply other threads:[~2012-08-20 19:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-17 17:22 [PATCH 0/2] netlink patches pablo
2012-08-17 17:22 ` [PATCH 1/2] netlink: kill netlink_set_nonroot pablo
2012-08-17 17:22 ` [PATCH 2/2] [RFC] netlink: fix possible spoofing from non-root processes pablo
2012-08-19 21:23 ` Pablo Neira Ayuso
2012-08-20 19:09 ` Pablo Neira Ayuso [this message]
2012-08-23 4:53 ` David Miller
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=20120820190915.GA3727@1984 \
--to=pablo@netfilter.org \
--cc=davem@davemloft.net \
--cc=netdev@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).