0b02d05f1e2968643c42d10841dccedb63d33c48 |
|
19-Sep-2012 |
Zhihai Xu <zhihaixu@google.com> |
remove Pan service which is not used anymore. 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
/system/netd/Android.mk
|
329c3b4681e2ca4831adc7c8cf257e9e32971710 |
|
31-Jul-2012 |
Sasha Levitskiy <sanek@google.com> |
Changes the interface command API from static lib to a dynamic one Change-Id: I9116491a3f5dfc4590ffab367a224fde37a4fd50
/system/netd/Android.mk
|
2eab1f762badb7ba46b95716e62ea4548a979903 |
|
27-Jul-2012 |
Dmitry Shmidt <dimitrysh@google.com> |
netd: Add initial interface driver command support Change-Id: I1d34e43fc6a3336d0cd06e9db1069467382f210f Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/system/netd/Android.mk
|
d8c64026aaae5a9987151b719bd840ec7d68747a |
|
14-Jul-2012 |
Jeff Sharkey <jsharkey@android.com> |
Introduce basic firewall controls. 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
/system/netd/Android.mk
|
7e9eb7b48345af69283afa7ca58d3be0a329931b |
|
16-Jun-2012 |
Irfan Sheriff <isheriff@google.com> |
Clean up softap interface Remove old IOCTL based interface Change-Id: I5c46964d025848ce8a0e0195ff213ccd8b33d508
/system/netd/Android.mk
|
0031cead820149e2fe3ccb3cc2fe05758a3cb5c2 |
|
18-Apr-2012 |
JP Abgrall <jpa@google.com> |
netd: Idletimer vs Nat vs Bandwidth controllers * 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: Ashish Sharma <ashishsharma@google.com> Signed-off-by: JP Abgrall <jpa@google.com> Change-Id: Ia57450c09166ce20f21d1e3b49047ef1e98f2a3d
/system/netd/Android.mk
|
745e09fc5694e73920aaad18a626275597bdddb1 |
|
29-Mar-2012 |
Robert Greenwalt <rgreenwalt@google.com> |
Initial release of mdns interface. Uses extern/mdnsresponder and communicate with the framework via nativedaemonconnector. Change-Id: I5c090528197afa090836d7cb5bf75dfba33ff11c
/system/netd/Android.mk
|
c2b26cb83d9bf3f91e986625efcc40fc8eb79a13 |
|
23-Feb-2012 |
Nick Kralevich <nnk@google.com> |
BandwidthController: fix format string bugs In 876666947664c718a8d0cae9bbddb06cc91f912c, a new %s was added to ALERT_IPT_TEMPLATE. Not all users of this string were updated. This change modifies ALERT_IPT_TEMPLATE to be a #define, which allows gcc's format string detection work. Add -Werror=format to error out on any string format warning. Testing: Code compiles. I don't know how to test this change properly. Bug: 5948299 Change-Id: I0ec307972e6bf50abd8ba099166c22069a6c6580
/system/netd/Android.mk
|
c462177bd58e3bf0ac4f618934dae060569e3e0b |
|
31-Jan-2012 |
Robert Greenwalt <rgreenwalt@google.com> |
Keep better tabs on secondary tables. We had some places (NatController) where routes were being set but not accounted for in the number-of-routes talley so we could end up thinking the table was empty and not clean up after ourselves properly. Also consolidated constants. bug:5917475 Change-Id: I98a41d433e1d4b4ca6692fb2328e2c9afc828145
/system/netd/Android.mk
|
053a99cef7b6d87a52216df7845b225703c74462 |
|
19-Jan-2012 |
Kazuhiro Ondo <kazuhiro.ondo@motorola.com> |
am b210b180: am 4ab46857: Add back hook for inserting OEM specific iptables rules. * commit 'b210b1806c740bf66eb04eb8e8d8ee75c01652dd': Add back hook for inserting OEM specific iptables rules.
|
4ab468577647d1ee73810b89d2287eaa5546fecb |
|
12-Jan-2012 |
Kazuhiro Ondo <kazuhiro.ondo@motorola.com> |
Add back hook for inserting OEM specific iptables rules. The functionality was lost during merge in ICS branch. This patch is adding back OEM iptables hook in netd. Bug:5862460 Change-Id: I9444b8c53e8b84fea2002c2c1d9ba42e45ae5f0c
/system/netd/Android.mk
|
4da10dd08f12002c3821c5d4ceba302daae33e03 |
|
13-Jan-2012 |
David 'Digit' Turner <digit@google.com> |
Use <resolv_iface.h> instead of <resolv.h> 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
/system/netd/Android.mk
|
fc97b82e02979f246d56a4bfd60e4aab8686d3f6 |
|
03-Nov-2011 |
Robert Greenwalt <rgreenwalt@google.com> |
Start using IP tool for advanced routing. bug:5495862 bug:5396842 Change-Id: I51f21060947f57e63b18c4d35e9d49fac488d48a
/system/netd/Android.mk
|
389f8d1550880f3bc67ade3e93f2ddb767e64092 |
|
22-Jul-2011 |
Dmitry Shmidt <dimitrysh@google.com> |
softap: Add hostapd support if BOARD_HOSTAPD_DRIVER is set Change-Id: Ic1d8e46edc351f8dd36f30abe957d536cf491164 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/system/netd/Android.mk
|
fe15b63d9def3721bb0ee4d2fa36c6f4d0daf8aa |
|
19-Jul-2011 |
Dmitry Shmidt <dimitrysh@google.com> |
Softap: Use wifi_get_fw_path() instead of predefined path Change-Id: I75d01f2d5a07298e53638aea2431030ca07fd458 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/system/netd/Android.mk
|
9b2c66653577ebcd36076533c3a33e490a4bc55b |
|
12-Jul-2011 |
Jeff Brown <jeffbrown@google.com> |
Remove the simulator target from all makefiles. Bug: 5010576 Change-Id: I1ef5377c66e08b450a4a40195b8fe29a8037a8be
/system/netd/Android.mk
|
3c8cc74f81d0f81204bd827076889bb51143dff8 |
|
27-Jun-2011 |
Robert Greenwalt <rgreenwalt@google.com> |
resolved conflicts for merge of 80adaddf to master Change-Id: I53c036b229352430c3faf57ce1d02fa889827690
|
786d1122d6a0a7b4bf16fdafe3b710759acc5094 |
|
31-May-2011 |
Mike Lockwood <lockwood@android.com> |
Remove obsolete support for controlling RNDIS USB networking Change-Id: I1a49dc2c96998e9a44729b4b0303dbe9eb8c6569 Signed-off-by: Mike Lockwood <lockwood@android.com>
/system/netd/Android.mk
|
4a5f5ca3c9e07fc3e6feca2afde07f41a8a64f11 |
|
16-Jun-2011 |
JP Abgrall <jpa@google.com> |
system/netd: bandwidth management initial support (uid+tag stats) 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
/system/netd/Android.mk
|
89c1e975f0c03997808d35c7be10b244c5309f9f |
|
29-Apr-2011 |
Mattias Falk <mattias.falk@sonyericsson.com> |
Add ResolverController class Added a ResolverController class that handles the communication with the dns resolver in netd. Change-Id: I0f71bd516109fd942e68b3400666c7a859228372
/system/netd/Android.mk
|
4e248e5a7a542067fd3f0467680eef2f92b1e195 |
|
27-Oct-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
DNS proxy thread in netd. 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
/system/netd/Android.mk
|
007e987fee7e815e0c4bc820f434a632b7a69a9d |
|
27-Oct-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
DNS proxy thread in netd. 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
/system/netd/Android.mk
|
a1992c9ff3e0d180c1f3042658ab9671d61a2fb8 |
|
08-Apr-2010 |
San Mehat <san@google.com> |
netd: Plumb interface throttling Change-Id: I9092a37b3d5f2bfa4f49ddc473d0a5490abaae8f Signed-off-by: San Mehat <san@google.com>
/system/netd/Android.mk
|
a2d7e3e7d6e3f163f06e522378c6e2bd5cee28f8 |
|
15-Mar-2010 |
Kenny Root <kroot@google.com> |
netd: Use OpenSSL APIs for WPA-PSK calculation Change-Id: Ibe2040a2ede58fcfad5b27cdb01a107fbf2c9f3d
/system/netd/Android.mk
|
31fd6c5f3e9c39a13b028718dba5921a4300988c |
|
12-Mar-2010 |
Dmitry Shmidt <dimitrysh@google.com> |
netd: softap: Add FW reload processing Change-Id: I731c2e390187c0fa5f69779cd25d8f2388ee511e Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/system/netd/Android.mk
|
321f95a95cd41e0f58a72ca4f382d7e0a7f26d01 |
|
10-Mar-2010 |
Dmitry Shmidt <dimitrysh@google.com> |
netd: softap: Add passphrase to hex conversion Change-Id: Ia9b141cb436336deec6d94af701e6d807baa2f99 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/system/netd/Android.mk
|
3e6ba3ce1abda6071d5b01f53ca6039bb7b5e2d3 |
|
18-Feb-2010 |
Robert Greenwalt <robdroid@android.com> |
Add enable/disable control of USB networking
/system/netd/Android.mk
|
5af38c360587ca2eef0badf6137ccf018f8cd4aa |
|
10-Feb-2010 |
Dmitry Shmidt <dimitrysh@google.com> |
netd: Add Softap controller skeleton functions Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/system/netd/Android.mk
|
f1c368a83b738658d27720898b433bbc010123ba |
|
28-Jan-2010 |
San Mehat <san@google.com> |
netd: Remove sigchild handler and fix a bluetooth makefile bug Signed-off-by: San Mehat <san@google.com>
/system/netd/Android.mk
|
5c1b8af16dbbc20c89aaca2f93e725e12b16d055 |
|
22-Jan-2010 |
San Mehat <san@google.com> |
netd: Add Flush out enumerating/configuring interfaces Signed-off-by: San Mehat <san@google.com>
/system/netd/Android.mk
|
0399710d9a7ee575104e7d76dc988afb7829ccb9 |
|
22-Jan-2010 |
San Mehat <san@google.com> |
netd: Don't break build if BT is not available for the target Signed-off-by: San Mehat <san@google.com>
/system/netd/Android.mk
|
1bdac9e98c1ef37ba568b6cf23bfbc09cfe6bf15 |
|
21-Jan-2010 |
San Mehat <san@google.com> |
netd: Add preliminary support for BT PAN Signed-off-by: San Mehat <san@google.com>
/system/netd/Android.mk
|
d5573d34c8fac49e16b20cf144486125bf940086 |
|
20-Jan-2010 |
San Mehat <san@google.com> |
netd: Add support for attaching/detaching PPP daemons Signed-off-by: San Mehat <san@google.com>
/system/netd/Android.mk
|
9ff78fb7da7158f5bd7c86d89a842691820259cf |
|
19-Jan-2010 |
San Mehat <san@google.com> |
netd: Add primitive NAT control Update: Add stub function to validate interface existance Signed-off-by: San Mehat <san@google.com>
/system/netd/Android.mk
|
9d10b341a0ba46f108cb96e46691197d778cbc06 |
|
18-Jan-2010 |
San Mehat <san@google.com> |
netd: Plumb in the tethering interfaces Signed-off-by: San Mehat <san@google.com>
/system/netd/Android.mk
|
d18304287dbabc7835be771400b85d4ae8b63de6 |
|
15-Jan-2010 |
San Mehat <san@google.com> |
netd: Initial skelaton for netd Signed-off-by: San Mehat <san@google.com>
/system/netd/Android.mk
|