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

            Bug ID: 253510
           Summary: ipfw sockarg not working for ipv6
           Product: Base System
           Version: 12.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: [email protected]
          Reporter: [email protected]

SO_USER_COOKIE based rules (sockarg) dont work for ipv6 packets.
its artificial limitation coming from early age of ipv6 but still present in
2021.
PLS fix it !

looks like its hardcoded in
/sys/netpfil/ipfw/ip_fw2.c

case O_SOCKARG: {
        struct inpcb *inp = args->inp;
        struct inpcbinfo *pi;

        if (is_ipv6) /* XXX can we remove this ? */
           break;


So, CAN WE REMOVE THIS ?
It was real pain porting my raw sockets app from linux in its ipv6 part

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to