93f4999ab3c593d2821bc34df489597adbf57e89 |
|
08-Aug-2017 |
Lorenzo Colitti <lorenzo@google.com> |
Move all init code to iptables-restore. This gets rid of one of the last few uses of iptables, and also reduces startup time from ~750ms to ~150ms. Bug: 28362720 Test: bullhead builds,boots Test: netd_{unit,integration}_test pass Test: rules after "killall netd" look identical Change-Id: Idf4d8dbc1292cb0017d4546976ad645a4ac7fa08 Merged-In: Ifc7b7045f00f7803b31a22d96a04e208917af5a5
/system/netd/server/Controllers.h
|
09d8c762645a18f359ab80558a8aad9003d86461 |
|
08-Aug-2017 |
Lorenzo Colitti <lorenzo@google.com> |
Add test coverage for setting up initial iptables rules. Bug: 28362720 Test: bullhead builds, boots Test: netd_{unit,integration}_test pass Change-Id: I2ab9269d9bca3a7b8b168b801360d3fdb6119f05 Merged-In: Ifc7b7045f00f7803b31a22d96a04e208917af5a5
/system/netd/server/Controllers.h
|
08b84cd0d223ae3059ce7d4d55b389fdea187580 |
|
22-May-2017 |
Joel Scherpelz <jscherpelz@google.com> |
Add WakeupController and NFLogListener These classes work together to parse and dispatch NFLOG messages in response to inbound packets annotated by the WiFi driver. Test: as follows - built - flashed - booted - netd_unit_test passes Change-Id: Id26d62858bf4bc4186ae66850f08077adf6fc2ac
/system/netd/server/Controllers.h
|
1a37153768aa605e0787591c39d73b674acd92c3 |
|
30-Jan-2017 |
Nathan Harold <nharold@google.com> |
Add XfrmController to NetdNativeService Add a new controller to Netd that can handle IPSec XFRM commands from the framework. -Add new XfrmController controller -Connect XfrmController to Controllers -Add APIs in XfrmController for creating Transport IpSec Assocs Bug: 34811756 Test: 34812052 Change-Id: If518a53a83fa76ea4c866992055a741ae064c30d
/system/netd/server/Controllers.h
|
1ed96e2d3fa89ca4848750a6b3bbbcf677946d27 |
|
01-Feb-2017 |
Lorenzo Colitti <lorenzo@google.com> |
Move some code out of CommandListener. 1. Move lots of initialization code to Controllers.cpp. 2. Move stringToPermission to Permission.h, which seems like a better place for it. Bug: 34873832 Test: builds, boots Change-Id: I01ba8e1d062d298eab71a1b90899df042fdc2360
/system/netd/server/Controllers.h
|
a5ace89be511d5a9f76d2d987fe8f61c0a8102f5 |
|
06-Jan-2017 |
Narayan Kamath <narayan@google.com> |
netd: Use a persistent iptables[6]-restore process iptables-restore and ip[6]tables-restore are forked on demand whenever we need them, and their stdin/out/err are replaced by pipes to the parent process. All commands are sent via the stdin pipe. We also add SIGCHLD handling so that we can detect error conditions and restart the process whenever required. Bug: 32323979 Test: Manual Test: netd_unit_test, netd_integration_test Change-Id: Ia12ee01f8b45e5b8a699c27eea1b6b55d40f16b5
/system/netd/server/Controllers.h
|
d544011db2537092fe4f76d238dfe3a82ad15a36 |
|
06-Oct-2016 |
Michal Karpinski <mkarpinski@google.com> |
Adding EventReporter class This class stores the reporting level and can be used to get the event listener service. Bug: 29748723 (cherry picked from commit be581e228bd1a97efd179edcdd3e744622fb99b8) Change-Id: I98bfa97cb502f4d19ccf8c79f32d347e7e168492
/system/netd/server/Controllers.h
|
1d065ba8b62988b5b92517984d4761c32f00abd3 |
|
08-Jun-2016 |
Erik Kline <ek@google.com> |
Setup interfaces for IPv6 tethering Including: - set the interface for router mode (accept_ra = 0) - reset the interface for client mode (accept_ra = 1) - InterfaceController::setAcceptIPv6Ra() - InterfaceController::setAcceptIPv6Dad() - make InterfaceController static - refactor for more modern C++ usage here and there - sporadic style guide fixes Bug: 9580643 (cherry picked from commit 2c5aaa1876db659556c2e9605beccc670e6b7c0d) Change-Id: Ie5825ae3db19bbd8e03130d3bfd7815554214586
/system/netd/server/Controllers.h
|
a62db754d9c78c352f64dc9d07877eb84a75b547 |
|
02-Aug-2016 |
Christopher Wiley <wiley@google.com> |
Remove WiFi related logic from netd This is now managed by wificond. Bug: 30041228 Test: There were no more callsites for the corresponding methods in NetworkManagementService. Change-Id: Ia07a8819f8b46e15695819c6beb64d69b0dcfde1 (cherry picked from commit ac392585811ea4488116342fc3bc3b9925bbfd8a)
/system/netd/server/Controllers.h
|
ddf2d5bc87fe6de7cae2b73a17dbaf35033565ca |
|
26-Feb-2016 |
Lorenzo Colitti <lorenzo@google.com> |
Allow finer-grained locking, and use it in FirewallCmd. FirewallController is stateless and FirewallCmd does not access any other controllers, so it is safe not to take the big netd lock. Bug: 27239233 Change-Id: I246696c4b17fa005c7d6b38ecd627747aa608831
/system/netd/server/Controllers.h
|
1cfa54374f5ba63d69d6fcca767c4f6647cb6de2 |
|
24-Feb-2016 |
Pierre Imai <imaipi@google.com> |
Wrap netd's controller to make them usable from other classes Change-Id: Icb76b43e89c5a9e5806b95002d3653dd99912494
/system/netd/server/Controllers.h
|