Comments (3)
项目主页有写:README.md
就在使用说明的第5步。先运行服务端,再运行客户端命令 v2raypool.exe --getproxynodes
去查询。
5. 运行服务端和客户端
5.1 服务端
可执行文件直接运行,启动 gRPC
服务端
# linux 或 mac 执行 ./v2raypool
v2raypool.exe
5.2 客户端
gRPC
客户端交互命令:
# 启动v2ray代理池
v2raypool.exe --startproxynodes
# 查看v2ray代理池信息(包括:本地代理端口号,测速结果,运行状态,测速时间,节点名,节点索引)
v2raypool.exe --getproxynodes
# 测速(测速基准使用https://www.google.com)。测速结束后,会自动选择最快的节点作为系统代理节点。
v2raypool.exe --testproxynodes
# 根据索引值激活某个节点为系统代理的端口(--getproxynodes 查看索引值,系统代理端口从VP_HTTP_PROXY的值读取)
v2raypool.exe --activeproxynode=16
# 停止所有节点
v2raypool.exe --stopproxynodes
from v2raypool.
感谢,实际运行中报错: ---ParseV2rayNodes--Base64.Decode--err(illegal base64 data at input byte 64)---RAW(ss://YWVzLTE345yOC1nYxxxx206MzNiNWEyZWMtMmU3Mi00Zm2mUzLTg1OTItZDZhMzA4N2RmNDg3@example.xxx.com:12051#%F0%9F%87%B0%F0%9F%87%B)---%E9%9F%A9%E5%9B%BD%20%E4%B8%93%E7%BA%BF%20E1。 看样子是对订阅地址返回的数据解析失败了。请问对于解析的数据格式是什么样子的?上面的代理信息已经做过处理了,可以支持这种格式吗?
from v2raypool.
节点订阅源解析步骤
- 从订阅源的URL网址获取Base64加密过的字符串,里面包含所有代理节点的信息。
- 解析Base64字符串,得到以
\n
换行符分割的多个代理节点信息。每个节点信息也是被Base64加密过的。格式为:协议://Base64加密字符串
。如:ss://xxxxxxxxxxxxxxx
或vmess://XXXXXXXXXXXX==
。 非法格式为:ss://[email protected]
- 解密Base64加密过的节点。如果解密失败,则该节点会被忽略,提示:
---ParseV2rayNodes--Base64.Decode--err
,然后继续解密下个节点。 - 如果Base64解密成功,则结果为json字符串。再继续解析该json字符串信息。合法的json信息示例:
{"add":"addr1.xxxxx.com","host":"","id":"93XXXXXX-EA21-7240-EE7F-317FXXXXXXXX","net":"ws","path":"","port":"444","ps":"xxxx-v2-HK-XXXXXX1","tls":"tls","type":"none","v":2,"aid":0}
若解析错误则会提示:-ParseV2rayNodes--json.Unmarshal err--
,然后继续下一个节点。
调试工具
- base64在线解析网站: https://base64.us/
from v2raypool.
Related Issues (19)
- WEB面板中,一直显示不出来节点 HOT 1
- 能不能通过修改v2ray软件来创建多个本地端口呢 HOT 1
- 启动代理池时报错 HOT 1
- Good Jobs~~!
- ---ParseV2rayNodesErr--(0)--err(parseNodeInfo err(json: cannot unmarshal number into Go struct field V2rayNode.Port HOT 3
- 能支持开socks端口用吗? HOT 3
- 很好用,希望能加入支持socks5代理的支持 HOT 2
- 几个使用上的问题 HOT 3
- 测速(www.google.com)正常,代理使用不了,大佬帮忙看看如何解决 HOT 1
- 考虑一下支持 trojan 吧 HOT 5
- webui 启动正常 grpc没有启动
- 增加docker的部署方式
- 删除选定的代理 HOT 2
- ss节点导入不显示或者没有用
- ss节点导入不显示或者没有用 HOT 3
- 使用1.6.4版本在运行ss协议代理时出现报错 HOT 7
- 1.7.0版本只有vmess协议能正常工作 HOT 2
- 提示出现‘fork/exec bin/v2ray.exe: exec format error’ HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v2raypool.