Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 2019 09:39:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        ipfw@FreeBSD.org
Subject:   [Bug 242201] ipfw - option 'ipversion 6' not working
Message-ID:  <bug-242201-8303-gDIkhmqnKg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-242201-8303@https.bugs.freebsd.org/bugzilla/>
References:  <bug-242201-8303@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242201

--- Comment #3 from Olivier Cochard <olivier@freebsd.org> ---
Created attachment 209447
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D209447&action=
=3Dedit
Allow using 'ipver 6' as matching rule

Here is a prototype of a patch that fix this problem.
Not sure if I could use is_ipv6() outside an #ifdef INET6.

But with this applied, now using 'ipver 6' as matching rule is fixed:

[root@router]~# ipfw show
00100 4 336 allow ipver 4 proto icmp
00200 8 504 allow ipver 6 proto ipv6-icmp
65535 4 272 deny ip from any to any

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242201-8303-gDIkhmqnKg>