diff options
author | Amith Yamasani <yamasani@google.com> | 2015-04-25 19:08:57 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2015-04-29 13:39:59 -0700 |
commit | 390e4ea8106f9e741bc80fb962aaee94d5b28cbb (patch) | |
tree | b3a629995d71760ee9c5adbdd4f3ac0042954a26 /client | |
parent | 52e673f59eecf3e24b3b257bec0f977da5c35325 (diff) | |
download | android_system_netd-390e4ea8106f9e741bc80fb962aaee94d5b28cbb.tar.gz android_system_netd-390e4ea8106f9e741bc80fb962aaee94d5b28cbb.tar.bz2 android_system_netd-390e4ea8106f9e741bc80fb962aaee94d5b28cbb.zip |
Blacklist uids for network access
FirewallController can now be in blacklist mode (aka disabled)
or whitelist mode (aka enabled).
Some of the methods don't do anything when in blacklist mode.
Uid rules updated to allow dropping packets to uids that
shouldn't get any network access, usually for idle apps.
Added a wait option to iptables calls to make sure it doesn't
fail if there's contention. Fixes a flakiness I was seeing in
removing rules.
Bug: 20066058
Change-Id: I815bcb45aa06d04020e902df8c67bb3894e98f40
Diffstat (limited to 'client')
0 files changed, 0 insertions, 0 deletions