1. 05 1月, 2013 2 次提交
  2. 27 12月, 2012 4 次提交
  3. 24 12月, 2012 1 次提交
    • P
      netfilter: xt_CT: recover NOTRACK target support · 10db9069
      Pablo Neira Ayuso 提交于
      Florian Westphal reported that the removal of the NOTRACK target
      (96550501 netfilter: remove xt_NOTRACK) is breaking some existing
      setups.
      
      That removal was scheduled for removal since long time ago as
      described in Documentation/feature-removal-schedule.txt
      
      What:  xt_NOTRACK
      Files: net/netfilter/xt_NOTRACK.c
      When:  April 2011
      Why:   Superseded by xt_CT
      
      Still, people may have not notice / may have decided to stick to an
      old iptables version. I agree with him in that some more conservative
      approach by spotting some printk to warn users for some time is less
      agressive.
      
      Current iptables 1.4.16.3 already contains the aliasing support
      that makes it point to the CT target, so upgrading would fix it.
      Still, the policy so far has been to avoid pushing our users to
      upgrade.
      
      As a solution, this patch recovers the NOTRACK target inside the CT
      target and it now spots a warning.
      Reported-by: NFlorian Westphal <fw@strlen.de>
      Signed-off-by: NPablo Neira Ayuso <pablo@netfilter.org>
      10db9069
  4. 17 12月, 2012 3 次提交
  5. 12 12月, 2012 1 次提交
  6. 11 12月, 2012 1 次提交
  7. 03 12月, 2012 5 次提交
  8. 25 11月, 2012 1 次提交
  9. 22 11月, 2012 2 次提交
  10. 20 11月, 2012 1 次提交
  11. 19 11月, 2012 3 次提交
  12. 10 11月, 2012 1 次提交
  13. 29 10月, 2012 1 次提交
  14. 22 10月, 2012 1 次提交
  15. 17 10月, 2012 1 次提交
  16. 15 10月, 2012 2 次提交
  17. 09 10月, 2012 2 次提交
    • A
      ipvs: initialize returned data in do_ip_vs_get_ctl · b61a602e
      Arnd Bergmann 提交于
      As reported by a gcc warning, the do_ip_vs_get_ctl does not initalize
      all the members of the ip_vs_timeout_user structure it returns if
      at least one of the TCP or UDP protocols is disabled for ipvs.
      
      This makes sure that the data is always initialized, before it is
      returned as a response to IPVS_CMD_GET_CONFIG or printed as a
      debug message in IPVS_CMD_SET_CONFIG.
      
      Without this patch, building ARM ixp4xx_defconfig results in:
      
      net/netfilter/ipvs/ip_vs_ctl.c: In function 'ip_vs_genl_set_cmd':
      net/netfilter/ipvs/ip_vs_ctl.c:2238:47: warning: 't.udp_timeout' may be used uninitialized in this function [-Wuninitialized]
      net/netfilter/ipvs/ip_vs_ctl.c:3322:28: note: 't.udp_timeout' was declared here
      net/netfilter/ipvs/ip_vs_ctl.c:2238:47: warning: 't.tcp_fin_timeout' may be used uninitialized in this function [-Wuninitialized]
      net/netfilter/ipvs/ip_vs_ctl.c:3322:28: note: 't.tcp_fin_timeout' was declared here
      net/netfilter/ipvs/ip_vs_ctl.c:2238:47: warning: 't.tcp_timeout' may be used uninitialized in this function [-Wuninitialized]
      net/netfilter/ipvs/ip_vs_ctl.c:3322:28: note: 't.tcp_timeout' was declared here
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NJulian Anastasov <ja@ssi.bg>
      Signed-off-by: NSimon Horman <horms@verge.net.au>
      b61a602e
    • J
      ipvs: fix ARP resolving for direct routing mode · ad4d3ef8
      Julian Anastasov 提交于
      After the change "Make neigh lookups directly in output packet path"
      (commit a263b309) IPVS can not reach the real server for DR mode
      because we resolve the destination address from IP header, not from
      route neighbour. Use the new FLOWI_FLAG_KNOWN_NH flag to request
      output routes with known nexthop, so that it has preference
      on resolving.
      Signed-off-by: NJulian Anastasov <ja@ssi.bg>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ad4d3ef8
  18. 28 9月, 2012 6 次提交
  19. 26 9月, 2012 1 次提交
  20. 24 9月, 2012 1 次提交