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
f833808b
Commit
f833808b
authored
Nov 21, 2015
by
Max Lv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix an issue that redsocks is blocked by stdout
parent
f2292fb8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
15 deletions
+15
-15
src/main/jni/redsocks
src/main/jni/redsocks
+1
-1
src/main/scala/com/github/shadowsocks/utils/ConfigUtils.scala
...main/scala/com/github/shadowsocks/utils/ConfigUtils.scala
+14
-14
No files found.
redsocks
@
3bc3f03c
Subproject commit
76348e933a3a15176fdb54616d04bc6fdd3c8e0
b
Subproject commit
3bc3f03c182b4c4ea5138eb7bebcaafe7cc0f53
b
src/main/scala/com/github/shadowsocks/utils/ConfigUtils.scala
View file @
f833808b
...
...
@@ -47,20 +47,20 @@ import com.github.shadowsocks.aidl.Config
object
ConfigUtils
{
val
SHADOWSOCKS
=
"{\"server\": \"%s\", \"server_port\": %d, \"local_port\": %d, \"password\": \"%s\", \"method\":\"%s\", \"timeout\": %d}"
val
REDSOCKS
=
"base {"
+
" log_debug = off;"
+
" log_info = off;"
+
" log = stderr;"
+
" daemon = off;"
+
" redirector = iptables;"
+
"
}\n"
+
"redsocks {"
+
" local_ip = 127.0.0.1;"
+
" local_port = 8123;"
+
" ip = 127.0.0.1;"
+
" port = %d;"
+
" type = socks5;"
+
"
}
"
val
REDSOCKS
=
"base {
\n
"
+
" log_debug = off;
\n
"
+
" log_info = off;
\n
"
+
" log = stderr;
\n
"
+
" daemon = off;
\n
"
+
" redirector = iptables;
\n
"
+
"}\n"
+
"redsocks {
\n
"
+
" local_ip = 127.0.0.1;
\n
"
+
" local_port = 8123;
\n
"
+
" ip = 127.0.0.1;
\n
"
+
" port = %d;
\n
"
+
" type = socks5;
\n
"
+
"
}\n
"
val
PDNSD_LOCAL
=
"""
...
...
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