Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jun 2011 19:44:52 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/netinet/ipfw ip_fw2.c
Message-ID:  <201106011945.p51JjDWY057275@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ae          2011-06-01 19:44:52 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet/ipfw     ip_fw2.c 
  Log:
  SVN rev 222582 on 2011-06-01 19:44:52Z by ae
  
  O_FORWARD_IP is only action which depends from the result of lookup of
  dynamic rules. We are doing forwarding in the following cases:
   o For the simple ipfw fwd rule, e.g.
  
          fwd 10.0.0.1 ip from any to any out xmit em0
          fwd 127.0.0.1,3128 tcp from any to any 80 in recv em1
  
   o For the dynamic fwd rule, e.g.
  
          fwd 192.168.0.1 tcp from any to 10.0.0.3 3333 setup keep-state
  
          When this rule triggers it creates a dynamic rule, but this
          dynamic rule should forward packets only in forward direction.
  
   o And the last case that does not work before - simple fwd rule which
   triggers when some dynamic rule is already executed.
  
  PR:             kern/147720, kern/150798
  MFC after:      1 month
  
  Revision  Changes    Path
  1.55      +2 -1      src/sys/netinet/ipfw/ip_fw2.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106011945.p51JjDWY057275>