Created attachment 176891 [details] steps, logs, backtrace Trying to add rule into ipfw with table of IPv6 addresses produces coredump. But if I add single rule for IPv6 address ipfw acts normal. Machine has IPv6 address on interface? but it does not matter. Without IPv6 on any interface I got the same coredump. How to reproduce: kldload ipfw ipfw table 1 create ipfw table 1 add 2a03:2480::/32 ipfw add allow ip6 from 'table(1)' to me6 keep-state Expected result: 00XXX allow ip6 from table(1) to me6 keep-state Actual result: Segmentation fault (core dumped)
It looks like your system isn't 11.0-STABLE. Do you have option VIMAGE in the kernel config? If so, it's probably the same problem that was described and fixed in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212649
(In reply to Andrey V. Elsukov from comment #1) Switched to r308635, GENERIC kernel. Same problem with coredump.
Created attachment 176990 [details] GDB output
A commit references this bug: Author: ae Date: Tue Nov 15 07:13:17 UTC 2016 New revision: 308673 URL: https://svnweb.freebsd.org/changeset/base/308673 Log: Add missing support of named lookup tables to the IPv6 code. PR: 214419 MFC after: 1 week Sponsored by: Yandex LLC Changes: head/sbin/ipfw/ipfw2.c head/sbin/ipfw/ipfw2.h head/sbin/ipfw/ipv6.c
(In reply to commit-hook from comment #4) Tested on head/308673 problem fixed.
A commit references this bug: Author: ae Date: Tue Nov 22 10:09:04 UTC 2016 New revision: 308970 URL: https://svnweb.freebsd.org/changeset/base/308970 Log: MFC r308673: Add missing support of named lookup tables to the IPv6 code. PR: 214419 Changes: _U stable/11/ stable/11/sbin/ipfw/ipfw2.c stable/11/sbin/ipfw/ipfw2.h stable/11/sbin/ipfw/ipv6.c