Originally posted by frantaylor
View Post
Announcement
Collapse
No announcement yet.
The Cost of SELinux, Audit, & Kernel Debugging
Collapse
X
-
Improve graphs
-
I don't see any documentation on the modifications you made. Just the descriptions of what your modifications were supposed to disable. I would question the validity of any test that doesn't properly document the setup, configurations, and preparation.
Did I miss it?
Thanks!
Leave a comment:
-
Originally posted by nanonyme View PostThis is actually imo a much more important test than testing no protection against SELinux. I mean, every former Windows user knows too that a Windows runs *much* faster without any antivirus programs running too. But benchmarking security solutions against each other sounds much more useful. Might in fact even be worth the effort of creating two Gentoo installations on identical machines, one with SELinux and one with AppArmor. The systems should be otherwise identical. Then see how they fare.
if instead you do comparisons against a baseline of a bare system, it's easier to have different groups do different comparisons and compare the results.
AppArmor doesn't try to do all of the same protections that SELinux tries to do, and that needs to be kept in mind when doing the comparisons.
it would also be interesting to see each of these tools with the distro-default configurations vs a 'permit anything' configuration (on the basis that the 'permit anything' is about the minimum overhead you can get while still having the tool configured)
Leave a comment:
-
Originally posted by frantaylor View PostThe cost of cleaning up after a breakin will totally nullify any "savings" from getting rid of SELinux. Google for "SELinux apache vulnerability".
"Belt-and-suspenders" is how the rest of the engineering world works. Bridges and buildings are overbuilt by a factor of 3. Divers carry extra air. Two-engine planes can fly with one engine. These engineers have managed to come to grips with the fact that they are not perfect. Only in software do you see such reliance on a single level of protection.
SELinux may or may not reduce the cost of cleaning up after a break-in. if the SELinux policies are tight enough they _may_ prevent a break-in, but if they don't completely prevent it, there can still be a lot of cleanup to do. Also, if you have good server build automation tools, cleaning up the server can be a matter of rebuilding it in a few min (and in either case you need to analyze how the break-in happened and update stuff to prevent it from happening again, running known-broken stuff and counting on SELinux to prevent the exploits against that software from damaging you too badly is not a very good position to take)
Leave a comment:
-
Originally posted by deanjo View PostIt would also be interesting to see how much AppArmor hits system performance as well.
Leave a comment:
-
It would also be interesting to see how much AppArmor hits system performance as well.
Leave a comment:
-
Originally posted by nanonyme View PostActually isn't the major reason why Fedora has SELinux that RHEL wants SELinux because their enterprise server consumers have an appreciation for system security and have plenty of money to buy a fast server?
But yeah, it's possible a generic end-user might want to think it over about SELinux and such factors before choosing a distro.
"Belt-and-suspenders" is how the rest of the engineering world works. Bridges and buildings are overbuilt by a factor of 3. Divers carry extra air. Two-engine planes can fly with one engine. These engineers have managed to come to grips with the fact that they are not perfect. Only in software do you see such reliance on a single level of protection.
Leave a comment:
-
Originally posted by yesterday View PostThe Apache static page serving test shows Fedora to be about 10x slower than Mandriva/SUSE/Ubuntu. So it's not exactly worthless, IF this is related to SELinux
Also, it probably is more of an argument to avoid a distro with SELinux, than it is an argument to recompile that distro
But yeah, it's possible a generic end-user might want to think it over about SELinux and such factors before choosing a distro.
Leave a comment:
-
Originally posted by frantaylor View PostWhen you consider the pain and time involved, you'd have to use it for years before it paid off. Look at those graphs, we are talking about a couple of percent. How much is your time worth? Even on a server you would be better off investing in faster hardware to overcome the performance difference.
The Apache static page serving test shows Fedora to be about 10x slower than Mandriva/SUSE/Ubuntu. So it's not exactly worthless, IF this is related to SELinux
Also, it probably is more of an argument to avoid a distro with SELinux, than it is an argument to recompile that distro
Leave a comment:
-
Originally posted by bridgman View PostWhat would you recommend ?
Anyway Does this explain Fedora's poor Apache static webserving perfomance? Are the other distros shipping SELinux not integrating it as much as Fedora? Even without SELinux enabled in the kernel, it's about 10x slower (as seen in the recent Ubuntu/SUSE/Mandriva/Fedora shootout)
Leave a comment:
Leave a comment: