Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18690 - merged the latest systrace for Linux patch with gentoo-2.4.20-r1
Summary: merged the latest systrace for Linux patch with gentoo-2.4.20-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Jay Pfeifer (RETIRED)
URL: http://www.citi.umich.edu/u/provos/sy...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-03 08:46 UTC by klavs klavsen
Modified: 2003-05-03 16:23 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for gentoo-sources-2.4.20-r1 (systrace-linux-2.4.20-gentoo-r1-v1.2.diff,125.01 KB, text/plain)
2003-04-03 08:51 UTC, klavs klavsen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description klavs klavsen 2003-04-03 08:46:19 UTC
Hi guys,

I use gentoo-sources-2.4.20-r1 (because r2 won't work if you use IPSec and IPv6
- I posted a bug about this).

I just saw that we have systrace ebuilds (for the userland-tools) - but it also
needs to be in the kernel, so I manually patched the latest v1.2 patch with my
gentoo-sources kernel - and it works beautifully - just booted up on it - and it
runs as its suppose to (and f.ex. systrace -d /root/ -A ethereal) generates what
it's suppose to.

In case you're wondering why including systrace in the standard gentoo-sources
patch would be a good idea (afterall we have GRSecurity in there) then read this
short article: http://www.onlamp.com/pub/a/bsd/2003/01/30/Big_Scary_Daemons.html
- it has many features GRSecurity doesn't have - and it's a lot easier to
configure what it does - and we ofcourse still need GRSecurity as it has many
features systrace hasn't got).

Also an added feature of using systrace is that it uses the exact same userland
binaries and configuration as the OpenBSD one - ie. if you become good at using
systrace for Linux - you're automagically also a competent OpenBSD systrace user :)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 klavs klavsen 2003-04-03 08:51:13 UTC
Created attachment 10155 [details]
patch for gentoo-sources-2.4.20-r1
Comment 2 Joshua Brindle (RETIRED) gentoo-dev 2003-04-03 11:59:48 UTC
we have a hardened-sources which has systrace, i've planned on adding additional security/stability patches, mattjf will eventually take over development of that, i'll get these patches and see which ones are relavent to the hardened-sources kernel, gentoo-sources can add these if it wants...
Comment 3 Jay Pfeifer (RETIRED) gentoo-dev 2003-04-22 23:19:40 UTC
i've added systrace 1.2 to my base patches in pfeifer-sources. should appear in 2.4.20pre8. if 
all looks good, then i'll include them in the next gentoo-sources as well. 
 
Jay 
Comment 4 Jay Pfeifer (RETIRED) gentoo-dev 2003-05-03 16:23:08 UTC
this is now in pfeifer-sources-2.4.20_pre8 and will be in the next bump of gentoo-sources.

Jay