Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持SIP008在线配置 #1703

Closed
AnnAngela opened this issue Feb 25, 2018 · 16 comments · Fixed by #2942
Closed

支持SIP008在线配置 #1703

AnnAngela opened this issue Feb 25, 2018 · 16 comments · Fixed by #2942

Comments

@AnnAngela
Copy link

如同 ShadowsocksR 一样,这样当服务器提供方变更服务器地址时可以自动变更本地服务器设定。

@AnnAngela
Copy link
Author

感觉都没人关注这个的=。=

@celeron533
Copy link
Contributor

建议使用ssr

@AnnAngela
Copy link
Author

但是我感觉 SSR 已经走向邪教了=。=

@lkmvip
Copy link

lkmvip commented Mar 4, 2018

现在的订阅好像都是按照SSR格式写的

@AnnAngela
Copy link
Author

没错就是用于梯子平台变更服务器列表时用的……所以还是很希望能添加进去的……

@Amayadream
Copy link

不是每个人都有精力去搭建和维护自己的节点, 为了节约时间很多人还是会选择购买服务商提供的服务, 这种情况下订阅功能是非常重要的, 所以我赞成[加入订阅功能]的提议

@celeron533
Copy link
Contributor

订阅的服务端是商家自己实现的,各有各的实现手法
另外本项目并未与任何商家合作

@ghost
Copy link

ghost commented Mar 17, 2019

订阅的服务端是商家自己实现的,各有各的实现手法
另外本项目并未与任何商家合作

一个折中的方法:提供重新加载配置文件的能力,但不实现任何解析订阅链接的功能。这样可以由独立的程序解析订阅并修改服务器列表。

@zhiqihuang
Copy link

zhiqihuang commented May 19, 2019

订阅功能很有用。我就是自用,因为自用所以经常关注打折信息,常常换服务器,每次都要重新调整所有设备上的配置,很麻烦。

我看了一下,可以用SS-Server + SSR客户端实现订阅

只需要按照SSR链接生成的方式
ssr://server:port:protocol:method:obfs:password_base64/?params_base64
来生成ss链接,然后用ssr订阅就可以了

method - ss的加密方式
protocol - origin
obfs - plain
password_base64 - ss密码的base64加密结果
params_base64 - ssr参数的base64加密结果(瞎比填就可以,因为没有混淆)
params_base64 的格式如下,参数都要先分别base64加密,然后最后整个string再base64加密
obfsparam=obfsparam_base64&protoparam=protoparam_base64&remarks=remarks_base64&group=group_base64
这里面有用的是remarks和group,加载后便于管理。

然后base64加密 server:port:protocol:method:obfs:password_base64/?params_base64 这部分
最后加上前缀ssr://再次base64加密就可以了。整个过程写个脚本会很轻松。

把加密后的一长串东西放在一个URL get request上,这样设备只需要订阅那个URL就可以,服务器变更也只需要修改那一长串东西。

@midle110
Copy link

一帮商家充点钱给这个开源事业吧
天天想着人家免费给你开发。

ss意图就是个人搭建使用
商用自己找人去开发

@ghost
Copy link

ghost commented Dec 23, 2019

一些早期的技术试验,似乎并不兼容于常见订阅:https://github.com/shadowsocks/shadowsocks-windows/tree/with_online_config

基于目前讨论结论和问题热度,重开但标记为wontfix

@ghost
Copy link

ghost commented Jan 14, 2020

shadowsocks/shadowsocks-android#2392

隔壁安卓版加了,并且把大版本号滚到了5。

就个人而言还是不想加,订阅协议未标准化。而且考虑到目前代码质量(一点也不MVC的MVC),即使要加也要等重构之后加。

@ghost
Copy link

ghost commented Jan 14, 2020

shadowsocks/shadowsocks-org#89 关于订阅标准的一则草案

@ghost
Copy link

ghost commented Jan 25, 2020

基于shadowsocks/shadowsocks-org#89 (comment)

We're finalizing the online config support......

考虑列入v5更新计划

@ghost ghost added new feature and removed wontfix labels Jan 25, 2020
@AnnAngela
Copy link
Author

没想到一年前的wontfix居然还能重见天日(x

@ghost ghost added this to the v5 milestone Jan 31, 2020
@ghost ghost changed the title [建议]加入订阅功能 支持SIP008在线配置 Feb 2, 2020
@ghost ghost mentioned this issue Sep 3, 2020
7 tasks
@Stzx Stzx modified the milestones: v5, v4.2.x Sep 19, 2020
@ghost ghost closed this as completed in #2942 Sep 30, 2020
@faydanube

This comment was marked as spam.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants