Date: Tue, 8 Jul 2008 12:54:30 -0700 From: "David Allen" <the.real.david.allen@gmail.com> To: "Matthew Seaman" <m.seaman@infracaninophile.co.uk> Cc: Mel <fbsd.questions@rachie.is-a-geek.net>, freebsd-questions@freebsd.org Subject: Re: Jails and IP Aliasing Message-ID: <2daa8b4e0807081254x44d954c4s7c7d4fc09ffb881@mail.gmail.com> In-Reply-To: <4873973D.1080402@infracaninophile.co.uk> References: <2daa8b4e0807070951u607ff031v98b5b96103fdab4@mail.gmail.com> <200807081124.33377.fbsd.questions@rachie.is-a-geek.net> <2daa8b4e0807080903o609d6b7ag831845b7939c20c8@mail.gmail.com> <4873973D.1080402@infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 8, 2008 at 9:35 AM, Matthew Seaman <m.seaman@infracaninophile.co.uk> wrote: > David Allen wrote: > >> There was a post recently (Matthew Seaman's name comes to mind) that >> suggested binding jails to addresses in the loopback range and then >> using firewall rules to redirect the traffic accordingly. There's a >> possibility that may help in this case, but that layer of added >> complexity isn't much of an improvement over seeing connections with >> seemingly identical endpoints and interpreting the results in my head. > > Guilty as charged M'lud. Stand up, fool, lest I be forced to lower my knee and acknowledge your presence in a manner befitting a man as yourself. > However what I recommended was a more-than-slightly hacky way to achieve > three things: > > * Something like a loopback address inside the jail. It may be > 127.0.0.2 instead of 127.0.0.1 but most software can be persuaded > to use it for loopback style things. > > * The ability to map several IPs onto the jailed system by use of > NAT and redirect within firewall rules > > * The ability to have a jail with /no/ external IP for when the > paranoia becomes unbearable[*]. It could be said that those three expand into more numerous achievements. I'm still debating the "more-than-slightly hacky" aspects of such an arrangement, but undeniably it's interesting enough. > Of course, all this will be immediately obsoleted by Marco Zec's work > on virtualizing the IP stack. http://imunes.tel.fer.hr/virtnet/ Promising, even exciting, but I'm having trouble deciding whether I declare a victory for the triumph of optimism over experience, or offer the comment that the Real Soon Now schedule is a disappointment? Seriously, though, jails can be seen as the greatest thing since slide bread, but I have this nagging feeling I'm at work writing a small book that details their niggly shortcomings, a book whose completion, I hope, will be cut short by the addition of New and Improved features.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2daa8b4e0807081254x44d954c4s7c7d4fc09ffb881>