https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242201
Freddy DISSAUX changed:
What|Removed |Added
Status|New |Closed
Resolution|---
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
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
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
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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242201
Olivier Cochard changed:
What|Removed |Added
Assignee|b...@freebsd.org|i...@freebsd.org