From owner-freebsd-net@freebsd.org Sat Mar 21 04:35:10 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F35B227E411 for ; Sat, 21 Mar 2020 04:35:10 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48knqx6wwqz3Lv9 for ; Sat, 21 Mar 2020 04:35:09 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=XRmYmV2jbPRJQg+0DCh0bKBBc+WzqO8U1QacfgkU1vg=; b=B+6aZatvXzrADyrnS6PR8DSIYU c76lpfQ3PhmM82GvktAxDUdST2PIlqfs/EOBmK39VE0PYYRG1JgmL1CCvt4tk7i6yRxrC+FnO9u3B HwXMuX04VGBi42XDJOB8VsL9LE2OmfIRvpBsLNWQAFRKMsGz+SiRlOrcMLAsUNmlcSC4=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jFVqg-000DSH-2Y; Sat, 21 Mar 2020 11:35:02 +0700 Date: Sat, 21 Mar 2020 11:35:02 +0700 From: Victor Sudakov To: Jan Behrens Cc: freebsd-net@freebsd.org, "Bjoern A. Zeeb" Subject: Re: IPv6 in jails Message-ID: <20200321043502.GA51499@admin.sibptus.ru> References: <20200318151556.GA64871@admin.sibptus.ru> <2dd539ed-0ee3-079b-27b2-28126056c69a@quip.cz> <20200318155046.GD65497@admin.sibptus.ru> <4CA69535-0F6C-40FC-83CF-5000FD728C2D@lists.zabbadoz.net> <20200319184502.02545d3a849fd60fe63a717f@magnetkern.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+HP7ph2BbKc20aGI" Content-Disposition: inline In-Reply-To: <20200319184502.02545d3a849fd60fe63a717f@magnetkern.de> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48knqx6wwqz3Lv9 X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=B+6aZatv; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-8.46 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; URIBL_BLOCKED(0.00)[sibptus.ru.multi.uribl.com,tomsk.ru.multi.uribl.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; IP_SCORE(-3.36)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.93), country: US(-0.05)]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2020 04:35:11 -0000 --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Jan Behrens wrote: >=20 > > Can you then do a jexec test4 and run service sshd restart and see if i= t=20 > > starts working? >=20 > I experienced the same problem as discussed in this thread when I set > up IPv6 with my server. Strangely, when I rebooted the host system and > simply started the jails one after the other (with a freshly booted > host system), the problem didn't occur, but maybe that was just random. >=20 > A "service sshd restart" inside the jail always seemed to help, which > is why I also assumed there was some sort of race condition. But maybe > it is related to some addresses being in use yet when restarting a jail? Does this happen only with IPv6 jail addresses? --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --+HP7ph2BbKc20aGI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJedZl2AAoJEA2k8lmbXsY0RD0H/jZtJczcYT2/U6cPUJJNBzjY W+ZW8q73hk5w+8tzL8jZuSFVeIO18Mv7TQhJA6LYT7pIGJ4moGegYh16GHC09mzR Z94H55I8KxdTXTeuxu/waRWm2bhILq4ypPh0gi+OCYvmsTzF/pUM9LnP7Qm3DzuK nG8PZygMzlmx8xexioTbCGVNGougyytco1Qw8w6qhqIpgfXFzb1RPsSHGEV8vz12 T/tWvEILMNxO72iEErz/HlPHsvcZUkshqpk57kz5t/iLdl0AMRquXObxgxDB+UK/ VkF/X4yhjI2wRSuTHfIFl6FO/RUUzlAhEazsq7+V8NQerSvOiWWU0yhe/5Enc9o= =9QrI -----END PGP SIGNATURE----- --+HP7ph2BbKc20aGI--