From owner-freebsd-net@freebsd.org Tue Oct 31 11:35:48 2017 Return-Path: Delivered-To: freebsd-net@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 BDA73E562B9 for ; Tue, 31 Oct 2017 11:35:48 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [5.45.198.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5BA0F7075A for ; Tue, 31 Oct 2017 11:35:47 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback4j.mail.yandex.net (mxback4j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10d]) by forward105j.mail.yandex.net (Yandex) with ESMTP id 6AF161824B8; Tue, 31 Oct 2017 14:35:39 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback4j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id D1oAtKrf4i-ZdtmPRtu; Tue, 31 Oct 2017 14:35:39 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1509449739; bh=Pd+JrUFmu27AMHADYDaQhD5sj20uUQbw1GFZKAOKVVQ=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=tv2fjxvq+Qr6YLD6AiM/2am52AyEtCi9Aui+wKYDPk7tG7t17pEEYNc82Ev0rkubX ebaPwUSMnwlqpgTKyHwx9hgx9axSeMj4x01YgymNsYztFwW6hmMJM2A+rxptKfjKLK PBpRz5wBbcqH++JQOfZw1SaaqF1cOXNld7SGifqA= Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ghwCbrnNo2-ZckqNK1G; Tue, 31 Oct 2017 14:35:38 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1509449738; bh=Pd+JrUFmu27AMHADYDaQhD5sj20uUQbw1GFZKAOKVVQ=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=fQcv12qfNSgtvLqGeWa3C5ujU817cx07uXHY922NGG/vfpOWC07SRgwSRh7pUySwi idPsVJ47OtsT6A1BUo83pK6bg5ihsqN4yuIpp5xzcrYIoBvPh5cCaa78m0XrHi+7Z7 gm1hKcGX28y0zsvcnYK07S1FQ69V051HQZYZgabE= Authentication-Results: smtp1j.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: FreeBSD 11.1-RELEASE: Kernel panic in ipv6_output() via tcp6_usr_connect() To: Viktor Dukhovni , freebsd-net@freebsd.org References: From: "Andrey V. Elsukov" Openpgp: id=E6591E1B41DA1516F0C9BC0001C5EA0410C8A17A Message-ID: <86dcc06d-b98c-cc1f-8726-8afb011871e3@yandex.ru> Date: Tue, 31 Oct 2017 14:34:52 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="dQMN28HhVb6hB6H9jq05S5LFF3m4Vsjk8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2017 11:35:48 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --dQMN28HhVb6hB6H9jq05S5LFF3m4Vsjk8 Content-Type: multipart/mixed; boundary="FM2kQ5bHGKun2WU6WOuJUwbcFBUCi3B4T"; protected-headers="v1" From: "Andrey V. Elsukov" To: Viktor Dukhovni , freebsd-net@freebsd.org Message-ID: <86dcc06d-b98c-cc1f-8726-8afb011871e3@yandex.ru> Subject: Re: FreeBSD 11.1-RELEASE: Kernel panic in ipv6_output() via tcp6_usr_connect() References: In-Reply-To: --FM2kQ5bHGKun2WU6WOuJUwbcFBUCi3B4T Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 31.10.2017 02:57, Viktor Dukhovni wrote: > I am using FreeBSD 11.1 as the O/S for my DANE/SMTP adoption scanner. > The system has an IPv4 static IPv4 and also a corresponding 6to4 > address on stf0. >=20 > The system is stable when I run IPv4-only scans, but crashes quickly > as soon as I start a bulk scan that also connects to the IPv6 addresses= > of remote SMTP servers. Indeed after getting the destination address > of the connection that caused the panic (see below) I can now reproduce= > the problem at will with just: >=20 > $ nc 2a01:5b40:0:2201::1 25 >=20 > since hardware checksums don't seem to play along with ipfw and NAT. > The scans run on the machine itself, not an internal node. >=20 > #9 0xffffffff80c82b84 in ip6_output (m0=3D0xfffff80049f8e000, opt=3D, ro=3D0xfffff80329e90530, flags=3D,=20 > im6o=3D, ifpp=3D0x0, inp=3D) at /usr/src/sys/netinet6 Hi, can you show your nat rules? Also what will show following commands in kgdb: f 9 i lo p *ifp p *ro p *m --=20 WBR, Andrey V. Elsukov --FM2kQ5bHGKun2WU6WOuJUwbcFBUCi3B4T-- --dQMN28HhVb6hB6H9jq05S5LFF3m4Vsjk8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAln4X90ACgkQAcXqBBDI oXqE5QgAgkhHicUmaP7HZI8eviOLd/iKpztgykcXQ8VJSw/QDRAhxDP4eEdSM2uo wr0qUGkJg2YWwi5cWeqBwes1N9Hqa7+TEJ20Jw3eq8zVfu0OwA/WmNK0q19AFjrt Sl2TeuAX785EZ6hYk8/9GziPJ80RyAVhrnUeZdOsnpToD+6PXwdeE4+ejIW7Bis3 HLPL0FUte1biCUDtxDvkghh7qSv6N1+vfRxsAdj78o57RvObMEbvqKU0n2nUvyzg YADEHDIPEmlkUjPFmicUIrFThuIIdCFRssiCZgXyU99TqQKc9WvPTLU5ZdjbYgmz IsJodAxQoPmpbRNkk3S/zccA777PeA== =1wmH -----END PGP SIGNATURE----- --dQMN28HhVb6hB6H9jq05S5LFF3m4Vsjk8--