Date: Wed, 12 Nov 2003 10:04:51 -0800 From: "FB" <freebsd@msquaredweb.net> To: <freebsd-questions@freebsd.org> Subject: Multiple IPs in Jail Message-ID: <20031112180445.C0C8943FE9@mx1.FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Hey all - We patched mijail5 (http://garage.freebsd.pl/mijail.README) against RELENG_5_1. Most of the patch was successful with a little fuzz, except for a couple lines in jls which didn't patch due to cosmetic changes (easily fixed). Before the patch was applied, the jail environment had no problem with dns. After the patch was applied however (and userland rebuilt both on host and jail), dns breaks in the jail environment. Basically, gethostbyname fails and h_errno is set to 2 - Host name lookup failure. the system is configured properly, since the only changes are to the kernel and the modified jail mechanism. Also interesting is that the failure is immediate, there is no timeout. However, inbound/outbound TCP traffic is not effected. - we are able to ssh in/out of the jailed environment. I was testing outbound UDP traffic however - simple matter of binding a socket to send a packet to a remote host. Outside the jail, it worked fine. inside the jail, sendto failed with a EINVAL error. Any help on this topic would be much appreciated. -Mike PS: I apologize for the cross-post to the freebsd-hackers and freebsd-questions lists... Need to get this box up ASAP and this is a major setback. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.537 / Virus Database: 332 - Release Date: 11/6/2003
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031112180445.C0C8943FE9>