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

2019-11-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242201 Freddy DISSAUX changed: What|Removed |Added Status|New |Closed Resolution|---

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

2019-11-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242201 --- Comment #4 from Andrey V. Elsukov --- As I said before, this opcode is designed to match ip_v field of IPv4 header. It already works as expected. If you want to match IPv4 or IPv6 packets, you can use corresponding opcodes, they are "ip

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

2019-11-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242201 --- Comment #3 from Olivier Cochard --- 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

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

2019-11-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242201 --- Comment #2 from Freddy DISSAUX --- The flag is_ipv6 is set by: ... /* Identify IP packets and fill up variables. */ if (pktlen >= sizeof(struct ip6_hdr) && (eh == NULL || eh->ether_type == htons(ETHERTYPE_IP

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

2019-11-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242201 --- Comment #1 from Andrey V. Elsukov --- I think this opcode was designed to match the ip_v field of IPv4 packets. It was introduced much early than IPv6 support was added. -- You are receiving this mail because: You are the assignee for

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

2019-11-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242201 Olivier Cochard changed: What|Removed |Added Assignee|b...@freebsd.org|i...@freebsd.org