1. 29 Nov, 2012 1 commit
  2. 07 Mar, 2012 1 commit
  3. 29 Feb, 2012 1 commit
  4. 18 Jan, 2012 1 commit
  5. 14 Dec, 2011 1 commit
    • JP Abgrall's avatar
      netd: fix argument interpretation bug · 9e5e0ce6
      JP Abgrall authored
      While working around the logwrap() issue, it was replaced with system()
      which could lead to various commands getting misinterpreted.
      
      We now use a system() equivalent that doesn't use "sh -c".
      
      Bug:5758556
      Change-Id: I2599b526ac34bcfca18d05261286d902d547efda
      9e5e0ce6
  6. 22 Nov, 2011 1 commit
  7. 04 Nov, 2011 1 commit
  8. 02 Nov, 2011 1 commit
    • Robert Greenwalt's avatar
      When un-natting try to do all we can · f7bf29c8
      Robert Greenwalt authored
      Regardless of errors we should try to do as much as possible.  Sometimes
      some steps may fail if interfaces are taken down before we can un-nat them.
      
      bug:5536516
      Change-Id: I9c9b0123198dba890565e0a6e4e15add16b369c2
      f7bf29c8
  9. 26 Oct, 2011 1 commit
    • Irfan Sheriff's avatar
      Use CCMP for WPA2 mode · 54b75b4e
      Irfan Sheriff authored
      TKIP+CCMP for WPA and the secure CCMP for WPA2
      
      Bug:5515097
      Change-Id: I877d1f4075c3df83149aca23b59c285d2fe093e1
      54b75b4e
  10. 07 Oct, 2011 1 commit
    • JP Abgrall's avatar
      netd: bandwidth: tethering global alert support · c6c67349
      JP Abgrall authored
      Now, when nat is enabled/disabled it will let the bandwidthcontroller
      know that it might need to add/remove the matching global alert into
      the tethering rules in the FORWARD chain of iptables.
      
      Bug: 5336638
      Change-Id: I1843f3f6601f371537f754a31db792e054b36a1d
      c6c67349
  11. 29 Sep, 2011 1 commit
  12. 27 Sep, 2011 1 commit
  13. 18 Sep, 2011 1 commit
    • JP Abgrall's avatar
      netd: BandwidthController: support reading out tethering stats · db7da58e
      JP Abgrall authored
      * Add
        ndc bandwidth gettetherstats <ifaceIn> <ifaceOut>
      which returns
        221  ifaceIn ifaceOut rx_bytes rx_packets tx_bytes tx_packets
      If the iface pair is not found it will fail.
      
      221 is the new response code for TetheringStatsResult.
      It gets the stats by looking at the iptables FORWARD chain's counters.
      
      * Fixed return handling after some of the responses.
        - no need for errorno
        - after ResponseCode >= 200, don't return another.
      
      * Correctly initialize the alert values on "bandwidth enable"
      
      Bug: 5244846,5230066
      Change-Id: I81c941441525fa4055ae270d5cad05e6c42b8f72
      db7da58e
  14. 14 Sep, 2011 2 commits
  15. 08 Sep, 2011 1 commit
  16. 03 Sep, 2011 1 commit
    • Irfan Sheriff's avatar
      Avoid setting prefix length for 0.0.0.0 address · ab374f42
      Irfan Sheriff authored
      The ioctl to set netmask fails when the interface address is 0.0.0.0.
      The kernel always keeps the netmask as 0 when the address is 0.0.0.0.
      Avoid making a call to prefix length when address is 0.0.0.0
      
      Bug: 5255172
      Change-Id: Id32f7823b2230fb9ac7cd45b0df1951f11338112
      ab374f42
  17. 12 Aug, 2011 1 commit
    • JP Abgrall's avatar
      netd: all: use system() instead of logwrap() for now. · 11b4e9b2
      JP Abgrall authored
      The logwrapper uses a blocking read() which does not always
      correctly detect when the child process at the other end is gone.
      This is a quick workaround for http://b/5144246
      
      
      A cleaner logwrapper parent() will follow.
      
      Add support for BandwidthController() to use either system() or
      logwrap(). It looks at "persist.bandwidth.uselogwrap" to be 0 or 1.
      
      Change-Id: I2d17732214f1a7fef6838eee05d827695b707ab0
      Signed-off-by: default avatarJP Abgrall <jpa@google.com>
      11b4e9b2
  18. 04 Aug, 2011 2 commits
  19. 03 Aug, 2011 1 commit
  20. 02 Aug, 2011 3 commits
  21. 01 Aug, 2011 2 commits
  22. 29 Jul, 2011 3 commits
  23. 28 Jul, 2011 1 commit
  24. 27 Jul, 2011 4 commits
  25. 26 Jul, 2011 3 commits
  26. 25 Jul, 2011 3 commits