1. 21 Mar, 2013 1 commit
  2. 18 Mar, 2013 1 commit
  3. 16 Mar, 2013 1 commit
  4. 05 Mar, 2013 1 commit
  5. 23 Feb, 2013 1 commit
  6. 07 Feb, 2013 1 commit
    • Mattias Falk's avatar
      dns cache per interface iteration 2 · 2d4610ec
      Mattias Falk authored
      support for attach/detach a process (pid) to a
      dns cache.
      lookup associated dns cache based on the pid
      handle pid and interface argument for getaddrinfo
      and gethostbyaddress
      
      bug:5465296
      Change-Id: I4832c792d22aceabb0481c548003a1fd879c12e4
      2d4610ec
  7. 19 Jan, 2013 1 commit
  8. 15 Jan, 2013 1 commit
  9. 11 Jan, 2013 2 commits
    • Mattias Falk's avatar
      dns cache per interface iteration 2 · 1c0a243b
      Mattias Falk authored
      support for attach/detach a process (pid) to a
      dns cache.
      lookup associated dns cache based on the pid
      handle pid and interface argument for getaddrinfo
      and gethostbyaddress
      
      Change-Id: I325788973ad76beb1ada8f5fa6f52f9a94c08dd1
      bug:5465296
      1c0a243b
    • Sasha Levitskiy's avatar
      A rough cleanup of netd/softap · 25753d50
      Sasha Levitskiy authored
      
      - Added error code propagation
      - Added more elaborate error messages
      - Added stricter parameter checking in softap fwreload
      - Cleaned up class signatures
      - Removed a non-working default AP in setSoftap
      - Removed obsolete functions:
        - int addParam(int pos, const char *cmd, const char *arg);
        - int setCommand(char *iface, const char *fname, unsigned buflen=0);
      - Removed unused "softap clients" functionality
      - Removed unused hostapd communication socket
      
      Change-Id: Iad05069f6547f4b17481991018707d5f9db2500a
      Signed-off-by: default avatarAlexander Levitskiy <sanek@google.com>
      25753d50
  10. 15 Nov, 2012 1 commit
  11. 14 Nov, 2012 2 commits
  12. 13 Nov, 2012 1 commit
  13. 20 Sep, 2012 1 commit
    • Zhihai Xu's avatar
      remove Pan service which is not used anymore. · 0b02d05f
      Zhihai Xu authored
      because we replaced bluez bluetooth stack with bluedroid bluetooth stack.
      This is multiple project check-in for ISSUE 6849488 Bluedroid stack, remove system/bluetooth.
      Pan service depend on system/bluetooth. So both Pan service and system/bluetooth should be removed.
      
      bug 6849488
      
      Change-Id: I7a5a828b9b4327dbd6b6a13ec7ff4a9129ba0ca5
      0b02d05f
  14. 10 Aug, 2012 1 commit
    • Haoyu Bai's avatar
      Fix idletimer iptable rules. · 5c4faf76
      Haoyu Bai authored
      Now idletimer should be triggered by every packet.
      
      Cherry-picked from commit 8c54ec5d in
      master. DO NOT MERGE
      
      Change-Id: I48e6fed5cb48edc51b5fbe87091e5dbb3f862cb7
      5c4faf76
  15. 08 Aug, 2012 1 commit
    • Haoyu Bai's avatar
      Fix idletimer iptable rules. · 8c54ec5d
      Haoyu Bai authored
      Now idletimer should be triggered by every packet.
      
      Change-Id: I8cc7c40ed9eb71ff6e7627ee9482c7e228d80f38
      8c54ec5d
  16. 27 Jul, 2012 2 commits
  17. 17 Jul, 2012 1 commit
    • Jeff Sharkey's avatar
      Introduce basic firewall controls. · d8c64026
      Jeff Sharkey authored
      Creates a separate firewall chain that can be used to allow/deny
      traffic based on rules.
      
      Firewall is disabled by default.  When enabled, it supports four
      types of rules: allowing traffic based on iface name, based on egress
      source IP, based on egress destination IP and port, and based on
      local UID.
      
      Bug: 5756357
      Change-Id: I97f894dca6bddb93b3c56478c5297f79d727cdab
      d8c64026
  18. 14 Jul, 2012 3 commits
  19. 29 Jun, 2012 1 commit
    • Haoyu Bai's avatar
      Add a class lable parameter to idletimer. · 98f65d32
      Haoyu Bai authored
      Now the idletimer should be setup by this command:
      ndc idletimer add <interface> <timeout> <class label>
      
      Class label can be a number or string to identify device type, such as
      mobile or wifi. Idletimer will send label in the netd message instead
      of the actual interface name.
      
      Change-Id: Ic8b69dc5e38a4436c74723697905643a1214aa2a
      98f65d32
  20. 20 Jun, 2012 1 commit
  21. 19 Jun, 2012 1 commit
  22. 04 Jun, 2012 1 commit
  23. 26 Apr, 2012 1 commit
    • 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
  24. 25 Apr, 2012 1 commit
    • JP Abgrall's avatar
      bandwidthcontroller: hide iptables errors when they don't matter · 1fb02dfc
      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
      1fb02dfc
  25. 20 Apr, 2012 1 commit
    • 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
  26. 01 Mar, 2012 1 commit
    • Robert Greenwalt's avatar
      Use the new command numbering scheme. · a8e59f8c
      Robert Greenwalt authored
      Support multiple commands on a single socket via command numbers.
      Native DaemonConnector has been changed, so we need to use it here
      too.
      
      bug:5864209
      Change-Id: I084a284db38b996e7965bb9dd18440636eff9801
      a8e59f8c
  27. 06 Jan, 2012 1 commit
  28. 05 Jan, 2012 1 commit
  29. 03 Jan, 2012 1 commit
  30. 01 Dec, 2011 1 commit
  31. 30 Nov, 2011 1 commit
  32. 17 Nov, 2011 1 commit
  33. 04 Nov, 2011 1 commit
  34. 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
  35. 25 Oct, 2011 1 commit