1. 22 Nov, 2013 1 commit
  2. 20 Nov, 2013 10 commits
  3. 08 Oct, 2013 1 commit
  4. 24 Sep, 2013 1 commit
  5. 16 Sep, 2013 1 commit
  6. 12 Sep, 2013 1 commit
    • Lorenzo Colitti's avatar
      Don't log "Unexpected netlink message" on NDUSEROPT · a95f8a34
      Lorenzo Colitti authored
      When opening the netlink socket, NetlinkManager specifies it's
      interested in ND_USEROPT messages, but we since we don't have
      code to parse them yet, we end up logging an error message for
      packets that contain them. Get rid of the logspam by not asking
      the kernel to receive them.
      
      Bug: 10718651
      Change-Id: Ib1b7748448a983cfa7bb7725e48e238d85152ea2
      a95f8a34
  7. 11 Sep, 2013 1 commit
    • Jeff Sharkey's avatar
      Missing tethering stats isn't an error. · 991693e0
      Jeff Sharkey authored
      When a device first boots, there won't be any tethering stats, which
      isn't an error.  Continue checking for partial results.
      
      Bug: 5868832
      Change-Id: Ic432f5f159320da9886d85c2525fa2cde8c67750
      991693e0
  8. 02 Sep, 2013 1 commit
    • Lorenzo Colitti's avatar
      Unbreak interface add/delete notifications. · 4da12db2
      Lorenzo Colitti authored
      The change to enable address tracking via netlink incorrectly
      changed the subsystem of rtnetlink events from "net" to
      "interface". This broke interface add/delete notifications,
      which come from the kernel with subsystem "net".
      
      Switch back to "net" and deal with address tracking via new
      action codes instead of a new subsystem.
      
      Bug: 10433320
      Change-Id: I59a50e9c7cb49f46e680c7d84ac8e196a861ca4b
      4da12db2
  9. 26 Aug, 2013 1 commit
    • JP Abgrall's avatar
      BandwidthController: fix bad flushing for bw_costly_* tables. · 0e540ec0
      JP Abgrall authored
      Some of the bw_costly_<iface> rules would not get correctly flushed and
      cleared on netd re-start, which would cause a failure when trying to
      setup the bw_penalty_box as bw_costly_<iface> would reference it.
      The resulting symptom would be that bandwidth could not be re-enabled.
      
      Bug: 10183445
      Change-Id: I79a8a73ae52e18b3bff8a58e47ac1aea2454ae63
      0e540ec0
  10. 09 Aug, 2013 1 commit
    • Lorenzo Colitti's avatar
      Make netd track and notify IP address changes. · 9b3cd763
      Lorenzo Colitti authored
      Subscribe netd's netlink socket to listen to IPv4 and IPv6
      address changes (and ND opts, which we'll need for IPv6 DNS
      later), and make NetlinkHandler notify the system of address
      changes.
      
      Bug: 10232006
      Change-Id: Ib9dfd58635dce389980d8ee9529a17661a02320a
      9b3cd763
  11. 01 Aug, 2013 2 commits
  12. 31 Jul, 2013 1 commit
  13. 23 Jul, 2013 1 commit
  14. 22 Jul, 2013 1 commit
  15. 18 Jul, 2013 4 commits
  16. 12 Jul, 2013 1 commit
  17. 11 Jul, 2013 6 commits
  18. 03 Jul, 2013 4 commits
    • JP Abgrall's avatar
      BandwidthController: prefix chains with bw_ · 7e51cde1
      JP Abgrall authored
      Just a cleanup.
      
      Change-Id: Ic5afd7bd194fdcad604d533ba95e4c23b10b3e24
      7e51cde1
    • JP Abgrall's avatar
      BandwidthController: allow UID 0 as a "special uid" · af476f7b
      JP Abgrall authored
      The happy box needs to be able to let UID 0 (dhcp, ...) pass through.
      
      Bug: 6212480
      Change-Id: I9867b7db4e5ad71cfb1170659d2d6a14ca9590be
      af476f7b
    • JP Abgrall's avatar
      BandwidthController: add support for "nice apps" and the "happy box" · e4788739
      JP Abgrall authored
      * ndc bandwidth happybox (enable | disable)
       - enable
        . creates a an empty happy_box chain which rejects all traffic from all UIDs by default.
        . Uses the penalty_box as a hook. Any costly_interface automatically  gets the happy_box as it has a penalty_box.
        . any app UID not in the happy_box will be treated as if it was in the penalty_box (i.e. addnaughtyapps)
        . penalty_box (addnaughtyapps) still applies.
       - disable
        . removes the happy box.
      * ndc bandwidth addniceapps <appUid> ...
       - similar to addnaughtyapps, but for the happy_box
      * ndc bandwidth removeniceapps <appUid> ...
       - similar to removenaughtyapps, but for the happy_box
      
      Bug: 6212480
      Change-Id: I1f10e8c6fa1b230c7b3bb070d88508e437589705
      e4788739
    • JP Abgrall's avatar
      BandwidthController: switch to generic handling for naughty apps. · a9ba4cba
      JP Abgrall authored
      Rename some stuff in preparation for nice apps and the "happy box".
      
      Bug: 6212480
      Change-Id: I637c4283695ac619533999beab4f88968580d2e4
      a9ba4cba
  19. 29 Jun, 2013 1 commit
    • JP Abgrall's avatar
      BandwidthController: reject with port-unreachable to prevent TCP retries. · 340d5ccf
      JP Abgrall authored
      Currently the bandwidth controller will cut off traffic via an ICMP
      destination unreachable message with code "administratively prohibited".
      TCP's RFC1122 does not explicitly say what to do with it, but it does say
      to abort the transmission when "port-unreachable" is seen.
      
      Some servers keep on retrying with the "prohibited" ICMP message which
      keeps the radio longer awake as more packets come in.
      
      Bug: 9150002
      Change-Id: I6eb1c3ae41c3890f26581a4b7464821b7ffb85f4
      340d5ccf