Code optimization

This commit is contained in:
刘河
2019-03-23 22:19:59 +08:00
parent efa341c7e8
commit b189fb1b6e
260 changed files with 50746 additions and 851 deletions

View File

@@ -1,2 +1,4 @@
2,corjmrbhr33otit1,,true,,,0,false,0,0,0
5,2dyy78gj7b9zw09l,,true,,,1,false,0,0,0
8,sl6ytyj7lv5224zr,,true,,,0,false,0,0,0,0
2,sqk6hfw7qirdmuep,,true,,,1,false,0,0,0,0
11,1hh13x99zrw90lg7,,true,,,0,false,0,0,0,1
5,phmgbeyns2yvtl6m,,true,,,0,false,0,0,0,1
1 2 8 corjmrbhr33otit1 sl6ytyj7lv5224zr true 0 false 0 0 0 0
2 5 2 2dyy78gj7b9zw09l sqk6hfw7qirdmuep true 1 false 0 0 0 0
3 11 1hh13x99zrw90lg7 true 0 false 0 0 0 1
4 5 phmgbeyns2yvtl6m true 0 false 0 0 0 1

View File

@@ -1,3 +1,3 @@
c.o.com,10.1.50.196:4000,5,,,,/,2,7543392,22379,all
a.o.com,127.0.0.1:8080,2,,,,/,3,0,0,all
b.o.com,127.0.0.1:8082,5,,,,/,4,0,0,all
a.o.com,127.0.0.1:8080,2,,,,/,1,0,60307,all
c.o.com,127.0.0.1:8082,2,,,,/,2,0,0,http
c.o.com,127.0.0.1:8082,2,,,,/,3,0,0,https
1 c.o.com a.o.com 10.1.50.196:4000 127.0.0.1:8080 5 2 / 1 7543392 0 22379 60307 all
2 a.o.com c.o.com 127.0.0.1:8080 127.0.0.1:8082 2 3 2 / 2 0 0 0 0 all http
3 b.o.com c.o.com 127.0.0.1:8082 127.0.0.1:8082 5 4 2 / 3 0 0 0 0 all https

View File

@@ -1,11 +1,8 @@
[common]
server=127.0.0.1:8024
tp=tcp
vkey=2dyy78gj7b9zw09l
vkey=123
auto_reconnection=true
[web]
host=b.o.com
target=10.1.50.203:80
[health_check_test1]
health_check_timeout=1
@@ -21,7 +18,9 @@ health_check_max_failed=3
health_check_interval=1
health_check_type=tcp
health_check_target=127.0.0.1:8083,127.0.0.1:8082
[web]
host=b.o.com
target=127.0.0.1:8080
[tcp]
mode=tcp
@@ -40,26 +39,20 @@ port=9004
[file]
mode=file
port=9100
port=9009
local_path=./
strip_pre=/web/
[s_ssh]
mode=secret
password=1234
target=123.206.77.88:22
[udp]
mode=udp
port=53
target=114.114.114.114:53
[p2p_ssh]
port=2001
password=p2pssh
target=123.206.77.88:22
[secret_ssh]
port=2001
password=sec
[p2p_ssh]
port=2002
password=1234
password=c
target=123.206.77.88:22

View File

@@ -1,17 +1,15 @@
appname = nps
#Boot mode(dev|pro)
runmode = dev
runmode = pro
#HTTP(S) proxy port, no startup if empty
http_proxy_port=80
#https_proxy_port=443
https_proxy_port=443
https_just_proxy=true
#certFile absolute path
pem_path=conf/server.pem
#pem_path=conf/server.pem
#KeyFile absolute path
key_path=conf/server.key
#key_path=conf/server.key
##bridge
bridge_type=tcp
@@ -42,7 +40,8 @@ web_username=admin
web_password=123
web_port = 8080
web_ip=0.0.0.0
#Web API unauthenticated IP address
#Web API unauthenticated IP address(the len of auth_crypt_key must be 16)
auth_key=test
auth_crypt_key =1234567812345678

View File

@@ -1,5 +1,3 @@
8025,socks5,,1,1,2,,0,0,
8026,httpProxy,,1,2,2,,0,0,
9002,tcp,127.0.0.1:8082,1,3,2,,0,0,
9003,socks5,,1,5,5,,0,0,
9009,tcp,127.0.0.1:8082,1,21,5,,8244480,2382592,
0,p2p,,1,25,5,,0,0,p2ptest
0,p2p,,1,1,2,,0,0,c
0,secret,123.206.77.88:22,1,11,2,sec,0,0,sec
1 8025 0 socks5 p2p 1 1 25 2 5 0 0 p2ptest
2 8026 0 httpProxy p2p 1 2 1 2 2 0 0 c
3 9002 0 tcp secret 127.0.0.1:8082 123.206.77.88:22 1 3 11 2 2 sec 0 0 sec
9003 0 socks5 1 5 5 0
9009 8244480 tcp 127.0.0.1:8082 1 21 5 2382592