I've got few questions about bind chroot configuration.
Many tutorials explane that we must create an entire directory structure in the chroot directory. It means that libraries and binaries of Bind are present in the chroot directory. Many others indicate that CHROOT_DIR/dev, CHROOT_DIR/etc and CHROOT_DIR/var are sufficient and so, libraries and binaries aren't in the chroot directory.
What is the difference between these two configurations? What is the best configuration in term of security?
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
I think that those are two different approaches. E.g., in this howto http://www.howtoforge.com/howto_bind_chroot_debian we don't need all the libraries etc. in the chroot jail because we tell Bind's init script to run Bind chrooted (by putting
Code:
OPTIONS="-u bind -t /var/lib/named"
into /etc/default/bind9). I think it's a lot easier than putting all the libraries etc. into the chroot jail...
Recent comments
1 day 3 hours ago
1 day 10 hours ago
1 day 14 hours ago
1 day 15 hours ago
2 days 13 min ago
2 days 9 hours ago
2 days 10 hours ago
2 days 14 hours ago
2 days 18 hours ago
2 days 18 hours ago