History log of /system/netd/main.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d2617936acc15567fc5111bbdb4dde20845c3cba 22-Jun-2013 Chad Brubaker <cbrubaker@google.com> Add netd support for uid based routing for DNS

DNSProxyListener now supports bionic changes for marking DNS requests
for routing DNS requests with the uid routing rules

Change-Id: Iac9aa1bb14834be6da5e512405f23c6a72dc71ed
/system/netd/main.cpp
59d2d45f8a4405dd5981488f122f34ff4c0030aa 20-Jun-2013 Nick Kralevich <nnk@google.com> Revert "netd: reduce privileges"

jpa reports that tethering is broken.

This reverts commit ab3df62f7b5584af6dee4f5ec069b70dd4f4cee6.

Change-Id: I0736f0fd83ea7cada9fdaee7e8d39123d2a3b5c2
/system/netd/main.cpp
ab3df62f7b5584af6dee4f5ec069b70dd4f4cee6 20-Jun-2013 Nick Kralevich <nnk@google.com> netd: reduce privileges

netd doesn't need full root capabilities. Rather, it only needs
CAP_NET_ADMIN and CAP_NET_RAW. Reduce the capabilities to that
set.

netd continues to run with UID=0, which allows applications spawned
by netd to continue to have CAP_NET_ADMIN and CAP_NET_RAW. It also
allows netd to access /proc and /sys files as UID=0.

Change-Id: I439d22150109697213c0cc83276ddb668007b978
/system/netd/main.cpp
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/main.cpp
c1044d4507a79166f3cfac9cacf669888f049ea9 09-Mar-2012 Selim Gurun <sgurun@google.com> Ignore Sigpipe in netd

Bug:6141847

Ignore sigpipe in netd. This will enable us remove the temporary
changes in DnsProxyListener that we added to temporarily resolve
issue 6138617.

Change-Id: I4bc13ac0fcf9dd0e7641c2d4459b1eab0ed50f2a
/system/netd/main.cpp
5ea0c05a1e7d8e664b808aa1bb1efd08fdb2fb13 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: I8ab66debe4d0c3857a4b80f6f7b6925a352cda87
/system/netd/main.cpp
08b58b60fd70e81317a9df19cc431f0759bc9e71 04-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/156801

Bug: 5449033
Change-Id: I61f544fc5b362863886cadceb37c9840e1d48e9b
/system/netd/main.cpp
7b984e3f7e724f8a3547a707210319f3d479f261 20-Dec-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/156016

Bug: 5449033
Change-Id: I85b946663d5a0e7606140282bf758c27b8c6f68f
/system/netd/main.cpp
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/main.cpp
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/main.cpp
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/main.cpp
d18304287dbabc7835be771400b85d4ae8b63de6 15-Jan-2010 San Mehat <san@google.com> netd: Initial skelaton for netd

Signed-off-by: San Mehat <san@google.com>
/system/netd/main.cpp