Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
com.ccwangluo.accelerator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sheteng
com.ccwangluo.accelerator
Commits
b0d0be1f
Commit
b0d0be1f
authored
Mar 30, 2018
by
Max Lv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid hostname matching in overture
parent
d34ed164
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
6 deletions
+19
-6
core/src/main/jni/shadowsocks-libev
core/src/main/jni/shadowsocks-libev
+1
-1
core/src/overture/src/github.com/shadowsocks/overture
core/src/overture/src/github.com/shadowsocks/overture
+1
-1
mobile/src/main/assets/overture/china_ip_list.txt
mobile/src/main/assets/overture/china_ip_list.txt
+14
-0
mobile/src/main/java/com/github/shadowsocks/bg/LocalDnsService.kt
...rc/main/java/com/github/shadowsocks/bg/LocalDnsService.kt
+3
-4
No files found.
shadowsocks-libev
@
66ed595c
Subproject commit
1a21989566e778139c489d5f8972979bda9b16c1
Subproject commit
66ed595c52f47e0911b035f1c875e6dd0c30765a
overture
@
afe34f99
Subproject commit
58ab31a9fdfcc7f62f00c0b093ff6a37efcc3ff2
Subproject commit
afe34f99d4914ab35f6e423c042ed072f5697e05
mobile/src/main/assets/overture/china_ip_list.txt
View file @
b0d0be1f
0.0.0.0/8
10.0.0.0/8
100.64.0.0/10
127.0.0.0/8
169.254.0.0/16
172.16.0.0/12
192.0.0.0/29
192.0.2.0/24
192.88.99.0/24
192.168.0.0/16
198.18.0.0/15
198.51.100.0/24
203.0.113.0/24
224.0.0.0/3
1.0.1.0/24
1.0.2.0/23
1.0.8.0/21
...
...
mobile/src/main/java/com/github/shadowsocks/bg/LocalDnsService.kt
View file @
b0d0be1f
...
...
@@ -75,9 +75,9 @@ object LocalDnsService {
.
mapIndexed
{
i
,
dns
->
makeDns
(
"UserDef-"
+
i
,
dns
.
trim
()
+
":53"
,
9
)
})
val
localDns
=
JSONArray
(
arrayOf
(
makeDns
(
"Primary-1"
,
"
119.29.29.29:5
3"
,
3
,
false
),
makeDns
(
"Primary-2"
,
"11
4.114.114.114
:53"
,
3
,
false
),
makeDns
(
"Primary-3"
,
"
208.67.222.222:44
3"
,
3
,
false
)
makeDns
(
"Primary-1"
,
"
208.67.222.222:44
3"
,
3
,
false
),
makeDns
(
"Primary-2"
,
"11
9.29.29.29
:53"
,
3
,
false
),
makeDns
(
"Primary-3"
,
"
114.114.114.114:5
3"
,
3
,
false
)
))
when
(
profile
.
route
)
{
...
...
@@ -85,7 +85,6 @@ object LocalDnsService {
.
put
(
"PrimaryDNS"
,
localDns
)
.
put
(
"AlternativeDNS"
,
remoteDns
)
.
put
(
"IPNetworkFile"
,
"china_ip_list.txt"
)
.
put
(
"DomainFile"
,
data
.
aclFile
!!
.
absolutePath
)
Acl
.
CHINALIST
->
config
.
put
(
"PrimaryDNS"
,
localDns
)
.
put
(
"AlternativeDNS"
,
remoteDns
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment