Gentoo Archives: gentoo-user

From: wabenbau@×××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Anyone running a hardened profile?
Date: Mon, 07 Sep 2015 17:10:33
Message-Id: 20150907191004.19395757@hal9000.localdomain
In Reply to: Re: [gentoo-user] Anyone running a hardened profile? by Michael Orlitzky
1 Michael Orlitzky <mjo@g.o> wrote:
2
3 > On 09/06/2015 04:15 PM, walt wrote:
4 > > https://wiki.gentoo.org/wiki/Hardened_Gentoo
5 > >
6 > > That wiki page is very seductive. It makes me want to drop
7 > > everything and select a hardened profile and re-emerge everything
8 > > from scratch.
9 > >
10 > > But I have a feeling I'd soon be in big trouble if I did. Is this
11 > > something that only gentoo devs should be messing with, or is this
12 > > a project that a typical gentoo end-user might hope to accomplish
13 > > without frequent suicidal thoughts?
14 >
15 > It depends on how many hardening features you want to enable. It's a
16 > lot easier than it used to be because there's a kernel config thingy
17 > that lets you pick safe options without understanding all the
18 > details. You can get a lot of protection for very little risk by
19 > enabling pax/grsec and checking a few boxes in the hardened kernel
20 > config.
21 >
22 > Just beware that there are kernel options that will clobber things
23 > like cpupower and others that will slow down specific programs like
24 > clamav with JIT. Anyway, we're all here because we like to tinker
25 > with things until they're broken, right? Give it a try and be sure to
26 > read the kernel help pages carefully and have fun. You can always
27 > switch back to a non-hardened kernel and everything will go back to
28 > normal.
29
30 I don't think so (but maybe I'm wrong). You have to compile your entire
31 system with a hardened toolchain to get full hardened support (SSP and
32 maybe some other things). I think, to go back to a "normal state", you
33 have to recompile everything again with a non hardened toolchain.
34
35 --
36 Regards
37 wabe

Replies

Subject Author
Re: [gentoo-user] Anyone running a hardened profile? Michael Orlitzky <mjo@g.o>