FreeBSD 11.1-RELEASE: Kernel panic in ipv6_output() via tcp6_usr_connect()

Andrey V. Elsukov bu7cher at yandex.ru
Tue Oct 31 11:35:48 UTC 2017


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.
> 
> 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:
> 
> 	$ nc 2a01:5b40:0:2201::1 25
> 
> since hardware checksums don't seem to play along with ipfw and NAT.
> The scans run on the machine itself, not an internal node.
> 
> #9  0xffffffff80c82b84 in ip6_output (m0=0xfffff80049f8e000, opt=<value optimized out>, ro=0xfffff80329e90530, flags=<value optimized out>, 
>     im6o=<value optimized out>, ifpp=0x0, inp=<value optimized out>) 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

-- 
WBR, Andrey V. Elsukov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20171031/02940778/attachment.sig>


More information about the freebsd-net mailing list