Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2013 13:58:31 -0800 (PST)
From:      =?iso-8859-1?Q?Leonardo_M=2E_Ram=E9?= <martinrame@yahoo.com>
To:        "freebsd-questions@FreeBSD.org" <freebsd-questions@FreeBSD.org>
Subject:   Re: Jails
Message-ID:  <1358114311.12585.YahooMailNeo@web126203.mail.ne1.yahoo.com>
In-Reply-To: <0445C043-8460-40BD-81A9-5AC0580F584A@fisglobal.com>
References:  <50F0297B.3020604@aboutsupport.com> <20130111163129.47e44ce4@mr129166> <50F03DB9.4020209@aboutsupport.com> <20130111131913.049ad0b0@tech304.office.supranet.net> <50F1113C.3090703@aboutsupport.com> <27B0EF0C-CC6D-46E4-960A-ABCAA157D2CD@fisglobal.com> <50F287BD.7030708@aboutsupport.com> <1358091928.24135.YahooMailNeo@web126204.mail.ne1.yahoo.com> <0445C043-8460-40BD-81A9-5AC0580F584A@fisglobal.com>

next in thread | previous in thread | raw e-mail | index | archive | help



----- Original Message -----

> From: Devin Teske <devin.teske@fisglobal.com>
> To: Leonardo M. Ramé <martinrame@yahoo.com>
> Cc: "freebsd-questions@FreeBSD.org" <freebsd-questions@FreeBSD.org>
> Sent: Sunday, January 13, 2013 2:23 PM
> Subject: Re: Jails
> 
> 
> On Jan 13, 2013, at 7:45 AM, Leonardo M. Ramé wrote:
> 
>>>  ________________________________
>> 
>>>  From: "Zyumbilev, Peter" <peter@aboutsupport.com>
>>>  To: freebsd-questions@FreeBSD.org 
>>>  Cc: Mark Felder <feld@feld.me>; Devin Teske 
> <dteske@freebsd.org>; Devin Teske <devin.teske@fisglobal.com> 
>>>  Sent: Sunday, January 13, 2013 7:09 AM
>>>  Subject: Re: Jails
>>> 
>>> 
>>>  On 12/01/2013 18:41, Devin Teske wrote:
>>>> 
>>>>  On Jan 11, 2013, at 11:31 PM, Zyumbilev, Peter wrote:
>>>> 
>>>>>  Hi,
>>>>> 
>>>>>  I have not tested it, but so far things do not look 
> promising...
>>>>> 
>>>>>  I cannot even run "netstat -nvatp" properly, however 
> sopcast seemed to
>>>>>  run, but have not tested it, for plex - have not tried yet.
>>>>> 
>>>> 
>>>>  netstat isn't allowed in traditional jails (but is allowed in 
> "vimage" jails which have their own network stack).
>>>> 
>>>>  If you're able/willing to compile a new kernel to enable the 
> "VIMAGE" feature, then this can be improved so that you can indeed use 
> netstat within the jail.
>>>> 
>>>>  NOTE: netstat is not allowed within traditional (non-VIMAGE) jails 
> due to security restrictions.
>>>> 
>>> 
>>>  My  host os is Nas4Free and is stripped version of freebsd - e.g I
>>>  cannot even compile ports - that is why I use jails - so no new kernel
>>>  for me there :)
>>> 
>>>  So far I am quite happy with it  - I use it mainly as DLNA
>>>  server(Serviio), ZFS,UPS support & Transmission made it quite good
>>>  platform - would take plenty of time to get all this in plain FreeBSD
>>>  install.
>>> 
>>>  The only thing that I might be missing is Plex, but due to lack 
> "browser
>>>  per folder feature", I will stick to open standard - DLNA.
>>> 
>>>  Peter
>> 
>> 
>>  Hi, I've installed debian 6 in a jail, from FreeBsd 9.1 x86-64 by 
> following the instructions from this thread. However, I also updated my 
> /etc/resolv.conf inside the jail, but I get this error when I do ping:
> 
> ping is usually denied from within a jail (for security purposes).
> 
> Add the following to /etc/rc.conf:
> 
> jail_sysvipc_allow="YES"
> 
> And then reboot.

I've tried that, but I got the same results:

root@debian:/# ping www.google.com
WARNING: setsockopt(ICMP_FILTER): Protocol not available
WARNING: your kernel is veeery old. No problems.
PING www.google.com (173.194.42.16) 56(84) bytes of data.
ping: recvmsg: Invalid argument
ping: recvmsg: Invalid argument
ping: recvmsg: Invalid argument
ping: recvmsg: Invalid argument

--- www.google.com ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3078ms

root@debian:/#



 
Leonardo M. Ramé
http://leonardorame.blogspot.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1358114311.12585.YahooMailNeo>