Reserved Blocks
BTW Can someone please configure the mailing list to allow postings from my regular email address?
---------- Forwarded Message ----------
Subject: Re: [reiserfs-list] Reserved Blocks
Date: Mon, 16 Sep 2002 17:13:52 +0200
From: Russell Coker <[email protected]>
To: [email protected], Sam Vilain <[email protected]>
Cc: "'reiserfs-list'" <[email protected]>
Quoted 4 lines · On Mon, 16 Sep 2002 16:50, [email protected] wrote:
If you're worried about security enough to not want users doing a denial-of-service attack by filling the disk, then DON'T HAVE a world-writable directory on a partition that will cause trouble if it gets full.
Alternately use quotas, speaking of which, do Quotas work on ReiserFS without additional patches yet? Quotas really are an essential feature.
Quoted 3 lines
Among other things, if there's a world-writable directory on the same filesystem, you get exposed to a whole raft of hard-link attacks that simply Wont Work if (for example) /tmp is a separate filesystem. You'd
Solar Designer's OpenWall kernel patch addresses this issue by prohibiting hard links to files with a different UID being created in a directory that has the sticky bit set. http://www.openwall.com/linux/
OpenWall is ported to the recent 2.4.x kernels and some 2.5.x kernels in the form of the Linux Security Modules (LSM) kernel patch.
http://lsm.immunix.org/
Also the LSM patch includes NSA Security enhanced Linux. In the default SE Linux policy a user in the default un-priviledged role (user_r) with the defalt security domain for that role (user_t) will not be allowed to even stat /etc/shadow or other files with the type shadow_t, and will not be allowed to link files with type etc_t (which includes /etc/passwd).
A machine with an adequate security setup and with correctly configured
quotas should be able to operate correctly with hostile local users even if it only has a single file system.
If anyone disagrees then I will be happy to setup a test machine and
challenge them to prove me wrong.
Russell Coker
PS SE Linux is why I haven't done much Bonnie++ work for ages...
Quoted 6 lines
From: Russell Coker <[email protected]>
Quoted 3 lines · On Mon, 16 Sep 2002 16:50, [email protected] wrote:
Among other things, if there's a world-writable directory on the same filesystem, you get exposed to a whole raft of hard-link attacks that simply Wont Work if (for example) /tmp is a separate filesystem. You'd
Quoted 7 lines
Solar Designer's OpenWall kernel patch addresses this issue by prohibiting hard links to files with a different UID being created in a directory that has the sticky bit set. http://www.openwall.com/linux/
OpenWall is ported to the recent 2.4.x kernels and some 2.5.x kernels in the form of the Linux Security Modules (LSM) kernel patch.
http://lsm.immunix.org/
There is also the fuller and more current GRSecurity patch
http://www.grsecurity.net/ (originally I'd been using OW, but it wasn't available for 2.4 when I was switching).
GRSec includes making the return of fork() be somewhat random value rather than simply incrementing, and making source ports be allocated somewhat randomly too (both of these features were stolen from OpenBSD). They're kind of a jumbo combination of a couple Good Thing(tm) patches.
Signature · 4 lines
|\__/|\__/|\______ --=> 8-) EHM <=-- ______/|\__/|\__/| \ | | | [email protected] PGP 8881EF59 | | | / \ \ | ______| -O #include <stddisclaimer.h> O- |______ | / / \___\_|/82 04 A1 3C C7 B1 37 2A E3 6E 84 DA 97 4C 40 E6\|_/___/