shadowsocks-libev: minor tweak without functional change
authorYousong Zhou <yszhou4tech@gmail.com>
Mon, 4 Sep 2017 08:14:36 +0000 (16:14 +0800)
committerYousong Zhou <yszhou4tech@gmail.com>
Thu, 14 Sep 2017 03:25:34 +0000 (11:25 +0800)
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
net/shadowsocks-libev/Makefile
net/shadowsocks-libev/README.md
net/shadowsocks-libev/files/shadowsocks-libev.init

index bdf58948e7aa17daa666dba489705aaa21a3899f..9578dc4e642210f8ff5fac60242ea46479077cba 100644 (file)
@@ -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)
index ad81a021a93dfbfdc19951db6c221c10d79aefc1..ada71208bf0a9d00f272b47d65e423ce15e80c15 100644 (file)
@@ -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.
 
index 98d4add347e0e861a1eb1c8292ee97f9f1f9cdf7..1b08f41df2cee4ff6c94018c41e2bd071304d0b5 100644 (file)
@@ -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
 }