1. 26 11月, 2008 1 次提交
  2. 25 11月, 2008 1 次提交
  3. 08 10月, 2008 1 次提交
  4. 01 10月, 2008 1 次提交
  5. 14 4月, 2008 1 次提交
  6. 29 1月, 2008 8 次提交
  7. 16 10月, 2007 2 次提交
  8. 26 4月, 2007 1 次提交
  9. 11 2月, 2007 1 次提交
  10. 05 1月, 2007 1 次提交
  11. 03 12月, 2006 4 次提交
  12. 04 10月, 2006 1 次提交
  13. 29 9月, 2006 1 次提交
  14. 23 9月, 2006 1 次提交
  15. 10 4月, 2006 2 次提交
  16. 29 3月, 2006 1 次提交
  17. 15 2月, 2006 1 次提交
    • P
      [NETFILTER]: Fix xfrm lookup after SNAT · ee68cea2
      Patrick McHardy 提交于
      To find out if a packet needs to be handled by IPsec after SNAT, packets
      are currently rerouted in POST_ROUTING and a new xfrm lookup is done. This
      breaks SNAT of non-unicast packets to non-local addresses because the
      packet is routed as incoming packet and no neighbour entry is bound to the
      dst_entry. In general, it seems to be a bad idea to replace the dst_entry
      after the packet was already sent to the output routine because its state
      might not match what's expected.
      
      This patch changes the xfrm lookup in POST_ROUTING to re-use the original
      dst_entry without routing the packet again. This means no policy routing
      can be used for transport mode transforms (which keep the original route)
      when packets are SNATed to match the policy, but it looks like the best
      we can do for now.
      Signed-off-by: NPatrick McHardy <kaber@trash.net>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ee68cea2
  18. 11 1月, 2006 1 次提交
  19. 08 1月, 2006 2 次提交
  20. 30 8月, 2005 2 次提交