Go to file
2020-08-16 07:56:52 +08:00
ais.c Add whether to enable whitelist configuration option. 2020-08-16 07:56:52 +08:00
ais.conf Add whether to enable whitelist configuration option. 2020-08-16 07:56:52 +08:00
ais.h 初次提交,未多测试 2020-05-29 11:09:39 +08:00
conf.c Add whether to enable whitelist configuration option. 2020-08-16 07:56:52 +08:00
conf.h Add whether to enable whitelist configuration option. 2020-08-16 07:56:52 +08:00
info.sh Add whether to enable whitelist configuration option. 2020-08-16 07:56:52 +08:00
Makefile Add whether to enable whitelist configuration option. 2020-08-16 07:56:52 +08:00
README.md Add whether to enable whitelist configuration option. 2020-08-16 07:56:52 +08:00
start.sh Add whether to enable whitelist configuration option. 2020-08-16 07:56:52 +08:00
stop.sh Add whether to enable whitelist configuration option. 2020-08-16 07:56:52 +08:00

AIS

修改自mproxy(https://github.com/examplecode/mproxy), 作为CProxy服务端. 仅代理TCP
支持客户端IP白名单

参数

Usage:
    -l <port number>  specifyed local listen port 
    -h <remote server and port> specifyed next hop server name
    -d <remote server and port> run as daemon
    -E <0-128> encode data when forwarding data
    -D <0-128> decode data when receiving data

配置文件

global {
    // 是否开启白名单1开启0关闭
    IP_RESTRICTION = 1;
    // 白名单IP段, 判断前两段IP空格隔开冒号结尾
    IP_SEGMENT= 115.60 115.61 115.62 223.88;
}