- 20 Aug, 2015 2 commits
-
-
Yusuke Sato authored
* commit '93e6f6a7': Make iptables -L and -S calls wait for xtables lock
-
Yusuke Sato authored
-
- 19 Aug, 2015 1 commit
-
-
Yusuke Sato authored
Bug:22802665 Change-Id: I95b83ec0a926208e20659ad4b5355cf8500821f5
-
- 18 Aug, 2015 1 commit
-
-
Stephen Hines authored
Bug: 23239997 The Clang update exposed a latent bug in the code here, where a pointer to a local variable escaped the encapsulating block. Clang noticed the end of this object's lifetime, and removed assignments to its original storage (because they are now dead assignments). By moving the union out of the block, it will survive until the sendmsg() call, and the expected writes will be restored. Change-Id: If2106d2f53d761ddca6dd26ab2648244d737dcd9
-
- 04 Aug, 2015 2 commits
-
-
Paul Jensen authored
-
Paul Jensen authored
Without this wait iptables commands can fail with various unpleasant consequences like Log.wtf() or missing iptables rules. The most critical calls to iptables in NetdConstants.cpp already wait for the lock. Bug:22802665 Change-Id: I7d542c3d4f0e005618e368da674159b90d652c8a
-
- 28 Jul, 2015 1 commit
-
-
Erik Kline authored
Bug: 19470192 Bug: 21832279 Bug: 22464419 Change-Id: I53a9e592a03fd16c124dcae2a47c6ac2e9049c48
-
- 06 Jul, 2015 1 commit
-
-
Erik Kline authored
Add a new NetworkController::getNetworkContext() that builds the contents of a struct net_context out of getNetworkForConnect() and getNetworkForDns(). Bug: 19470192 Bug: 20733156 Bug: 21832279 Change-Id: I5a69b0413a83d33be28b78c0a99359b109517a8f
-
- 26 Jun, 2015 1 commit
-
-
Xiaohui Chen authored
In uid firewall white list, we white list the system uid range by default to make sure system processes will always have network access. BUG:22094135 Change-Id: I8f472a98a9fd93591a2887982cec1458d7683613
-
- 15 Jun, 2015 1 commit
-
-
Xiaohui Chen authored
This is an attempt to speed up getting out of device idle. It groups uid firewall rules in these child chains so we can attach/detach a whole chain instead of individual uid rules. BUG:21446713 Change-Id: I61dc7d14110e633c5994e466481b9cac633a7a4f
-
- 03 Jun, 2015 1 commit
-
-
Erik Kline authored
Change-Id: Ie996c9b4f84f9cd8395abb592ecf0c04cfdc4023
-
- 13 May, 2015 4 commits
-
-
Erik Kline authored
-
Erik Kline authored
-
Erik Kline authored
Add an InterfaceController::setBaseReachableTimeMs() method to set the ARP/ND default reachable time, as configured in: /proc/sys/net/ipv4/{interface}/base_reachable_time_ms /proc/sys/net/ipv6/{interface}/base_reachable_time_ms Bug: 18581716 Change-Id: Idc652e81396d81efe0f08bb1d6dc38bc8e554a56
-
Erik Kline authored
Bug: 18581716 Change-Id: I85aec575a318861468ea4707b70ed747c27293c7
-
- 06 May, 2015 1 commit
-
-
Paul Jensen authored
This new FwmarkServer API is only accessible from system apps. Bug:20470604 Change-Id: Ie2376cdddc10f658fcc5802ef3e8dc9f1948d5c0
-
- 29 Apr, 2015 1 commit
-
-
Amith Yamasani authored
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
-
- 28 Apr, 2015 1 commit
-
-
Ruchi Kandoi authored
Change-Id: Ib85b85fc12b20436e0d788d5c3ec66306c632b57 Signed-off-by:
Ruchi Kandoi <kandoiruchi@google.com> Bug: 20264396 (cherry picked from commit 05c39f0a)
-
- 01 Apr, 2015 1 commit
-
-
Erik Kline authored
Change-Id: I90e2d4f64a5c3ec9f640fd7dc41438517110cf68
-
- 27 Mar, 2015 1 commit
-
-
Dan Albert authored
This is a no-op. Change-Id: Ic9d3070b7c329d9744ed660e426c5f39704ffccc
-
- 16 Mar, 2015 11 commits
-
-
Dan Albert authored
* commit '200e0b53': Revert "Revert "Update for libbase.""
-
Dan Albert authored
-
Dan Albert authored
-
Dan Albert authored
This reverts commit 4a0ab5ff. (cherry picked from commit 3e87c785434fdfed2fb00496cb391c411a426bdd) Change-Id: I042f485f3cc84206766298853491ddd26dbba13f
-
Dan Albert authored
This reverts commit 4a0ab5ff. Change-Id: Idd2947bbdaef267ffd68179b4d3fe267870b9de4
-
Dan Albert authored
This reverts commit 4a0ab5ff.
-
Nicolas Geoffray authored
Change-Id: Ieb26ec5fc333743b86d414ee558c978334647853
-
Nicolas Geoffray authored
Change-Id: I2aa9721365e96c363648dd8e9e15718ed50e3c12
-
Nicolas Geoffray authored
-
Nicolas Geoffray authored
Breaks internal master. This reverts commit b67219a7. Change-Id: I43145f0724ad2d669b65d20b6fd6ccc44b8f0a4f
-
Vinit Deshpande authored
Change-Id: I51337014e2851f47dd5e183c4bfdf39bafa59942
-
- 15 Mar, 2015 1 commit
-
-
Dan Albert authored
* commit 'e3734499': Update for libbase.
-
- 14 Mar, 2015 2 commits
-
-
Dan Albert authored
-
Dan Albert authored
StringPrintf and the string based file I/O are being moved to libbase. Change-Id: I765d9e53f65a76d318d9d0d9503403fc092254d5
-
- 13 Mar, 2015 1 commit
-
-
Jeff Sharkey authored
Change-Id: Ibb6101c8741f862f4732fb200f646dfd329f4782
-
- 10 Mar, 2015 3 commits
-
-
Vinit Deshpande authored
merged from partner/m-wireless-wifi-dev 6c65afdd Parse all netids with stringToNetId.
-
Vinit Deshpande authored
merged from partner/m-wireless-wifi-dev 2f8e725e server: softap: Set hw_mode according to selected channel [DO NOT MERGE]
-
Vinit Deshpande authored
merged from partner/m-wireless-wifi-dev 1ecc6c93 set softAP on a specified band, including both 2.4 and 5 GHz band
-
- 05 Mar, 2015 1 commit
-
-
Lorenzo Colitti authored
Bug: 19500693 Change-Id: I25b7942784ec026d30c60273c9e13e34d082d25a
-
- 27 Feb, 2015 1 commit
-
-
Lorenzo Colitti authored
This is needed for wifi calling so that the kernel (which does not set marks) can tee packets towards the modem. It also fixes things like not being able to reply to DHCP requests from tethered clients when a VPN is up. System apps can already bypass the VPN using explicit marks, so allowing UID 0 to do so does not create additional bypass VPN issues. Bug: 19500693 Change-Id: Ie324026893637e9bd8e7aa65a37579569390e7b7
-