DragonFly commits List (threaded) for 2009-08
DragonFly BSD
DragonFly commits List (threaded) for 2009-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: PF - Must set FW_MBUF_REDISPATCH when translating input packets


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 23 Aug 2009 09:29:01 -0700 (PDT)

commit 95129b44e68f1ab17826107eec71602c4170014a
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]