netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: shemminger@vyatta.com
Cc: jgarzik@pobox.com, netdev@vger.kernel.org
Subject: Re: [PATCH] ethtool: allow non-netadmin to query settings
Date: Mon, 23 Aug 2010 20:44:31 -0700 (PDT)	[thread overview]
Message-ID: <20100823.204431.267970668.davem@davemloft.net> (raw)
In-Reply-To: <20100823132418.7721b072@nehalam>

From: Stephen Hemminger <shemminger@vyatta.com>
Date: Mon, 23 Aug 2010 13:24:18 -0700

> The SNMP daemon uses ethtool to determine the speed of
> network interfaces. This fails on Debian (and probably elsewhere)
> because for security SNMP daemon runs as non-root user (snmp).
> 
> Note: A similar patch was rejected previously because of a concern about
> the possibility that on some hardware querying the ethtool settings
> requires access to the PHY and could slow the machine down.  But the
> security risk of requiring SNMP daemon (and related services)
> to run as root far out weighs the risk of denial-of-service.
> 
> Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>

Applied.

      parent reply	other threads:[~2010-08-24  3:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-23 20:24 [PATCH] ethtool: allow non-netadmin to query settings Stephen Hemminger
2010-08-23 21:24 ` Ben Hutchings
2010-08-23 21:40   ` Stephen Hemminger
2010-08-24  3:44 ` David Miller [this message]

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=20100823.204431.267970668.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=jgarzik@pobox.com \
    --cc=netdev@vger.kernel.org \
    --cc=shemminger@vyatta.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).