From owner-freebsd-net@freebsd.org Thu Mar 19 17:45: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 3DFE326846E for ; Thu, 19 Mar 2020 17:45:10 +0000 (UTC) (envelope-from jbe-mlist@magnetkern.de) Received: from sapphire.magnetkern.de (sapphire.magnetkern.de [185.228.139.199]) by mx1.freebsd.org (Postfix) with ESMTP id 48jvSP0JTZz3Ksx for ; Thu, 19 Mar 2020 17:45:08 +0000 (UTC) (envelope-from jbe-mlist@magnetkern.de) Received: from titanium (p5DD45C70.dip0.t-ipconnect.de [93.212.92.112]) by sapphire.magnetkern.de (Postfix) with ESMTPSA id 95F7363A; Thu, 19 Mar 2020 17:45:02 +0000 (UTC) Date: Thu, 19 Mar 2020 18:45:02 +0100 From: Jan Behrens To: freebsd-net@freebsd.org Cc: "Bjoern A. Zeeb" , "Victor Sudakov" Subject: Re: IPv6 in jails Message-Id: <20200319184502.02545d3a849fd60fe63a717f@magnetkern.de> In-Reply-To: <4CA69535-0F6C-40FC-83CF-5000FD728C2D@lists.zabbadoz.net> 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> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48jvSP0JTZz3Ksx X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of jbe-mlist@magnetkern.de designates 185.228.139.199 as permitted sender) smtp.mailfrom=jbe-mlist@magnetkern.de X-Spamd-Result: default: False [2.71 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[112.92.212.93.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MV_CASE(0.50)[]; DMARC_NA(0.00)[magnetkern.de]; NEURAL_SPAM_MEDIUM(0.88)[0.876,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.997,0]; IP_SCORE(0.54)[ipnet: 185.228.136.0/22(3.34), asn: 197540(-0.61), country: DE(-0.02)]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:197540, ipnet:185.228.136.0/22, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; 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: Thu, 19 Mar 2020 17:45:10 -0000 On Wed, 18 Mar 2020 16:51:32 +0000 "Bjoern A. Zeeb" wrote: > Can you then do a jexec test4 and run service sshd restart and see if it > starts working? 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. 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? Regards, Jan