From: "Ed Street" <blacknet@simplyaquatics.com>
To: "'Stephen Smalley'" <sds@tislabs.com>,
"'Simon Han'" <simonhan@ee.ucla.edu>
Cc: <selinux@tycho.nsa.gov>
Subject: RE: dhcpc_t
Date: Thu, 11 Jul 2002 16:21:24 -0400 [thread overview]
Message-ID: <00e101c22918$8775e680$0a01a8c0@ed> (raw)
In-Reply-To: <Pine.GSO.4.33.0207111425000.21775-100000@raven>
Hello,
I can think of a few kiddie wacker toys that would/could make use of
that that allow.
Ed
=> -----Original Message-----
=> From: owner-selinux@tycho.nsa.gov
[mailto:owner-selinux@tycho.nsa.gov] On
=> Behalf Of Stephen Smalley
=> Sent: Thursday, July 11, 2002 2:32 PM
=> To: Simon Han
=> Cc: selinux@tycho.nsa.gov
=> Subject: Re: dhcpc_t
=>
=>
=> On Thu, 11 Jul 2002, Simon Han wrote:
=>
=> > It seems to me that normal user needs to have packet_socket
=> > permission. Of course, I can add directly to
macros/user_mmacros.te,
=> but
=> > I would like to seek for advice before doing so since packet_socket
is
=> > relatively powerful.
=>
=> That wouldn't be a good idea, and it is not necessary for the audit
=> messages you showed. In each message, the denial was caused when the
=> AF_PACKET socket created by dhcpcd received a packet from another
domain.
=> Hence, at most, you would add a rule to dhcpc.te permitting dhcpcd to
=> receive packets from any domain (e.g. allow dhcpc_t
domain:packet_socket
=> recvfrom;). I'm not even sure whether this is necessary for the
=> operation
=> of dhcpcd; you might be able to just use dontaudit to suppress these
=> messages and silently drop these packets from the dhcpcd socket.
=>
=> --
=> Stephen D. Smalley, NAI Labs
=> ssmalley@nai.com
--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
prev parent reply other threads:[~2002-07-11 20:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-11 3:26 automatic type transitions for pts in devfs Debian User
2002-07-11 12:20 ` Stephen Smalley
2002-07-11 12:35 ` Debian User
2002-07-11 13:03 ` Stephen Smalley
2002-07-11 17:55 ` dhcpc_t Simon Han
2002-07-11 18:31 ` dhcpc_t Stephen Smalley
2002-07-11 20:21 ` Ed Street [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='00e101c22918$8775e680$0a01a8c0@ed' \
--to=blacknet@simplyaquatics.com \
--cc=sds@tislabs.com \
--cc=selinux@tycho.nsa.gov \
--cc=simonhan@ee.ucla.edu \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.