On Mon, 25 Aug 2014, John Baldwin wrote:

On Wednesday, August 20, 2014 05:30:12 PM Warren Block wrote:
On Wed, 20 Aug 2014, Warren Block wrote:
On Wed, 20 Aug 2014, John Baldwin wrote:
On Tuesday, August 19, 2014 6:01:54 pm Warren Block wrote:
On Mon, 4 Aug 2014, Warren Block wrote:
Draft version of an ezjail section for the Handbook Jails chapter:
http://www.wonkity.com/~wblock/jails/jails-ezjail.html

This includes a complete setup at the end for running BIND in a jail.
In addition to a complete jail example, it can also serve as an example
of
how to set up BIND now that the old chroot configuration is no more.

Asking for review again of the final version at the link above.  If
there are no major complaints in the next few days, it will be
committed.

It's not clear to me if you need lo1?  If you are using aliases on an
external
interface as you would with a traditional jail then I think you don't
need
the
lo1 interface?

It's there to keep jails from being involved with lo0 on the host.  But I
admit the explanation is fuzzy, and will seek clarification.

Updated.  It now says:

   To keep jail loopback traffic off the host's loopback network
   interface lo0, a second loopback interface is created by adding
   an entry to /etc/rc.conf:...

I guess my question was more "why?"  This isn't ezjail-specific, and neither
of the other two jail tutorials in this chapter mention lo1.  If having lo1 is
important, then we should explain why and probably do so in the first jail
example and then apply it consistently in all the jail examples.  They "why"
should detail if this is an optional "nice to have" or if this is "critical to
security and apps can break out of jails otherwise".  My assumption is the
former, but seeing it documented as a mandatory step in the ezjail config
implies the latter to me.

It is not required, but (as I understand it), can prevent problems with the host seeing jail loopback traffic. I'm attempting to find an example which shows how the problem appears.
_______________________________________________
freebsd-doc@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "freebsd-doc-unsubscr...@freebsd.org"

Reply via email to