From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Morris Subject: Re: [PATCH] Fix for IPsec leakage with SELinux enabled - V.02 Date: Wed, 4 Oct 2006 09:00:09 -0400 (EDT) Message-ID: References: <20061002112050.GA772@2ka.mipt.ru> <20061002134200.GA20441@2ka.mipt.ru> <20061002160021.GA8823@2ka.mipt.ru> <20061002163013.GA24585@2ka.mipt.ru> <20061004050839.GE32267@2ka.mipt.ru> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: "David S. Miller" , Herbert Xu , netdev@vger.kernel.org, Stephen Smalley , Venkat Yekkirala , Paul Moore , Daniel J Walsh Return-path: Received: from mail6.sea5.speakeasy.net ([69.17.117.8]:45758 "EHLO mail6.sea5.speakeasy.net") by vger.kernel.org with ESMTP id S932407AbWJDNAM (ORCPT ); Wed, 4 Oct 2006 09:00:12 -0400 To: Evgeniy Polyakov In-Reply-To: <20061004050839.GE32267@2ka.mipt.ru> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Wed, 4 Oct 2006, Evgeniy Polyakov wrote: > Linux kano 2.6.18 #5 SMP Mon Oct 2 18:44:30 MSD 2006 i686 i686 i386 GNU/Linux > [root@kano ~]# rpm -q selinux-policy-targeted > selinux-policy-targeted-2.3.17-2 > > I get only this messages in audit.log when remote racoon tries to > connect to system with selinux enabled in enforcing mode: > I think the policy has just not been written for racoon, and it's being denied by deault (cd'd Dan Walsh). > type=AVC msg=audit(1159938297.845:625): avc: denied { polmatch } for > scontext=system_u:object_r:unlabeled_t:s0 > tcontext=root:system_r:unconfined_t:s0-s0:c0.c255 tclass=association > type=AVC msg=audit(1159938297.845:626): avc: denied { polmatch } for > scontext=system_u:object_r:unlabeled_t:s0 > tcontext=system_u:object_r:unlabeled_t:s0 tclass=association > type=AVC msg=audit(1159938307.837:627): avc: denied { polmatch } for > scontext=system_u:object_r:unlabeled_t:s0 > tcontext=system_u:object_r:unlabeled_t:s0 tclass=association > type=AVC msg=audit(1159938317.838:628): avc: denied { polmatch } for > scontext=system_u:object_r:unlabeled_t:s0 > tcontext=system_u:object_r:unlabeled_t:s0 tclass=association > type=AVC msg=audit(1159938327.839:629): avc: denied { polmatch } for > scontext=system_u:object_r:unlabeled_t:s0 > tcontext=system_u:object_r:unlabeled_t:s0 tclass=association > > It is with your patch applied. > Should I try Venkat's or it is unrelated problem? > > > -- > > James Morris > > > > -- James Morris