1. 28 Sep, 2018 1 commit
    • Tan Hu's avatar
      netfilter: masquerade: don't flush all conntracks if only one address deleted on device · 097f95d3
      Tan Hu authored
      We configured iptables as below, which only allowed incoming data on
      established connections:
      
      iptables -t mangle -A PREROUTING -m state --state ESTABLISHED -j ACCEPT
      iptables -t mangle -P PREROUTING DROP
      
      When deleting a secondary address, current masquerade implements would
      flush all conntracks on this device. All the established connections on
      primary address also be deleted, then subsequent incoming data on the
      connections would be dropped wrongly because it was identified as NEW
      connection.
      
      So when an address was delete, it should only flush connections related
      with the address.
      Signed-off-by: default avatarTan Hu <tan.hu@zte.com.cn>
      Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
      097f95d3
  2. 21 Sep, 2018 1 commit
  3. 20 Sep, 2018 10 commits
  4. 17 Sep, 2018 13 commits
  5. 16 Sep, 2018 6 commits
  6. 14 Sep, 2018 4 commits
  7. 13 Sep, 2018 5 commits