From: Paul Moore <paul.moore@hp.com>
To: Stefan Schulze Frielinghaus <stefan@sf-net.com>
Cc: SELinux List <selinux@tycho.nsa.gov>
Subject: Re: AVC: IPv6 problems
Date: Tue, 22 May 2007 15:24:28 -0400 [thread overview]
Message-ID: <200705221524.28541.paul.moore@hp.com> (raw)
In-Reply-To: <6AA1314E-2718-446E-BFC9-6961DE951E09@sf-net.com>
On Tuesday, May 22 2007 2:22:09 pm Stefan Schulze Frielinghaus wrote:
> periodically I receive the following AVC denial:
>
> audit(1179815459.477:213): avc: denied { rawip_send } for
> saddr=fe80:0000:0000:0000:0211:d8ff:feea:XXXX
> daddr=fe80:0000:0000:0000:0211:24ff:fee1:YYYY netif=eth0
> scontext=system_u:system_r:kernel_t:s15:c0.c255
> tcontext=system_u:object_r:link_local_node_t:s0 tclass=node
>
> My local rule-set:
>
> allow kernel_t link_local_node_t:node rawip_send;
> # another AVC denial which often raises up
> allow kernel_t compat_ipv4_node_t:node rawip_send;
>
> The rules seem to be ignored. Every day I receive some of the
> mentioned AVC denials despite the fact that the TE rules are loaded.
> Is this a known problem with IPv6 traffic in LANs? Is there even a
> solution out?
The problem doesn't appear to be related to the TE rules, but rather with the
MLS sensitivity labels. The kernel is running with a very high sensitivity
label (s15:c0.c255) and it trying to write/send to a node with a very low
sensitivity label (s0) which I believe violates the MLS constraints unless
the kernel_t domain or link_local_node_t object has a type attribute which
provides MLS overrides.
It's hard to say what the solution is because it most likely depends on what
you are trying to do. You might want to share your goals with the list and
perhaps we can help, otherwise I would recommend you look at the MLS
reference policy interfaces.
--
paul moore
linux security @ hp
--
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.
next prev parent reply other threads:[~2007-05-22 19:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-22 18:22 AVC: IPv6 problems Stefan Schulze Frielinghaus
2007-05-22 19:24 ` Paul Moore [this message]
2007-05-23 12:21 ` Stefan Schulze Frielinghaus
2007-05-23 13:08 ` Daniel J Walsh
2007-05-23 13:27 ` Paul Moore
2007-05-24 5:04 ` Stefan Schulze Frielinghaus
2007-05-24 13:53 ` Paul Moore
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=200705221524.28541.paul.moore@hp.com \
--to=paul.moore@hp.com \
--cc=selinux@tycho.nsa.gov \
--cc=stefan@sf-net.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.