现在 VMess 的 AlterID 设置为 0,则代表开启 VMessAEAD 头部加密,用于对抗重放和读取长度探测。
设计文档 https://github.com/v2fly/v2fly-github-io/issues/20
没有直接使用 Core 的开发者们请及时更新
设计文档 https://github.com/v2fly/v2fly-github-io/issues/20
没有直接使用 Core 的开发者们请及时更新
GitHub
VMessAEAD 设计文档 · Issue #20 · v2fly/v2fly-github-io
1. 现状 目前 VMess 已可根据协议头自动协商使用 AEAD 加密并认证传输的流量。但 VMess 协议头部仍然使用 MD5 + AES-CFB ,不能保证协议头部自身的完整性。 2. 定义 KDF: KDF 接受一个字节数组形式的主密钥,和若干字节数组形式的路径,生成一个子密钥 func KDF(key []byte, path [][]byte) []byte { oKDF = H...
v4.28.1 已经发布,修复了一个会导致安全性略微降低的 IV 使用。
https://github.com/v2fly/v2ray-core/releases/tag/v4.28.1
p.s Twitter 账号目前被 Shadowban 了,只能点账号进去看到内容。
https://github.com/v2fly/v2ray-core/releases/tag/v4.28.1
p.s Twitter 账号目前被 Shadowban 了,只能点账号进去看到内容。
GitHub
Release v4.28.1 · v2fly/v2ray-core
Changes
Use GO 1.15
VMess AEAD will be used when alterId is 0. ("testsEnabled" is discarded)
Fix incorrect AEAD IV usage which slightly reduced security. thanks @cute
Fixes
Fix dns tes...
Use GO 1.15
VMess AEAD will be used when alterId is 0. ("testsEnabled" is discarded)
Fix incorrect AEAD IV usage which slightly reduced security. thanks @cute
Fixes
Fix dns tes...
有一些人产生了困惑,简单答疑:
如果你两边都能升级到最新版,你不需要关注这个事情;
如果你只能升级客户端,那就不要用 alterid 0
如果你两边都能升级到最新版,你不需要关注这个事情;
如果你只能升级客户端,那就不要用 alterid 0
Forwarded from gcc-11
AllowInsecure?
Anonymous Poll
48%
0202 年了还搞什么 AllowInsecure
15%
我是忠实粉丝,别问,问就是开了
37%
什么叫 AllowInsecure?
v4.28.2 已经发布
https://github.com/v2fly/v2ray-core/releases/tag/v4.28.2
Fixes
Routing Context: Fix GetUser() & Use string for Attributes Value.
Fix the coarse-grained mutex in HTTP outbound.
Chores
Support disable VMessAead by os environ.
Fix and refine workflows.
https://github.com/v2fly/v2ray-core/releases/tag/v4.28.2
Fixes
Routing Context: Fix GetUser() & Use string for Attributes Value.
Fix the coarse-grained mutex in HTTP outbound.
Chores
Support disable VMessAead by os environ.
Fix and refine workflows.
GitHub
Release v4.28.2 · v2fly/v2ray-core
Fixes
Routing Context: Fix GetUser() & Use string for Attributes Value. @Vigilans
Fix the coarse-grained mutex in HTTP outbound. @darhwa
Chores
Support disable VMessAead by os environ. @wwqgtx...
Routing Context: Fix GetUser() & Use string for Attributes Value. @Vigilans
Fix the coarse-grained mutex in HTTP outbound. @darhwa
Chores
Support disable VMessAead by os environ. @wwqgtx...
Forwarded from Kowalski
https://github.com/v2fly/domain-list-community
现在提供 zip 和 xz 格式的 dlc.dat
以及从 geolocation-!cn 生成的 gfwlist
现在提供 zip 和 xz 格式的 dlc.dat
以及从 geolocation-!cn 生成的 gfwlist
GitHub
GitHub - v2fly/domain-list-community: Community managed domain list. Generate geosite.dat for V2Ray.
Community managed domain list. Generate geosite.dat for V2Ray. - v2fly/domain-list-community
Forwarded from Pani Ram
关于 Shadowsocks 的 OTA 功能的调查
Anonymous Poll
52%
从没听过,也没用过
17%
有听过,但从没用过
9%
有听过,但不想使用
5%
有听过,但使用较少
3%
有听过,且日常使用
15%
为难/只想看结果/其他
v4.29.0 已经发布
https://github.com/v2fly/v2ray-core/releases/tag/v4.29.0
Features
VLESS & XTLS 组合通过减少 TLS 二次加密实现了更强的性能和能耗改善,特别是在硬路由和移动设备上。但目前在性能充足的设备上,这个提升似乎并不明显。建议亲自测试,并关注后续改进。
VLESS PREVIEW 2
Add XTLS support
https://www.v2fly.org/config/protocols/vless.html
Changes
mKCP: removing annoying NewAEADAESGCMBasedOnSeed hint.
Refactor
Routing: Implement Route interface as the routing result of Router.
Stats: Add ChannelConfig & Return error on subscription.
Chores
Refine linter.
Golangci-lint: disable some plugins.
Make isAEAD more efficient.
Golangci-lint: increase Timeout to 5 minutes.
Warning
Please migrate from V2Ray to V2Fly in time
Compiling v2ray-core requires Go 1.15+
p.s 推特已经恢复正常 https://twitter.com/realV2Fly
https://github.com/v2fly/v2ray-core/releases/tag/v4.29.0
Features
VLESS & XTLS 组合通过减少 TLS 二次加密实现了更强的性能和能耗改善,特别是在硬路由和移动设备上。但目前在性能充足的设备上,这个提升似乎并不明显。建议亲自测试,并关注后续改进。
VLESS PREVIEW 2
Add XTLS support
https://www.v2fly.org/config/protocols/vless.html
Changes
mKCP: removing annoying NewAEADAESGCMBasedOnSeed hint.
Refactor
Routing: Implement Route interface as the routing result of Router.
Stats: Add ChannelConfig & Return error on subscription.
Chores
Refine linter.
Golangci-lint: disable some plugins.
Make isAEAD more efficient.
Golangci-lint: increase Timeout to 5 minutes.
Warning
Please migrate from V2Ray to V2Fly in time
Compiling v2ray-core requires Go 1.15+
p.s 推特已经恢复正常 https://twitter.com/realV2Fly
GitHub
Release v4.29.0 · v2fly/v2ray-core
Features
VLESS & XTLS combination has greater performance by reducing the cost of repeated TLS encryption and decryption, especially on hard router (it's measured to double performance), an...
VLESS & XTLS combination has greater performance by reducing the cost of repeated TLS encryption and decryption, especially on hard router (it's measured to double performance), an...
V2Fly - Notification and Updates, V2Ray the second new
关于 Shadowsocks 的 OTA 功能的调查
Shadowsocks OTA 这一曾匆匆上马的解决方案很快因为缺陷而被大多数实现弃用,时过境迁,目前只有 V2Ray 还没有移除它,所以我们决定近期推进这件事,盖紧棺材。#Shadowsocks_OTA
v4.30.0 Released
https://github.com/v2fly/v2ray-core/releases/tag/v4.30.0
Warning
* VLESS UDP over TCP struct breaking change.
(see https://github.com/v2fly/v2ray-core/pull/239)
* Shadowsocks OTA is deprecated and will be removed soon.
* Compiling v2ray-core requires Go 1.15+.
Features
* Add Trojan Protocol Support (PREVIEW).
(see https://www.v2fly.org/config/protocols/trojan.html)
* Add XTLS support to DomainSocket.
Refactor
* API: Implements RoutingService.
Chores
* Refine local TLDs for localhost DNS.
* Refine: geofile reading errors.
https://github.com/v2fly/v2ray-core/releases/tag/v4.30.0
Warning
* VLESS UDP over TCP struct breaking change.
(see https://github.com/v2fly/v2ray-core/pull/239)
* Shadowsocks OTA is deprecated and will be removed soon.
* Compiling v2ray-core requires Go 1.15+.
Features
* Add Trojan Protocol Support (PREVIEW).
(see https://www.v2fly.org/config/protocols/trojan.html)
* Add XTLS support to DomainSocket.
Refactor
* API: Implements RoutingService.
Chores
* Refine local TLDs for localhost DNS.
* Refine: geofile reading errors.
GitHub
Release v4.30.0 · v2fly/v2ray-core
Warning
VLESS UDP over TCP struct breaking change. Commit
Compiling v2ray-core requires Go 1.15+
Shadowsocks OTA will be deprecated soon
Features
Add Trojan Protocol Support. (PREVIEW) @maskede...
VLESS UDP over TCP struct breaking change. Commit
Compiling v2ray-core requires Go 1.15+
Shadowsocks OTA will be deprecated soon
Features
Add Trojan Protocol Support. (PREVIEW) @maskede...
V2Fly 正在参与由 GitHub 和 DigitalOcean 共同举办的 Hacktoberfest 活动!
凡在10月1日 - 10月31日间提交的 PR 都将在被接受后获得 hacktoberfest-accepted 标签,以争取获得奖品的机会。
详见 https://hacktoberfest.digitalocean.com
凡在10月1日 - 10月31日间提交的 PR 都将在被接受后获得 hacktoberfest-accepted 标签,以争取获得奖品的机会。
详见 https://hacktoberfest.digitalocean.com
Hacktoberfest
Hacktoberfest 2024
Hacktoberfest: a month-long celebration of open-source projects, their maintainers, and the entire community of contributors.
v4.31.0 Released
https://github.com/v2fly/v2ray-core/releases/tag/v4.31.0
Warning
* Remove Shadowsosks OTA
* Compiling v2ray-core requires Go 1.15+
Fixes
* Fix Trojan inbound access log
Features
* VLESS PREVIEW 2.4
* Add XTLS Direct Mode
https://www.v2fly.org/config/protocols/vless.html#xtls-%E9%BB%91%E7%A7%91%E6%8A%80
* Add XTLS support to mKCP
* Add full VLESS fallbacks support to Trojan
* Add padding to abstract UNIX domain socket in fallbacks
* Allow startup when VLESS inbound clients is zero
* Update to IETF QUIC draft-29
Refactor
* VLESS fallbacks & XTLS other improvements
* Stats: Implements blocking/non-blocking messaging of Channel.
Chores
* Refine Azure Pipelines & Bazel: remove unnecessary steps.
* Refine code *26.
Build and compiling
* Compiler uses
Notice
Project gets rid of
For more information, visit:
* https://www.v2fly.org/developer/intro/compile.html
* https://www.v2fly.org/developer/intro/guide.html
https://github.com/v2fly/v2ray-core/releases/tag/v4.31.0
Warning
* Remove Shadowsosks OTA
* Compiling v2ray-core requires Go 1.15+
Fixes
* Fix Trojan inbound access log
Features
* VLESS PREVIEW 2.4
* Add XTLS Direct Mode
https://www.v2fly.org/config/protocols/vless.html#xtls-%E9%BB%91%E7%A7%91%E6%8A%80
* Add XTLS support to mKCP
* Add full VLESS fallbacks support to Trojan
* Add padding to abstract UNIX domain socket in fallbacks
* Allow startup when VLESS inbound clients is zero
* Update to IETF QUIC draft-29
Refactor
* VLESS fallbacks & XTLS other improvements
* Stats: Implements blocking/non-blocking messaging of Channel.
Chores
* Refine Azure Pipelines & Bazel: remove unnecessary steps.
* Refine code *26.
Build and compiling
* Compiler uses
gccgo
, remove flags gcflags
and asmflags
* Make builds reproducibleNotice
Project gets rid of
GOPATH
mode entirely from now on. Use Git
and go mod
command as your first choice while development.For more information, visit:
* https://www.v2fly.org/developer/intro/compile.html
* https://www.v2fly.org/developer/intro/guide.html
GitHub
Release v4.31.0 · v2fly/v2ray-core
Warning
Remove Shadowsosks OTA
Compiling v2ray-core requires Go 1.15+
Fixes
Fix Trojan inbound access log
Features
VLESS PREVIEW 2.4
Add XTLS Direct Mode
https://www.v2fly.org/config/protocols...
Remove Shadowsosks OTA
Compiling v2ray-core requires Go 1.15+
Fixes
Fix Trojan inbound access log
Features
VLESS PREVIEW 2.4
Add XTLS Direct Mode
https://www.v2fly.org/config/protocols...
v4.31.1 Released
https://github.com/v2fly/v2ray-core/releases/tag/v4.31.1
Warning
* Compiling v2ray-core requires Go 1.15+
Changes
* Use Go 1.15.3
* Remove XTLS WriteMultiBuffer method
* Adjust level of some logs in VLESS
Fixes
* mKCP: Fix XTLS over mKCP
* DoH: Reduce timeout & fix ineffassign
Chores
* Upgrade all dependencies
* Refine golangci-lint settings & Refine code according to golangci-lint results
* Fix user-package codename & buildtime error
Notice
Project has got rid of
For more information, visit:
* https://www.v2fly.org/developer/intro/compile.html
* https://www.v2fly.org/developer/intro/guide.html
https://github.com/v2fly/v2ray-core/releases/tag/v4.31.1
Warning
* Compiling v2ray-core requires Go 1.15+
Changes
* Use Go 1.15.3
* Remove XTLS WriteMultiBuffer method
* Adjust level of some logs in VLESS
Fixes
* mKCP: Fix XTLS over mKCP
* DoH: Reduce timeout & fix ineffassign
Chores
* Upgrade all dependencies
* Refine golangci-lint settings & Refine code according to golangci-lint results
* Fix user-package codename & buildtime error
Notice
Project has got rid of
GOPATH
mode entirely. Use Git
and go mod
command as your first choice while development.For more information, visit:
* https://www.v2fly.org/developer/intro/compile.html
* https://www.v2fly.org/developer/intro/guide.html
GitHub
Release v4.31.1 · v2fly/v2ray-core
Warning
Compiling v2ray-core requires Go 1.15+
Changes
Use Go 1.15.3
Remove XTLS WriteMultiBuffer method
Adjust level of some logs in VLESS
Fixes
mKCP: Fix XTLS over mKCP
DoH: Reduce timeout &...
Compiling v2ray-core requires Go 1.15+
Changes
Use Go 1.15.3
Remove XTLS WriteMultiBuffer method
Adjust level of some logs in VLESS
Fixes
mKCP: Fix XTLS over mKCP
DoH: Reduce timeout &...
v4.31.2 Released
https://github.com/v2fly/v2ray-core/releases/tag/v4.31.2
Changes
* gRPC: Rollback from 1.33.0 to 1.32.0
https://github.com/grpc/grpc-go/issues/3945
* Upgrade other dependencies
https://github.com/v2fly/v2ray-core/releases/tag/v4.31.2
Changes
* gRPC: Rollback from 1.33.0 to 1.32.0
https://github.com/grpc/grpc-go/issues/3945
* Upgrade other dependencies
GitHub
Release v4.31.2 · v2fly/v2ray-core
Changes
gRPC: Rollback from 1.33.0 to 1.32.0 @o0HalfLife0o
grpc/grpc-go#3945
Upgrade other dependencies
gRPC: Rollback from 1.33.0 to 1.32.0 @o0HalfLife0o
grpc/grpc-go#3945
Upgrade other dependencies
v4.31.3 Released
https://github.com/v2fly/v2ray-core/releases/tag/v4.31.3
Warning
* Compiling v2ray-core requires Go 1.15+
Changes
* Add Trojan over XTLS support
* Adjust VLESS & Trojan Validator
Fixes
* Fix Trojan API
* Fix generate .pb.go on Windows
Chores
* Update geoip, geosite, dependencies
* Remove .dev/protoc & Detect and show download link
https://github.com/v2fly/v2ray-core/releases/tag/v4.31.3
Warning
* Compiling v2ray-core requires Go 1.15+
Changes
* Add Trojan over XTLS support
* Adjust VLESS & Trojan Validator
Fixes
* Fix Trojan API
* Fix generate .pb.go on Windows
Chores
* Update geoip, geosite, dependencies
* Remove .dev/protoc & Detect and show download link
GitHub
Release v4.31.3 · v2fly/v2ray-core
Warning
Compiling v2ray-core requires Go 1.15+
Changes
Add Trojan over XTLS support @maskedeken
Adjust VLESS & Trojan Validator
Fixes
Fix Trojan API @maskedeken
Fix generate .pb.go on Wind...
Compiling v2ray-core requires Go 1.15+
Changes
Add Trojan over XTLS support @maskedeken
Adjust VLESS & Trojan Validator
Fixes
Fix Trojan API @maskedeken
Fix generate .pb.go on Wind...
尽管任何人都可以检查自由开源软件中的源代码是否存在恶意漏洞,但大多数情况下都只是获取这些软件的预编译版本,没有办法确认它们和源代码是否一致。
这就刺激了对发布软件的开发者的攻击 —— 不仅是传统的对漏洞的利用,还以政治影响、勒索甚至暴力威胁的形式。
比起开发者本身,攻击构建程序的基础设施更能控制大量的用户设备,而二进制文件变化,对开发者和用户而言是个共同的盲区。
这些攻击可能还导致特定目标,如异见者,新闻工作者和举报人,以及希望进行自由通信的任何人,可能仅仅因为在专制政权下自由通信而遭受处罚。
因此,Reproducible Builds 允许验证在编译过程中没有漏洞或后门被引入。通过相同的源代码生成相同的二进制,让多个第三方就 "正确" 的结果达成共识,突出任何可疑的和值得仔细检查的偏差。
现在,我们在 https://github.com/v2fly/reproducible-builds 提供该工具,你可以快速运行并校验发布文件是否被修改。
这就刺激了对发布软件的开发者的攻击 —— 不仅是传统的对漏洞的利用,还以政治影响、勒索甚至暴力威胁的形式。
比起开发者本身,攻击构建程序的基础设施更能控制大量的用户设备,而二进制文件变化,对开发者和用户而言是个共同的盲区。
这些攻击可能还导致特定目标,如异见者,新闻工作者和举报人,以及希望进行自由通信的任何人,可能仅仅因为在专制政权下自由通信而遭受处罚。
因此,Reproducible Builds 允许验证在编译过程中没有漏洞或后门被引入。通过相同的源代码生成相同的二进制,让多个第三方就 "正确" 的结果达成共识,突出任何可疑的和值得仔细检查的偏差。
现在,我们在 https://github.com/v2fly/reproducible-builds 提供该工具,你可以快速运行并校验发布文件是否被修改。
GitHub
GitHub - v2fly/reproducible-builds: Reproducible builds are a set of software development practices that create an independently…
Reproducible builds are a set of software development practices that create an independently-verifiable path from source to binary code. - v2fly/reproducible-builds
v4.32.0 Released
https://github.com/v2fly/v2ray-core/releases/tag/v4.32.0
Features
* V2Ray loads JSON internally by default
* Refine UNIX domain socket
https://www.v2fly.org/config/inbounds.html
Fixes
* Fix mKCP sending window
* Fix JSON parsing dependency introduced by mutijson config
* Fix proto.go ProtoFilesUsingProtocGenGoFast on Windows
Chores
* Update geoip, geosite, dependencies
* Refine vprotogen & Regenerate .pb.go files
Notice
* Compiling v2ray-core requires Go 1.15+
* Now v2ray-core supports Reproducible Builds
https://github.com/v2fly/reproducible-builds
https://github.com/v2fly/v2ray-core/releases/tag/v4.32.0
Features
* V2Ray loads JSON internally by default
* Refine UNIX domain socket
https://www.v2fly.org/config/inbounds.html
Fixes
* Fix mKCP sending window
* Fix JSON parsing dependency introduced by mutijson config
* Fix proto.go ProtoFilesUsingProtocGenGoFast on Windows
Chores
* Update geoip, geosite, dependencies
* Refine vprotogen & Regenerate .pb.go files
Notice
* Compiling v2ray-core requires Go 1.15+
* Now v2ray-core supports Reproducible Builds
https://github.com/v2fly/reproducible-builds
GitHub
Release v4.32.0 · v2fly/v2ray-core
Features
V2Ray loads JSON internally by default @forever8938
Refine UNIX domain socket @lucifer9
https://www.v2fly.org/config/inbounds.html
Fixes
Fix mKCP sending window @p4gefau1t
Fix JSON par...
V2Ray loads JSON internally by default @forever8938
Refine UNIX domain socket @lucifer9
https://www.v2fly.org/config/inbounds.html
Fixes
Fix mKCP sending window @p4gefau1t
Fix JSON par...
v4.32.1 Released
https://github.com/v2fly/v2ray-core/releases/tag/v4.32.1
Important improvement
* VLESS XTLS Direct Mode ReadV Experiment
It's strongly recommended to test this change, as it reaches the best performance of current V2Ray platform.
Remember to use V2Ray v4.32.1+ on at least client side. For more information, please visit
https://www.v2fly.org/config/protocols/vless.html#xtls-%E9%BB%91%E7%A7%91%E6%8A%80
Fixes
* Disable 0-RTT mechanism for HTTP/1.x outbound
* Set default alterId to 0 for VMess dynamic ports
Chores
* Use Go 1.15.4
* Update geoip, geosite, dependencies
Notice
* Compiling v2ray-core requires Go 1.15+
* You are able to compile codes to the complete same binaries as assets by simply following
https://www.v2fly.org/developer/intro/compile.html
https://github.com/v2fly/v2ray-core/releases/tag/v4.32.1
Important improvement
* VLESS XTLS Direct Mode ReadV Experiment
It's strongly recommended to test this change, as it reaches the best performance of current V2Ray platform.
Remember to use V2Ray v4.32.1+ on at least client side. For more information, please visit
https://www.v2fly.org/config/protocols/vless.html#xtls-%E9%BB%91%E7%A7%91%E6%8A%80
Fixes
* Disable 0-RTT mechanism for HTTP/1.x outbound
* Set default alterId to 0 for VMess dynamic ports
Chores
* Use Go 1.15.4
* Update geoip, geosite, dependencies
Notice
* Compiling v2ray-core requires Go 1.15+
* You are able to compile codes to the complete same binaries as assets by simply following
https://www.v2fly.org/developer/intro/compile.html
GitHub
Release v4.32.1 · v2fly/v2ray-core
Important improvement
VLESS XTLS Direct Mode ReadV Experiment
It's strongly recommended to test this change, as it reaches the best performance of current V2Ray platform.
Remember to use V2Ray...
VLESS XTLS Direct Mode ReadV Experiment
It's strongly recommended to test this change, as it reaches the best performance of current V2Ray platform.
Remember to use V2Ray...
#performance
最新的 v4.32.1 版本中,VLESS XTLS Direct Mode 引入了 ReadV 增强,减少一层内存 Copy,性能已与 VLESS 无加密裸奔持平(接近于纯流量转发),为传统 VMess WS TLS 方案的五倍、VLESS TCP TLS 的三倍(且测试机器 CPU 均有 AES 指令集,否则差距更大,如硬路由器上),强烈建议测试体验。这或许是当前性能最强的安全代理方式,但并不是上限,因为下一步优化方向是 V2Ray 框架本身的性能。
https://www.v2fly.org/config/protocols/vless.html
最新的 v4.32.1 版本中,VLESS XTLS Direct Mode 引入了 ReadV 增强,减少一层内存 Copy,性能已与 VLESS 无加密裸奔持平(接近于纯流量转发),为传统 VMess WS TLS 方案的五倍、VLESS TCP TLS 的三倍(且测试机器 CPU 均有 AES 指令集,否则差距更大,如硬路由器上),强烈建议测试体验。这或许是当前性能最强的安全代理方式,但并不是上限,因为下一步优化方向是 V2Ray 框架本身的性能。
https://www.v2fly.org/config/protocols/vless.html
www.v2fly.org
VLESS | V2Fly.org
Project V 是一个工具集合,它可以帮助你打造专属的基础通信网络