[Bug 214419] ipfw coredump when try to add rule with table of IPv6 addresses

2016-11-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214419

--- Comment #6 from commit-h...@freebsd.org ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-ipfw@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscr...@freebsd.org"


[Bug 214419] ipfw coredump when try to add rule with table of IPv6 addresses

2016-11-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214419

Erokhin Konstantin  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|New |Closed

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-ipfw@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscr...@freebsd.org"


[Bug 214419] ipfw coredump when try to add rule with table of IPv6 addresses

2016-11-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214419

--- Comment #5 from Erokhin Konstantin  ---
(In reply to commit-hook from comment #4)
Tested on head/308673 problem fixed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-ipfw@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscr...@freebsd.org"


[Bug 214419] ipfw coredump when try to add rule with table of IPv6 addresses

2016-11-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214419

--- Comment #4 from commit-h...@freebsd.org ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-ipfw@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscr...@freebsd.org"


Re: [Bug 214419] ipfw coredump when try to add rule with table of IPv6 addresses

2016-11-14 Thread Ian Smith
On Mon, 14 Nov 2016 13:43:15 +, wo0x wrote:
 > Hi there,
 > 
 >I just subscribed to this list due to the subjected bug--and I am quite
 > happy to find this trouble has yet been noted by others:
 > 
 > # fwcmd=/sbin/ipfw
 > # ${fwcmd} -f table dnssrv flush
 > # ${fwcmd}table dnssrv create type addr
 > # ${fwcmd}table dnssrv add 2a02:e00:fffd:139::9
 > added: 2a02:e00:fffd:139::9/128 0
 > # ${fwcmd}table dnssrv add 2001:41D0:A:0028::1
 > added: 2001:41d0:a:28::1/128 0
 > # ${fwcmd}table dnssrv add 2001:4860:4860::8844
 > added: 2001:4860:4860::8844/128 0
 > # ${fwcmd} add 20020 allow ip6 from any to "table(dnssrv)" out via gif0
 > setup keep-state
 > Segmentation fault (core dumped)
 > # uname -v
 > FreeBSD 11.0-STABLE #0 r308635: Mon Nov 14 08:55:15 UTC 2016
 > r...@tunnel.example.vnet:/usr/obj/usr/src/sys/CUSTOM
 > 
 > When doing "ipfw list" all rules are with numbers lower to 20020 are listed
 > correctly. Then again SegFault is notified and processing of further rules
 > is interrupted, more precisely: The mandatory "65535 deny ip from any to
 > any" is also missing.

Since 'setup' only applies to TCP flows, I'm wondering if you may get a 
different result if you used 'allow tcp ...' instead of 'allow ip6 ...'?

cheers, Ian  (probably wildly guessing wrong ..)
___
freebsd-ipfw@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscr...@freebsd.org"


[Bug 214419] ipfw coredump when try to add rule with table of IPv6 addresses

2016-11-14 Thread wo0x
Hi there,

   I just subscribed to this list due to the subjected bug--and I am quite
happy to find this trouble has yet been noted by others:

# fwcmd=/sbin/ipfw
# ${fwcmd} -f table dnssrv flush
# ${fwcmd}table dnssrv create type addr
# ${fwcmd}table dnssrv add 2a02:e00:fffd:139::9
added: 2a02:e00:fffd:139::9/128 0
# ${fwcmd}table dnssrv add 2001:41D0:A:0028::1
added: 2001:41d0:a:28::1/128 0
# ${fwcmd}table dnssrv add 2001:4860:4860::8844
added: 2001:4860:4860::8844/128 0
# ${fwcmd} add 20020 allow ip6 from any to "table(dnssrv)" out via gif0
setup keep-state
Segmentation fault (core dumped)
# uname -v
FreeBSD 11.0-STABLE #0 r308635: Mon Nov 14 08:55:15 UTC 2016
r...@tunnel.example.vnet:/usr/obj/usr/src/sys/CUSTOM

When doing "ipfw list" all rules are with numbers lower to 20020 are listed
correctly. Then again SegFault is notified and processing of further rules
is interrupted, more precisely: The mandatory "65535 deny ip from any to
any" is also missing.

This is from within a VNET jail using a cloned "gif  interface. If
connection is relevant: The jails "external" interface has the same MAC
address like the host system. Involved is a netgraph utilizing ng_etf, that
filters ethertypes ipv4 (0x0800) and arp (0x0806) to the affected jails
ng_eiface.

If I can help with any input, please let me know. I am just lacking
knowledge to debug or analyze dumps.

Best"
Benjamin
___
freebsd-ipfw@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscr...@freebsd.org"


[Bug 214419] ipfw coredump when try to add rule with table of IPv6 addresses

2016-11-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214419

Erokhin Konstantin  changed:

   What|Removed |Added

Version|11.0-RELEASE|11.0-STABLE

--- Comment #2 from Erokhin Konstantin  ---
(In reply to Andrey V. Elsukov from comment #1)
Switched to r308635, GENERIC kernel. Same problem with coredump.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-ipfw@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscr...@freebsd.org"


[Bug 214419] ipfw coredump when try to add rule with table of IPv6 addresses

2016-11-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214419

Erokhin Konstantin  changed:

   What|Removed |Added

Version|11.0-STABLE |11.0-RELEASE

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-ipfw@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscr...@freebsd.org"


[Bug 214419] ipfw coredump when try to add rule with table of IPv6 addresses

2016-11-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214419

Mark Linimon  changed:

   What|Removed |Added

   Assignee|freebsd-b...@freebsd.org|freebsd-ipfw@FreeBSD.org
 CC|freebsd-am...@freebsd.org   |

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-ipfw@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscr...@freebsd.org"