All of lore.kernel.org
 help / color / mirror / Atom feed
* DHCP server and client
@ 2003-03-26 21:12 Andreas Schuldei
  0 siblings, 0 replies; only message in thread
From: Andreas Schuldei @ 2003-03-26 21:12 UTC (permalink / raw)
  To: selinux

when i run a DHCP client or server on an selinux box the
interface dhcp uses is switched to promiscous mode.

as a result i get lots of denies for all the rest of the system,
which clutter up the logs. this is what newrules-selinux -d tells
me:

allow dhcpd_t sshd_t:packet_socket { recvfrom };
allow dhcpd_t courier_tcpd_t:packet_socket { recvfrom };
allow dhcpd_t netmsg_eth1_t:packet_socket { recvfrom };
allow dhcpd_t icmp_socket_t:rawip_socket { recvfrom };
allow dhcpd_t ping_t:rawip_socket { recvfrom };
allow dhcpd_t named_t:packet_socket { recvfrom };
allow dhcpd_t netmsg_eth0_t:packet_socket { recvfrom };
allow dhcpd_t apt_t:packet_socket { recvfrom };
allow dhcpd_t inetd_t:packet_socket { recvfrom };
allow dhcpd_t postfix_master_t:packet_socket { recvfrom };
allow dhcpd_t tcp_socket_t:packet_socket { recvfrom };

i am not sure if i have to allow them or wheather a dontaudit
should suffice. shouldnt one or the other be put in some kind of
dhcp-handling policy? the logging facility is becoming really
useless otherwise, since an avc denied warnings in the logs and
the really importent once get dropped.

--
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:[~2003-03-26 21:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-26 21:12 DHCP server and client Andreas Schuldei

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.