-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.cfg
53 lines (41 loc) · 1.58 KB
/
config.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#把你的公网ip或域名放在这里,如果你只是本地测试,请用127.0.0.1
#Put your public network ip or domain name here, if you are testing locally, please use 127.0.0.1
LOCAL_DOMAIN_NAME=127.0.0.1
#动态端口起始点
#dynamic port origin
START_PORT=50000
#动态端口结束点
#dynamic port end point
END_PORT=65535
#是否开启非法连接封禁
#Whether to enable illegal connection ban
ENABLE_BAN=true
#设置服务端最大等待客户端响应的时间,单位为毫秒
#Set the maximum waiting time for the server to respond to the client, in milliseconds
SO_TIMEOUT=200
#当多少流量被消耗时告诉客户端剩余的流量
#When how much traffic is consumed, tell the client the remaining traffic
TELL_RATE_MIB=10
#AES加密的秘钥长度
#AES encryption key length
AES_KEY_SIZE=128
#如果你不知道以下设置是干什么的,请不要动它
#If you don't know what the following setting does, please don't touch it
HOST_HOOK_PORT=801
HOST_CONNECT_PORT=802
#外部接收数据包数组的长度
#The length of the external receive packet array
BUFFER_LEN=117
WINDOWS_UPDATE_PORT=803
LINUX_UPDATE_PORT=804
ADMIN_PORT=945
ADMIN_PASSWORD=8888888
#服务端检测客户端心跳包的间隔,单位为毫秒
#The interval at which the server detects client heartbeat packets, in milliseconds
DETECTION_DELAY=1000
#设置允许丢失心跳包的个数
#Set the number of heartbeat packets allowed to be lost
FAILURE_LIMIT=5
#设置保存序列号文件的间隔,单位为毫秒
#Set the interval for saving the serial number file, in milliseconds
SAVE_DELAY=3000