From owner-freebsd-jail@FreeBSD.ORG Mon Dec 6 11:07:01 2010 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 8229B106571C for ; Mon, 6 Dec 2010 11:07:01 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6B77A8FC1E for ; Mon, 6 Dec 2010 11:07:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oB6B712R068277 for ; Mon, 6 Dec 2010 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oB6B70Ix068275 for freebsd-jail@FreeBSD.org; Mon, 6 Dec 2010 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 6 Dec 2010 11:07:00 GMT Message-Id: <201012061107.oB6B70Ix068275@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-jail@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-jail@FreeBSD.org 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: Mon, 06 Dec 2010 11:07:01 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/150599 jail [patch] /etc/rc.d/jail does not set jailname. o conf/149050 jail [jail] rcorder ``nojail'' too coarse for Jail+VNET s conf/142972 jail [jail] [patch] Support JAILv2 and vnet in rc.d/jail o conf/141317 jail [patch] uncorrect jail stop in /etc/rc.d/jail o kern/133265 jail [jail] is there a solution how to run nfs client in ja o kern/119842 jail [smbfs] [jail] "Bad address" with smbfs inside a jail o bin/99566 jail [jail] [patch] fstat(1) according to specified jid o bin/32828 jail [jail] w(1) incorrectly handles stale utmp slots with 8 problems total. From owner-freebsd-jail@FreeBSD.ORG Mon Dec 6 13:00:25 2010 Return-Path: Delivered-To: freebsd-jail@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54BCB1065670 for ; Mon, 6 Dec 2010 13:00:25 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 42CF98FC18 for ; Mon, 6 Dec 2010 13:00:25 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oB6D0PYV086773 for ; Mon, 6 Dec 2010 13:00:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oB6D0PMq086758; Mon, 6 Dec 2010 13:00:25 GMT (envelope-from gnats) Date: Mon, 6 Dec 2010 13:00:25 GMT Message-Id: <201012061300.oB6D0PMq086758@freefall.freebsd.org> To: freebsd-jail@FreeBSD.org From: Uffe Jakobsen Cc: Subject: Re: conf/150599: [patch] /etc/rc.d/jail does not set jailname. X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Uffe Jakobsen List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2010 13:00:25 -0000 The following reply was made to PR conf/150599; it has been noted by GNATS. From: Uffe Jakobsen To: bug-followup@FreeBSD.org, uffe@uffe.org Cc: Subject: Re: conf/150599: [patch] /etc/rc.d/jail does not set jailname. Date: Mon, 06 Dec 2010 13:30:34 +0100 This is a multi-part message in MIME format. --------------030308060500020604000201 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I purpose the attached patch --------------030308060500020604000201 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="jail.rc.head.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="jail.rc.head.patch" --- jail.rc.head 2010-12-06 12:49:49.000000000 +0100 +++ jail.rc.head.fix 2010-12-06 13:20:26.000000000 +0100 @@ -39,6 +39,7 @@ _devdir="${_rootdir}/dev" _fdescdir="${_devdir}/fd" _procdir="${_rootdir}/proc" + eval _jailname=\"\$jail_${_j}_name\" eval _hostname=\"\$jail_${_j}_hostname\" eval _ip=\"\$jail_${_j}_ip\" eval _interface=\"\${jail_${_j}_interface:-${jail_interface}}\" @@ -644,6 +645,9 @@ i=$((i + 1)) done + if [ -n "${_jailname}" ] ; then + _flags="${_flags} -n ${_jailname}"; + fi eval ${_setfib} jail ${_flags} -i ${_rootdir} ${_hostname} \ \"${_addrl}\" ${_exec_start} > ${_tmp_jail} 2>&1 \ Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2107B106567A for ; Mon, 6 Dec 2010 18:25:43 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8FA398FC22 for ; Mon, 6 Dec 2010 18:25:42 +0000 (UTC) Received: by qwj9 with SMTP id 9so6907789qwj.13 for ; Mon, 06 Dec 2010 10:25:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=R0/JJOsUFTFX3zJharsjWJc2fCqXDVMiGy2sUKy4wyY=; b=TH4nKFFK7KpoLfyGeFQiY1XoE0JJDk/u2OX2rDJ7Zh+J2Qb/15B0kjXltdklhmI/wx WzpwtyHzOg/jgVdxZcEJ9Zj5DCzM4c4NZ7QBQh0ZStd37TxSqOEjaTxzqzZ6TL1+a11F fOS+psv3FwVlKPYIF/+SyNKAe4EPRZFJ306XI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Pl0ERmZws0j6b8XY32nN21eg/wXQZz68cUEoEcfYQqn23E5roQsnPe3EZADONlHaSi AHi5VnpZpMDJ7Ve1bqk7Bid/jDhvi0e9KIJ8LqP0KmVBTbs2BYsy/6YCSvqzt56H7JqE EwkIk4T6MKxd2jn4daSDHnbfgBYbuQQlQnc1w= MIME-Version: 1.0 Received: by 10.229.220.144 with SMTP id hy16mr4629885qcb.259.1291658406765; Mon, 06 Dec 2010 10:00:06 -0800 (PST) Received: by 10.229.217.210 with HTTP; Mon, 6 Dec 2010 10:00:06 -0800 (PST) Date: Mon, 6 Dec 2010 19:00:06 +0100 Message-ID: From: Redd Vinylene To: questions , jail@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Can I run a 32-bit jail (or software) on a 64-bit server? 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: Mon, 06 Dec 2010 18:25:43 -0000 Greetings! Can I run a 32-bit jail (or software) on a 64-bit server? I need to use some software that only works on 32-bit. Thanks! From owner-freebsd-jail@FreeBSD.ORG Mon Dec 6 18:32:18 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C1CC1065672 for ; Mon, 6 Dec 2010 18:32:18 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0D99B8FC1B for ; Mon, 6 Dec 2010 18:32:17 +0000 (UTC) Received: by vws9 with SMTP id 9so4983301vws.13 for ; Mon, 06 Dec 2010 10:32:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:cc:content-type; bh=3oJ6oB7YV1A9W8EvwnLR0CXoyN7voLdUMROFum7dEpA=; b=tEyOO3Bk7cWpC4FUvFBJeR/8m9lxCqWM8zTervilXaomoy8Syft+CgeZSoLXbF3n2f otUXm27JbBluozZZs0FuTSBlHo1sjGtVC4kiiN6GLpwPq2amp6eFj3z0BT0qiauMt+bV S+uzfRGcfEz1XphnxwVmlJ0U4gqPaBKQvX5iY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; b=anYrbSVUOe3j4i6wLy/4COHmP2/hFKV3fRYdVLbRlHTmfnWHAJy6X6/g79ih9QHF/Y omKTW4L99M4DvwGutJGhnv4iovlV+I5Jt+YnK1nUAhRC9bbSlS8ioWN9G3sc2p4jXltY JITmoNdNNJdtoLJi4bVhKMHjAYIg808oYN6wk= MIME-Version: 1.0 Received: by 10.229.220.144 with SMTP id hy16mt5975361qcb.259.1291660336508; Mon, 06 Dec 2010 10:32:16 -0800 (PST) Received: by 10.229.217.210 with HTTP; Mon, 6 Dec 2010 10:32:16 -0800 (PST) In-Reply-To: References: Date: Mon, 6 Dec 2010 19:32:16 +0100 Message-ID: From: Redd Vinylene Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: jail@freebsd.org, questions Subject: Re: Can I run a 32-bit jail (or software) on a 64-bit server? 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: Mon, 06 Dec 2010 18:32:18 -0000 On Mon, Dec 6, 2010 at 7:25 PM, Nerius Landys wrote: > I've had success running [at least some] 32 bit software on 64 bit > FreeBSD without even using a jail. > Do you have /usr/lib32 on your system? This would get installed for > example if you rebuild world/kernel following this: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html > and if you don't inhibit the installation of /usr/lib32 by setting > some conf file flag somewhere. > > There are probably other ways to "get" /usr/lib32 on your system, but > I usually rebuild world to make it happen. > Hey man! Matter of fact - yeah - I do have /usr/lib32. So that's all I need or do I need to activate something in rc.conf or whatever? Much obliged! From owner-freebsd-jail@FreeBSD.ORG Mon Dec 6 18:41:35 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B54E1065679; Mon, 6 Dec 2010 18:41:35 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 393D48FC2A; Mon, 6 Dec 2010 18:41:34 +0000 (UTC) Received: by vws9 with SMTP id 9so4991997vws.13 for ; Mon, 06 Dec 2010 10:41:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=LJsXpbzeTbp/TQpxqDWOMXgBDBT8dR3RJ/Mk5Aw3CAg=; b=xX4Knu7B70YD2qoCxaoOaZS7z7Rz9Mt7x2prxKWQSxYDh4AjUepYJZkT2tHRTjk5Jy Wi6OlxyE2JUq6viV7pntWSZfPU+PYh/n7MWJrQJhqeivPX452H52YU15MGdoCOF+mZN0 61G7nNgV9xjctnTOtCbIcDwKlqxQxJ556kUfE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=jeGDbck+OGh2QOUO39ZuedrgufWXFkcYWTkg9fV7SiPKWGOeJmReRWt6GAERFb2DWa XjfoWRvDge5fEwk0oHtJ3SNOoeNLRLFgmhSEaci/4efat/hoiT2CGSotqpGP+N/SMlLx IlHwYDFTbLDuSiJ2kzDNF+eWKS803FnOXKagg= MIME-Version: 1.0 Received: by 10.229.235.4 with SMTP id ke4mr5091263qcb.201.1291660498832; Mon, 06 Dec 2010 10:34:58 -0800 (PST) Received: by 10.229.230.201 with HTTP; Mon, 6 Dec 2010 10:34:58 -0800 (PST) In-Reply-To: References: Date: Mon, 6 Dec 2010 10:34:58 -0800 Message-ID: From: Nerius Landys To: Redd Vinylene Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: jail@freebsd.org, questions Subject: Re: Can I run a 32-bit jail (or software) on a 64-bit server? 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: Mon, 06 Dec 2010 18:41:35 -0000 >> I've had success running [at least some] 32 bit software on 64 bit >> FreeBSD without even using a jail. >> Do you have /usr/lib32 on your system? =A0This would get installed for >> example if you rebuild world/kernel following this: >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html >> and if you don't inhibit the installation of /usr/lib32 by setting >> some conf file flag somewhere. >> >> There are probably other ways to "get" /usr/lib32 on your system, but >> I usually rebuild world to make it happen. >> > > Hey man! > > Matter of fact - yeah - I do have /usr/lib32. So that's all I need or do = I > need to activate something in rc.conf or whatever? > > Much obliged! /usr/lib32 should be all you need [I think]. However you won't be able to correctly compile 32 bit software on your 64 bit system. For compiling, you _should_ use a jail, or compile on a 32 bit system. They're addressing this cross-compiling issue in the latest FreeBSD sources I think. From owner-freebsd-jail@FreeBSD.ORG Mon Dec 6 18:52:20 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 055931065675; Mon, 6 Dec 2010 18:52:20 +0000 (UTC) (envelope-from mike@chaoticsystems.org) Received: from mail-ew0-f51.google.com (mail-ew0-f51.google.com [209.85.215.51]) by mx1.freebsd.org (Postfix) with ESMTP id 6D6108FC19; Mon, 6 Dec 2010 18:52:18 +0000 (UTC) Received: by ewy19 with SMTP id 19so9380112ewy.10 for ; Mon, 06 Dec 2010 10:52:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.50.147 with SMTP id z19mr382185web.38.1291660081257; Mon, 06 Dec 2010 10:28:01 -0800 (PST) Received: by 10.216.64.196 with HTTP; Mon, 6 Dec 2010 10:28:01 -0800 (PST) X-Originating-IP: [163.185.131.36] In-Reply-To: References: Date: Mon, 6 Dec 2010 11:28:01 -0700 Message-ID: From: Mike Bregg To: Redd Vinylene Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: jail@freebsd.org, questions Subject: Re: Can I run a 32-bit jail (or software) on a 64-bit server? 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: Mon, 06 Dec 2010 18:52:20 -0000 Yes, I believe this has been possible since 7.2. Mike On Mon, Dec 6, 2010 at 11:00 AM, Redd Vinylene wrote: > Greetings! > > Can I run a 32-bit jail (or software) on a 64-bit server? I need to use > some > software that only works on 32-bit. > > Thanks! > _______________________________________________ > 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" > From owner-freebsd-jail@FreeBSD.ORG Mon Dec 6 18:56:04 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB8FC106566C; Mon, 6 Dec 2010 18:56:04 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 75CA38FC0C; Mon, 6 Dec 2010 18:56:04 +0000 (UTC) Received: by qwj9 with SMTP id 9so6939185qwj.13 for ; Mon, 06 Dec 2010 10:56:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=WbCq+VmvdVngWuRUoFrOp01CXOOjt3Yl+XVt7I1g7pk=; b=V9L2A1KPbmwYLFzIoiOMT4Xuntd3SJFKtKHO1jjHSJd2wu4ORIk2FlDnTDvfRuUHiV NigWGI7NF8opoL6dMDeh7d65X6SQTQ4/2C4jCHuqMvLDKFgpbmfO3erSTTzLsGoz9ntA gSkS6046xa7G0OsCzsSUeNZVs++U542gvN0Ks= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ihdS2odpkA1LaGloWPR2wLZUExFYglZUiW5O++LmJTg9H2+7A9MaFFo4wJny7XPC5n UNTsv3v21s41LVRTyjYAKHt76+iq2U2rK5JZsDz56WNYGZqbt/9FpVyDpo5eZdu4BVPM N+CF4zhwFGvA8/fftZxK9JcCRi1YvUfOqUj2A= MIME-Version: 1.0 Received: by 10.229.246.145 with SMTP id ly17mr5119311qcb.11.1291659946246; Mon, 06 Dec 2010 10:25:46 -0800 (PST) Received: by 10.229.230.201 with HTTP; Mon, 6 Dec 2010 10:25:46 -0800 (PST) In-Reply-To: References: Date: Mon, 6 Dec 2010 10:25:46 -0800 Message-ID: From: Nerius Landys To: Redd Vinylene Content-Type: text/plain; charset=ISO-8859-1 Cc: jail@freebsd.org, questions Subject: Re: Can I run a 32-bit jail (or software) on a 64-bit server? 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: Mon, 06 Dec 2010 18:56:04 -0000 I've had success running [at least some] 32 bit software on 64 bit FreeBSD without even using a jail. Do you have /usr/lib32 on your system? This would get installed for example if you rebuild world/kernel following this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html and if you don't inhibit the installation of /usr/lib32 by setting some conf file flag somewhere. There are probably other ways to "get" /usr/lib32 on your system, but I usually rebuild world to make it happen. On Mon, Dec 6, 2010 at 10:00 AM, Redd Vinylene wrote: > Greetings! > > Can I run a 32-bit jail (or software) on a 64-bit server? I need to use some > software that only works on 32-bit. > > Thanks! > _______________________________________________ > 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" > From owner-freebsd-jail@FreeBSD.ORG Mon Dec 6 18:58:27 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3249A1065670; Mon, 6 Dec 2010 18:58:27 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id BAF708FC1B; Mon, 6 Dec 2010 18:58:26 +0000 (UTC) Received: by qyk36 with SMTP id 36so9300884qyk.13 for ; Mon, 06 Dec 2010 10:58:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=YK4p9f4gLdbZ5FRQja6yTJu1RRPnCyE0QqWcda2qPrA=; b=Nu5Lbhjt56a/43pB2JzLX9A4LmZhtY4w7Ug/gixEebXzABhS1j0STtIW03Z2avdQvs WDDGT31A9i5NzvitEaIzizdp+eEGP09JB7iSvGPLxZv53UusI8Q2HdzP15rypYpWBTMD MqDXcH90PeuJlfVIydN3bPcsAE6qog+70TG7c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=imkr8yAHgbMGQFOVA71NYzq/es/usCkA+/OgX7uBRyE8Fyvi+fZmyIeZTWqMpMFyJp l8RIzVrBW2lJ4br759aq0IBWo+51HuMf9FnZRbx6Mnar4X838ym/Ki1zPLkr5ukLD57V Vp7mhGgAo/aMep8DWdXrjEdVDaS+cCImlQQ4g= MIME-Version: 1.0 Received: by 10.229.109.213 with SMTP id k21mr4834198qcp.69.1291661905875; Mon, 06 Dec 2010 10:58:25 -0800 (PST) Received: by 10.229.217.210 with HTTP; Mon, 6 Dec 2010 10:58:25 -0800 (PST) In-Reply-To: References: Date: Mon, 6 Dec 2010 19:58:25 +0100 Message-ID: From: Redd Vinylene To: Nerius Landys Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: jail@freebsd.org, questions Subject: Re: Can I run a 32-bit jail (or software) on a 64-bit server? 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: Mon, 06 Dec 2010 18:58:27 -0000 Thanks a lot guys - I really appreciate it. Redd From owner-freebsd-jail@FreeBSD.ORG Mon Dec 6 19:01:25 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 348A21065679; Mon, 6 Dec 2010 19:01:25 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id B88488FC1E; Mon, 6 Dec 2010 19:01:24 +0000 (UTC) Received: by ywp6 with SMTP id 6so6566655ywp.13 for ; Mon, 06 Dec 2010 11:01:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=wXeNuBkWJ20+rbmg/92v6XvraxqDBfe38HP8381/Emw=; b=x3EL+dZ50MxDumdHCRH2bOQ8HFw3A9tAVKLuopQu3KaprOpV0BTu2vOrVVqBU/wROj GTrx8Olpso5GtExPayP3L4SXvKzFe//oSZlbfbh5ipgFnJtzxazmhccDu5uagt1KTVME sOqNMZqbRrhc0GELRuwQ0Te815D7ulj6ki1VE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Fa5Zh3ris8nJpAcVkrBlTdf1U8NnrGjra4FjmDUrU2M6Nw64ds0fq570PFfvdyOTll qAiG0W0z+OEmahAsIvlboL3M2OidlJbfXpzMOQ/Y0yMyvGdo+UYX2/NyRdzguEu5bylr ljuEns2ELjrXJLbAAQUEsW0K2v6/GOhNszW88= MIME-Version: 1.0 Received: by 10.90.101.12 with SMTP id y12mr8160999agb.185.1291660423340; Mon, 06 Dec 2010 10:33:43 -0800 (PST) Received: by 10.90.73.18 with HTTP; Mon, 6 Dec 2010 10:33:43 -0800 (PST) In-Reply-To: References: Date: Mon, 6 Dec 2010 19:33:43 +0100 Message-ID: From: David DEMELIER To: Redd Vinylene Content-Type: text/plain; charset=UTF-8 Cc: jail@freebsd.org, questions Subject: Re: Can I run a 32-bit jail (or software) on a 64-bit server? 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: Mon, 06 Dec 2010 19:01:25 -0000 2010/12/6 Redd Vinylene : > Greetings! > > Can I run a 32-bit jail (or software) on a 64-bit server? I need to use some > software that only works on 32-bit. > > Thanks! > _______________________________________________ > 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" > Hello, Since this question is asked a lot of time I think we should update the handbook to say `yes' it's possible ! :-) http://lists.freebsd.org/pipermail/freebsd-jail/2010-January/001139.html http://www.mail-archive.com/freebsd-jail@freebsd.org/msg01201.html -- Demelier David From owner-freebsd-jail@FreeBSD.ORG Mon Dec 6 19:14:23 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61C71106566C; Mon, 6 Dec 2010 19:14:23 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 000538FC1F; Mon, 6 Dec 2010 19:14:22 +0000 (UTC) Received: by qyk8 with SMTP id 8so3621313qyk.13 for ; Mon, 06 Dec 2010 11:14:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=iyRQlfNwTfx9Ar0gYDo/7G54TiHn8wzupDFkm3vU/98=; b=QLcovKjdo2uny20xUr/46Nwhx/OBnm2uXFa1pECDkQKTcK3JdfG371JfqsVFIAek8Y 7oPDFM2GaC+BWrNvzLkDqlcGNnxWzl5Kid//JBLenjhaMZo6gW4ZhvoxfPEvkr29tpcA MOZXX9FIMge6KY3ffC5FWlekUX20riAdirm9k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=PC1sl5Rfyqa1cg4Bgmo99gAzTIhbkmrtvEAYl0ufefZIMd0uRNV3Z9oolMB6R3J8tW 2usSdAy/xL6YRkY1gbkWHlOnhuKNHzN1jWFIu8/2FI6VtrUP/KjmF5Q3cmIlLM4Kem6l jRApyci65NUy79HbW7KMKEKsDP/F0K9FzuZ00= MIME-Version: 1.0 Received: by 10.229.15.195 with SMTP id l3mr4816616qca.221.1291662861916; Mon, 06 Dec 2010 11:14:21 -0800 (PST) Received: by 10.229.217.210 with HTTP; Mon, 6 Dec 2010 11:14:21 -0800 (PST) In-Reply-To: References: Date: Mon, 6 Dec 2010 20:14:21 +0100 Message-ID: From: Redd Vinylene To: Nerius Landys Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: jail@freebsd.org, questions Subject: Re: Can I run a 32-bit jail (or software) on a 64-bit server? 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: Mon, 06 Dec 2010 19:14:23 -0000 How do I create a 32-bit jail on a 64-bit machine then? http://forums.freebsd.org/showthread.php?t=3744 did not tell me much. Thanks! From owner-freebsd-jail@FreeBSD.ORG Mon Dec 6 19:27:29 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D81EC106564A; Mon, 6 Dec 2010 19:27:29 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 72F8C8FC13; Mon, 6 Dec 2010 19:27:29 +0000 (UTC) Received: by qyk8 with SMTP id 8so3633878qyk.13 for ; Mon, 06 Dec 2010 11:27:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=IvbHzVXNiV/AXyb2DNzkxbAir7JBmto26PbajOaaIVo=; b=QY3DZ7SUiy4PigucULSlTAADB2ZQUL+EDZq1v0kRlPSmEGHCjlSt+Y/Wcg2QSnY78Z iNhNER/Pgf/7PbyoxbPPv2wqMfdUdKiHXBwVFqne4HV8B8kOGARr5w378FvSrSqHv1f3 LIr5RwjeX2qBou7D/32RvIxxOa91sjr7eOX7E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=aTuWWwMopP6AEM7rqHc2nicf7G8C8qOPWNpIu82UH4pKxSrwew10uHFu5sC/zXdHEF nCntdDTXyoO2hAhq004/Yk8aD7ex9PryuNFI9WLni79q9WVSHEGXjpjL7df+a1YZZy3Y L0sBk3KGKi9XDs37A5G+JburSk8PPsx/uGWcs= MIME-Version: 1.0 Received: by 10.229.236.134 with SMTP id kk6mr1303917qcb.49.1291663648442; Mon, 06 Dec 2010 11:27:28 -0800 (PST) Received: by 10.229.230.201 with HTTP; Mon, 6 Dec 2010 11:27:28 -0800 (PST) In-Reply-To: References: Date: Mon, 6 Dec 2010 11:27:28 -0800 Message-ID: From: Nerius Landys To: Redd Vinylene Content-Type: text/plain; charset=ISO-8859-1 Cc: jail@freebsd.org, questions Subject: Re: Can I run a 32-bit jail (or software) on a 64-bit server? 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: Mon, 06 Dec 2010 19:27:29 -0000 On Mon, Dec 6, 2010 at 11:14 AM, Redd Vinylene wrote: > How do I create a 32-bit jail on a 64-bit machine then? > > http://forums.freebsd.org/showthread.php?t=3744 did not tell me much. > > Thanks! > Use this as a start: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html Then you have to specify target arch = i386 or something in the make buildworld etc. steps. I don't remember the exact syntax for the make flags off hand. From owner-freebsd-jail@FreeBSD.ORG Mon Dec 6 20:19:30 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15A1E1065670; Mon, 6 Dec 2010 20:19:30 +0000 (UTC) (envelope-from dteske@vicor.com) Received: from postoffice.vicor.com (postoffice.vicor.com [69.26.56.53]) by mx1.freebsd.org (Postfix) with ESMTP id E21B48FC08; Mon, 6 Dec 2010 20:19:29 +0000 (UTC) Received: from [192.168.134.187] (port=50123 helo=[192.168.1.118]) by postoffice.vicor.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.71) (envelope-from ) id 1PPhEx-0003ig-Pu; Mon, 06 Dec 2010 12:00:54 -0800 Mime-Version: 1.0 (Apple Message framework v1081) From: Devin Teske In-Reply-To: Date: Mon, 6 Dec 2010 12:00:51 -0800 Message-Id: <64AF25A6-F9F2-4A4C-A47D-0E80C367C7CB@vicor.com> References: To: Redd Vinylene X-Mailer: Apple Mail (2.1081) X-Scan-Signature: 8ab399610c508a33cd3fcb541ad584b9 X-Scan-Host: postoffice.vicor.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: jail@freebsd.org, questions , Nerius Landys Subject: Re: Can I run a 32-bit jail (or software) on a 64-bit server? 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: Mon, 06 Dec 2010 20:19:30 -0000 I wrote a utility (attached) to make the process really fast and easy: jail_build(8): Build FreeBSD jails from binary distributions Here's a simple howto: Step 1: Create a landing zone for your binary distribution = (jail_build(8) looks in `/usr/repos' for binary distributions)... sudo mkdir -p /usr/repos sudo cd /usr/repos Step 2: Download one or more binary FreeBSD distributions (any version, = any platform)... wget -r = ftp://ftp-archive.freebsd.org/pub/FreeBSD/releases/i386/8.1-RELEASE Step 3: Download jail_build(8)... cd wget http://druidbsd.sourceforge.net/download/jail_build.txt mv jail_build.txt jail_build chmod +x jail_build Step 4: Build your jail(s)... ./jail_build -- Devin (full sig at bottom) P.S. Feedback welcome. On Dec 6, 2010, at 11:14 AM, Redd Vinylene wrote: > How do I create a 32-bit jail on a 64-bit machine then? >=20 > http://forums.freebsd.org/showthread.php?t=3D3744 did not tell me = much. >=20 > 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" -- Cheers, Devin Teske -> CONTACT INFORMATION <- Business Solutions Consultant II FIS - fisglobal.com 510-735-5650 Mobile 510-621-2038 Office 510-621-2020 Office Fax 909-477-4578 Home/Fax devin.teske@fisglobal.com -> LEGAL DISCLAIMER <- This message contains confidential and proprietary information of the sender, and is intended only for the person(s) to whom it is addressed. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. -> END TRANSMISSION <- From owner-freebsd-jail@FreeBSD.ORG Mon Dec 6 21:01:15 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14034106566B; Mon, 6 Dec 2010 21:01:14 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from red.stonehenge.com (red.stonehenge.com [IPv6:2607:f2f8:3080::]) by mx1.freebsd.org (Postfix) with ESMTP id B1BF58FC17; Mon, 6 Dec 2010 21:01:14 +0000 (UTC) Received: by red.stonehenge.com (Postfix, from userid 1001) id 1C9E26011; Mon, 6 Dec 2010 13:01:14 -0800 (PST) From: merlyn@stonehenge.com (Randal L. Schwartz) To: Devin Teske References: <64AF25A6-F9F2-4A4C-A47D-0E80C367C7CB@vicor.com> x-mayan-date: Long count = 12.19.17.16.14; tzolkin = 12 Ix; haab = 7 Mac Date: Mon, 06 Dec 2010 13:01:13 -0800 In-Reply-To: <64AF25A6-F9F2-4A4C-A47D-0E80C367C7CB@vicor.com> (Devin Teske's message of "Mon, 6 Dec 2010 12:00:51 -0800") Message-ID: <86oc8yzkdi.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: jail@freebsd.org, questions , Nerius Landys Subject: Re: Can I run a 32-bit jail (or software) on a 64-bit server? 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: Mon, 06 Dec 2010 21:01:15 -0000 >>>>> "Devin" == Devin Teske writes: Devin> sudo cd /usr/repos This is pretty useless. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion From owner-freebsd-jail@FreeBSD.ORG Mon Dec 6 23:11:47 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1753106566B; Mon, 6 Dec 2010 23:11:47 +0000 (UTC) (envelope-from dteske@vicor.com) Received: from postoffice.vicor.com (postoffice.vicor.com [69.26.56.53]) by mx1.freebsd.org (Postfix) with ESMTP id D08B18FC12; Mon, 6 Dec 2010 23:11:47 +0000 (UTC) Received: from [192.82.228.134] (port=50268 helo=[192.168.1.107]) by postoffice.vicor.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.71) (envelope-from ) id 1PPkDg-00031R-SW; Mon, 06 Dec 2010 15:11:46 -0800 Mime-Version: 1.0 (Apple Message framework v1081) From: Devin Teske In-Reply-To: <86oc8yzkdi.fsf@red.stonehenge.com> Date: Mon, 6 Dec 2010 15:07:42 -0800 Message-Id: References: <64AF25A6-F9F2-4A4C-A47D-0E80C367C7CB@vicor.com> <86oc8yzkdi.fsf@red.stonehenge.com> To: merlyn@stonehenge.com (Randal L. Schwartz) X-Mailer: Apple Mail (2.1081) X-Scan-Signature: 4cd8f1c2a2711dbbdcb118a8b46bde9e X-Scan-Host: postoffice.vicor.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: jail@freebsd.org, questions , Nerius Landys Subject: Re: Can I run a 32-bit jail (or software) on a 64-bit server? 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: Mon, 06 Dec 2010 23:11:48 -0000 On Dec 6, 2010, at 1:01 PM, Randal L. Schwartz wrote: >>>>>> "Devin" == Devin Teske writes: > > Devin> sudo cd /usr/repos > > This is pretty useless. :) I'd say it's _absolutely_ useless ^_^ Yes, indeed, the `sudo' should be omitted. -- Cheers, Devin Teske -> CONTACT INFORMATION <- Business Solutions Consultant II FIS - fisglobal.com 510-735-5650 Mobile 510-621-2038 Office 510-621-2020 Office Fax 909-477-4578 Home/Fax devin.teske@fisglobal.com -> LEGAL DISCLAIMER <- This message contains confidential and proprietary information of the sender, and is intended only for the person(s) to whom it is addressed. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. -> END TRANSMISSION <- From owner-freebsd-jail@FreeBSD.ORG Wed Dec 8 15:15:55 2010 Return-Path: Delivered-To: freebsd-jail@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A832D10656A7; Wed, 8 Dec 2010 15:15:55 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7FB448FC14; Wed, 8 Dec 2010 15:15:55 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oB8FFtDq088366; Wed, 8 Dec 2010 15:15:55 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oB8FFtTU088362; Wed, 8 Dec 2010 15:15:55 GMT (envelope-from gavin) Date: Wed, 8 Dec 2010 15:15:55 GMT Message-Id: <201012081515.oB8FFtTU088362@freefall.freebsd.org> To: gavin@FreeBSD.org, freebsd-i386@FreeBSD.org, freebsd-jail@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: bin/152873: jls(8) coredumps 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: Wed, 08 Dec 2010 15:15:55 -0000 Old Synopsis: jls coredumps New Synopsis: jls(8) coredumps Responsible-Changed-From-To: freebsd-i386->freebsd-jail Responsible-Changed-By: gavin Responsible-Changed-When: Wed Dec 8 15:14:04 UTC 2010 Responsible-Changed-Why: Over to maintainer(s) http://www.freebsd.org/cgi/query-pr.cgi?pr=152873 From owner-freebsd-jail@FreeBSD.ORG Wed Dec 8 15:47:57 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDBBE106566B; Wed, 8 Dec 2010 15:47:57 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5E2338FC24; Wed, 8 Dec 2010 15:47:57 +0000 (UTC) Received: by vws9 with SMTP id 9so1099239vws.13 for ; Wed, 08 Dec 2010 07:47:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=xaWJi9zmHLiKvsXvTlI2tfRWAG8FVSgZ3V0ZLQoshyE=; b=mcIpmSoGpqk0Xsc5GdEzUcsBu+QcRfvMq7Up1avV898yORXq7f9A8Vo/65dG3VWRSx c5Mh5p4toPRtcx59/gp+S1okvjRKVjLAGDTqELFtLm8DZB+thhfvxSHxh/tTvhRVTTeG oE0/KL1c2wa8bwLQaABgDztWfcyXILzgAGMk8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=M+qW5g4cIzMS19JRObzmCbfrNnToPF/RWDQ+WGK7FOwOZhsz5GWoNdXOvbw1FWbjjM PJ7nLqATWOhjv+v7UFqthd9NqxZYhFWDLCZkjm+ngxCclsq9JQ1nyOiKBszb2fi9hIH2 V4sQxTflJEsE6F6lck6uai0GHmTNTRKG8qpWo= MIME-Version: 1.0 Received: by 10.229.189.14 with SMTP id dc14mr7137538qcb.31.1291823276362; Wed, 08 Dec 2010 07:47:56 -0800 (PST) Received: by 10.229.217.210 with HTTP; Wed, 8 Dec 2010 07:47:56 -0800 (PST) Date: Wed, 8 Dec 2010 16:47:56 +0100 Message-ID: From: Redd Vinylene To: questions , jail@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: FTPD not working properly on jail 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: Wed, 08 Dec 2010 15:47:57 -0000 Hello! I'm trying to set up a virtual vsftpd-ssl-2.3.2 server so my band can share new tracks, production material or what not, but I'm getting all kinds of strange errors: http://pastie.org/1358536 Anybody know why? The server runs on a jail. There are no firewalls on either the host or the jail. I've tried other ftpd's and gotten similar results so I don't think it's vsftpd there's something wrong with here. Thanks! From owner-freebsd-jail@FreeBSD.ORG Wed Dec 8 15:52:53 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C23DE1065702; Wed, 8 Dec 2010 15:52:53 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5F5D18FC0A; Wed, 8 Dec 2010 15:52:53 +0000 (UTC) Received: by vws9 with SMTP id 9so1104151vws.13 for ; Wed, 08 Dec 2010 07:52:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=CyhNdePYyTCBKiQLucEhWZDnbqk3FvP33ydftk5Srkw=; b=FEkzNn/HJFwkTEVQco4rwfZCmQ94X9KpYR2sL10I/NKTlUHLb4aq5wPK3maOBRWcDU 0e0yykv756FzCAc5ba3IC0MJP8JS6oh7/dZ+P3VpIUVC9I0cDhAe/LmhfRe1/Hvy0lWp 91q+HH8rt/bRCLlpnKEqauESEb5ibP3iY4iuY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Y7pUDPKScCeMXpPbhzDiufL0Si+aYlVdkvjpGhREjqD8gjNcPBw8xBvLiDk/tzyffK +ETrf37KiU+hQsI0kAMnH7GAMFf8eWWpGEC28tfyMF7B6Wwh9ZDSMgBYtV+4fnGr4dMN GtibArt1heG9YUJy/or/uxKCsBinOA0rhZDYo= MIME-Version: 1.0 Received: by 10.229.91.147 with SMTP id n19mr6932296qcm.145.1291823570762; Wed, 08 Dec 2010 07:52:50 -0800 (PST) Received: by 10.229.217.210 with HTTP; Wed, 8 Dec 2010 07:52:50 -0800 (PST) Date: Wed, 8 Dec 2010 16:52:50 +0100 Message-ID: From: Redd Vinylene To: questions , jail@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: FTP not working in jail 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: Wed, 08 Dec 2010 15:52:53 -0000 Hello! I'm trying to set up a virtual vsftpd-ssl-2.3.2 server so my band can share new tracks, production material or what not, but I'm getting all kinds of strange errors: http://pastie.org/1358536 Anybody know why? I'm using a jail. There are no firewalls on either the host or the jail. I've tried other ftpd's and gotten similar results, so I don't think there's vsftpd there's something wrong with here. Thanks! From owner-freebsd-jail@FreeBSD.ORG Wed Dec 8 15:53:25 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0C9810656C3; Wed, 8 Dec 2010 15:53:25 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id 81E3B8FC16; Wed, 8 Dec 2010 15:53:25 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 8468541C710; Wed, 8 Dec 2010 16:53:24 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id NWhbL1SWUNdM; Wed, 8 Dec 2010 16:53:23 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id BD56841C734; Wed, 8 Dec 2010 16:53:23 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 1B1974448F3; Wed, 8 Dec 2010 15:52:26 +0000 (UTC) Date: Wed, 8 Dec 2010 15:52:26 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Redd Vinylene In-Reply-To: Message-ID: <20101208155125.E6126@maildrop.int.zabbadoz.net> References: X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: jail@freebsd.org, questions Subject: Re: FTPD not working properly on jail 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: Wed, 08 Dec 2010 15:53:26 -0000 On Wed, 8 Dec 2010, Redd Vinylene wrote: > Hello! > > I'm trying to set up a virtual vsftpd-ssl-2.3.2 server so my band can share > new tracks, production material or what not, but I'm getting all kinds of > strange errors: > > http://pastie.org/1358536 > > Anybody know why? The server runs on a jail. There are no firewalls on > either the host or the jail. I've tried other ftpd's and gotten similar > results so I don't think it's vsftpd there's something wrong with here. a) have you tried without SSL? b) have you tried ftpd from base? It pretty much smells like a bug in vsftpd. Out of curiosity - which version of freebsd is that? /bz -- Bjoern A. Zeeb Welcome a new stage of life. Going to jail sucks -- All my daemons like it! http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html From owner-freebsd-jail@FreeBSD.ORG Wed Dec 8 16:27:10 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 138DA10656A5; Wed, 8 Dec 2010 16:27:10 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 99BCD8FC28; Wed, 8 Dec 2010 16:27:09 +0000 (UTC) Received: by vws9 with SMTP id 9so1139490vws.13 for ; Wed, 08 Dec 2010 08:27:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=p0Wj6EWLpr2QC7u3U33glPPdnGKlplenjU6uYxL5Ui0=; b=Dw15gMjP1zWquF3r8MDEPBCmv+OWswGaFm0j3yu5asKvsoimPo55BoyyUIp+y6ZDyL ypIzown4tWXuMSv6a4A/cVcLsdayRGnt6QY/g9E2ALwZGT9gLtVnT3jh7gARffFtn/5V qmYJuQi9SAHF+l0NGdwolH57QVk8hQcP2uMAA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=uFh32fyEhejdsm6jprTnaSS07BTgTfke7CTY8bloOJLikbkNiiJLxJGGnCs+WQmBBW n2+RrYcfQWyYpBUygQVhl82VKOGZklM+5x0mVUlr368RW2CrWkuAS4oSUcDfrO1tKDd1 ik2G6j4dykFrVsCd7tOCmR8lhlLTToohJHLF8= MIME-Version: 1.0 Received: by 10.229.91.147 with SMTP id n19mr6964653qcm.145.1291825628597; Wed, 08 Dec 2010 08:27:08 -0800 (PST) Received: by 10.229.217.210 with HTTP; Wed, 8 Dec 2010 08:27:08 -0800 (PST) In-Reply-To: <20101208155125.E6126@maildrop.int.zabbadoz.net> References: <20101208155125.E6126@maildrop.int.zabbadoz.net> Date: Wed, 8 Dec 2010 17:27:08 +0100 Message-ID: From: Redd Vinylene To: "Bjoern A. Zeeb" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: jail@freebsd.org, questions Subject: Re: FTPD not working properly on jail 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: Wed, 08 Dec 2010 16:27:10 -0000 On Wed, Dec 8, 2010 at 4:52 PM, Bjoern A. Zeeb < bzeeb-lists@lists.zabbadoz.net> wrote: > > a) have you tried without SSL? > b) have you tried ftpd from base? > > It pretty much smells like a bug in vsftpd. > > Out of curiosity - which version of freebsd is that? > > /bz > > Greetings! a) Good question. Just tested - without a doubt, yes it works perfectly without SSL. But we need SSL though. b) No, because as far as I know, it doesn't allow the kind of virtual setup vsftpd does. The FreeBSD version is 8.2-PRERELEASE. Thanks man. From owner-freebsd-jail@FreeBSD.ORG Wed Dec 8 16:28:07 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 184C810656AA; Wed, 8 Dec 2010 16:28:07 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id AF2378FC33; Wed, 8 Dec 2010 16:28:06 +0000 (UTC) Received: by qwj9 with SMTP id 9so1456877qwj.13 for ; Wed, 08 Dec 2010 08:28:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=K9BU1Ck0SGHz+1W2unEjWQgPzyPzCEDAoWE7/j47kcY=; b=kVFKNc1fAMBRKY/8FmFpKFekLSBU/Wkp4B32KWdhvjRDDSf2kCFNSgVKJI7qk7LXLt 5FkjDik5Hk/UOf6V5eZYh2ZHBJE4MiLiyXaP8YMGoVYwc9331DFvDb/fdxC0DvD0GGj8 C5eXt4JMG90Y1AbhzmoeyvAE9adSChzxnl7fs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=it/H3ZB4YvCdIvHMw3qJBPAr0+yNU5MsmgnxUrzYooT7/qhxil1PStuqbStq4r0ixC HP497wkIIQ9jxCD1sSsRxqheOw8MYjXja2wrepak4+JFFHqSbwGnOIwMJuqT/qqZztMm 5JvWZuSOQGzZVA4M4QDEUiMQzJSuxOJr+oTl8= MIME-Version: 1.0 Received: by 10.229.91.147 with SMTP id n19mr6965520qcm.145.1291825685148; Wed, 08 Dec 2010 08:28:05 -0800 (PST) Received: by 10.229.217.210 with HTTP; Wed, 8 Dec 2010 08:28:05 -0800 (PST) In-Reply-To: References: <20101208155125.E6126@maildrop.int.zabbadoz.net> Date: Wed, 8 Dec 2010 17:28:05 +0100 Message-ID: From: Redd Vinylene To: krad Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "Bjoern A. Zeeb" , questions , jail@freebsd.org Subject: Re: FTPD not working properly on jail 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: Wed, 08 Dec 2010 16:28:07 -0000 On Wed, Dec 8, 2010 at 5:24 PM, krad wrote: > > are you sure its not a passive/active ftp issue? > Yep, not this time :-) Thanks From owner-freebsd-jail@FreeBSD.ORG Wed Dec 8 16:35:07 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0487106564A; Wed, 8 Dec 2010 16:35:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id 59B2F8FC0A; Wed, 8 Dec 2010 16:35:07 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id B6B9441C74D; Wed, 8 Dec 2010 17:35:06 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id mLwvjhj186VD; Wed, 8 Dec 2010 17:35:06 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id DC5D641C751; Wed, 8 Dec 2010 17:35:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 367DC4448F3; Wed, 8 Dec 2010 16:31:36 +0000 (UTC) Date: Wed, 8 Dec 2010 16:31:36 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Redd Vinylene In-Reply-To: Message-ID: <20101208163047.S6126@maildrop.int.zabbadoz.net> References: <20101208155125.E6126@maildrop.int.zabbadoz.net> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: jail@freebsd.org, questions Subject: Re: FTPD not working properly on jail 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: Wed, 08 Dec 2010 16:35:07 -0000 On Wed, 8 Dec 2010, Redd Vinylene wrote: > On Wed, Dec 8, 2010 at 4:52 PM, Bjoern A. Zeeb < > bzeeb-lists@lists.zabbadoz.net> wrote: > >> >> a) have you tried without SSL? >> b) have you tried ftpd from base? >> >> It pretty much smells like a bug in vsftpd. >> >> Out of curiosity - which version of freebsd is that? >> >> /bz >> >> > Greetings! > > a) Good question. Just tested - without a doubt, yes it works perfectly > without SSL. But we need SSL though. application or configuration issue unrelated to jails. -- Bjoern A. Zeeb Welcome a new stage of life. Going to jail sucks -- All my daemons like it! http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html From owner-freebsd-jail@FreeBSD.ORG Wed Dec 8 16:39:12 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 397F71065693; Wed, 8 Dec 2010 16:39:12 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id C4D228FC1F; Wed, 8 Dec 2010 16:39:11 +0000 (UTC) Received: by yxh35 with SMTP id 35so797766yxh.13 for ; Wed, 08 Dec 2010 08:39:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=q47M57OB1MlPgoLyHIKxhe6taxe4oikeEjyXEFBKVig=; b=jaBlz5g8jHPh35pQN87E2fMHvECY1Pe8fITQ8pPJq2O8GtVY+2l3jHLFEpRC2G0vx4 Q9kyUy4RlcglkONj3qpy8Uo0icrUZbg7bP6UEo4iUoC7q+qkh3sdQCIKxsltdit//JXu 01JkIUjuk8NBEYkuqp14fgETSQufog0QK2Nho= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=k5Kh5gMj/3M9NRaV/TeaBUSwQKM73IZaxuIOpG5LwFrqkPL9xSD7BRn3QRKhwmJB3h p4IQV0G3jR1LwOUyyPNj/Oq1nbDAjmO4zLC0oR1Nr+TGvnHSS/tbsG9EbdNEtfXXVSYj zigzGQKlGU3FcDyTHyKcTEn7aTACSnunWxQY8= MIME-Version: 1.0 Received: by 10.229.15.195 with SMTP id l3mr7120751qca.221.1291826350905; Wed, 08 Dec 2010 08:39:10 -0800 (PST) Received: by 10.229.217.210 with HTTP; Wed, 8 Dec 2010 08:39:10 -0800 (PST) In-Reply-To: <20101208163047.S6126@maildrop.int.zabbadoz.net> References: <20101208155125.E6126@maildrop.int.zabbadoz.net> <20101208163047.S6126@maildrop.int.zabbadoz.net> Date: Wed, 8 Dec 2010 17:39:10 +0100 Message-ID: From: Redd Vinylene To: "Bjoern A. Zeeb" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: jail@freebsd.org, questions Subject: Re: FTPD not working properly on jail 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: Wed, 08 Dec 2010 16:39:12 -0000 On Wed, Dec 8, 2010 at 5:31 PM, Bjoern A. Zeeb < bzeeb-lists@lists.zabbadoz.net> wrote: > application or configuration issue unrelated to jails. > > > Absolutely. Thanks for making me realize it though. Peace! From owner-freebsd-jail@FreeBSD.ORG Wed Dec 8 16:49:41 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5464110656B3; Wed, 8 Dec 2010 16:49:41 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id B303E8FC15; Wed, 8 Dec 2010 16:49:40 +0000 (UTC) Received: by wwf26 with SMTP id 26so1322567wwf.31 for ; Wed, 08 Dec 2010 08:49:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=Wjlz3T+xVkildPT3jmlSYYXAKObXbxbYAV/Yfoukrsk=; b=qzW+MWXaht3FWTrBbfdqFg7lU8lFpXbTFRwM5ORk4g/nUz32WZ5FcTtdrsEz4GeCIG yJzh10K1j5AEaScfvqXHsgIa5NBh+Jl4+eicnY4O9+XUxK4u7J9Jsq8lHWJGZWdUMI1X YXJSA5maxIaGMyC7Bl9RSO1ajgfz5Hcdaz6sM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=RqZLgS2iYpg60V547bciTrdOF2oCebLuKy2zF0PO4NSMulEntwGhan7mKcOJ2IlyB8 t2vhuKKLAkIYSSjktfK4/wyYAg3S/QE+6s7GdRVI7jfTeVLSE9aA4bq10F1SINsSVbF8 ugOMMgroVUXvlh+w1xMHjIYxj9tRstUZBLiGo= MIME-Version: 1.0 Received: by 10.216.179.149 with SMTP id h21mr833544wem.44.1291826979596; Wed, 08 Dec 2010 08:49:39 -0800 (PST) Received: by 10.216.72.198 with HTTP; Wed, 8 Dec 2010 08:49:39 -0800 (PST) In-Reply-To: References: <20101208155125.E6126@maildrop.int.zabbadoz.net> <20101208163047.S6126@maildrop.int.zabbadoz.net> Date: Wed, 8 Dec 2010 16:49:39 +0000 Message-ID: From: krad To: Redd Vinylene Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "Bjoern A. Zeeb" , questions , jail@freebsd.org Subject: Re: FTPD not working properly on jail 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: Wed, 08 Dec 2010 16:49:41 -0000 On 8 December 2010 16:39, Redd Vinylene wrote: > On Wed, Dec 8, 2010 at 5:31 PM, Bjoern A. Zeeb < > bzeeb-lists@lists.zabbadoz.net> wrote: > > > application or configuration issue unrelated to jails. > > > > > > > Absolutely. Thanks for making me realize it though. > > Peace! > _______________________________________________ > 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" > do you have a personal firewall or are natting at any point on your pc (not the ftp server), as if you do and are using active, the firewall ftp proxy wont be able to read the data stream in SSL mode as its encrypted, and hence setup the needed forwarding rules. WHy not try sftp? Probably more secure and a dam site easier to setup. From owner-freebsd-jail@FreeBSD.ORG Wed Dec 8 16:53:11 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BBF8106566C; Wed, 8 Dec 2010 16:53:11 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3429E8FC1B; Wed, 8 Dec 2010 16:53:10 +0000 (UTC) Received: by vws9 with SMTP id 9so1164846vws.13 for ; Wed, 08 Dec 2010 08:53:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=JUdsctRydmPdNlgvij9op1/7bAjrdHbi2Qu2i9HQhxs=; b=GPtbOsSRorCh/3BXXM4BxvWLCiOA+e3rgHzrQW9ROFQuTh6GWCW+iOSGeK8FJM/4NI +5d96ZdL+hra/uSGQu4VcwjJaZv+Py3s2bbqEW/qLvKdwWvGocIrAsDnWngtBeggKu1m 5D4ewG5vhZucFLgDv2nOnZfwq2nAy4EcsHyCg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ex/IQBf2P5lbaOTCzs9gW9LcuU1XYQp8LN9ZmQn/lVsAo4ZO8Yc4VF26I7gjfdP1YF 2HnrnYYwPH7LB+tNG2w5YQcVU7vpt4MY0w9wcsroNFNRoToTM7NDLhn+xWaOJ7ksz5fw Fpb1s8e1TUtmEy8L8FGWW0zgeoBDQcJLD5tLo= MIME-Version: 1.0 Received: by 10.229.220.144 with SMTP id hy16mr6969293qcb.259.1291827190347; Wed, 08 Dec 2010 08:53:10 -0800 (PST) Received: by 10.229.217.210 with HTTP; Wed, 8 Dec 2010 08:53:10 -0800 (PST) In-Reply-To: References: <20101208155125.E6126@maildrop.int.zabbadoz.net> <20101208163047.S6126@maildrop.int.zabbadoz.net> Date: Wed, 8 Dec 2010 17:53:10 +0100 Message-ID: From: Redd Vinylene To: krad Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "Bjoern A. Zeeb" , questions , jail@freebsd.org Subject: Re: FTPD not working properly on jail 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: Wed, 08 Dec 2010 16:53:11 -0000 On Wed, Dec 8, 2010 at 5:49 PM, krad wrote: > > do you have a personal firewall or are natting at any point on your pc (not > the ftp server), as if you do and are using active, the firewall ftp proxy > wont be able to read the data stream in SSL mode as its encrypted, and hence > setup the needed forwarding rules. > > WHy not try sftp? Probably more secure and a dam site easier to setup. > Nope, nothing like that. Thanks though. From owner-freebsd-jail@FreeBSD.ORG Wed Dec 8 16:55:06 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41A3E1065694 for ; Wed, 8 Dec 2010 16:55:06 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id C16798FC13 for ; Wed, 8 Dec 2010 16:55:05 +0000 (UTC) Received: by wyf19 with SMTP id 19so1383966wyf.13 for ; Wed, 08 Dec 2010 08:55:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=PJQjEYpRWJVV3hcth5OHIGkgfybMlj/ZSRZo/5A/WrQ=; b=Ntt1FHwB0pgX2NT4ff5GqMjRbrnRAVORT1Vg1aSdYA+xk6cArHHkdCUyhp25jElP/8 drf3d4N4G+RDMc+1a8jbtgZznc9n2qhpCYZ4vQhh++HguPG9X6xxG3ihqsM0P6BIvaD2 5i2Znu1KVmZeVFap+hauk8rEMYnFeX9tWuRYM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Qaa9Az1AlMFuBNr6OFG7+6slFF7jIoeNYiPrtO78D6X8hCHSDVGMJtWss62JCge5Ya iNAeZgrJy2+mo9fxeUosA+iXCsB3oud+rLyc/caroNXKlKHcRYWwJ9ArJ+1/+zu+3CYi GM28PJMBTo3WIBTMdptOnrZob7QBNF1CH88Jw= MIME-Version: 1.0 Received: by 10.216.0.140 with SMTP id 12mr720665web.29.1291825443526; Wed, 08 Dec 2010 08:24:03 -0800 (PST) Received: by 10.216.72.198 with HTTP; Wed, 8 Dec 2010 08:24:03 -0800 (PST) In-Reply-To: <20101208155125.E6126@maildrop.int.zabbadoz.net> References: <20101208155125.E6126@maildrop.int.zabbadoz.net> Date: Wed, 8 Dec 2010 16:24:03 +0000 Message-ID: From: krad To: "Bjoern A. Zeeb" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: jail@freebsd.org, questions Subject: Re: FTPD not working properly on jail 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: Wed, 08 Dec 2010 16:55:06 -0000 On 8 December 2010 15:52, Bjoern A. Zeeb wrote: > On Wed, 8 Dec 2010, Redd Vinylene wrote: > > Hello! >> >> I'm trying to set up a virtual vsftpd-ssl-2.3.2 server so my band can >> share >> new tracks, production material or what not, but I'm getting all kinds of >> strange errors: >> >> http://pastie.org/1358536 >> >> Anybody know why? The server runs on a jail. There are no firewalls on >> either the host or the jail. I've tried other ftpd's and gotten similar >> results so I don't think it's vsftpd there's something wrong with here. >> > > a) have you tried without SSL? > b) have you tried ftpd from base? > > It pretty much smells like a bug in vsftpd. > > Out of curiosity - which version of freebsd is that? > > /bz > > -- > Bjoern A. Zeeb Welcome a new stage of life. > Going to jail sucks -- All my daemons like it! > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html > _______________________________________________ > 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" > are you sure its not a passive/active ftp issue? From owner-freebsd-jail@FreeBSD.ORG Wed Dec 8 17:29:53 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E74141065673 for ; Wed, 8 Dec 2010 17:29:53 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ew0-f51.google.com (mail-ew0-f51.google.com [209.85.215.51]) by mx1.freebsd.org (Postfix) with ESMTP id 7BF428FC08 for ; Wed, 8 Dec 2010 17:29:53 +0000 (UTC) Received: by ewy19 with SMTP id 19so1105081ewy.10 for ; Wed, 08 Dec 2010 09:29:52 -0800 (PST) Received: by 10.213.32.80 with SMTP id b16mr9674495ebd.38.1291827561049; Wed, 08 Dec 2010 08:59:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.31.209 with HTTP; Wed, 8 Dec 2010 08:59:00 -0800 (PST) In-Reply-To: References: <20101208155125.E6126@maildrop.int.zabbadoz.net> <20101208163047.S6126@maildrop.int.zabbadoz.net> From: Chris Brennan Date: Wed, 8 Dec 2010 11:59:00 -0500 Message-ID: To: Redd Vinylene Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "Bjoern A. Zeeb" , questions , jail@freebsd.org, krad Subject: Re: FTPD not working properly on jail 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: Wed, 08 Dec 2010 17:29:54 -0000 > > On Wed, Dec 8, 2010 at 5:49 PM, krad wrote: > > > WHy not try sftp? Probably more secure and a dam site easier to setup. > I second this. SFTP is a ton easier, it's setup by default to work when SSH is setup/installed on any system. From owner-freebsd-jail@FreeBSD.ORG Wed Dec 8 20:13:49 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1580F106566C; Wed, 8 Dec 2010 20:13:49 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ey0-f178.google.com (mail-ey0-f178.google.com [209.85.215.178]) by mx1.freebsd.org (Postfix) with ESMTP id 4883F8FC08; Wed, 8 Dec 2010 20:13:47 +0000 (UTC) Received: by eyh5 with SMTP id 5so1063725eyh.37 for ; Wed, 08 Dec 2010 12:13:47 -0800 (PST) Received: by 10.213.32.80 with SMTP id b16mr9988415ebd.38.1291839226825; Wed, 08 Dec 2010 12:13:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.31.209 with HTTP; Wed, 8 Dec 2010 12:13:26 -0800 (PST) In-Reply-To: <1865384339-1291839108-cardhu_decombobulator_blackberry.rim.net-1153938124-@bda947.bisx.prod.on.blackberry> References: <20101208155125.E6126@maildrop.int.zabbadoz.net> <20101208163047.S6126@maildrop.int.zabbadoz.net> <1865384339-1291839108-cardhu_decombobulator_blackberry.rim.net-1153938124-@bda947.bisx.prod.on.blackberry> From: Chris Brennan Date: Wed, 8 Dec 2010 15:13:26 -0500 Message-ID: To: joseph.bashe@gmail.com Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: krad , jail@freebsd.org, questions , owner-freebsd-jail@freebsd.org, "Bjoern A. Zeeb" Subject: Re: FTPD not working properly on jail 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: Wed, 08 Dec 2010 20:13:49 -0000 On Wed, Dec 8, 2010 at 3:07 PM, Joseph Bashe wrote: > But he mentioned he needs some sort of 'virtual' (I'm assuming chroot) > feature; this is not possible with sftp afaik. > > With some clever mapping of $HOME into the chroot, why wouldn't that be possible? From owner-freebsd-jail@FreeBSD.ORG Wed Dec 8 20:38:06 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45CEC106564A; Wed, 8 Dec 2010 20:38:06 +0000 (UTC) (envelope-from joseph.bashe@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 9B9078FC0A; Wed, 8 Dec 2010 20:38:05 +0000 (UTC) Received: by wwf26 with SMTP id 26so1532857wwf.31 for ; Wed, 08 Dec 2010 12:38:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:x-rim-org-msg-ref-id :message-id:content-transfer-encoding:reply-to:x-priority:references :in-reply-to:sensitivity:importance:to:cc:subject:from:date :content-type:mime-version; bh=lYmvA8z4zpBA3QolR/an8QSSi7ewbbhdSF3bO/egwqw=; b=riaBRKBofuW/SnyGFg6ECS8JXTe/aYmZaW0mcL/r/FDhUgjzsFCJkOL3+erzEnVRFQ N4dxjmOmU8GtXqXskX4wB9dDZllShpL2FxkW+KOnKACiyrMIH57QQi268X1hPFaCbB5q eJ0nAARm4WjH3FUIgkpECJl/3bYEScxeWPb5o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-rim-org-msg-ref-id:message-id:content-transfer-encoding:reply-to :x-priority:references:in-reply-to:sensitivity:importance:to:cc :subject:from:date:content-type:mime-version; b=Q6pvH7uz4y8PmrTt8dKUuTU9N6n/TPtHnWCjuqQ8RrTSV8IIOCduxCTerlBcbK/HSG JfxeCPnCMogtXSgztO2wzW+5dLgKq0kyBzSQwiDEKPHN+5uyOYMxlk+oipOVSA0xXdaQ 79FG3tPCfHlwpVVeBZXDRdT2ifJBy67Ruxkgc= Received: by 10.227.138.132 with SMTP id a4mr9513046wbu.143.1291839113559; Wed, 08 Dec 2010 12:11:53 -0800 (PST) Received: from bda463.bisx.prod.on.blackberry (bda-67-223-89-143.bise.na.blackberry.com [67.223.89.143]) by mx.google.com with ESMTPS id n1sm478806weq.7.2010.12.08.12.11.50 (version=SSLv3 cipher=RC4-MD5); Wed, 08 Dec 2010 12:11:52 -0800 (PST) X-rim-org-msg-ref-id: 1865384339 Message-ID: <1865384339-1291839108-cardhu_decombobulator_blackberry.rim.net-1153938124-@bda947.bisx.prod.on.blackberry> Content-Transfer-Encoding: base64 X-Priority: Normal References: <20101208155125.E6126@maildrop.int.zabbadoz.net><20101208163047.S6126@maildrop.int.zabbadoz.net> In-Reply-To: Sensitivity: Normal Importance: Normal To: "Chris Brennan" , owner-freebsd-jail@freebsd.org, "Redd Vinylene" From: "Joseph Bashe" Date: Wed, 8 Dec 2010 20:07:31 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Cc: "Bjoern A. Zeeb" , questions , krad , jail@freebsd.org Subject: Re: FTPD not working properly on jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: joseph.bashe@gmail.com List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Dec 2010 20:38:06 -0000 QnV0IGhlIG1lbnRpb25lZCBoZSBuZWVkcyBzb21lIHNvcnQgb2YgJ3ZpcnR1YWwnIChJJ20gYXNz dW1pbmcgY2hyb290KSBmZWF0dXJlOyB0aGlzIGlzIG5vdCBwb3NzaWJsZSB3aXRoIHNmdHAgYWZh aWsuDQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogQ2hyaXMgQnJlbm5hbiA8eGFl cm9AeGFlcm9saW1pdC5uZXQ+DQpTZW5kZXI6IG93bmVyLWZyZWVic2QtamFpbEBmcmVlYnNkLm9y Zw0KRGF0ZTogV2VkLCA4IERlYyAyMDEwIDExOjU5OjAwIA0KVG86IFJlZGQgVmlueWxlbmU8cmVk ZHZpbnlsZW5lQGdtYWlsLmNvbT4NCkNjOiBCam9lcm4gQS4gWmVlYjxiemVlYi1saXN0c0BsaXN0 cy56YWJiYWRvei5uZXQ+OyBxdWVzdGlvbnM8cXVlc3Rpb25zQGZyZWVic2Qub3JnPjsgPGphaWxA ZnJlZWJzZC5vcmc+OyBrcmFkPGtyYWR1a0BnbWFpbC5jb20+DQpTdWJqZWN0OiBSZTogRlRQRCBu b3Qgd29ya2luZyBwcm9wZXJseSBvbiBqYWlsDQoNCj4NCj4gT24gV2VkLCBEZWMgOCwgMjAxMCBh dCA1OjQ5IFBNLCBrcmFkIDxrcmFkdWtAZ21haWwuY29tPiB3cm90ZToNCj4NCj4gPiBXSHkgbm90 IHRyeSBzZnRwPyBQcm9iYWJseSBtb3JlIHNlY3VyZSBhbmQgYSBkYW0gc2l0ZSBlYXNpZXIgdG8g c2V0dXAuDQo+DQoNCkkgc2Vjb25kIHRoaXMuIFNGVFAgaXMgYSB0b24gZWFzaWVyLCBpdCdzIHNl dHVwIGJ5IGRlZmF1bHQgdG8gd29yayB3aGVuIFNTSA0KaXMgc2V0dXAvaW5zdGFsbGVkIG9uIGFu eSBzeXN0ZW0uDQpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f Xw0KZnJlZWJzZC1qYWlsQGZyZWVic2Qub3JnIG1haWxpbmcgbGlzdA0KaHR0cDovL2xpc3RzLmZy ZWVic2Qub3JnL21haWxtYW4vbGlzdGluZm8vZnJlZWJzZC1qYWlsDQpUbyB1bnN1YnNjcmliZSwg c2VuZCBhbnkgbWFpbCB0byAiZnJlZWJzZC1qYWlsLXVuc3Vic2NyaWJlQGZyZWVic2Qub3JnIg0K Lg0= From owner-freebsd-jail@FreeBSD.ORG Wed Dec 8 22:24:29 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0EDC1065695; Wed, 8 Dec 2010 22:24:29 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id D19D48FC19; Wed, 8 Dec 2010 22:24:28 +0000 (UTC) Received: by wyf19 with SMTP id 19so1690200wyf.13 for ; Wed, 08 Dec 2010 14:24:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=Drmt2hRI/wcchgHlhz+xDnv70PogLcugFraOK+OtBok=; b=Ig4q+P9sQ6l+tjbmQwUpmhfdHAtgTGN5q7TISFb8SrjwAfMmYXpW4JIjN1oU+vWgOX RbhaHWElQTEhd+sTXgvEbMfb5Sf0bhJKBFhUeRb4Ozs0uvjCD1crXoWfIcdeRQmpiEBp uL6duD9sFzifjCOVp96tcAyFT+yajg2EvNX08= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=dY6vX1+5Yt6LHZwNbcxigKJ7DTKfdTTS4Wx6atUVGJPmNzrkTSBQLS3C6IvHshH/+U koLQYt4GSu6EJflFMzzExRQSv9Qb96hMkk/1myQqxYTJ3qgk+3r+xVtqg98M3lntf1CH 4Lxr/qIixLYjuDe1dGzcVE61DcjgJ9UfA8qlE= MIME-Version: 1.0 Received: by 10.216.52.143 with SMTP id e15mr2428603wec.44.1291847067671; Wed, 08 Dec 2010 14:24:27 -0800 (PST) Received: by 10.216.72.198 with HTTP; Wed, 8 Dec 2010 14:24:27 -0800 (PST) In-Reply-To: <1865384339-1291839108-cardhu_decombobulator_blackberry.rim.net-1153938124-@bda947.bisx.prod.on.blackberry> References: <20101208155125.E6126@maildrop.int.zabbadoz.net> <20101208163047.S6126@maildrop.int.zabbadoz.net> <1865384339-1291839108-cardhu_decombobulator_blackberry.rim.net-1153938124-@bda947.bisx.prod.on.blackberry> Date: Wed, 8 Dec 2010 22:24:27 +0000 Message-ID: From: krad To: joseph.bashe@gmail.com Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Chris Brennan , jail@freebsd.org, questions , owner-freebsd-jail@freebsd.org, "Bjoern A. Zeeb" Subject: Re: FTPD not working properly on jail 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: Wed, 08 Dec 2010 22:24:29 -0000 On 8 December 2010 20:07, Joseph Bashe wrote: > But he mentioned he needs some sort of 'virtual' (I'm assuming chroot) > feature; this is not possible with sftp afaik. > . > Its totally possble to chroot the sftp, and I have done it several times. Something like the below will isolate each user Match Group sftponly ChrootDirectory /home/chroot/%u X11Forwarding no AllowTcpForwarding no ForceCommand internal-sftp he might need something more like this so they can share data Match Group sftponly ChrootDirectory /home/chroot/ X11Forwarding no AllowTcpForwarding no ForceCommand internal-sftp From owner-freebsd-jail@FreeBSD.ORG Sat Dec 11 13:18:08 2010 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 8C9AC106564A for ; Sat, 11 Dec 2010 13:18:08 +0000 (UTC) (envelope-from christias@gmail.com) Received: from mail-iw0-f178.google.com (mail-iw0-f178.google.com [209.85.214.178]) by mx1.freebsd.org (Postfix) with ESMTP id 534708FC13 for ; Sat, 11 Dec 2010 13:18:08 +0000 (UTC) Received: by iwn1 with SMTP id 1so7325895iwn.9 for ; Sat, 11 Dec 2010 05:18:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=UDEhFJcmD9WsEh7jIv5gtTllUuhwsGJx7qFrOwG7Qmg=; b=NdcEwL+YpJURRUvXVkHxAsMmadqmwfYEFM6HnOKPGKGaH857Du7SjkiyqqVXcwyAaV 4SIKMjsikTdKPqOjkGtBQOeacEj6384hoH2ld6XTka8sMG0FLew0lxiCkk3lAMAby0hA v/ugd5XmrSYo1pLSLFcSsG35qdHXuajiVrqtw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=alOmu959an6jUbzX2cCbQlAUFEsgfSl5JWRYIm0LOOIPNC/zFCS3nLXQjht6+pIdZX l8J70z0MENjaBn5LrH9Fbusg/+mE7X5kxHs4Nexv7w0Pv7BJ+EeRbO5BOldZGJ9Wb9KG /m6jD48FNi6QjX0MuBeSNpbgxcubCkxVXL1ow= MIME-Version: 1.0 Received: by 10.231.12.68 with SMTP id w4mr439868ibw.50.1292072112239; Sat, 11 Dec 2010 04:55:12 -0800 (PST) Received: by 10.231.11.197 with HTTP; Sat, 11 Dec 2010 04:55:12 -0800 (PST) In-Reply-To: References: Date: Sat, 11 Dec 2010 14:55:12 +0200 Message-ID: From: Panagiotis Christias To: Andrew Hotlab Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-jail@freebsd.org Subject: Re: Multiple Subnets/interfaces 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: Sat, 11 Dec 2010 13:18:08 -0000 On Fri, Nov 26, 2010 at 12:55 AM, Andrew Hotlab wrote: > >> From: danieljfaulknor@gmail.com >> Date: Wed, 24 Nov 2010 16:00:52 +1300 >> To: freebsd-jail@freebsd.org >> Subject: Multiple Subnets/interfaces >> >> Hi, >> >> I have a FreeBSD server with two interfaces, both on different physical = networks. I want to have some jails on each network. >> >> # This file now contains just the overrides from /etc/defaults/rc.conf. >> hostname=3D"fs1.akl1.generatornz.com" >> ifconfig_bce0=3D"inet 120.xxx.52.2/28" >> ifconfig_bce0_alias0=3D"inet 120.xxx.52.3/32" >> ifconfig_bce0_alias1=3D"inet 120.xxx.52.4/32" >> ifconfig_bce0_alias2=3D"inet 120.xxx.52.6/32" >> ifconfig_bce1=3D"inet 120.xxx.55.146/25" >> ifconfig_bce1_alias0=3D"inet 120.xxx.55.147/25" >> defaultrouter=3D"120.xxx.52.1" >> >> I have added this to my pf: >> >> pass out route-to ($ext_if 120.xxx.55.129) from 120.xxx.55.147 to ! 120.= xxx.55.128/23 >> > > This rule seems correct if you want to allow only the IP 120.xxx.55.147 t= o be reachable by hosts outside the subnet, > even if the CIDR notation you wrote at the end of the line seems wrong to= me. Shouldn't it be 120.xxx.55.128/25 ? > I think that it is a best practice to add the secondary IP address to the= bge1 interface with a /32 netmask. > >> I can ping 120.xxx.55.147, but i can't connect to any services that nets= tat is showing that is running: >> >> Active Internet connections (including servers) >> Proto Recv-Q Send-Q =A0Local Address =A0 =A0 =A0 =A0 =A0Foreign Address = =A0 =A0 =A0 (state) >> tcp4 =A0 =A0 =A0 0 =A0 =A0 =A00 ip-120-136-55-14.ssh =A0 *.* =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0LISTEN >> tcp4 =A0 =A0 =A0 0 =A0 =A0 =A00 ip-120-136-55-14.http =A0*.* =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0LISTEN >> tcp4 =A0 =A0 =A0 0 =A0 =A0 =A00 ip-120-136-55-14.9000 =A0*.* =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0LISTEN >> > > In the past I used such PF rules to enable several jails on the same host= in different subnets to reach interconnected > networks, but I have been using the multiple FIB feature since FreeBSD 7.= 2. =A0Now I'm running the RELENG_8_1 > and I'm still very satisfied by this method, which I feel more "solid" th= an the PF "hack". > > I don't remember exactly why, but in my last functioning ruleset I've jus= t noticed the "no state" command at the end > of each rule. =A0Hope this might help you. Same setup here, FreeBSD 7.3 server with multiple physical interfaces (plus vlan interfaces) connected on different networks. The hosting server has its primary IP address and default gateway on one of connected networks. Hosted jails on other than the primary network use the appropriate FIB in order to reach the default gateway of their connected network. Also, for every configured IP address on the server (jail or not) I use two ipfw rules like: 101 fwd X.Y.Z.1 icmp from X.Y.Z.10 to not X.Y.Z.0/24 102 fwd X.Y.Z.1 ip from X.Y.Z.10 to not X.Y.Z.0/24 via NIC1 where X.Y.Z.0/24 is the connected network, NIC1 is the physical interface or vlan interface, X.Y.Z.1 is the network's default gateway and X.Y.Z.10 is the configured IP address. These rules will ensure that replies from X.Y.Z.10 to remote hosts on networks that our server is directly connected on will go through the default gateway and not directly through server's connected interface causing asymmetric routing. I am not sure if security.jail.ip4_saddrsel would do the trick (see http://www.freebsd.org/releases/7.3R/relnotes-detailed.html) instead of the ipfw rules. ICMP replies are handled directly by the server's kernel and not by the jail subsytem. Regards, Panagiotis