From e78133d381e11c896b3b4c3134fdbab5873e5253 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 11 Feb 2016 15:15:18 +0100 Subject: [PATCH] Remarks --- app/src/main/java/eu/faircode/netguard/SinkholeService.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/netguard/SinkholeService.java b/app/src/main/java/eu/faircode/netguard/SinkholeService.java index 330d1208..fd03b99d 100644 --- a/app/src/main/java/eu/faircode/netguard/SinkholeService.java +++ b/app/src/main/java/eu/faircode/netguard/SinkholeService.java @@ -785,7 +785,7 @@ public class SinkholeService extends VpnService implements SharedPreferences.OnS // Build VPN service final Builder builder = new Builder(); - builder.setSession(getString(R.string.app_name) + " session"); + builder.setSession(getString(R.string.app_name)); // VPN address Log.i(TAG, "vpn4=" + last_vpn4 + " vpn6=" + last_vpn6); @@ -794,6 +794,7 @@ public class SinkholeService extends VpnService implements SharedPreferences.OnS if (filter) builder.addDnsServer(last_dns); + // TODO addSearchDomain if (tethering) { // USB Tethering 192.168.42.x @@ -815,6 +816,7 @@ public class SinkholeService extends VpnService implements SharedPreferences.OnS builder.addRoute("0:0:0:0:0:0:0:0", 0); + // In practice Android MSS is 8192 bytes builder.setMtu(32768); // Add list of allowed applications