From: David Miller <davem@davemloft.net>
To: maheshb@google.com
Cc: j.vosburgh@gmail.com, andy@greyhouse.net, vfalico@gmail.com,
nikolay@redhat.com, netdev@vger.kernel.org, edumazet@google.com,
maze@google.com
Subject: Re: [PATCH next v0] bonding: Display LACP info only to CAP_SYS_ADMIN capable user
Date: Thu, 11 Jun 2015 15:22:57 -0700 (PDT) [thread overview]
Message-ID: <20150611.152257.1284649637451689093.davem@davemloft.net> (raw)
In-Reply-To: <1433981996-6010-1-git-send-email-maheshb@google.com>
From: Mahesh Bandewar <maheshb@google.com>
Date: Wed, 10 Jun 2015 17:19:56 -0700
> Actor and Partner details can be accessed via proc-fs and sys-fs
> entries. These interfaces are world readable at this moment. The
> earlier patch-series made the LACP communication secure to avoid
> nuisance attack from within the same L2 domain but it did not
> prevent "someone unprivileged" looking at that information on host
> and perform the same act.
>
> This patch essentially avoids spitting those entries if the user
> in question does not have enough privileges.
>
> Signed-off-by: Mahesh Bandewar <maheshb@google.com>
I agree with Stephen Hemminger in that you should probably be using
CAP_NET_ADMIN here.
next prev parent reply other threads:[~2015-06-11 22:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-11 0:19 [PATCH next v0] bonding: Display LACP info only to CAP_SYS_ADMIN capable user Mahesh Bandewar
2015-06-11 21:09 ` Stephen Hemminger
2015-06-11 22:22 ` David Miller [this message]
2015-06-12 17:53 ` Mahesh Bandewar
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=20150611.152257.1284649637451689093.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=andy@greyhouse.net \
--cc=edumazet@google.com \
--cc=j.vosburgh@gmail.com \
--cc=maheshb@google.com \
--cc=maze@google.com \
--cc=netdev@vger.kernel.org \
--cc=nikolay@redhat.com \
--cc=vfalico@gmail.com \
/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).