From owner-freebsd-ports@freebsd.org Sun Nov 8 23:18:57 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 544B3A2A2D6 for ; Sun, 8 Nov 2015 23:18:57 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (bird.sbone.de [46.4.1.90]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 113211220 for ; Sun, 8 Nov 2015 23:18:56 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) 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 878EB25D3871; Sun, 8 Nov 2015 23:18:47 +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 3CD9BC7705F; Sun, 8 Nov 2015 23:18:46 +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 pWQ7vltdbh_5; Sun, 8 Nov 2015 23:18:44 +0000 (UTC) Received: from [IPv6:fde9:577b:c1a9:4410:605c:84a2:1573:5e9e] (unknown [IPv6:fde9:577b:c1a9:4410:605c:84a2:1573:5e9e]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 3F7FBC76FE9; Sun, 8 Nov 2015 23:18:42 +0000 (UTC) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: Openssh on ipv6 only jail From: "Bjoern A. Zeeb" In-Reply-To: <563B0918.3000405@searchy.net> Date: Sun, 8 Nov 2015 23:18:23 +0000 Cc: freebsd-ports@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <563A762D.7030400@searchy.net> <5FCFBE44-B9A7-43D3-9434-05AD7EC94B93@lists.zabbadoz.net> <563B0918.3000405@searchy.net> To: Frank de Bot X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Nov 2015 23:18:57 -0000 > On 05 Nov 2015, at 07:45 , Frank de Bot wrote: >=20 > Bjoern A. Zeeb wrote: >>=20 >>> On 04 Nov 2015, at 21:18 , Frank de Bot (lists) = wrote: >>>=20 >>> Hi, >>>=20 >>> I've a jail setup with only ipv6. I want to use openssh as ssh = daemon. >>> When ssh to the jail, it ask for password, accepts it shows motd and >>> then everything freezes. I also get a shell line like = '[searchy@ipv6only >>> ~]$ '. The client isn't even able to use key sequences like ~. to >>> terminate. Only when sshd processes are killed on the server, the >>> connection is released, everything I tried to send over ssh, is now = in >>> my local terminal >>>=20 >>> I've found out that this behaviour isn't occuring when I set up the = jail >>> with ipv4 too. Even when openssh is only listening on ipv6, there is = no >>> problem. >>>=20 >>> My jail config is: >>>=20 >>> ipv6only { >>> host.hostname =3D "ipv6only"; >>> # ip4.addr =3D x.x.x.224; >>> ip6.addr =3D x:x:x:4::7; >>> path =3D "/opt/jails/ipv6only"; >>> } >>>=20 >>> what can cause it hang so badly when using only ipv6? there is no >>> difference between shells. >>=20 >>=20 >> ports might not be the best list. I have been running IPv6-only = jails for years and I have IPv6-only VMs. >>=20 >> Just to clarify, what version of FreeBSD base system, what version = of world for the jail, and which version of openssh do you have? >>=20 >> /bz >=20 > Because the sshd that comes with the base is working fine, I tought it > could be a problem with the port itself. Just to confirm, base sshd is fine, the ports sshd shows the problem? >=20 > The openssh version is: OpenSSH_7.1p1, OpenSSL 1.0.1p-freebsd 9 Jul = 2015 >=20 > The base system is build from source Revision 287954 Thanks.=