No description. Add one?
  • Java 78%
  • Kotlin 11.8%
  • AIDL 4.4%
  • C++ 3.7%
  • C 1.5%
  • Other 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chiachang Wang ac2e8f354d Remove the UID range check for TCP sockets
The original patch (aosp/2891011) incorrectly counted TCP
sockets with keepalive enabled for VPNs. This issue was
caused by the UID range verification. On bypassable VPNs,
the socket mark is always correct. It's possible for an
app that is not in the UID ranges to establish a socket
on the VPN. But that socket should be counted for the
purposes of keepalive. The old code would correctly count
it and the new code will incorrectly not count it. Also,
the UID range verification does not help on non-bypassable
VPNs since the socket mark is always the mark of default
network, not the socket mark of the VPN.

Instead of reverting the entire patch, this commit
removes the UID range mechanism. The code refactoring from
the original commit (which used structured classes to read
socket information) has been kept as it is a valuable
improvement.

Bug: 320842519
Test: atest FrameworksNetTests
Change-Id: I00731796144c982b9fd4d9771f3d0db1f1529a89
2024-01-19 02:50:35 +00:00
bpf_progs New firewall chain for default background restrictions 2023-11-08 10:17:30 +00:00
clatd remove clatd OWNERS 2023-09-12 11:48:34 -07:00
common Remove TrunkStable.bp 2023-12-11 15:12:01 +09:00
Cronet Merge changes from topic "import_v121_0_6103_2" into main 2024-01-11 13:30:35 +00:00
DnsResolver Document more errno(s) on ADnsHelper_ API 2024-01-05 11:58:47 +00:00
framework Merge "Add more context in javadoc of setDataSaverEnabled" into main 2024-01-15 06:43:48 +00:00
framework-t Fix incorrect nullability annotations 2024-01-18 11:26:55 +08:00
nearby Uptesting is moving folks to /external/robolectric from /external/robolectric-shadows 2024-01-02 17:31:37 +00:00
netbpfload netbpfload: prep work to support <U 2023-10-25 18:40:53 +00:00
netd netdupdatable: add back abort() on init() fail 2023-12-22 09:39:46 +00:00
remoteauth Merge "Clean up obsolete aliases for Truth." into main am: 22d08770af am: 0cf04025c8 2023-10-10 00:16:25 +00:00
service Remove the UID range check for TCP sockets 2024-01-19 02:50:35 +00:00
service-t Merge changes Ifafafcd6,I5802dedc into main 2024-01-18 07:35:38 +00:00
staticlibs Merge "Address format check issues" into main 2024-01-18 09:01:13 +00:00
tests Remove the UID range check for TCP sockets 2024-01-19 02:50:35 +00:00
Tethering Merge "Migrate Tethering#dump to use runWithScissorsForDump" into main 2024-01-10 09:46:12 +00:00
thread Ensure the Thread integration test only run on CuttleFish devices 2024-01-18 12:00:14 +08:00
tools gn2bp: delete obsolete version in p/m/C 2023-03-29 16:23:45 -07:00
.gitignore Ignores vim temporary files from git 2023-12-23 17:45:32 +08:00
OWNERS Move the owner of xfrm netlink source code to its own directory. 2023-11-22 18:50:00 +09:00
OWNERS_core_networking Cleanup OWNERS 2023-01-23 15:55:23 +00:00
OWNERS_core_networking_xts Adjust owners for incremental NsdManager changes 2023-08-18 14:49:34 +09:00
PREUPLOAD.cfg Enable tethering to perform its own hidden API processing 2021-06-28 23:41:38 +01:00
TEST_MAPPING Remove TrafficController 2023-11-07 20:25:24 +09:00