1. 29 3月, 2010 1 次提交
  2. 27 3月, 2010 2 次提交
  3. 25 3月, 2010 1 次提交
    • J
      netfilter: ip6table_raw: fix table priority · 9c138866
      Jozsef Kadlecsik 提交于
      The order of the IPv6 raw table is currently reversed, that makes impossible
      to use the NOTRACK target in IPv6: for example if someone enters
      
      ip6tables -t raw -A PREROUTING -p tcp --dport 80 -j NOTRACK
      
      and if we receive fragmented packets then the first fragment will be
      untracked and thus skip nf_ct_frag6_gather (and conntrack), while all
      subsequent fragments enter nf_ct_frag6_gather and reassembly will never
      successfully be finished.
      Singed-off-by: NJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
      Signed-off-by: NPatrick McHardy <kaber@trash.net>
      9c138866
  4. 20 3月, 2010 2 次提交
  5. 14 3月, 2010 1 次提交
  6. 09 3月, 2010 1 次提交
  7. 08 3月, 2010 1 次提交
  8. 06 3月, 2010 3 次提交
  9. 04 3月, 2010 4 次提交
  10. 03 3月, 2010 1 次提交
  11. 27 2月, 2010 1 次提交
  12. 26 2月, 2010 2 次提交
  13. 25 2月, 2010 5 次提交
  14. 23 2月, 2010 1 次提交
  15. 20 2月, 2010 2 次提交
    • E
      net: Fix sysctl restarts... · 88af182e
      Eric W. Biederman 提交于
      Yuck.  It turns out that when we restart sysctls we were restarting
      with the values already changed.  Which unfortunately meant that
      the second time through we thought there was no change and skipped
      all kinds of work, despite the fact that there was indeed a change.
      
      I have fixed this the simplest way possible by restoring the changed
      values when we restart the sysctl write.
      
      One of my coworkers spotted this bug when after disabling forwarding
      on an interface pings were still forwarded.
      Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      88af182e
    • P
      netfilter: nf_conntrack_reasm: properly handle packets fragmented into a single fragment · 9e2dcf72
      Patrick McHardy 提交于
      When an ICMPV6_PKT_TOOBIG message is received with a MTU below 1280,
      all further packets include a fragment header.
      
      Unlike regular defragmentation, conntrack also needs to "reassemble"
      those fragments in order to obtain a packet without the fragment
      header for connection tracking. Currently nf_conntrack_reasm checks
      whether a fragment has either IP6_MF set or an offset != 0, which
      makes it ignore those fragments.
      
      Remove the invalid check and make reassembly handle fragment queues
      containing only a single fragment.
      Reported-and-tested-by: NUlrich Weber <uweber@astaro.com>
      Signed-off-by: NPatrick McHardy <kaber@trash.net>
      9e2dcf72
  16. 19 2月, 2010 3 次提交
  17. 18 2月, 2010 1 次提交
  18. 17 2月, 2010 5 次提交
  19. 16 2月, 2010 3 次提交