Commit graph

16 commits

Author SHA1 Message Date
Yousong Zhou
402ad57e55 shadowsocks-libev: fix enumerating server and ss_redir sections
The issue existed since the first revision of the rewrite and was
exposed by commit 4024d4f (luci-base: switch to ubus uci operations)

A quick scan of the current repo indicates that these are the only sites
of wrong call pattern

Fixes openwrt/packages#6113

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-28 11:13:15 +08:00
Yousong Zhou
770033dba3 luci-app-shadowsocks-libev: remove deprecated option disable_sni
This reverts commit 5d91683575.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-02-05 11:06:25 +08:00
Yousong Zhou
28aafed472 luci-app-shadowsocks-libev: add no_delay to names_options_common
It will appear in the instance overview list

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-02-05 11:04:00 +08:00
Yousong Zhou
f1862ced41 luci-app-shadowsocks-libev: remove option manager_address
It's an option that is supposed to be fed by ss-manager.  It can be
in the form of host:port or path to unix dgram socket.  Drop it now with
the assumption that it has no real user at the moment

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-01-04 14:47:27 +08:00
Yousong Zhou
1ad37267ab luci-app-shadowsocks-libev: support option no_delay
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-01-04 14:46:30 +08:00
Yousong Zhou
611c14bff1 luci-app-shadowsocks-libev: display disabled state of remote server
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-01-04 14:40:09 +08:00
Yousong Zhou
4b042bcbd9 luci-app-shadowsocks-libev: enumerate ifnames with sys.net.devices()
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-22 20:19:50 +08:00
Yousong Zhou
fd085d9910 luci-app-shadowsocks-libev: tweak list of redir instances
- Skip disabled ones
 - Allow empty value

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-22 20:19:49 +08:00
Yousong Zhou
f5ae714d9d luci-app-shadowsocks-libev: support ss_rules options: dst_default, ifnames
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-20 02:27:45 +08:00
Yousong Zhou
1c680e8c78 luci-app-shadowsocks-libev: add 2 aead methods
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-20 02:27:40 +08:00
Yousong Zhou
0a2fa7b16f luci-app-shadowsocks-libev: assume ss-redir has default mode tcp_only
This is in accordance with the current actual implementation of
ss-redir.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-13 12:36:59 +08:00
Yousong Zhou
76a4609c66 luci-app-shadowsocks-libev: hide key, password value in instance overview
This is mainly for ss_server section

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-08 11:25:22 +08:00
Yousong Zhou
5d91683575 luci-app-shadowsocks-libev: support ss_redir disable_sni option
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-04 22:29:09 +08:00
Yousong Zhou
7fae5f5c22 luci-app-shadowsocks-libev: add common flag ipv6_first
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-02 15:02:31 +08:00
Yousong Zhou
a668c58607 luci-app-shadowsocks-libev: remove redundant duplicate methods
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-02 14:35:32 +08:00
Yousong Zhou
48b5ccfad5 luci-app-shadowsocks-libev: rewrite for shadowsocks-libev 3.0.6-2
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-23 23:40:26 +08:00