[Bug 242201] ipfw - option 'ipversion 6' not working

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 26 09:39:14 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242201

--- Comment #3 from Olivier Cochard <olivier at freebsd.org> ---
Created attachment 209447
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=209447&action=edit
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 at 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

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


More information about the freebsd-ipfw mailing list