Browse Source

shadowsocks-libev: minor tweak without functional change

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
lilik-openwrt-22.03
Yousong Zhou 7 years ago
parent
commit
fd0f3aa930
3 changed files with 5 additions and 5 deletions
  1. +1
    -1
      net/shadowsocks-libev/Makefile
  2. +2
    -2
      net/shadowsocks-libev/README.md
  3. +2
    -2
      net/shadowsocks-libev/files/shadowsocks-libev.init

+ 1
- 1
net/shadowsocks-libev/Makefile View 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)


+ 2
- 2
net/shadowsocks-libev/README.md View 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.


+ 2
- 2
net/shadowsocks-libev/files/shadowsocks-libev.init View 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
}


Loading…
Cancel
Save