shadowsocks-libev: minor tweak without functional change
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
parent
d9a8e7541c
commit
fd0f3aa930
|
@ -14,7 +14,7 @@ include $(TOPDIR)/rules.mk
|
|||
#
|
||||
PKG_NAME:=shadowsocks-libev
|
||||
PKG_VERSION:=3.0.8
|
||||
PKG_RELEASE:=14
|
||||
PKG_RELEASE:=15
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://github.com/shadowsocks/shadowsocks-libev/releases/download/v$(PKG_VERSION)
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
## components
|
||||
|
||||
`ss-local` provides SOCKS5 proxy.
|
||||
`ss-local` provides SOCKS5 proxy with UDP associate support.
|
||||
|
||||
socks5 ss plain
|
||||
--------> tcp:udp:local_address:local_port ----> ss server -------> dest
|
||||
--------> tcp:local_address:local_port ----> ss server -------> dest
|
||||
|
||||
`ss-redir`. The REDIRECT and TPROXY part are to be provided by `ss-rules` script. REDIRECT only works for tcp traffic (see also darkk/redsocks). TPROXY is used to proxy udp messages, but it's only available in the PREROUTING chain and as such cannot proxy local out traffic.
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ ss_mkjson_ss_redir_conf() {
|
|||
ss_mkjson_server_conf || return 1
|
||||
[ "$disable_sni" = 0 ] && disable_sni=false || disable_sni=true
|
||||
cat <<-EOF
|
||||
${q}disable_sni${q}: $disable_sni,
|
||||
"disable_sni": $disable_sni,
|
||||
EOF
|
||||
}
|
||||
|
||||
|
@ -120,7 +120,7 @@ ss_xxx() {
|
|||
procd_set_param file "$confjson"
|
||||
procd_set_param respawn
|
||||
procd_close_instance
|
||||
ss_rules_cb "$cfg"
|
||||
ss_rules_cb
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue