Synopsis: [ipfw] 'ipfw fwd' does not change outgoing interface name Responsible-Changed-From-To: freebsd-ipfw->freebsd-net Responsible-Changed-By: melifaro Responsible-Changed-When: Thu Jan 16 11:31:08 UTC 2014 Responsible-Changed-Why: Reclassify.
This problem is not related to ipfw: ipfw(4) sets M_IP_NEXTHOP & adds PACKET_TAG_IPFORWARD on ingress and returns. ip_input() sees M_IP_NEXTHOP and passes packet to ip_forward() which performs routing decision and calls ip_output(). Finally, ip_ouput() calls PFIL hook with ifp determined by ip_forward() and checks M_IP_NEXTHOP _after_ that. http://www.freebsd.org/cgi/query-pr.cgi?pr=129036 _______________________________________________ freebsd-ipfw@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw To unsubscribe, send any mail to "freebsd-ipfw-unsubscr...@freebsd.org"