Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2017 14:34:52 +0300
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        Viktor Dukhovni <freebsd@dukhovni.org>, freebsd-net@freebsd.org
Subject:   Re: FreeBSD 11.1-RELEASE: Kernel panic in ipv6_output() via tcp6_usr_connect()
Message-ID:  <86dcc06d-b98c-cc1f-8726-8afb011871e3@yandex.ru>
In-Reply-To: <FCC0833F-AA88-4F27-9DA3-4FA1218C49DB@dukhovni.org>
References:  <FCC0833F-AA88-4F27-9DA3-4FA1218C49DB@dukhovni.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <bu7cher@yandex.ru>
To: Viktor Dukhovni <freebsd@dukhovni.org>, 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: <FCC0833F-AA88-4F27-9DA3-4FA1218C49DB@dukhovni.org>
In-Reply-To: <FCC0833F-AA88-4F27-9DA3-4FA1218C49DB@dukhovni.org>

--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<v=
alue optimized out>, ro=3D0xfffff80329e90530, flags=3D<value optimized ou=
t>,=20
>     im6o=3D<value optimized out>, ifpp=3D0x0, inp=3D<value optimized ou=
t>) 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86dcc06d-b98c-cc1f-8726-8afb011871e3>