All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: Russell Coker <rcoker@redhat.com>, SELinux <SELinux@tycho.nsa.gov>
Subject: Re: Why do we have dhcp_state_t, dhcpc_state_t and dhcpd_state_t?
Date: Fri, 23 Sep 2005 14:16:01 -0400	[thread overview]
Message-ID: <43344661.4070209@redhat.com> (raw)
In-Reply-To: <1127496706.3275.32.camel@aeon>

Russell Coker wrote:

>On Fri, 2005-09-23 at 13:08 -0400, Daniel J Walsh wrote:
>  
>
>>Is it really valuable to isolate this data? 
>>
>>I have a bug where a dhclient program can not read its lease file 
>>because it is labeled dhcp_state_t (The same as the directory).
>>Anyone have any recollection of why it is setup this way, and any real 
>>reason I should not just make
>>dhcpc_state_t and dhcpd_state_t alias dhcp_state_t?
>>    
>>
>
>If you don't have such isolation then on a machine which runs both DHCP
>client and server (typical of a firewall) then the DHCP client (which
>will be attacked from the Internet - mine is regularly) will have the
>ability to indirectly control the DHCP server.
>
>DHCP servers which have the most hostile DHCP clients will probably not
>be running DHCP client programs on other interfaces.
>
>If we are going to merge those two types then perhaps the right thing to
>do would be to merge dhcpd_t and dhcpc_t and have a boolean to determine
>whether DHCP client functionality should be permitted.
>  
>
Ok I have talked to the dhcp maintainer hear and he is looking into 
moving the lease files into their own
directory, to eliminate this problem.  So if we end up with

/var/lib/dhclient/
and
/var/lib/dhcpd/

Then we can label the directories correctly and eliminate the overlap.



-- 



--
This message was distributed to subscribers of the selinux mailing 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.

           reply	other threads:[~2005-09-23 18:16 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1127496706.3275.32.camel@aeon>]

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=43344661.4070209@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=SELinux@tycho.nsa.gov \
    --cc=rcoker@redhat.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 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.