1. 16 May, 2012 1 commit
  2. 09 May, 2012 1 commit
  3. 08 May, 2012 1 commit
  4. 03 May, 2012 1 commit
    • JP Abgrall's avatar
      BandwidthController: Fix double counting · 29e8de22
      JP Abgrall authored
      Only have qtaguid only count in the bw_INPUT/bw_OUTPUT chains
      and not in the costly_* subchains.
      We don't use --goto anymore.
      
      Change-Id: I2eded2e0fa12b46843d32e74406cfeda85f242d1
      29e8de22
  5. 30 Apr, 2012 1 commit
  6. 27 Apr, 2012 3 commits
  7. 26 Apr, 2012 2 commits
    • JP Abgrall's avatar
      bandwidthcontroller: hide iptables errors when they don't matter · ad729ac1
      JP Abgrall authored
      Some commands are run to be able to recover after failures.
      Those cleanup commands are generally allowed to fail.
      But the lower level system commands would log an error.
      Now that error is hidden if nobody will care about the result.
      A "#define LOG_NDEBUG 0" will show those failing commands.
      
      Removed leftover LOG_NDEBUG in CommandListener.
      
      Bug: 6377175
      Change-Id: I1205fb077f7d0496969bd2a0b5da42025bc5a8dc
      ad729ac1
    • JP Abgrall's avatar
      netd: NatController: don't setup iptables hooks in constructor. · e4c501c3
      JP Abgrall authored
      iptables top-level chain updates should happen within CommandListener()
      when it invokes the various modules' setupIptablesHooks().
      And remove the extra DROP rule.
      
      Change-Id: I33d2cfbd5444516f855ff85152c472352944cc77
      e4c501c3
  8. 25 Apr, 2012 1 commit
  9. 24 Apr, 2012 1 commit
  10. 23 Apr, 2012 1 commit
  11. 20 Apr, 2012 2 commits
    • Robert Greenwalt's avatar
      Store certain MDNS fields as quoted strings · 4833e47b
      Robert Greenwalt authored
      They sometimes contain spaces so a space-delimited response requires more care.
      
      bug: 6353048
      Change-Id: I84d5cc156bf4d9f1419b7202e9aa00ddb7209b2f
      4833e47b
    • JP Abgrall's avatar
      netd: Idletimer vs Nat vs Bandwidth controllers · 0031cead
      JP Abgrall authored
      * modified iptables users to work in controller specific custom chains.
       - each controller only works withing his own custom chains and not the
        top level ones (INPUT, OUTPUT, FORWARD, POSTROUTING,...)
       - CommandListener now invokes setupIptablesHooks() for each controller
         once. That is the only time they are allowed to access the top-level
         chains.
      
      * Added idletimer controller.
        From https://android-git.corp.google.com/g/#/c/180769/2
      
      
       - supported commands
         . ndc idletimer enable
         . ndc idletimer add <iface> <timeout>
         . ndc idletimer remove <iface> <timeout_used_during_add>
       There is a framework change elsewhere that receives netlink messages.
      Signed-off-by: default avatarAshish Sharma <ashishsharma@google.com>
      Signed-off-by: default avatarJP Abgrall <jpa@google.com>
      Change-Id: Ia57450c09166ce20f21d1e3b49047ef1e98f2a3d
      0031cead
  12. 19 Apr, 2012 1 commit
  13. 16 Apr, 2012 1 commit
  14. 12 Apr, 2012 2 commits
  15. 03 Apr, 2012 1 commit
  16. 21 Mar, 2012 7 commits
  17. 16 Mar, 2012 1 commit
  18. 12 Mar, 2012 1 commit
  19. 10 Mar, 2012 2 commits
  20. 09 Mar, 2012 9 commits