All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Schuldei <andreas@schuldei.org>
To: selinux@tycho.nsa.gov
Subject: DHCP server and client
Date: Wed, 26 Mar 2003 22:12:33 +0100	[thread overview]
Message-ID: <20030326211233.GE1342@lukas> (raw)

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.

                 reply	other threads:[~2003-03-26 21:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20030326211233.GE1342@lukas \
    --to=andreas@schuldei.org \
    --cc=selinux@tycho.nsa.gov \
    /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.