202 Commits

Author SHA1 Message Date
wybb
734df71303 优化ssr-switch单一节点下的ss重启
针对如下场景进行优化
1、ssr-plus仅仅设置了一个服务器节点
2、该节点使用域名地址
3、域名对应的DNS解析ip修改了

问题原因:
在存在多节点情况下,select_proxy会挑选下一个节点重启ssr服务,但是在单一节点下由于不符合if [ "$ENABLE_SERVER" != nil ] 条件,导致并不调用switch_proxy来重启服务。但是域名对应的ip已经修改了,ssr服务本身是依赖ip参数启动的,ssr服务在重启依然停留在老的ip上。

调整方式:
这个修改调整为在每次检测网络失败的情况下,就算只有一个节点,也重启ssr服务,保证ssr服务有机会切换到域名新的ip地址。
此外假如因为ssr服务本身存在一些小概率bug,也可以通过重启ssr解决。


这种情况在付费的ssr服务中很常见,因为服务商往往只提供一个域名,假如因为服务器调整(比如某个服务器ip被和谐了),服务提供商都会重新给域名绑定新的服务器(或新IP)
2019-09-16 17:20:14 +08:00
nivalxer
3469334bd9 修正v2ray订阅更新问题
${uci_set}type为服务器节点类型,固定为v2ray,不应该取ssr_security字段。
2019-09-16 17:19:22 +08:00
LEAN-ESX
8e2d7d7184 UnblockNeteaseMusic: skip httpdns v2 2019-09-12 21:00:38 -07:00
LEAN-ESX
9eeb898ee3 luci-app=ssr-puls: fix inbound port map in GFWlist mode 2019-08-16 12:07:46 -07:00
cnzgray
20a0ab0f31 luci-ssr-plus: optimize subscribe group and node identity method 2019-07-26 13:56:01 +08:00
nivalxer
c2078b506e Update subscribe.sh : v2ray tls
部分v2ray订阅链接返回的tls参数不是0,1,可能是"tls":"tls",因此更新节点不会勾上tls选项。
因而增加了判断
2019-07-26 13:55:43 +08:00
LEAN-ESX
796b638046 plus: fix v2ray subscribe ws support 2019-07-06 07:08:15 -07:00
LEAN-ESX
610721a2e7 Version update to R9.7.6 2019-07-06 05:50:30 -07:00
LEAN-ESX
b5daaadc0c Love & Peace 2019-05-16 08:52:22 -07:00
coolsnowwolf
16d7e450ad luc ssr plus: add QUIC support 2019-05-04 21:03:28 +08:00
coolsnowwolf
b489f79846 luci ssr plus: sync settings 2019-05-04 14:01:00 +08:00
coolsnowwolf
e299db6fc6 luci ssr plus: add v2ray mux concurrency settins support 2019-05-04 13:57:32 +08:00
coolsnowwolf
a17c6f21f3 luci ssr plus: handle v2ray "\" path string 2019-05-04 13:36:14 +08:00
coolsnowwolf
c49d781c99 Revert "luci ssr plus: power unleaded"
This reverts commit 214b94d859b68376148f09c5fa43014fbc56d753.
2019-05-01 10:10:41 +08:00
coolsnowwolf
214b94d859 luci ssr plus: power unleaded 2019-04-30 22:41:04 +08:00
coolsnowwolf
5f1adb9574 luci app ssr plus:add v2ray subscription 2019-04-30 00:34:33 +08:00
coolsnowwolf
15c55dfb99 luci ssr plus: sort socks5 servers 2019-04-23 15:03:40 +08:00
coolsnowwolf
3805105340 luci ssr plus: add global proxy mode 2019-04-18 14:45:51 +08:00
coolsnowwolf
f91a9ab9a1 v2ray: custom module and compressed to reduce size 2019-04-15 15:13:42 +08:00
coolsnowwolf
231151fdcf luci ssr plus: reduce gfwlist size 2019-04-12 14:19:22 +08:00
coolsnowwolf
d4ab022705 luci ssr plus: update kcptun path 2019-04-12 11:17:27 +08:00
coolsnowwolf
1d96b095d8 kcptun: Bump to v20190401 (need feeds update) 2019-04-06 20:29:35 +08:00
coolsnowwolf
5d1402214b luci ssr plus: handled gfwlist whitelist 2019-02-21 15:40:22 +08:00
505575853
351009aedb Update shadowsocksr cron
修改add_cron位置,防止服务关闭后,计划任务依然存在的问题。
2019-01-18 15:18:14 +08:00
coolsnowwolf
1152513d14 luci ssr plus: adjust log display 2018-12-28 00:23:29 +08:00
coolsnowwolf
994030e6a4 luci-ssr-plus: support Douyin AD sites 2018-12-26 23:52:07 +08:00
coolsnowwolf
8461f6a89b luci ssr plus: fix oversea mode 2018-12-26 11:45:11 +08:00
coolsnowwolf
4fd4aec328 luci ssr plus: sort servers name order 2018-12-24 01:53:14 +08:00
coolsnowwolf
addcf9d8fd luci ssr plu: add multi threads option 2018-12-21 18:26:27 +08:00
coolsnowwolf
cf38534db4 luci ssr plus:disable UDP multithreading for kernel < 4.6 2018-12-20 10:55:08 +08:00
coolsnowwolf
e52912fb31 luci ssr plus:fix typo 2018-12-20 00:57:17 +08:00
coolsnowwolf
6260fa89e2 luci ssr plus: combined into one instance when tcp and udp node are the same to save ram usage 2018-12-20 00:51:41 +08:00
coolsnowwolf
6f0e369f9b luci ssr plus: multithreading pid indication 2018-12-19 19:05:12 +08:00
coolsnowwolf
ad54ad2919 luci ssr plus: add multithreading cpu banlance for UDP relay 2018-12-19 17:48:40 +08:00
coolsnowwolf
a7aa94748f luci ssr plus: add multithreading cpu banlance for ss/ssr 2018-12-19 14:49:11 +08:00
coolsnowwolf
8baa7aa55c luci ssr plus:v2ray JSON should be pretty printed 2018-12-14 11:02:26 +08:00
coolsnowwolf
e03cad5f63 luci ssr plus:compatible with PandoraBox and OpenWrt CC 2018-12-14 11:01:04 +08:00
coolsnowwolf
2c5d926bbd luci add ssr: fix openwrt cc support 2018-12-12 16:09:34 +08:00
coolsnowwolf
da760c19f6 luci ssr plus: remove m-team from gfwlist 2018-12-07 21:16:01 +08:00
coolsnowwolf
927c573531 luci ssr plus: don't encrypt all lua 2018-12-03 22:30:56 +08:00
coolsnowwolf
3e549d67ec luci ssr plus: easter eggs 2018-12-03 22:28:20 +08:00
coolsnowwolf
7e690c0022 luci ssr plus: add oversea run mode 2018-11-29 12:16:32 +08:00
coolsnowwolf
bcee90c6d4 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2018-11-28 18:31:07 +08:00
coolsnowwolf
ee677d3a30 luci ssr plus: global proxy client also can set in route mode 2018-11-28 18:30:52 +08:00
thank243
36e8cbe6eb Update genv2config.lua
修复insecure选项失效
2018-11-27 12:02:00 +08:00
coolsnowwolf
bb81f14df0 luci ssr plus: ssr-monitor pdnsd status 2018-11-26 14:55:17 +08:00
coolsnowwolf
a5532b9697 luci ssr plus: ssr-monitor replace of ssr-watchdog. optimize ssr-server method 2018-11-26 00:37:36 +08:00
coolsnowwolf
63d165d0d7 luci ssr plus: update init.d service setting 2018-11-25 20:08:21 +08:00
coolsnowwolf
67dc07a2cd luci ssr plus: update ssr server settings 2018-11-25 20:03:47 +08:00
coolsnowwolf
85a976ec0d luci ssr plus: remove china ip detection in gfwlist mode 2018-11-19 01:50:22 +08:00