git: PF - Must set FW_MBUF_REDISPATCH when translating input packets

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Aug 23 09:30:48 PDT 2009


commit 95129b44e68f1ab17826107eec71602c4170014a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Aug 23 03:19:02 2009 -0700

    PF - Must set FW_MBUF_REDISPATCH when translating input packets
    
    * If a TCP or UDP input packet is translated and happens to be
      destined to the local host, FW_MBUF_REDISPATCH must be set
      or it may end up on the wrong protocol stack and generate a
      (e.g.) TCP RST.
    
    * This fixes 'nat' rulesets, and probably others.

Summary of changes:
 sys/net/pf/pf.c |   22 ++++++++++++++++++----
 1 files changed, 18 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/95129b44e68f1ab17826107eec71602c4170014a


-- 
DragonFly BSD source repository





More information about the Commits mailing list