]> git.ipfire.org Git - thirdparty/wireguard-tools.git/commit
wg-quick: android: support application whitelist
authorJason A. Donenfeld <Jason@zx2c4.com>
Mon, 6 Apr 2020 01:38:11 +0000 (19:38 -0600)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 6 Apr 2020 01:38:11 +0000 (19:38 -0600)
commite189f9942d54b6900f7140c1f4a41312cb6889eb
treed4e9d8b78f29c0dbf5f730ec12515d7db2389a95
parent20e28d2b0f4ae522cf14abcc5a29f9ade24f217b
wg-quick: android: support application whitelist

Prior we only supported a blacklist, but actually a whitelist is an
easier algorithm because that's internally how netd considers it, so we
don't need to find range spans. This commit adds an IncludedApplications
key.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
src/wg-quick/android.c