From: cpebenito@tresys.com (Christopher J. PeBenito)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 2/2] Support IPv6 Neighbor Discovery Protocol for dhcpcd
Date: Thu, 9 May 2013 09:12:03 -0400 [thread overview]
Message-ID: <518BA0A3.5040501@tresys.com> (raw)
In-Reply-To: <1367951826-21257-3-git-send-email-sven.vermeulen@siphos.be>
On 05/07/13 14:37, Sven Vermeulen wrote:
> The dhcpcd client supports IPv6 NDP, but when trying to use it the request fails
> with:
>
> ipv6rs: Permission denied
>
> In the audit log, a denial is shown about dhcpc_t wanting to create a
> rawip_socket. After allowing this, the client succeeds.
Thats odd; I don't see this on my IPv6 system. Which version of dhcpcd is this seen on? I'm using 5.6.8.
> Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
> ---
> policy/modules/system/sysnetwork.te | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/policy/modules/system/sysnetwork.te b/policy/modules/system/sysnetwork.te
> index 49c5dfe..e0e1556 100644
> --- a/policy/modules/system/sysnetwork.te
> +++ b/policy/modules/system/sysnetwork.te
> @@ -53,6 +53,7 @@ allow dhcpc_t self:fifo_file rw_fifo_file_perms;
> allow dhcpc_t self:tcp_socket create_stream_socket_perms;
> allow dhcpc_t self:udp_socket create_socket_perms;
> allow dhcpc_t self:packet_socket create_socket_perms;
> +allow dhcpc_t self:rawip_socket create_socket_perms;
> allow dhcpc_t self:netlink_route_socket { create_socket_perms nlmsg_read nlmsg_write };
> allow dhcpc_t self:unix_stream_socket { accept listen connectto };
>
>
--
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com
next prev parent reply other threads:[~2013-05-09 13:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-07 18:37 [refpolicy] [PATCH 0/2] Small dhcpc_t updates Sven Vermeulen
2013-05-07 18:37 ` [refpolicy] [PATCH 1/2] Update for pump DHCP client Sven Vermeulen
2013-05-09 13:17 ` Christopher J. PeBenito
2013-05-07 18:37 ` [refpolicy] [PATCH 2/2] Support IPv6 Neighbor Discovery Protocol for dhcpcd Sven Vermeulen
2013-05-09 13:12 ` Christopher J. PeBenito [this message]
2013-05-09 16:12 ` Sven Vermeulen
2013-05-09 16:24 ` Christopher J. PeBenito
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=518BA0A3.5040501@tresys.com \
--to=cpebenito@tresys.com \
--cc=refpolicy@oss.tresys.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.