OSDN Git Service

Introduce basic firewall controls.
authorJeff Sharkey <jsharkey@android.com>
Sat, 14 Jul 2012 01:04:07 +0000 (18:04 -0700)
committerJeff Sharkey <jsharkey@android.com>
Tue, 17 Jul 2012 20:15:37 +0000 (13:15 -0700)
commitd8c64026aaae5a9987151b719bd840ec7d68747a
tree10f1db39e838e28fc2244280e395e1c3ccec1fda
parent8e188ed5c989ddcc07f0f5e9839493c22d17e7b6
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
Android.mk
CommandListener.cpp
CommandListener.h
FirewallController.cpp [new file with mode: 0644]
FirewallController.h [new file with mode: 0644]