Date: Fri, 23 Feb 2007 17:20:31 +0100 From: Harald Schmalzbauer <h.schmalzbauer@omnisec.de> To: freebsd-questions@freebsd.org Cc: Jim Stapleton <stapleton.41@gmail.com>, Jonathan Chen <jonc@chen.org.nz> Subject: Re: problems with jail Message-ID: <200702231720.31936.h.schmalzbauer@omnisec.de> In-Reply-To: <80f4f2b20702221749v230eefe8j86fb27de25a7df7a@mail.gmail.com> References: <80f4f2b20702221722q1de96eaaq426b061ae47f20fb@mail.gmail.com> <20070223014121.GA2803@osiris.chen.org.nz> <80f4f2b20702221749v230eefe8j86fb27de25a7df7a@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Am Freitag, 23. Februar 2007 02:49 schrieb Jim Stapleton: > oops, did a reply instead of reply all, sorry. > > My question was "what's the best way to test net connectivity in jail, > csup?", and i did try csup (using a copy of my standard ports =46or ping (and other ICMP tools etc.) you have to change the following on = the=20 host: 'sysctl security.jail.allow_raw_sockets=3D1' See the man (8) jail for more info! Greetings, =2DHarry > supfile), it failed: > > %csup -g -L 2 /etc/supfile-ports > Parsing supfile "/etc/supfile-ports" > Connecting to cvsup12.FreeBSD.org > Name lookup failure for "cvsup12.FreeBSD.org": hostname nor servname > provided, or not known > Will retry at 20:52:12 > > > I'm only using one jail (it'll run apache, mysql and possibly sftp) > > Thanks, > -Jim Stapleton > > On 2/23/07, Jonathan Chen <jonc@chen.org.nz> wrote: > > On Fri, Feb 23, 2007 at 01:22:53AM +0000, Jim Stapleton wrote: > > > I'd like to get Apache running in jail, but I can't seem to get > > > network working in jail. > > > > [...] > > > > > Anyway, when I go to jail, running csh (as root) in jail, I try/get: > > > %ping 192.168.1.1 > > > ping: socket: Operation not permitted > > > > This is normal. You can't ping out from a jail. If you're going to > > manage several jails on a box, I would suggest you try the ezjail > > port. > > > > Cheers. > > -- > > Jonathan Chen <jonc@chen.org.nz> > > ----------------------------------------------------------------------- > > "I love deadlines. I like the whooshing sound they make as they fly by" > > - Douglas Adams > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" =2D-=20 OmniSEC - UNIX und Windows Netzwerke - Sicher Harald Schmalzbauer =46lintsbacher Str. 3 80686 M=FCnchen +49 (0) 89 18947781 +49 (0) 160 93860101
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702231720.31936.h.schmalzbauer>