All of lore.kernel.org
 help / color / mirror / Atom feed
* Labeled Networking For LSPP: Where we are and where we need to go (quickly)
@ 2006-10-06 16:05 Eric Paris
  2006-10-06 16:24 ` Paul Moore
  0 siblings, 1 reply; 6+ messages in thread
From: Eric Paris @ 2006-10-06 16:05 UTC (permalink / raw)
  To: selinux, redhat-lspp; +Cc: paul.moore, vyekkirala, chanson

Last night I built a new test kernel for labeled networking in RHEL5
kernels.  That kernel can be found at 

http://people.redhat.com/sgrubb/files/lspp

and you want the lspp kernel 51.

What's in this kernel?  A whole bunch of patches which might just make
it into RHEL5.  I have until this Monday, Oct 9 to try again.  That
means that I really really need everything finished very quickly (aka
today) so we can get some basic testing!  ALL testing needs to be done
with compat_net = 0 and hopefully in enforcing.  We don't have a good
policy for this yet, but i'll mention that again later.  In this last
kernel we have

-netlabel config auditing patch
-netlabel cache opps patch
-netlabel unlabeled patch
-secid reconciliation between secmark and xfrm
-network_t addition
-secid reconciliation with netlabel
-1/3 of the complete fix for the ipsec information escape

This is great, we are getting there.  But, we still need at least 3-4
more patches before tomorrow!!

Patch1: finish the error propagation backport for the ipsec leak (Being
completed by Eric Paris)
Patch2: audit ipsec config changes (Being completed by Joy Latten)
Patch3: find and fix current issues with unlabeled_t packets that can't
be explained (Paul Moore and Venkat)

There also is some question from Joshua Brindle if the object classes
are correct for a number of things.  These changes also will need to be
done quickly.  I'm going to call this Patch4.

Patch4: verify/fix the object class for all netlabel hooks.  (Hopefully
Venkat will be able to take the lead on this)

It does seem reasonable to think that I will get all 4 of these patches
by the end of the day.  I really really need that to happen.  If so we
stand a good chance of getting all of this into RHEL5 and having working
labeled networking for LSPP!

After these kernel patches go in we still have more work to do!

Policy!  Christopher J. PeBenito has a refpolicy branch with little
other than flow_in and flow_out defined at:

svn co http://oss.tresys.com/repos/refpolicy/branches/labeled-networking-2029 refpolicy

I don't think the new constraints are in there as they will cause other
problems.  Hopefully the constraint issue will pan out in the next day
or 2.  You can expect lots of denials, but at least enough will be
defined that you can get stuff working in enforcing with your own policy
modules.

When all is said and done we then have a little bit of kernel cleanup
but it won't be for RHEL5.  It will just be upstream code cleanup.
Namely 

1) Patch 7/9 from the reconciliation thread should be cleaned up to
better use BUG_ON()
2) Patch 2/9 should drop polsec from the hook interface in security_ops

I only mention those so they won't be forgotten.

********

If your name was mentioned in one of the 4 patches that I want today can
you please reply and let me know if you think it is possible?  (by
"today" I really mean "before about 9AM saturday morning")  Once again
we are coming up on a tight deadline.  Everyone has done so much to get
us this close and it looks like Red Hat management is giving me again
until this Monday.  But I sure wouldn't expect another extension like
this again!!

-Eric


--
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] 6+ messages in thread

* Re: Labeled Networking For LSPP: Where we are and where we need to go (quickly)
  2006-10-06 16:05 Labeled Networking For LSPP: Where we are and where we need to go (quickly) Eric Paris
@ 2006-10-06 16:24 ` Paul Moore
  2006-10-06 16:39   ` [redhat-lspp] " Paul Moore
  2006-10-06 17:36   ` James Morris
  0 siblings, 2 replies; 6+ messages in thread
From: Paul Moore @ 2006-10-06 16:24 UTC (permalink / raw)
  To: Eric Paris, vyekkirala; +Cc: selinux, redhat-lspp, chanson

Eric Paris wrote:
> Last night I built a new test kernel for labeled networking in RHEL5
> kernels.  That kernel can be found at 
> 
> http://people.redhat.com/sgrubb/files/lspp
> 
> and you want the lspp kernel 51.
> 
> What's in this kernel?  A whole bunch of patches which might just make
> it into RHEL5.  I have until this Monday, Oct 9 to try again.  That
> means that I really really need everything finished very quickly (aka
> today) so we can get some basic testing!  ALL testing needs to be done
> with compat_net = 0 and hopefully in enforcing.  We don't have a good
> policy for this yet, but i'll mention that again later.  In this last
> kernel we have
> 
> -netlabel config auditing patch
> -netlabel cache opps patch

Just a reminder: these first two are bugfixes which should go into RHEL5 regardless.

> -netlabel unlabeled patch

While not a bugfix like the previous two, this is a "logic bug" fix which should
go into RHEL5.

> -secid reconciliation between secmark and xfrm
> -network_t addition
> -secid reconciliation with netlabel
> -1/3 of the complete fix for the ipsec information escape
> 
> This is great, we are getting there.  But, we still need at least 3-4
> more patches before tomorrow!!
> 
> Patch1: finish the error propagation backport for the ipsec leak (Being
> completed by Eric Paris)
> Patch2: audit ipsec config changes (Being completed by Joy Latten)
> Patch3: find and fix current issues with unlabeled_t packets that can't
> be explained (Paul Moore and Venkat)

I'm working on this but it's taking time getting all the right policy bits
sorted so I can differentiate between SECINITSID_UNLABELED and SECINITSID_NETMSG
as they will both show up as "unlabeled_t" in all the released policies (at
least I think so).

Venkat, if you have a policy rpm/clean-patch/tarball something it would be a
help if you could post that or send it to me (I saw your earlier postings, but
only the constraints were really in patch form).  Or if you could verify the
lspp.51 kernel w/o the NetLabel/secid patch (turn off patch 25008, if you want I
can send you a diff to the spec file - it's only two lines).  So far I have not
seen any differences between the stock lspp.51 kernel and the lspp.51 kernel
without the NetLabel/secid patch.

> There also is some question from Joshua Brindle if the object classes
> are correct for a number of things.  These changes also will need to be
> done quickly.  I'm going to call this Patch4.
> 
> Patch4: verify/fix the object class for all netlabel hooks.  (Hopefully
> Venkat will be able to take the lead on this)

Just to clarify, these aren't netlabel specific hooks/changes, these are secid
hooks/changes.  Otherwise, I agree, Venkat has the best understanding of this
work so I believe he should "drive" - I'll do whatever I can to support this work.

-- 
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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [redhat-lspp] Re: Labeled Networking For LSPP: Where we are and where we need to go (quickly)
  2006-10-06 16:24 ` Paul Moore
@ 2006-10-06 16:39   ` Paul Moore
  2006-10-06 17:36   ` James Morris
  1 sibling, 0 replies; 6+ messages in thread
From: Paul Moore @ 2006-10-06 16:39 UTC (permalink / raw)
  To: vyekkirala, Joshua Brindle; +Cc: Eric Paris, redhat-lspp, chanson, selinux

Paul Moore wrote:
> Eric Paris wrote:
>>This is great, we are getting there.  But, we still need at least 3-4
>>more patches before tomorrow!!
>>
>>Patch1: finish the error propagation backport for the ipsec leak (Being
>>completed by Eric Paris)
>>Patch2: audit ipsec config changes (Being completed by Joy Latten)
>>Patch3: find and fix current issues with unlabeled_t packets that can't
>>be explained (Paul Moore and Venkat)
> 
> I'm working on this but it's taking time getting all the right policy bits
> sorted so I can differentiate between SECINITSID_UNLABELED and SECINITSID_NETMSG
> as they will both show up as "unlabeled_t" in all the released policies (at
> least I think so).
> 
> Venkat, if you have a policy rpm/clean-patch/tarball something it would be a
> help if you could post that or send it to me (I saw your earlier postings, but
> only the constraints were really in patch form).  Or if you could verify the
> lspp.51 kernel w/o the NetLabel/secid patch (turn off patch 25008, if you want I
> can send you a diff to the spec file - it's only two lines).  So far I have not
> seen any differences between the stock lspp.51 kernel and the lspp.51 kernel
> without the NetLabel/secid patch.

In case anyone wants to play with the lspp.51 minus the NetLabel/secid patch, I
put up a modified source RPM here:

 * http://free.linux.hp.com/~pmoore/files

-- 
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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Labeled Networking For LSPP: Where we are and where we need to go (quickly)
  2006-10-06 16:24 ` Paul Moore
  2006-10-06 16:39   ` [redhat-lspp] " Paul Moore
@ 2006-10-06 17:36   ` James Morris
  2006-10-06 17:44     ` Paul Moore
  1 sibling, 1 reply; 6+ messages in thread
From: James Morris @ 2006-10-06 17:36 UTC (permalink / raw)
  To: Paul Moore; +Cc: Eric Paris, vyekkirala, selinux, redhat-lspp, chanson

On Fri, 6 Oct 2006, Paul Moore wrote:

> > -netlabel unlabeled patch
> 
> While not a bugfix like the previous two, this is a "logic bug" fix which should
> go into RHEL5.

Where is the patch for this?



-- 
James Morris
<jmorris@namei.org>

--
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] 6+ messages in thread

* Re: Labeled Networking For LSPP: Where we are and where we need to go (quickly)
  2006-10-06 17:36   ` James Morris
@ 2006-10-06 17:44     ` Paul Moore
  2006-10-06 17:54       ` Eric Paris
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Moore @ 2006-10-06 17:44 UTC (permalink / raw)
  To: James Morris; +Cc: Eric Paris, vyekkirala, selinux, redhat-lspp, chanson

James Morris wrote:
> On Fri, 6 Oct 2006, Paul Moore wrote:
> 
>>>-netlabel unlabeled patch
>>
>>While not a bugfix like the previous two, this is a "logic bug" fix which should
>>go into RHEL5.
>  
> Where is the patch for this?
> 

I believe this is the patch I RFC'd to the SELinux list yesterday morning and
posted to netdev for inclusion yesterday evening.  Looking at my mail this
morning as well as your git tree show that it was accepted/applied.

Eric, please correct me if I'm wrong.

-- 
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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Labeled Networking For LSPP: Where we are and where we need to go (quickly)
  2006-10-06 17:44     ` Paul Moore
@ 2006-10-06 17:54       ` Eric Paris
  0 siblings, 0 replies; 6+ messages in thread
From: Eric Paris @ 2006-10-06 17:54 UTC (permalink / raw)
  To: Paul Moore; +Cc: James Morris, vyekkirala, selinux, redhat-lspp, chanson

On Fri, 2006-10-06 at 13:44 -0400, Paul Moore wrote:
> James Morris wrote:
> > On Fri, 6 Oct 2006, Paul Moore wrote:
> > 
> >>>-netlabel unlabeled patch
> >>
> >>While not a bugfix like the previous two, this is a "logic bug" fix which should
> >>go into RHEL5.
> >  
> > Where is the patch for this?
> > 
> 
> I believe this is the patch I RFC'd to the SELinux list yesterday morning and
> posted to netdev for inclusion yesterday evening.  Looking at my mail this
> morning as well as your git tree show that it was accepted/applied.
> 
> Eric, please correct me if I'm wrong.

Correct, 

[PATCH 1/1] NetLabel: use SECINITSID_UNLABELED for a base SID

-Eric


--
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] 6+ messages in thread

end of thread, other threads:[~2006-10-06 17:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-06 16:05 Labeled Networking For LSPP: Where we are and where we need to go (quickly) Eric Paris
2006-10-06 16:24 ` Paul Moore
2006-10-06 16:39   ` [redhat-lspp] " Paul Moore
2006-10-06 17:36   ` James Morris
2006-10-06 17:44     ` Paul Moore
2006-10-06 17:54       ` Eric Paris

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.