Skip to content
Snippets Groups Projects
Commit 636941da authored by kr328's avatar kr328
Browse files

Fix: add *.jd.com to system proxy blacklist

parent 5bc39755
No related branches found
No related tags found
No related merge requests found
...@@ -223,7 +223,6 @@ class TunService : VpnService(), CoroutineScope by CoroutineScope(Dispatchers.De ...@@ -223,7 +223,6 @@ class TunService : VpnService(), CoroutineScope by CoroutineScope(Dispatchers.De
private const val TUN_PORTAL = "172.19.0.2" private const val TUN_PORTAL = "172.19.0.2"
private const val TUN_DNS = TUN_PORTAL private const val TUN_DNS = TUN_PORTAL
private const val NET_ANY = "0.0.0.0" private const val NET_ANY = "0.0.0.0"
private const val NET_SUBNET_LOOPBACK = "127.0.0.0/8"
private val HTTP_PROXY_LOCAL_LIST: List<String> = listOf( private val HTTP_PROXY_LOCAL_LIST: List<String> = listOf(
"localhost", "localhost",
...@@ -239,6 +238,6 @@ class TunService : VpnService(), CoroutineScope by CoroutineScope(Dispatchers.De ...@@ -239,6 +238,6 @@ class TunService : VpnService(), CoroutineScope by CoroutineScope(Dispatchers.De
"172.31.*", "172.31.*",
"192.168.*" "192.168.*"
) )
private val HTTP_PROXY_BLACK_LIST: List<String> = listOf("*zhihu.com", "*zhimg.com") private val HTTP_PROXY_BLACK_LIST: List<String> = listOf("*zhihu.com", "*zhimg.com", "*jd.com")
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment