FreeBSD Jails
BSD Forums writes "A common security breach involves exploiting one application to gain access to another. Keeping separate applications separate can limit the potential damage. OnLamp's Mike DeGraw-Bertsch explains how FreeBSD's jails can help secure necessary applications."
Instead of this adhoc-ish system, wouldn't a better solution be to have a "correct" sandbox in which a policy can be attached to ANY process, which determined what kernel calls can be made, and potentially with what parameters? Then there is no need for wacky interface aliasing and stuff like that.
It's 10 PM. Do you know if you're un-American?
For some fun jail patches have a look at garage.freebsd.pl
Rus
Cheap UK and US VPS
check out OpenBSD's systrace:r ace&apropos=0&sektion=0&manpath=OpenBSD+Current&ar ch=i386&format=html
http://www.citi.umich.edu/u/provos/systrace/
http://www.openbsd.org/cgi-bin/man.cgi?query=syst
To quote the Makefile for /usr/ports/mail/qmail:
NO_PACKAGE= djb's packaging license does not allow non-standard qmail binary distributions
I would guess this is a big showstopper for using qmail in the FreeBSD basesystem. However, I think it was recently added some glue to sysinstall to let you choose MTA during install.
And better alternatives exist
In your opinion. Personally I dislike sendmail, but love BIND (just don't run it as root). But then I dislike qmail as much as sendmail, and djbdns strikes me as mildly braindamaged - so I'd hate to see them installed by default.
An ideal system would have the entire OS as packages... then all you need to do in to install your favourites....
Do you mind, your karma has just run over my dogma.
Nice intro. I've been running jails on FreeBSD for some time now, here are some additional notes I put together some time back.
http://www.xyz.com/notes/jailnotes.html
Hope this helps someone.
-michael
we have them in Plan 9. and they've been there for the past 14 years -- each user, each process, each device exists in its own namespace and views the system differently.
/
my / != your
after years and years of trying maybe it's time you guys really do something about it -- jails are a temporary solution, and not a very good one at that.
you need full private namespaces for the same reason you need local variables in your programs -- it's just too nasty otherwise.
FreeBSD's jails are a very cool security feature in my mind. Does Linux offer something similar?
djbdns strikes me as mildly braindamaged
"mildly braindamaged"?!?! djbdns is a case of full on dementia. qmail is equally brain damaged. The log files are downright useless (in my opinion) and the configuration makes me want to shoot myself.
Exim and Postfix are so superior to qmail in terms of manageability that it is embarrassing to qmail.
But then again these are just my opinions.
-sirket
The log files are extremely useful. They're just not designed for human processing. Similarly, the configuration files aren't very human-friendly, but they are very easy to manipulate via scripts.
Anyway, if qmail's configuration makes you want to shoot yourself... what does *Sendmail's* configuration do?
Tarsnap: Online backups for the truly paranoid
With the RIAA and SCO stories I was starting to think one of them was about to go after FreeBSD users!
What, specifically, can Sendmail do that Postfix cannot?
Will I retire or break 10K?
Does Linux offer something similar [to chroot jails]?
Linux has a chroot jail.
SCO has the other kind of jail too, unless you pay $699 to Darl McBribe [sic].
Will I retire or break 10K?
Allow script kiddies to root your box.
Hey sort of like these operating systems ;)
The main feature is a configuration that lets you act on jails by name. For instance:
will start those jails, andwill stop that instance. Basically, I wanted to make a system that was convenient for people with large numbers of jails on one machine, but easy enough for everyone.Included are an rc.d script for starting/stopping a set of jails at boot/shutdown, and an snmpd plugin for remote monitoring.
Dewey, what part of this looks like authorities should be involved?
Anyway, if qmail's configuration makes you want to shoot yourself... what does *Sendmail's* configuration do?
:)
It doesn't do anything to me... I refuse to use it
-sirket
i've always liked maradns since it's not "braindamaged" like djbdns, but it does priviledge separation to run in a jail.
Less is more !
WHEN I SHOT PAC!