- 13 Jan, 2012 1 commit
-
-
David 'Digit' Turner authored
The declarations for _resolv_set_default_iface() and others were initially added to a public C library header (<resolv.h>). This was a mistake and they have been moved to a private header (bionic/libc/private/resolv_iface.h) This patch updates netd to use the correct private header. Change-Id: I186390ea3675685b4e0dd5b8a099bd21911f059e
-
- 04 Nov, 2011 1 commit
-
-
Robert Greenwalt authored
bug:5495862 bug:5396842 Change-Id: I51f21060947f57e63b18c4d35e9d49fac488d48a
-
- 25 Jul, 2011 1 commit
-
-
Robert Greenwalt authored
Port of change 22099 from the opensource. bug:5060618 Change-Id: Ic99345881fcb30c6f1d5545a32401e6ada865d78
-
- 21 Jul, 2011 1 commit
-
-
Dmitry Shmidt authored
Change-Id: Ic1d8e46edc351f8dd36f30abe957d536cf491164 Signed-off-by:
Dmitry Shmidt <dimitrysh@google.com>
-
- 19 Jul, 2011 1 commit
-
-
Dmitry Shmidt authored
Change-Id: I75d01f2d5a07298e53638aea2431030ca07fd458 Signed-off-by:
Dmitry Shmidt <dimitrysh@google.com>
-
- 12 Jul, 2011 1 commit
-
-
Jeff Brown authored
Bug: 5010576 Change-Id: I1ef5377c66e08b450a4a40195b8fe29a8037a8be
-
- 18 Jun, 2011 1 commit
-
-
Mike Lockwood authored
Change-Id: I1a49dc2c96998e9a44729b4b0303dbe9eb8c6569 Signed-off-by:
Mike Lockwood <lockwood@android.com>
-
- 16 Jun, 2011 1 commit
-
-
JP Abgrall authored
This is a minimalistic version to get accounting of data going through tagged socket per uid. When netd starts up the BandwidthController, it will look at the properties for persist.bandwidth.enable=1 and enabled it. It needs the kernel with the xt_qtaguid + iptables/netfilter goodness. stlport is ok to use. The "owner" netfilter module used is actually our xt_qtaguid that acts as it (just until we get around to talking directly the to kernel). Once "ndc bandwidth enable" is invoked all traffic is counted against the UIDs receiving/sending it. This allows BlockGuard.java to "tag" sockets and see stats for the tags. Data shows up in /proc/net/xt_qtaguid/stats /proc/net/xt_qtaguid/iface_stat/<iface>/ rx_packets_tcp rx_bytes_tcp ... There is no <uid>/... Supported commands: - "ndc bandwidth enable" will setup the needed iptable entries to track tag/uid. - "ndc bandwidth disable" will remove the iptable entries. - "ndc bandwidth setquota <iface> <value>" will set a quota on the iface. Once quota is reached, packets are rejected. With the correct kernel, rejects are turned in socket errors. TODO ---- * make bandwidth controller cooperate with tethering. - they both manipulate the iptables. Change-Id: Ieb9e7c60ef8c974e99828f7833065d59b2922bf3
-
- 29 Apr, 2011 1 commit
-
-
Mattias Falk authored
Added a ResolverController class that handles the communication with the dns resolver in netd. Change-Id: I0f71bd516109fd942e68b3400666c7a859228372
-
- 06 Jan, 2011 1 commit
-
-
Brad Fitzpatrick authored
New thread in the netd process which listens on the /dev/socket/dnsproxyd socket (group owned by 'inet', so only useable by apps with the INTERNET permission), and does getaddrinfo requests for other processes, caching in one place, rather than per-app. Still remaining: proper caching based on DNS-requested lengths, upping the cache size, getnameinfo, stats, flush, etc, etc. Change-Id: I1d65af7d87876e508c718656bd81217cd961e20a
-
- 01 Nov, 2010 1 commit
-
-
Brad Fitzpatrick authored
New thread in the netd process which listens on the /dev/socket/dnsproxyd socket (group owned by 'inet', so only useable by apps with the INTERNET permission), and does getaddrinfo requests for other processes, caching in one place, rather than per-app. Still remaining: proper caching based on DNS-requested lengths, upping the cache size, getnameinfo, stats, flush, etc, etc. Change-Id: I1d65af7d87876e508c718656bd81217cd961e20a
-
- 07 Apr, 2010 1 commit
-
-
San Mehat authored
Change-Id: I9092a37b3d5f2bfa4f49ddc473d0a5490abaae8f Signed-off-by:
San Mehat <san@google.com>
-
- 15 Mar, 2010 1 commit
-
-
Kenny Root authored
Change-Id: Ibe2040a2ede58fcfad5b27cdb01a107fbf2c9f3d
-
- 12 Mar, 2010 1 commit
-
-
Dmitry Shmidt authored
Change-Id: I731c2e390187c0fa5f69779cd25d8f2388ee511e Signed-off-by:
Dmitry Shmidt <dimitrysh@google.com>
-
- 09 Mar, 2010 1 commit
-
-
Dmitry Shmidt authored
Change-Id: Ia9b141cb436336deec6d94af701e6d807baa2f99 Signed-off-by:
Dmitry Shmidt <dimitrysh@google.com>
-
- 18 Feb, 2010 1 commit
-
-
Robert Greenwalt authored
-
- 10 Feb, 2010 1 commit
-
-
Dmitry Shmidt authored
Signed-off-by:
Dmitry Shmidt <dimitrysh@google.com>
-
- 28 Jan, 2010 1 commit
-
-
San Mehat authored
Signed-off-by:
San Mehat <san@google.com>
-
- 22 Jan, 2010 1 commit
-
-
San Mehat authored
Signed-off-by:
San Mehat <san@google.com>
-
- 21 Jan, 2010 2 commits
-
-
San Mehat authored
Signed-off-by:
San Mehat <san@google.com>
-
San Mehat authored
Signed-off-by:
San Mehat <san@google.com>
-
- 20 Jan, 2010 2 commits
-
-
San Mehat authored
Signed-off-by:
San Mehat <san@google.com>
-
San Mehat authored
Update: Add stub function to validate interface existance Signed-off-by:
San Mehat <san@google.com>
-
- 19 Jan, 2010 1 commit
-
-
San Mehat authored
Signed-off-by:
San Mehat <san@google.com>
-
- 15 Jan, 2010 1 commit
-
-
San Mehat authored
Signed-off-by:
San Mehat <san@google.com>
-