Proto commits in v2fly/v2ray-core

These commits are when the Protocol Buffers files have changed: (only the last 100 relevant commits are shown)

Commit:63c44fd
Author:yuyangzhang
Committer:Xiaokang Wang (Shelikhoo)

Add X-Forwarded-For support to gRPC transport Add a gated parseXForwardedFor option to gRPC transport config and use incoming x-forwarded-for metadata for the connection remote address when enabled. Wire the option through legacy v4 grpc/gun settings and add v4, v5, and gRPC encoding coverage.

The documentation is generated from this commit.

Commit:f2d7e3a
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

gdocsviewer: allow adding headers in public config

Commit:1c2c1ab
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

gdocsviewer: reduce rate limiting by allow adding headers and refine poll logic

Commit:2739be7
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

Add Google Docs Viewer based transport

Commit:bf57f11
Author:rhjdvsgsgks
Committer:GitHub

also parse X-Forwarded-For in httpupgrade (#3676)

Commit:cbab1db
Author:Xiaokang Wang (Shelikhoo)
Committer:GitHub

Add WebRTC Tunnel Support in V2Ray (#3660) * add webrtc tunnel support in v2ray * add webrtc tunnel support in v2ray * add webrtc tunnel support in v2ray * add webrtc tunnel support in v2ray(fix lint)

Commit:d1e2c23
Author:Xiaokang Wang (Shelikhoo)
Committer:GitHub

Add RRPIT - Rapid Reliable Packet Interactive Transport (#3658) * Add rrpit(unreleased) transport * rrpit(unreleased) transport: boost reconstruction for the front lane * rrpit(unreleased) transport: avoid blocking delivery of packets with smux packet reordering * rrpit(unreleased) transport: add dual channel with differential prioritization * rrpit(unreleased) transport: add remoteMaxDataShardsPerLane * rrpit(unreleased) transport: add remoteMaxDataShardsPerLane(fix) * rrpit(unreleased) transport: add auto-reconnect for transport connection * rrpit(unreleased) transport: add auto-reconnect for transport connection * rrpit(unreleased) transport: update tests * rrpit(unreleased) transport: limit frame size for framed packet write closer * rrpit(unreleased) transport: remove packet length wrapper * rrpit(unreleased) transport: update go mod * rrpit(unreleased) transport: update dtls error propagation * rrpit(unreleased) transport: update broken tests * rrpit(unreleased) transport: fix deadlock when closing persistent channel * rrpit(unreleased) transport: add server disconnection detection for persistent connection * rrpit(unreleased) transport: fix broken lints * rrpit(unreleased) transport: fix broken lints * rrpit(unreleased) transport: fix broken lints * rrpit(unreleased) transport: fix broken lints * rrpit(unreleased) transport: fix broken lints

Commit:126e70b
Author:Leo
Committer:GitHub

feat: grpc: allow configurable keepalive and initial windows size (#3654) added configuration options: - idle_timeout - health_check_timeout - permit_without_stream - initial_windows_size acknowledge: - https://github.com/XTLS/Xray-core - https://xtls.github.io/en/config/transports/grpc.html Signed-off-by: Leo <i@hardrain980.com> Thanks Leo

Commit:62a9278
Author:Xiaokang Wang (Shelikhoo)
Committer:GitHub

Add TCP Listener support for wireguard outbound (#3651)

Commit:1f4dc3b
Author:Xiaokang Wang (Shelikhoo)
Committer:GitHub

Stun Nat Type Testing (#3646) * Add NAT Type Testing utility * Add dualstack udp support for wireguard outbound * tidy go.mod * Do not include stun command on android by default * fix lints * add additional test when a secondary server was provided

Commit:4c87c9f
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

Add Wireguard Support for v2ray (mostly vibe coded)

Commit:02434ca
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

Add sticky choice option for leastping

Commit:67ae899
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

Adjust Client Reply Address Indication

Commit:08267c3
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

tlsmirror server role server support

Commit:5cd7482
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

Add request transport based enrollment receiver

Commit:1960b2f
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

avoid loop in tlsmirror self-enrollment

Commit:6c98c6c
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

Add surrogate server identity for roundtripperconfirmation

Commit:15d8930
Author:Shelikhoo

rename to connection_enrolment to fix typo

Commit:143b1c8
Author:Shelikhoo
Committer:Shelikhoo

add sequence watermarking to TLSMirror someone said it is by information theory impossible to implement, I said let there be sequence watermarking.

Commit:5a00398
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

add client and server side connection enrollment check

Commit:89c9e1a
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

add default h2 based primary enrollment confirmation implementation

Commit:e17ac47
Author:Shelikhoo

disable tlsmirror transport from subscription

Commit:a1f8ede
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

rework wait time in traffic generator

Commit:f59383b
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

add first write delay to compensate for timing issue created by forwarding traffic to remote server

Commit:56dd214
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

Add TLS1.2 AEAD explicit nonce detection

Commit:284d189
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

add transport layer padding support to tlsmirror

Commit:19025d3
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

rename option to DeferInstanceDerivedWriteTime in tlsmirror

Commit:ccedd48
Author:rp-hello
Committer:GitHub

proxy dns with NOTIMP error (#2954) * proxy dns with NOTIMP error * fix compile error when protoc is relative link ``` $ go generate ... proto.go fork/exec ../Cellar/protobuf/28.3/bin/protoc: no such file or directory exit status 1 proto.go:5: running "go": exit status 1 context_test.go functions_test.go v2ray_test.go $ ls -l `which protoc` lrwxr-xr-x 1 local admin 34 Nov 1 13:56 /opt/homebrew/bin/protoc -> ../Cellar/protobuf/28.3/bin/protoc ``` * add nonIPQuery for dns config * go generate with only dns.proto * Try Allowing Github actions * fix merge error * apply coding style --------- Co-authored-by: local <local@localhost> Co-authored-by: Shelikhoo <xiaokangwang@outlook.com>

Commit:b1ef737
Author:Xiaokang Wang (Shelikhoo)
Committer:GitHub

Add TLSMirror looks like TLS censorship resistant transport protocol as a developer preview transport (#3437) * Add tlsmirror server processing routine * Add tlsmirror server processing routine: generated * Add tlsmirror server handshake capture * it runs version~ * add draining copy for handshake * refactor out base tls mirror connection * tls mirror server side base * add random field extraction * add tls like encryption * add tls like encryption (generated) * add server side implementation for tlsmirror * apply coding style: tlsmirror * fix typo in mirrortls mirror crypto * add client initial implementation for tls mirror * add traffic generator implementation for tlsmirror * add client processing of traffic generator originated traffic * add embedded traffic generator support to mirrortls client * override security setting of traffic generator if appropriate * override security setting of traffic generator if appropriate * apply request wait time for traffic generator * add unsafe keyword required for linkname * fix outbound manager registration for traffic ingress at tlsmirror client * initial works at sticking packets together * fix traffic generator's traffic goto logic * fix get client and server random * fix applying primary key * fix log error handling for handshake random retrieval * fix nonce generation and key derivation logic * fix: add readPipe channel to client and server connection handlers * fix: use detached context for persistent mirror TLS dialer * fix: ensure proper closure of connections on context cancellation * fix: proper detection of traffic generator originated connection wait for connection ready before sending payload * fix coding style

Commit:6c93961
Author:basinilya
Committer:GitHub

fix false success from SOCKS server when Dispatch() fails (#3431) Postpone SOCKS server ok reply to a TCP Connect command until Dispatch() actually creates an upstream Link. Previously it was sent immediately inside Handshake(). UDP works as before.

Commit:704c0d2
Author:rhjdvsgsgks
Committer:GitHub

Add echQueryDomain option (#3421) Co-authored-by: myself <mail@mail.mail>

Commit:c3be0e2
Author:Xiaokang Wang (Shelikhoo)
Committer:GitHub

Add dns proxy response ttl control (#3323)

Commit:2fefe94
Author:Xiaokang Wang (Shelikhoo)
Committer:GitHub

Enable restricted mode load for http protocol client (#3315)

Commit:e1064c5
Author:Xiaokang Wang (Shelikhoo)
Committer:GitHub

Add Persistence to Subscription Imports, plus Subscription Update API (#3307) * Add Persistence for Subscription imports * Add Update Tracked Subscription

Commit:78cd513
Author:Xiaokang Wang (Shelikhoo)
Committer:GitHub

Add Persistent Storage Support to V2Ray (#3300) * update protogen to strip unused part * add persistent storage support * fix coding style * update linter setting * update github integration

Commit:69b0907
Author:Xiaokang Wang (Shelikhoo)
Committer:GitHub

Add WebUI Support for V2Ray (#3284) * Add support for web based grpc * Avoid panic in observatory command: incorrect tag * Add WebCommander app for web based client * Add WebCommander app for web based client * Add urlline subscription container format support * avoid panic when serving user request * refine subscription info api * fix start consistency issue in web commander * fix webcommander import style * fix urlline parsing * fix crash in subscription commander * add webroot file serving at webcommmander * fix crash when observatory is not found * add autogenerated subscriptionmgr err

Commit:54fbeeb
Author:Xiaokang Wang (Shelikhoo)
Committer:GitHub

Resync Hysteria2 Import (#3280) * Revert "Remove hysteria2" This reverts commit 1d21d7a07761af3b40ecfbf418b0849eb1c3918b. * Update Hysteria2 * Rename hysteria2 module * fix broken hy2 import version --------- Co-authored-by: JimmyHuang454 <jimmyhuang454@gmail.com>

Commit:ca4bc96
Author:Shelikhoo

Revert "Remove hysteria2" This reverts commit 1d21d7a07761af3b40ecfbf418b0849eb1c3918b.

Commit:4c1d948
Author:Xiaokang Wang (Shelikhoo)
Committer:GitHub

Add Early Data and Custom Header Support to HTTPUpgrade Transport (#3276) * Add early reply draining for httpupgrade * Add early data config for httpupgrade * Add early data implementation for httpupgrade * Add send extra header for httpupgrade

Commit:1d21d7a
Author:世界

Remove hysteria2 The hysteria2 fork used "github.com/JimmyHuang454/hysteria" removed the original license of hysteria2 (which is not allowed) and replaced it with GPL which conflicts with v2ray's license. Given that the quality of the related code is very poor and it is not synchronized with the upstream, I deleted it.

Commit:05345cc
Author:Xiaokang Wang (Shelikhoo)
Committer:GitHub

Add Mekya Stereotype (#3185) * Add mekya stereotype config * Add mekya stereotype config: autogenerated * add autogenerated files * add mekya stereotype * add mekya stereotype: fixup * add mekya stereotype to default distro * add mekya testing

Commit:5ff7c71
Author:风扇滑翔翼
Committer:GitHub

新增ECH客户端支持 (#3162) * Add ECH support * Use internet.DialSystem() Why not * Many fixes

Commit:256a816
Author:dyhkwong
Committer:Xiaokang Wang (Shelikhoo)

Add packetEncoding for Hysteria 2

Commit:2078480
Author:Jimmy Huang
Committer:Xiaokang Wang (Shelikhoo)

Add Add Hysteria2 Protocol

Commit:764fb2f
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

removed unused hy2 config

Commit:5961b2f
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

Add AllowInsecureIfPinnedPeerCertificate option to tls security

Commit:7db39fb
Author:Xiaokang Wang (Shelikhoo)
Committer:GitHub

Add (Experimental) Meyka Building Blocks to request Transport (#3120) * add packetconn assembler * let kcp use environment dependency injection * Add destination override to simplified setting * add dtls dialer * add dtls listener * add dtls to default * fix bugs * add debug options to freedom outbound * fix kcp test failure for transport environment

Commit:35b4ad4
Author:Kaede Akino
Committer:Xiaokang Wang (Shelikhoo)

feat: add MPTCP support

Commit:439d13a
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

Add DelayAuthWrite to socks client

Commit:94fa391
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

Add MaxMin TLS version support in TLS Setting

Commit:cc79bbe
Author:karelrooted
Committer:Xiaokang Wang (Shelikhoo)

Add GeoDomain to DNS Nameserver in JSONv5

Commit:a339721
Author:Mark Ma
Committer:GitHub

feat: RandomStrategy AliveOnly (#2850) * feat: strategy_randomalive * feat: RandomStrategy AliveOnly * fix: unobserved candidate not alive * fix: StrategySettings nil panic * fix: TestRouterConfig * fix: alive_only typo

Commit:1fcaca7
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

enable restricted mode load for some settings

Commit:cc77e90
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

Add subscription manager

Commit:c61820c
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

rename import dialing tag in subscription thanks mzz

Commit:e575a52
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

add shadowsocks2022 tcp client support

Commit:c0a0ce2
Author:AkinoKaede
Committer:Xiaokang Wang (Shelikhoo)

feat: add sniffing for tun

Commit:a96d343
Author:AkinoKaede
Committer:AkinoKaede

feat: add sniffing for tun

Commit:1eefcd3
Author:Shelikhoo
Committer:Shelikhoo

add httpupgrade transport

Commit:a98f468
Author:pathC
Committer:Shelikhoo

feat: add h2 as a stream protocol for jsonv5

Commit:efdc05f
Author:Shelikhoo
Committer:Shelikhoo

Add fullcone packet filtering to tun app

Commit:263fbf5
Author:Shelikhoo
Committer:Shelikhoo

fix domain socket abstract name and add jsonv5 support

Commit:89ff606
Author:AkinoKaede
Committer:Shelikhoo

feat: socket options

Commit:98463db
Author:AkinoKaede
Committer:Shelikhoo

feat: remove packetaddr support because gVisor not support cone-nat

Commit:5fafc29
Author:AkinoKaede
Committer:Shelikhoo

fix: inbound context

Commit:1cb3ab7
Author:AkinoKaede
Committer:Shelikhoo

feat: add udp handler

Commit:04104ad
Author:AkinoKaede
Committer:Shelikhoo

feat: add promiscuous mode and spoofing config

Commit:f9ea860
Author:AkinoKaede
Committer:Shelikhoo

feat: set route config

Commit:a1c5a6b
Author:AkinoKaede
Committer:Shelikhoo

feat: add address to NIC

Commit:12567c6
Author:AkinoKaede
Committer:Shelikhoo

feat: add tun support for tcp

Commit:d586497
Author:秋のかえで
Committer:GitHub

fix: parse for the CipherType of Shadowsocks in simplified config (#2510)

Commit:f68115c
Author:Shelikhoo
Committer:Shelikhoo

add request transport base

Commit:9463980
Author:Shelikhoo
Committer:Shelikhoo

add meek request stereotype

Commit:cfc6bd4
Author:Shelikhoo
Committer:Shelikhoo

Add h1SkipWaitForReply Option to http proxy protocol

Commit:882a363
Author:Vigilans
Committer:Shelikhoo

DomainStrategy support for all outbounds

Commit:5893d2f
Author:mydogshitgold
Committer:Shelikhoo

feat: add option to override destination of access log When SystemPolicy.OverrideAccessLogDest is enabled, destination host in access log will be replaced with sniffed host. (#866)

Commit:f2ae277
Author:秋のかえで
Committer:Shelikhoo

Feat: add PacketAddr support to Trojan server

Commit:7b434ce
Author:Shelikhoo
Committer:Shelikhoo

Add uTLS ALPN Control

Commit:75ece5b
Author:mydogshitgold
Committer:Shelikhoo

fix: dns.Hostmapping in JSONv5 config treats ip as Base64 (#2107)

Commit:e4188c8
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

Add uTLS support for Security Engine

Commit:6d4ee5a
Author:Shelikhoo
Committer:Shelikhoo

Add uTLS support for Security Engine

Commit:f8ac919
Author:Vigilans
Committer:GitHub

[app/dns] Support per-client configuration for fakedns (#2212) * Move `filterIP` from `hosts.go` to `dnscommon.go` * Implement adding pools for fakedns.HolderMulti * Implement per-client fakedns for DNS app * Remove `dns.ClientWithIPOption` and replace with new programming model * Implement JSON config support for new fakedns config * Fix lint and tests * Fix some codacy analysis

Commit:5604863
Author:Vigilans
Committer:GitHub

DNS: Support specifying domain matcher (#1979)

Commit:d3b50bb
Author:Vigilans
Committer:GitHub

Feat: [app/dns] Support per-client configuration (#1977) * DNS: Support per-client configuration * Add deprecated feature warnings for `skipFallback`, `disableCache`, `disableFallback`, `disableFallbackIfMatch`

Commit:5bc04f3
Author:Bernd Eichelberger
Committer:GitHub

feat: Replace default Health Ping URL to HTTPS (#1991)

Commit:8b7d283
Author:秋のかえで

Feat: rename network to networks for JsonV5

Commit:adb7871
Author:秋のかえで
Committer:GitHub

Feat: refine cipher and network config (#1436)

Commit:7deca02
Author:Shelikhoo
Committer:Shelikhoo

Add JsonV5 support for QUIC

Commit:42930d9
Author:ValdikSS
Committer:Xiaokang Wang (Shelikhoo)

Add TCP keep alive idle setting

Commit:322c8cc
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

Add VLite Client Support for Packet Armor

Commit:c009faa
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

Add VLite Server Support Definition

Commit:4c79629
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

Add Support for VLite UDP Server

Commit:f255307
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

Add UDP VLite Outbound Support

Commit:86f64c0
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

Add UDP VLite protobuf config

Commit:84f2d47
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

add bind to device, socket buf size setting to socket options

Commit:e088086
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

add force buffer size sockopt option

Commit:1fc7c57
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

rename sockopt options

Commit:d8f3694
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

add reduced iv head entropy to simplified config

Commit:dbacf9a
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

config for reduced initial iv head entropy

Commit:8bf3da7
Author:Shelikhoo
Committer:Xiaokang Wang (Shelikhoo)

add socks packetaddr config