All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Why do we have dhcp_state_t, dhcpc_state_t and dhcpd_state_t?
       [not found] ` <1127496706.3275.32.camel@aeon>
@ 2005-09-23 18:16   ` Daniel J Walsh
  0 siblings, 0 replies; only message in thread
From: Daniel J Walsh @ 2005-09-23 18:16 UTC (permalink / raw)
  To: Russell Coker, SELinux

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-23 18:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <43343670.9060708@redhat.com>
     [not found] ` <1127496706.3275.32.camel@aeon>
2005-09-23 18:16   ` Why do we have dhcp_state_t, dhcpc_state_t and dhcpd_state_t? Daniel J Walsh

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.