cdnbest 本地主控对接的被控节点安装api获取授权域名url地址是什么,节点每隔33天需要重新去验证一次
节点获取主控ip信息,用作初始化节点使用
可通过hosts到官方提供的阿里云服务器进行加速 120.25.195.235,注意节点用的是net不是com。。。
复制代码
获取主控ip成功信息如下
复制代码
节点获取成功会在bin目录生成 last_addr.conf 文件,内容为
复制代码
etc目录生成 cdnbest.vhost.log.json 文件,内容为
复制代码
还有个vhs.db数据库文件打不开,不知道是什么。
请求,可以看到响应授权每33天授权过期一次,需要重新验证,响应的内容没有包含任何key密钥信息,单纯就是一个时间值,可以改掉实现无限期永久,把时间改成9999就是无限了
然后节点提示无法解析license.cdnbest.net,,获取不到新的文件,就会连接失败,如果.net连接失败会尝试一次连接.com
https://license.cdnbest.net/slave?uid=10086&sign=353g0xjoaq33hsfq2obc7q5vikeh6eoo
复制代码
补充帖子
今天看到本地主控,也是有类似的接口
https://license.cdnbest.net/master?uid=10086&sign=353g0xjoaq33hsfq2obc7q5vikeh6eoo
复制代码
https://license.cdnbest.net/bigdata?uid=10086&sign=353g0xjoaq33hsfq2obc7q5vikeh6eoo&time=1623265418981
复制代码
本主题需向作者支付 9999 樱币 才能浏览 购买主题
{"MasterHost":"47.90.60.230:80,47.90.60.230:3320","Uid":10086,"WebSocket":2,"LastTime":1619787209,"Day":33}这串代码是要放到哪个文件里面呢,是cdnbest.vhost.log.json文件里面嘛?
matt4846 发表于 2021/5/2 16:11节点获取主控ip信息,用作初始化节点使用
可通过hosts到官方提供的阿里云服务器进行加速 120.25.195.235,注意节点用的是net不是com。。。
- https://license.cdnbest.net
获取主控ip成功信息如下
- Wed Apr 21 20:48:21|connect kangle url http://127.0.0.1:3311/core.whm?whm_call=info&
- Wed Apr 21 20:48:21| try[0]use unix socket success
- Wed Apr 21 20:48:21|kangle version=[3.5.21.16]
- Wed Apr 21 20:48:21|engine start..
- Wed Apr 21 20:48:21| load config....
- Wed Apr 21 20:48:21|build vhost info to json file
- Wed Apr 21 20:48:21| uid=[10086],sid=[0],sync_seq=[1]...
- Wed Apr 21 20:48:21|try connect to master......................
- Wed Apr 21 20:48:21| get licnese info...
- Wed Apr 21 20:48:21| get license info laddr=[] index=[0]
- Wed Apr 21 20:48:21|wayland goroutine start..
- Wed Apr 21 20:48:21|WL start time sleep auto update
- Wed Apr 21 20:48:21| license websocket[true] get master host
- Wed Apr 21 20:48:22|-----------try connect to master self_ip=[] last_addr=[] master_address=[47.90.60.230:80]
- Wed Apr 21 20:48:22| []connect master[47.90.60.230:80]
- Wed Apr 21 20:48:22| [] real connect to master[47.90.60.230:80]
- Wed Apr 21 20:48:22|try to websocket handshake...
- Wed Apr 21 20:48:22|web socket str [GET /cbslave/4.6.4/10086_0/?os=linux HTTP/1.1
- Wed Apr 21 20:48:22|Host: 47.90.60.230:80
- Wed Apr 21 20:48:22|Connection: upgrade
- Wed Apr 21 20:48:22|
- Wed Apr 21 20:48:22|]
- Wed Apr 21 20:48:22|head , HTTP/1.1 301 Moved Permanently
- Wed Apr 21 20:48:22|Server: kangle/3.5.21.16
- Wed Apr 21 20:48:22|Date: Wed, 21 Apr 2021 20:48:22 GMT
- Wed Apr 21 20:48:22|Location: https://47.90.60.230/cbslave/4.6.4/10086_0/?os=linux
- Wed Apr 21 20:48:22|Content-Length: 0
- Wed Apr 21 20:48:22|
- Wed Apr 21 20:48:22|
- Wed Apr 21 20:48:22|WLWLWLsend login [{"op_uid":0,"op_ip":"","Uid":10086,"Sid":0,"Id":0,"Compress":true,"System":null,"FullSyncSeq":0,"FullSyncOffset":0,"FullSyncTime":true,"Type":"cdn","Challenge":"1617985800","Sign":"353g0xjoaq33hsfq2obc7q5vikeh6eoo","Version":"4.6.4","Kangle_version":"3.5.21.16","Os":"linux"}]
- Wed Apr 21 20:48:52|##socket close..
节点获取成功会在bin目录生成 last_addr.conf 文件,内容为
- 47.90.60.230:3320
etc目录生成 cdnbest.vhost.log.json 文件,内容为
- {"Uid":10086,"Nid":0,"Ngid":0,"Skey":"","Namespace":""}
还有个vhs.db数据库文件打不开,不知道是什么。
请求,可以看到响应授权每33天授权过期一次,需要重新验证,响应的内容没有包含任何key密钥信息,单纯就是一个时间值,可以改掉实现无限期永久,把时间改成9999就是无限了
然后节点提示无法解析license.cdnbest.net,,获取不到新的文件,就会连接失败,如果.net连接失败会尝试一次连接.com
https://license.cdnbest.net/slave?uid=10086&sign=353g0xjoaq33hsfq2obc7q5vikeh6eoo
- {"MasterHost":"47.90.60.230:80,47.90.60.230:3320","Uid":10086,"WebSocket":2,"LastTime":1619787209,"Day":33}
补充帖子
今天看到本地主控,也是有类似的接口
https://license.cdnbest.net/master?uid=10086&sign=353g0xjoaq33hsfq2obc7q5vikeh6eoo
- {"Uid":10086,"level":4,"node_limit":300,"ip_limit":600}
https://license.cdnbest.net/bigdata?uid=10086&sign=353g0xjoaq33hsfq2obc7q5vikeh6eoo&time=1623265418981
- {"code":200,"message":"OK","data":{"logAnalysis":null,"wayLand":null}}
{"MasterHost":"47.90.60.230:80,47.90.60.230:3320","Uid":10086,"WebSocket":2,"LastTime":1619787209,"D ...
这个是云端下发的,应该是放在vhs.db里面,具体还没看 小樱 发表于 2021/5/2 18:45
这个是云端下发的,应该是放在vhs.db里面,具体还没看
我 看这个 vhs.db这个文件 不能直观查看{:1313:} matt4846 发表于 2021/5/3 15:58
我 看这个 vhs.db这个文件 不能直观查看
要用Sqlitestudio等数据库管理工具打开 小樱 发表于 2021/5/3 18:32
要用Sqlitestudio等数据库管理工具打开
好的 {:3027:}{:3027:}{:3017:}
页:
[1]