FreeBSD Jails 70
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."
sandbox (Score:5, Interesting)
systrace (Score:2, Informative)
http://www.citi.umich.edu/u/provos/systrace/ [umich.edu]
http://www.openbsd.org/cgi-bin/man.cgi?query=systr ace&apropos=0&sektion=0&manpath=OpenBSD+Current&ar ch=i386&format=html [openbsd.org]
Re:systrace (Score:2)
Re:sandbox (Score:5, Informative)
Jails have other uses too, by the way. Website hosting is one such example. You can set up jails for each person using the machine, and then he gets his own root login. He can modify Apache config files himself and do any other configuration stuff, but he can't break out of the jail to interfere with other users. There are actually providers out there that do this, though I don't know any of them by name.
Re:sandbox (Score:3, Informative)
Re:sandbox (Score:2)
Re:sandbox (Score:1)
Re:bind? (Score:1)
What, specifically, can Sendmail do that Postfix cannot?
Re:bind? (Score:1, Funny)
Re:bind? (Score:4, Interesting)
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.
Re:bind? (Score:5, Interesting)
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....
Re:bind? (Score:2)
"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
Re:bind? (Score:2)
Anyway, if qmail's configuration makes you want to shoot yourself... what does *Sendmail's* configuration do?
Re:bind? (Score:2)
It doesn't do anything to me... I refuse to use it
-sirket
Re:bind? (Score:1)
Hey sort of like these [debian.org] operating [redhat.com] systems [suse.com] ;)
Re:bind? (Score:1)
i've always liked maradns [maradns.org] since it's not "braindamaged" like djbdns, but it does priviledge separation to run in a jail.
Jails addons (Score:5, Informative)
Rus
nore on jails (Score:3, Informative)
http://www.xyz.com/notes/jailnotes.html
Hope this helps someone.
-michael
pity they can't have private namespaces (Score:4, Informative)
my / != your
after years and years of trying [lanl.gov] 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.
Re:pity they can't have private namespaces (Score:4, Informative)
User Mode Linux (Score:2)
Does Linux offer something like this? (Score:1, Interesting)
Go directly to jail. (Score:2, Funny)
Does Linux offer something similar [to chroot jails]?
Linux has a chroot jail [linux-mag.com].
SCO has the other kind of jail too, unless you pay $699 to Darl McBribe [sic].
Re:Go directly to jail. (Score:2)
Re:Does Linux offer something like this? (Score:1)
Re:Does Linux offer something like this? (Score:3, Informative)
1. For each UML you have another kernel stealing memory, FreeBSD just uses one kernel.
2. UML uses loopback on fs, which is really really slow, it also means that if you have multilevel "jails" you soon get practically zero performance; with FreeBSD this does not happen.
In all fairness, UML is great if you want to test your programs for a multitude of different
Re:Does Linux offer something like this? (Score:2)
However, when you don't need THAT level of isolation I would conside Plan-9's private namespaces, whose fine-grained control is far more superior to jail.
whew! (Score:1)
My jailadmin stuff... (Score:5, Informative)
The main feature is a configuration that lets you act on jails by name. For instance:
will start those jails, and will 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.
I wasn't put in jail (Score:1)