Package: golang-v2ray-core / 4.34.0+ds-5

Metadata

Package Version Patches format
golang-v2ray-core 4.34.0+ds-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01 Revert Adopt to new signature key and format.patch | (download)

infra/control/verify.go | 121 114 + 7 - 0 !
1 file changed, 114 insertions(+), 7 deletions(-)

 revert "adopt to new signature key and format"

This reverts commit 432bc627bbcfc66207a9521abb897811cc42d0b7.

02 Skip some tests need huge memory or fail sometimes.patch | (download)

app/dns/nameserver_local_test.go | 1 1 + 0 - 0 !
app/dns/nameserver_quic_test.go | 1 1 + 0 - 0 !
app/router/command/command_test.go | 1 1 + 0 - 0 !
infra/conf/dns_bootstrap_test.go | 1 1 + 0 - 0 !
proxy/vmess/aead/authid_test.go | 5 5 + 0 - 0 !
proxy/vmess/aead/encrypt_test.go | 4 4 + 0 - 0 !
proxy/vmess/encoding/encoding_test.go | 3 3 + 0 - 0 !
proxy/vmess/validator_test.go | 1 1 + 0 - 0 !
testing/scenarios/command_test.go | 3 3 + 0 - 0 !
testing/scenarios/dokodemo_test.go | 2 2 + 0 - 0 !
testing/scenarios/feature_test.go | 4 4 + 0 - 0 !
testing/scenarios/policy_test.go | 2 2 + 0 - 0 !
testing/scenarios/reverse_test.go | 2 2 + 0 - 0 !
testing/scenarios/shadowsocks_test.go | 2 2 + 0 - 0 !
testing/scenarios/tls_test.go | 5 5 + 0 - 0 !
testing/scenarios/transport_test.go | 5 5 + 0 - 0 !
testing/scenarios/vmess_test.go | 10 10 + 0 - 0 !
transport/internet/headers/http/http_test.go | 3 3 + 0 - 0 !
transport/internet/kcp/kcp_test.go | 1 1 + 0 - 0 !
19 files changed, 56 insertions(+)

 skip some tests need huge memory or fail sometimes


03 Use proto.Equal to compare proto.patch | (download)

app/router/command/command_test.go | 12 6 + 6 - 0 !
proxy/vless/encoding/encoding_test.go | 5 3 + 2 - 0 !
2 files changed, 9 insertions(+), 8 deletions(-)

 use proto.equal to compare proto

new protoc-gen-go seems not exporting some fields, so upstream code is affected

backport/04 Feat update lucas clemente quic go to v0.20.0 816.patch | (download)

app/dns/nameserver_quic.go | 4 2 + 2 - 0 !
transport/internet/quic/dialer.go | 6 3 + 3 - 0 !
transport/internet/quic/hub.go | 2 1 + 1 - 0 !
3 files changed, 6 insertions(+), 6 deletions(-)

 feat: update lucas-clemente/quic-go to v0.20.0 (#816)

(cherry picked from commit f3a56ca090160376e060d906360da45b40883df3)

backport/05 Fix incorrect HMac Chaining further checking needed.patch | (download)

proxy/vmess/aead/kdf.go | 20 15 + 5 - 0 !
1 file changed, 15 insertions(+), 5 deletions(-)

 fix incorrect hmac chaining, further checking needed

(cherry picked from commit 0024c6e028768d8516bdee11be9834b2617ff00c)

Closes: #1009818

backport/06 Fix DoS attack vulnerability in CommandSwitchAccountFa.patch | (download)

proxy/vmess/encoding/commands.go | 2 1 + 1 - 0 !
proxy/vmess/encoding/commands_test.go | 21 21 + 0 - 0 !
2 files changed, 22 insertions(+), 1 deletion(-)

 fix dos attack vulnerability in commandswitchaccountfactory

(cherry picked from commit c1af2bfd7aa59a4482aa7f6ec4b9208c1d350b5c)

Closes: #1010377

backport/07 Chore bump github.com lucas clemente quic go.patch | (download)

app/dns/nameserver_quic.go | 42 21 + 21 - 0 !
transport/internet/quic/dialer.go | 104 52 + 52 - 0 !
transport/internet/quic/hub.go | 16 8 + 8 - 0 !
3 files changed, 81 insertions(+), 81 deletions(-)

 chore: bump github.com/lucas-clemente/quic-go from 0.26.0 to 0.27.0

(cherry picked from commit 23816b25645365bd33bdcba022dd6f368b3cc3a2)

Closes: #1019844

08 remove geoip dependency.patch | (download)

app/router/condition_geoip_test.go | 15 10 + 5 - 0 !
app/router/condition_test.go | 11 6 + 5 - 0 !
infra/conf/dns_test.go | 13 7 + 6 - 0 !
3 files changed, 23 insertions(+), 16 deletions(-)

 remove geoip dependency for tests

Closes: #1034367

09 bump quic go to 0.37.4.patch | (download)

app/dns/nameserver_quic.go | 17 14 + 3 - 0 !
transport/internet/quic/conn.go | 2 1 + 1 - 0 !
transport/internet/quic/dialer.go | 10 7 + 3 - 0 !
transport/internet/quic/hub.go | 12 8 + 4 - 0 !
4 files changed, 30 insertions(+), 11 deletions(-)

 bump quic-go to 0.37.4

Based on https://github.com/v2fly/v2ray-core/pull/2561