Block system in disconnected state

This commit is contained in:
M66B 2020-08-26 12:15:38 +02:00
parent a94a36ec1c
commit 151464d266
1 changed files with 1 additions and 1 deletions

View File

@ -1896,7 +1896,7 @@ public class ServiceSinkhole extends VpnService implements SharedPreferences.OnS
packet.allowed = true;
Log.i(TAG, "Allowing UDP " + packet);
} else if (packet.uid < 2000 &&
!last_connected && isSupported(packet.protocol)) {
!last_connected && isSupported(packet.protocol) && false) {
// Allow system applications in disconnected state
packet.allowed = true;
Log.w(TAG, "Allowing disconnected system " + packet);