Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Nov 2015 23:18:23 +0000
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        Frank de Bot <lists@searchy.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Openssh on ipv6 only jail
Message-ID:  <FC6982A3-14F6-4919-B4F3-583EDFACC97D@lists.zabbadoz.net>
In-Reply-To: <563B0918.3000405@searchy.net>
References:  <563A762D.7030400@searchy.net> <5FCFBE44-B9A7-43D3-9434-05AD7EC94B93@lists.zabbadoz.net> <563B0918.3000405@searchy.net>

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

> On 05 Nov 2015, at 07:45 , Frank de Bot <lists@searchy.net> wrote:
>=20
> Bjoern A. Zeeb wrote:
>>=20
>>> On 04 Nov 2015, at 21:18 , Frank de Bot (lists) <lists@searchy.net> =
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FC6982A3-14F6-4919-B4F3-583EDFACC97D>