- 23 Jul, 2011 1 commit
-
-
Irfan Sheriff authored
Additional fixes: Fix putting hostapd in daemon mode which results in init taking it over and failure to stop Also fix security check Bug: 5069108 Change-Id: Ie0e2f975516975d270e48c9081480d85e201251f
-
- 22 Jul, 2011 1 commit
-
-
Dmitry Shmidt authored
-
- 21 Jul, 2011 1 commit
-
-
Dmitry Shmidt authored
Change-Id: Ic1d8e46edc351f8dd36f30abe957d536cf491164 Signed-off-by:
Dmitry Shmidt <dimitrysh@google.com>
-
- 20 Jul, 2011 1 commit
-
-
JP Abgrall authored
Replace using the "quota" with "quota2". Quota2 is SMP-safe, and allows sharing a quota between protocols. Bug: 4646092 Change-Id: I69b1dd6d2c5c3b39cf0df175369ae5a28843d489 Signed-off-by:
JP Abgrall <jpa@google.com>
-
- 19 Jul, 2011 1 commit
-
-
Dmitry Shmidt authored
Change-Id: I75d01f2d5a07298e53638aea2431030ca07fd458 Signed-off-by:
Dmitry Shmidt <dimitrysh@google.com>
-
- 18 Jul, 2011 1 commit
-
-
The Android Open Source Project authored
Change-Id: I7ecfd1052c530b417f300e91c7ee28d1920dce2b
-
- 12 Jul, 2011 1 commit
-
-
Jeff Brown authored
Bug: 5010576 Change-Id: I1ef5377c66e08b450a4a40195b8fe29a8037a8be
-
- 08 Jul, 2011 1 commit
-
-
android-merger authored
-
- 07 Jul, 2011 2 commits
-
-
The Android Open Source Project authored
Change-Id: I5a9cde4afd6b2bc4a02eda27c9d919ebfd322d1d
-
android-merger authored
This reverts commit 79b579c9.
-
- 30 Jun, 2011 1 commit
-
-
JP Abgrall authored
To help with development, where re-enable is used as a cleanup mechanism we no remove ALL user chains. Normally we only expect costly, penalty_box, and costly_<iface>. If in the future we have more chains outside of those, this will need revisiting. Change-Id: I45e504bc1fe4ad973c00308967a474c73e959666
-
- 29 Jun, 2011 1 commit
-
-
JP Abgrall authored
When doing ndc bandwidth setiquota rmnet0 1235 ndc bandwidth removeiquota rmnet0 the remove would not cleanup the costly_rmnet0 chain. Bug: 4975613 Change-Id: Ie2a593de78613dcf6833165c45fef75adf57ee23 Signed-off-by:
JP Abgrall <jpa@google.com>
-
- 28 Jun, 2011 2 commits
-
-
Kazuhiro Ondo authored
* commit 'a0eece26': Keep IP forwarding enabled in tools mode.
-
Kazuhiro Ondo authored
* commit '6b858eb3': Keep IP forwarding enabled in tools mode.
-
- 27 Jun, 2011 4 commits
-
-
Kazuhiro Ondo authored
Do not disable IP forwarding after Tethering session is over in tools mode so that modem logging tools are functional across tethering sessions. Change-Id: Id6eb91ded458c57822e6a96006778e11f4038d52
-
Robert Greenwalt authored
-
Robert Greenwalt authored
Change-Id: I53c036b229352430c3faf57ce1d02fa889827690
-
Mike J. Chen authored
* changes: Change string notification for link state change. Revert "Revert "Add NETLINK_ROUTE socket creation and event propagation""
-
- 25 Jun, 2011 1 commit
-
-
JP Abgrall authored
replace stuff like: f(buff, true, false) -> f(buff, ActionA, CaseD) Change-Id: I8ff1d84f077d8f57263ecb7937b3f2caca86284b
-
- 24 Jun, 2011 5 commits
-
-
JP Abgrall authored
Regroup the ipv4/ipv6 choice deeper down to avoid copypasted code. Shared quota accross ifaces. Single quota per ifaces. Nothing preventing an iface from have a single and shared quota. Might be close to having a working combination. Added commands: - shared quota ndc bandwidth setquotas <quotaBytes> <iface> ... ndc bandwidth setquota <iface> <quotaBytes> ndc bandwidth removequota <iface> ndc bandwidth removequotas <iface> ... - quota per iface ndc bandwidth setiquota <iface> <quotaBytes> ndc bandwidth removeiquota <iface> Change-Id: I370d223da3c8b6e16e8d0a455309ae9e0756a721
-
Mike J. Chen authored
Changed from linkstatus to linkstate to be more like the notification function name. Change-Id: Ie9674ca04bf9a9bdff2583786c301452d02b19fc Signed-off-by:
Mike J. Chen <mjchen@google.com>
-
Mike J. Chen authored
This reverts commit 19fb0c4e . Conflicts: NetlinkManager.cpp Brings back Stan Chesnutt's change related to adding NETLINK_ROUTE socket creation and event propagation. Change-Id: I8c0625a95b7996ef75b883ce764c3244dd553a47 Signed-off-by:
Mike J. Chen <mjchen@google.com>
-
JP Abgrall authored
Adds initial per-app penalty box rules, and prepares for handling per iface quota. The following commands work: * penalty box ndc bandwidth addnaughtyapps <uid> ... ndc bandwidth removenaughtyapps <uid> ... * Shared quota - add (updates the bytes, if they differ from last time) ndc bandwidth setquota <iface> <bytes> ndc bandwidth setquota <iface1> <bytes> ndc bandwidth setquota <iface2> <bytes> - remove ndc bandwidth removequota <iface> [ oldschool: ndc bandwidth setquota <iface> -1 ] Change-Id: Ibefc16e81c7713feb47577a9687dcd032dedf06e
-
JP Abgrall authored
It doesn't use them, so it should not have to flush them. This is a minimalistic attempt to cooperate with the BandwidthController. Change-Id: Ia175a86403adf034ac6f44d7ebc4ebe941881368
-
- 23 Jun, 2011 2 commits
-
-
Robert Greenwalt authored
* commit 'd41806cb': Add ResolverController class
-
Robert Greenwalt authored
-
- 18 Jun, 2011 1 commit
-
-
Mike Lockwood authored
Change-Id: I1a49dc2c96998e9a44729b4b0303dbe9eb8c6569 Signed-off-by:
Mike Lockwood <lockwood@android.com>
-
- 17 Jun, 2011 1 commit
-
-
Irfan Sheriff authored
Bug: 4676254 Change-Id: Ifb0b573750504f5daeb8db038d13dddd553797de
-
- 16 Jun, 2011 1 commit
-
-
JP Abgrall authored
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
-
- 02 Jun, 2011 1 commit
-
-
John Michelau authored
* commit '0b0383be': Do not wipe all netd iptables rules in test mode
-
- 28 May, 2011 2 commits
-
-
John Michelau authored
* commit 'ac208608': Do not wipe all netd iptables rules in test mode
-
John Michelau authored
The NatController fail-safe which flushes the iptables when the ref count reaches zero unintentionally wipes out all static rules setup by init in bp-tools test mode. Doing this flush is not necessary. Change-Id: I37890e79cd701aa2e970958a246dfe7514a65c47
-
- 20 May, 2011 1 commit
-
-
The Android Open Source Project authored
Change-Id: Ibac35b4865cd0c39eff053ad84bddab50a2d6d6e
-
- 19 May, 2011 1 commit
-
-
Robert Greenwalt authored
* commit '442017ef': Add v4/v6 route add/remove to netd.
-
- 18 May, 2011 1 commit
-
-
Robert Greenwalt authored
* commit 'e019b659': Add v4/v6 route add/remove to netd.
-
- 13 May, 2011 1 commit
-
-
The Android Automerger authored
-
- 12 May, 2011 1 commit
-
-
Robert Greenwalt authored
Now we can move this out of the framework. Also adds v6 support and explicit route removal (rather than the big hammer of "remove all"). Change-Id: Ia7f1b12b2175c566c4906064796131a2f7e81466
-
- 03 May, 2011 3 commits
-
-
Brian Carlstrom authored
* commit '38bfbace': DNS Proxy should not hang on addresses containing null bytes
-
Brian Carlstrom authored
Change-Id: I6a1ffad61d29c6d361272bdd55522f4bd5f0e2c5
-
Brian Carlstrom authored
-