From owner-freebsd-jail@FreeBSD.ORG Thu Jul 21 12:51:07 2011 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FD70106564A for ; Thu, 21 Jul 2011 12:51:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) by mx1.freebsd.org (Postfix) with ESMTP id ECCE38FC14 for ; Thu, 21 Jul 2011 12:51:06 +0000 (UTC) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id D615325D3810; Thu, 21 Jul 2011 12:51:05 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 004B2BD3C21; Thu, 21 Jul 2011 12:51:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id nXltkOl+04eG; Thu, 21 Jul 2011 12:51:03 +0000 (UTC) Received: from [IPv6:::1] (shell.eq4-01.sbone.de [IPv6:fde9:577b:c1a9:3161::401:22]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 69138BD3BC2; Thu, 21 Jul 2011 12:51:01 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 From: "Bjoern A. Zeeb" In-Reply-To: Date: Thu, 21 Jul 2011 12:50:59 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <02CBAA19-5015-4A5A-B4BB-D3FA7EB4DB65@lists.zabbadoz.net> References: To: Subbsd X-Mailer: Apple Mail (2.1084) Cc: freebsd-jail Subject: Re: ip settings not work for jail 'service' type X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2011 12:51:07 -0000 On Jul 20, 2011, at 10:03 PM, Subbsd wrote: > Hi >=20 > Jail configuration with "complete=94 works perfectly with IP4, IP6 and > their secondary. > But if try jailed 'service' - it does not work. For example: >=20 > 1) have uncomment: > ftp stream tcp nowait root /usr/libexec/ftpd ftpd = -l >=20 > 2) have jail cfg like: > jail_enable=3D"YES" > jail_list=3D"example" # Space separated list of names of = jails > jail_example_rootdir=3D"/" > jail_example_hostname=3D"${hostname}" > jail_example_interface=3D"lo0" > jail_example_ip=3D"192.0.2.10" > #jail_example_ip_multi0=3D"10.0.0.1" # secondary - shouldn't work? > sockstat show *:21 > jail_example_exec_start=3D"service inetd onestart" > jail_example_exec_stop=3D"service inetd onestop" >=20 > 3) > service jail start example And does inetd run at that point? Did it log anything to your logfiles? >=20 > 4) > ftp 192.0.2.10 > (no connection) >=20 > I somewhere was mistaken or it shouldn't work? Thanks > _______________________________________________ > freebsd-jail@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to = "freebsd-jail-unsubscribe@freebsd.org" --=20 Bjoern A. Zeeb You have to have visions! Stop bit received. Insert coin for new address family.