public inbox for gentoo-hardened@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-hardened] Grsecurity 2 in hardened-sources
@ 2003-06-09 20:12 Joshua Brindle
  2003-06-09 21:07 ` Ned Ludd
  0 siblings, 1 reply; 7+ messages in thread
From: Joshua Brindle @ 2003-06-09 20:12 UTC (permalink / raw
  To: gentoo-hardened, Ludd, Ned

I'd rather you use SLOT's, this is what they are for.. 
otherwise in a few months you are going to have a
sys-apps/gradm2 and you won't be able to move it
(you can but it's overly complicated).

you can just have gradm-1 in slot one that installs to
/usr/sbin/gradm and gradm-2 in slot two that installs to
/usr/sbin/gradm2 and they won't conflict, you could even
give them different policy directories so that they don't
collide. 

You could then have both slots merged in next to each other
and it wouldn't be an issue..

the apache apache2 slot mess is really not SLOT'S fault, it's
something different altogether, we have plenty of apps that
have been happily slotted for a very long time (db, gtk, et al)



Joshua Brindle

>>> Ned Ludd <solar@gentoo.org> 06/09/03 01:14PM >>>
I would like to thank frogger for taking the time to put together
hardened-sources-r3 for us (good work frogger)

-r3 introduces the grsecurity-2.0-pre4-2.4.20.patch which has
some very cool/needed new features for us grsecuirty users such as role
based access control, variable support within acls including unions,
intersections, differences of sets, and an learning device,daemon as
well as nested subjects. All these features plus what it already had
should make grsecurity2 the most well rounded complete host based
security solution available for linux to date.

These new features should be transparent to our users not using the
access control list features of grsecurity, however for those of that
will be be using them we have a few things to consider. 

First grsecurity 2 has not been officialy released yet, and no
documentation exists for these features of grsecuity2 outside of the
grsec mailing list itself.

Second item is gradm itself,
<=gradm-2 installs to /sbin/gradm and reads /etc/grsec/acl
>gradm-2 also installs to /sbin/gradm and also reads /etc/grsec/acl
But they dont play together well at all, and if we were to park gradm2
which is really gradm in sys-apps/gradm It would always get prefered
over gradm-1.9.x when ~arch is set. This would affect users using
gentoo-sources. I dont want to introduce another apache{1,2} SLOT type
of mess.

My simple solution would be to park gradm 2 in sys-apps/gradm2, install
gradm 2 as /sbin/gradm2  with /etc/grsec2/acl and leave it this way
untill grsecurity1 becomes deprecated. This would allow people to have
both systems installed without any conflict. (Any comments before it
gets set in stone?)

-- 
Ned Ludd <solar@gentoo.org>
Gentoo Linux (Hardened)


--
gentoo-hardened@gentoo.org mailing list


--
gentoo-hardened@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: [gentoo-hardened] Grsecurity 2 in hardened-sources
@ 2003-06-11 16:20 Jesse Jacobs
  2003-06-11 21:47 ` Ned Ludd
  0 siblings, 1 reply; 7+ messages in thread
From: Jesse Jacobs @ 2003-06-11 16:20 UTC (permalink / raw
  To: gentoo-hardened

Hello Ned,

Thanks for all your (and the whole team's) great effort!

Ned Ludd said:
> On Wed, 2003-06-11 at 08:12, Jesse Jacobs wrote:
>
>> I was wondering when gradm-2* would be put in portage?
> In the next few hours..
>

Sweet!

>> Would there be any sort of docs for this too? (Humble Plea) :)
>
> When spender(Author of grsecuirty) writes the 2.x documentation we
> will be happy to include it, other than that the best we could try and
> do is extract a few things from the grsecurity mailing list.
> (Any gentoo-devs and or gentoo-users up for this?)
>

I will assist, If you're willing to let me.  I'm already on the mailing
list, and have been following the little snippets as they are added to
2.0 and scouring the archives.

Are the security doc's already in the tarball?
I haven't checked yet as I'm at work :(  I will in approx 5 hours.

>> Thanks Again Gentoo-Hardened!
> Hey we love doing it..

:)

>
>>
>> Would u be willing to try using a hard mask?
>>
>> When the grsec2 transition takes place across all kernels...
>>
>> we can use grsec2 by removing the hardmask.
>
> After a few long talks with the people on freenode we have decided
> that gradm will be merged into portage as gradm2 and will remain this
> way for its life. By doing it this way we completly avoid the
> apache{1,2} type of mess when ~arch flags are set in your keywords
> [which will be required to use gradm2]
>

I respect your decision.

In fairness, the apache issue was seeded from the decision the maintain
2 stable branches within the same package name.  Both gradm 1 and 2
cannot co-exist correct?  A user could then install both right?
Will 2.0 eventually trickle down to all the gresec aware kernels?

Sorry for being a PITA,
j

> --
> Ned Ludd <solar@gentoo.org>
> Gentoo Linux (Hardened)
>
>
> --
> gentoo-hardened@gentoo.org mailing list




--
gentoo-hardened@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [gentoo-hardened] Grsecurity 2 in hardened-sources
@ 2003-06-09 18:14 Ned Ludd
  0 siblings, 0 replies; 7+ messages in thread
From: Ned Ludd @ 2003-06-09 18:14 UTC (permalink / raw
  To: gentoo-hardened

I would like to thank frogger for taking the time to put together
hardened-sources-r3 for us (good work frogger)

-r3 introduces the grsecurity-2.0-pre4-2.4.20.patch which has
some very cool/needed new features for us grsecuirty users such as role
based access control, variable support within acls including unions,
intersections, differences of sets, and an learning device,daemon as
well as nested subjects. All these features plus what it already had
should make grsecurity2 the most well rounded complete host based
security solution available for linux to date.

These new features should be transparent to our users not using the
access control list features of grsecurity, however for those of that
will be be using them we have a few things to consider. 

First grsecurity 2 has not been officialy released yet, and no
documentation exists for these features of grsecuity2 outside of the
grsec mailing list itself.

Second item is gradm itself,
<=gradm-2 installs to /sbin/gradm and reads /etc/grsec/acl
>gradm-2 also installs to /sbin/gradm and also reads /etc/grsec/acl
But they dont play together well at all, and if we were to park gradm2
which is really gradm in sys-apps/gradm It would always get prefered
over gradm-1.9.x when ~arch is set. This would affect users using
gentoo-sources. I dont want to introduce another apache{1,2} SLOT type
of mess.

My simple solution would be to park gradm 2 in sys-apps/gradm2, install
gradm 2 as /sbin/gradm2  with /etc/grsec2/acl and leave it this way
untill grsecurity1 becomes deprecated. This would allow people to have
both systems installed without any conflict. (Any comments before it
gets set in stone?)

-- 
Ned Ludd <solar@gentoo.org>
Gentoo Linux (Hardened)


--
gentoo-hardened@gentoo.org mailing list


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

end of thread, other threads:[~2003-06-11 21:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-09 20:12 [gentoo-hardened] Grsecurity 2 in hardened-sources Joshua Brindle
2003-06-09 21:07 ` Ned Ludd
2003-06-11 12:12   ` Jesse Jacobs
2003-06-11 15:30     ` Ned Ludd
  -- strict thread matches above, loose matches on Subject: below --
2003-06-11 16:20 Jesse Jacobs
2003-06-11 21:47 ` Ned Ludd
2003-06-09 18:14 Ned Ludd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox