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
Oliver Scott 0e19223594
Always drop non-VPN ingress in lockdown mode
When "Block connections without VPN" is specified, incoming traffic
from non-VPN interfaces should be blocked regardless of the
determination made by ConnectivityService#getVpnIsolationInterface.
Outgoing traffic to non-VPN interfaces is already blocked in this case.
(Loopback is excluded as usual.)

Test: `adb shell dumpsys connectivity trafficcontroller` will now show
the tunnel interface for uids affected by lockdown when
getVpnIsolationInterface returns null (wildcard), to block non-VPN
ingress to such uids. This will return to 0 (wildcard) when lockdown
is toggled back off.

Also includes squashed change:

Author: Tommy Webb <tommy@calyxinstitute.org>
Date:   Mon May 1 16:52:28 2023 -0400

    fixup! Always drop non-VPN ingress in lockdown mode

    For lockdown purposes, force an update of VPN filtering whenever the
    interface names for a VPN have changed, to ensure that the BPF owner
    map uses the most up-to-date interface for ingress filtering.

    Issue: calyxos#1651
    Change-Id: Ia0c75a723134023906134597b395653c7a570686

Co-authored-by: Tommy Webb <tommy@calyxinstitute.org>
Issue: calyxos#1255
Bug: 206482423
Change-Id: Id7954816566cb06bf2e9869ea98b20678835df9d
2026-01-19 09:54:05 -05:00
bpf NetBpfLoad: Relax 5.10 kernel requirement 2026-01-05 19:40:50 +00:00
clatd clatd: disable seccomp 2025-09-25 21:25:26 +05:30
common NetBpfLoad: use libbpf based on mainline beta flag, part 2 2025-09-12 04:04:39 -07:00
framework Use string for CREATE_APP_SPECIFIC_NETWORK permission 2025-09-30 03:56:13 -07:00
framework-t Merge "Convert uses of @hide to block tag" into main 2025-09-08 04:21:26 -07:00
nearby Merge "Log CHRE NanoApp ID in hexadecimal format." into main 2025-09-09 11:34:50 -07:00
networksecurity Prevent duplicate downloads in DownloadHelper 2025-08-29 01:02:47 -07:00
remoteauth Convert uses of @hide to block tag 2025-08-29 21:19:30 +00:00
service Always drop non-VPN ingress in lockdown mode 2026-01-19 09:54:05 -05:00
service-b Conditionally include VCN in Tethering module 2024-12-09 12:04:12 -08:00
service-t BpfNetworkStats: use atomic for ifindex cache when possible 2025-09-13 05:07:32 -07:00
staticlibs Merge "Add RTMGRP_IPV6_IFINFO" into main 2025-09-12 21:07:08 -07:00
tests Use string for CREATE_APP_SPECIFIC_NETWORK permission 2025-09-30 03:56:13 -07:00
Tethering Android 16.0.0 release 4 2025-12-09 22:59:06 +02:00
thread Merge "[Thread] support Thread NetworkRequest" into main 2025-09-14 21:59:51 -07:00
tools Add a tool to generate hidden module API lists 2025-04-24 09:05:08 +09:00
Vcn Log validated underlying network count that's available for VCN underlying network selection 2025-09-12 22:50:11 +00:00
.clang-format Add .clang-format 2025-03-23 19:59:10 -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 OWNERS: satk -> larsberg 2025-08-04 11:26:01 -07:00
OWNERS_core_networking_xts OWNERS: satk -> larsberg 2025-08-04 11:26:02 -07:00
PREUPLOAD.cfg Revert "Add alint hook to Connectivity repo" 2025-08-27 03:31:04 -07:00
preupload_hook_script.py Refactor: apply pyformat for coding style consistency 2025-05-28 12:44:57 +00:00
rustfmt.toml Add rustfmt to p/m/C 2025-03-28 10:06:13 -07:00
TEST_MAPPING Remove non-existent CtsNativeNetTestCases from TEST_MAPPING. 2025-08-20 19:31:29 -07:00