#
PKG_NAME:=shadowsocks-libev
PKG_VERSION:=3.3.5
-PKG_RELEASE:=8
+PKG_RELEASE:=9
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/shadowsocks/shadowsocks-libev/releases/download/v$(PKG_VERSION)
[ -z "$mtu" ] || json_add_int mtu "$mtu"
[ -z "$timeout" ] || json_add_int timeout "$timeout"
[ -z "$user" ] || json_add_string user "$user"
+ [ -z "$acl" ] || json_add_string acl "$acl"
json_dump -i >"$confjson"
procd_open_instance "$cfgtype.$cfg"
}
validate_ss_local_section() {
- validate_common_client_options_ ss_local "$1" "$2"
+ validate_common_client_options_ ss_local "$1" "$2" \
+ 'acl:file'
}
validate_ss_redir_section() {
'local_address:ipaddr' \
'local_ipv4_address:ip4addr' \
'local_ipv6_address:ip6addr' \
- 'bind_address:ipaddr'
+ 'bind_address:ipaddr' \
+ 'acl:file'
}
validate_ss_tunnel_section() {