[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150611.152257.1284649637451689093.davem@davemloft.net>
Date: Thu, 11 Jun 2015 15:22:57 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: maheshb@...gle.com
Cc: j.vosburgh@...il.com, andy@...yhouse.net, vfalico@...il.com,
nikolay@...hat.com, netdev@...r.kernel.org, edumazet@...gle.com,
maze@...gle.com
Subject: Re: [PATCH next v0] bonding: Display LACP info only to
CAP_SYS_ADMIN capable user
From: Mahesh Bandewar <maheshb@...gle.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@...gle.com>
I agree with Stephen Hemminger in that you should probably be using
CAP_NET_ADMIN here.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists