v2ray / manual Goto Github PK
View Code? Open in Web Editor NEWSource code for https://www.v2ray.com/
Source code for https://www.v2ray.com/
协议部分文档如VMess似乎有点过于简洁,建议适当可以加入一点BestPractice防止开发者误用。许多内容需要二次阅读源码,这对非Golang开发者不是太友好。
一点拙见
chapter_03/01_effective.html中“VMess ID” 数量下面的JSON有误,正确写法应该是
"settings": {
"clients": [{
"id": "3b129dec-72a3-4d28-aeee-028a0fe86e22",
"alterId": 100
},
{
"id": "8f62a287-e80a-441f-9f28-affc9fb6c572",
"alterId": 1000
}]
}
先翻这么多,明天继续~~~
不会玩git,先这么上传吧233
en_20170321.zip
移除一下吧
zh_cn/chapter_01/speed.md 中的 测试 V2Ray 的连接速度 小节中, 配置中缺少下面一行:
"listen": "127.0.0.1",
否则的话, 客户端启动 iperf 的 的命令应为:
./iperf3 -c 0.0.0.0 -p 8888
https://www.v2ray.com/chapter_01/3rd_party.html 中,推荐的新手友好客户端V2RayN的Github项目不存在了: https://github.com/v2ray/v2rayN ,显示404,请问发生了什么事,是停止开发了吗?还是单纯的链接错误?
开发人员手册->加入方式
中的邮箱[email protected]
不存在,无法向其发送邮件。
随着核心版本更新,感觉手册中的 命令行参数 一节跟不上了,有许多参数没有提到(用户统计、-plugin、-cert等等),请问可以解决一下吗?谢谢!
https://github.com/v2ray/manual/blob/master/zh_cn/chapter_02/env.md
v2ray.ray.buffer.size描述与实际代码(v3.21 v2ray-core/transport/pipe/pipe.go)有区别,0应为禁止缓存,-1才是无上限
首先我的建议是认为wiki是给用户看的,如果是给开发者看的,当我没说,并且“请在WIKI上说明”
1、建议指明这部分配置的位置或者它所处的嵌套(从配置文件最开始的定位)
因为很多很多的wiki中的配置,仅仅是上面放个大括号,定位到完整配置文件中很难一次定位。
2、参数与参数之间的分隔符是逗号,建议说明一下
3、我有看到每个协议的配置,但是始终没有生成器生成的全面,于是这个能否补充完整?即使不解释每个参数的意义。
4、既然反馈群里每次都有人把https://github.com/KiriKira/vTemplate 发出来为什么不在wiki中体现呢?
https://www.veekxt.com/utils/v2ray_gen
生成的是4.0+的配置文件……
zh_cn/chapter_02/04_dns.md
纯字符串: 当此字符串匹配目标域名中任意部分,该规则生效。当此域名完整匹配目标域名时,该规则生效。例如"v2ray.com"匹配"v2ray.com"但不匹配"www.v2ray.com"。
英文文档倒是对的
安卓客户端章节中Actinium中play store的下载链接失效了。
V2Ray 提供了两个预编译的 Docker image:
v2ray/official: 包含最新发布的版本,每周跟随新版本更新;
v2ray/dev: 包含由最新的代码编译而成的程序文件,随代码库更新;
这里的地址似乎已经不再维护
新地址貌似是v2fly/v2fly-core
https://github.com/jinmiaoluo/v2ray-core-helper
v2ray-core 的Mac命令行客户端. 用于提供类似于 V2rayX 这类软件的Mac图形界面和命令行界面的代理支持
Hi there,
I appreciate the efforts on Persian/fa translation. I see some issues on fa translation and I would be very happy to help on this. Please let me know if there are any considerations or style guide because I couldn't find any contribution guide and I will come back with PRs.
"loglevel": "warning",
"access": "/var/log/v2ray.access.log",
"error": "/var/log/v2ray.error.log"
"loglevel": "warning",
"access": "/var/log/v2ray.access.log",
"error": "/var/log/v2ray.error.log" [Warning] v2ray.com/core: V2Ray
如题.
I develop a new GUI client for V2Ray, named V2Ray Desktop.
Please consider adding it to 神一样的工具们.
现在文档中除 http settings 中的用户等级设定外其他协议均为 level,而前者仍为 userlevel,可能会让用户造成混淆,希望能统一
见 https://github.com/v2ray/v2ray-core/blob/master/infra/conf/http.go#L17
https://github.com/v2ray/manual/search?q=userlevel&unscoped_q=userlevel
Hope it could support subscribe. Have you, the honored developer, got a plan for it?
通过google搜索后,发现IOS客户端的连接404,连接是: https://www.v2ray.com/ui_client/ios.html
i want freelancer project v2ray for iOS. If you can do it, please connect me via email: [email protected]
"port": 3128,
"user": [
{
"user": "my-username",
"pass": "my-password"
}
]
user => users
欢迎随时关闭此issue.
我这MacOS Catalina上使用良好,它解决了v2rayU,v2rayX这样的工具无法在pac模式下对一个应用发出的请求进行分流,如mail。尽管它还很新,但它值得尝试以及它将越来越好。每个稍懂v2ray JSON配置的人都能很好得使用它。
zh_cn/chapter_00/help.md
https://www.v2ray.com/chapter_00/help.html
此文件中的GPG Key在网站上渲染成了markdown格式(即有了删除线)
"settings": {
"vnext": [
],
"servers": null, //用途不知
"response": null //用途不知
在本地打开编译好的网页 html,只能够打开当前页,里面链接到本地其它网页文件的链接,点击都没有反应。
感觉是最终生成的 html 文件,js 里面 XHR 有点问题。浏览器调试报如下错误:
Access to XMLHttpRequest at 'file:///home/atzlinux/doc/v2ray-manual/publish/chapter_02/protocols/dokodemo.html' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
theme.js:3 GET file:///home/atzlinux/doc/v2ray-manual/publish/chapter_02/protocols/dokodemo.html net::ERR_FAILED
不知道能否修改 js,允许本地流浪网页?
Hey there, I've noticed that the documentation suggests the following command to execute installation script:
bash <(curl -L -s https://install.direct/go.sh)
Executing this command without su root
in an ssh session yields the following error:
bash: /dev/fd/63: No such file or directory
I was able to bypass this error by running this command instead, still without switching to root user:
curl https://install.direct/go.sh | sudo bash
I was wondering if:
Thanks for the project, and happy to open a pull request for this!
https://www.v2ray.com/chapter_00/02_donate.html
对于单次捐赠的价值超过 $50,您可以从如下选项中指定一项:
为期一个月的首页广告 (您的名字,或 Logo);
按您的喜好修改我们的代码。限制:不可影响用户使用,不可影响文档。您的修改将保留一个月。
关于修改代码,应增加流程说明,以及对 匿名和安全 的影响的信息。
4.0开始手册用的Object的Object的Object的方式,看着看着就不知道跑哪里了。请原谅我脑容量比较小,记不住那么多Object名。建议像网页导航那样,在每个分段说明前写个完整路径。例如:
inbounds>
outbounds>
[{
"tag":"direct",
"protocol": "http",
"settings": {},
"streamSettings": {},
}]
inbounds>streamSettings>kcpSettings
outbounds>streamSettings>kcpSettings
{
"header": {
"type": "utp" // balabala
}
}
建议添加BifrostV到 /ui_client/android.html
Hi there!
I was working on something for a project that uses v2ray and noticed there's an issue with the v2ray.com site when redirecting from the root domain (v2ray.com) to the www domain (www.v2ray.com).
When using a go package that uses v2ray.com/core as one of its dependencies, the "go get" command will fail because of this error:
package v2ray.com/core: unrecognized import path "v2ray.com/core" (https fetch: Get http://www.v2ray.com/core/?go-get=1: redirected from secure URL https://v2ray.com/core?go-get=1 to insecure URL http://www.v2ray.com/core/?go-get=1)
Upon closer inspection, it appears when trying to resolve v2ray.com/core, the server returns an HTTP 301 status. However, it does not seem to preserve the protocol (https in this case) when sending the "location" header. As you can see here (output from curl command):
root@server:~# curl -i https://v2ray.com/core?go-get=1
HTTP/1.1 301 Moved Permanently
Date: Sat, 07 Sep 2019 20:09:37 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: __cfduid=d4b75de6453f9bd74437d656e18ef702d1567886977; expires=Sun, 06-Sep-20 20:09:37 GMT; path=/; domain=.v2ray.com; HttpOnly; Secure
Location: http://www.v2ray.com/core/?go-get=1
Access-Control-Allow-Origin: *
Expires: Sat, 07 Sep 2019 20:18:36 GMT
Cache-Control: max-age=7200
X-Proxy-Cache: MISS
X-GitHub-Request-Id: D410:1035:207ED:2FFAB:5D73F47C
CF-Cache-Status: HIT
Age: 6661
Strict-Transport-Security: max-age=15552000; includeSubDomains; preload
X-Content-Type-Options: nosniff
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Server: cloudflare
CF-RAY: 512b524a5f88c1cf-IAD
<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>
root@server:~#
The "Location" header returned by the server is redirecting me to http://www.v2ray.com even though the original request had https in the URL.
Oddly enough, this does not appear to be the behavior when there is a trailing slash in the URL. In the above example, I used https://v2ray.com/core?go-get=1
. But when I change the request URL to https://v2ray.com/core/?go-get=1
, the server preserves the "https" part of the URL when returning the Location header:
root@server:~# curl -i https://v2ray.com/core/?go-get=1
HTTP/1.1 301 Moved Permanently
Date: Sat, 07 Sep 2019 20:12:30 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: __cfduid=d95cf6fce5dfb951a5b098f78559cc7d21567887150; expires=Sun, 06-Sep-20 20:12:30 GMT; path=/; domain=.v2ray.com; HttpOnly; Secure
Location: https://www.v2ray.com/core/index.html?go-get=1
CF-Cache-Status: HIT
Age: 399
Strict-Transport-Security: max-age=15552000; includeSubDomains; preload
X-Content-Type-Options: nosniff
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Server: cloudflare
CF-RAY: 512b5680d87523e8-IAD
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/1.10.3</center>
</body>
</html>
root@server:~#
目前配置文档已经和config.json字段不完全匹配了
{
"streamSettings": {
"network": "quic", // transport 里面没注明,是这样写吗?
"security": "none",
"quicSettings": {
"security": "none", // stream setting 里面有个security,这里又有个
"key": "",
"header": {
"type": "none"
}
}
}
}
请着手更新v2ray-core项目的Protobuf 配置文档。以便v2ray客户端的更新支持。
请在文档中说明v2ray-core项目对正在使用的JSON配置的处理方式:
v2ray-core项目后续版本是如何对JSON配置文件支持。是不是改为采用第三方程序(如v2ctl),把JSON格式配置转换为v2ray可执行文件可以使用的Protobuf格式。
v2ray-core项目将来会不会完全废弃JSON配置文件,只单独使用Protobuf配置文件。包括v2ctl也不再转换JSON格式到Protobuf格式。
Hi V2Ray development members, recently I just developed a software called Trojan-Qt5
. Originally it was oriented for trojan only, but now supported V2Ray as well.
The link is here => https://github.com/Trojan-Qt5/Trojan-Qt5
Let me describe some features:
Thanks for consideration!
https://v2ray.com/developer/intro/compile.html 页面的脚本缺空格
bazel build --action_env=GOPATH=$GOPATH --action_env=PATH=$PATH//release:all
应为
bazel build --action_env=GOPATH=$GOPATH --action_env=PATH=$PATH //release:all
I develop a new GUI client for V2Ray, Shadowsocks, and Trojan, named V2Ray Desktop. It can be used in Windows, Linux, and macOS.
Please consider adding it to 神一样的工具们.
https://www.v2ray.com/chapter_02/transport/mkcp.html
该页有部分错误
单位应改为MB/s ,默认值到底是多少?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.