kern/129036: [ipfw] 'ipfw fwd' does not change outgoing interface name

melifaro at FreeBSD.org melifaro at FreeBSD.org
Thu Jan 16 11:37:43 UTC 2014


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


More information about the freebsd-ipfw mailing list