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

--- Comment #6 from veg...@tuxpowered.net ---
pf_test6() is missing a check for M_SKIP_FIREWALL flags on mbuf, this flag is
present on packets sent via pf_send_tcp(), like SYN+ACK reply to client.

Following patch fixes the issue (line numbers will not match, I have a lot of
other patches on pf):

@@ -6068,6 +6211,9 @@ pf_test6(int dir, struct ifnet *ifp, struct mbuf **m0,
struct inpcb *inp)
        if (kif->pfik_flags & PFI_IFLAG_SKIP)
                return (PF_PASS);

+       if (m->m_flags & M_SKIP_FIREWALL)
+               return (PF_PASS);
+
        PF_RULES_RLOCK();

        /* We do IP header normalization and packet reassembly here */

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-pf@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "freebsd-pf-unsubscr...@freebsd.org"

Reply via email to