ZMX - IT技术交流论坛 - 无限Perfect,追求梦想 - itzmx.com

标题: cdnbest 本地主控对接的被控节点安装api获取授权域名url地址是什么,节点每隔33天需要重新去验证一次 [打印本页]

作者: 小樱    时间: 2021/5/2 00:44
标题: cdnbest 本地主控对接的被控节点安装api获取授权域名url地址是什么,节点每隔33天需要重新去验证一次
cdnbest 本地主控对接的被控节点安装api获取授权域名url地址是什么,节点每隔33天需要重新去验证一次

节点获取主控ip信息,用作初始化节点使用
可通过hosts到官方提供的阿里云服务器进行加速 120.25.195.235,注意节点用的是net不是com。。。
  1. https://license.cdnbest.net
复制代码



获取主控ip成功信息如下
  1. Wed Apr 21 20:48:21|connect kangle url http://127.0.0.1:3311/core.whm?whm_call=info&
  2. Wed Apr 21 20:48:21|     try[0]use unix socket success
  3. Wed Apr 21 20:48:21|kangle version=[3.5.21.16]
  4. Wed Apr 21 20:48:21|engine start..
  5. Wed Apr 21 20:48:21|    load config....
  6. Wed Apr 21 20:48:21|build vhost info to json file
  7. Wed Apr 21 20:48:21|    uid=[10086],sid=[0],sync_seq=[1]...
  8. Wed Apr 21 20:48:21|try connect to master......................
  9. Wed Apr 21 20:48:21|    get licnese info...
  10. Wed Apr 21 20:48:21|    get license info laddr=[] index=[0]
  11. Wed Apr 21 20:48:21|wayland goroutine start..
  12. Wed Apr 21 20:48:21|WL   start time sleep auto update
  13. Wed Apr 21 20:48:21|    license websocket[true] get master host
  14. Wed Apr 21 20:48:22|-----------try connect to master self_ip=[] last_addr=[] master_address=[47.90.60.230:80]
  15. Wed Apr 21 20:48:22|    []connect master[47.90.60.230:80]
  16. Wed Apr 21 20:48:22|    [] real connect to master[47.90.60.230:80]
  17. Wed Apr 21 20:48:22|try to websocket handshake...
  18. Wed Apr 21 20:48:22|web socket str [GET /cbslave/4.6.4/10086_0/?os=linux HTTP/1.1
  19. Wed Apr 21 20:48:22|Host: 47.90.60.230:80
  20. Wed Apr 21 20:48:22|Connection: upgrade
  21. Wed Apr 21 20:48:22|
  22. Wed Apr 21 20:48:22|]
  23. Wed Apr 21 20:48:22|head , HTTP/1.1 301 Moved Permanently
  24. Wed Apr 21 20:48:22|Server: kangle/3.5.21.16
  25. Wed Apr 21 20:48:22|Date: Wed, 21 Apr 2021 20:48:22 GMT
  26. Wed Apr 21 20:48:22|Location: https://47.90.60.230/cbslave/4.6.4/10086_0/?os=linux
  27. Wed Apr 21 20:48:22|Content-Length: 0
  28. Wed Apr 21 20:48:22|
  29. Wed Apr 21 20:48:22|
  30. 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"}]
  31. Wed Apr 21 20:48:52|##socket close..
复制代码




节点获取成功会在bin目录生成 last_addr.conf 文件,内容为
  1. 47.90.60.230:3320
复制代码


etc目录生成 cdnbest.vhost.log.json 文件,内容为
  1. {"Uid":10086,"Nid":0,"Ngid":0,"Skey":"","Namespace":""}
复制代码


还有个vhs.db数据库文件打不开,不知道是什么。

(, 下载次数: 2)