Proposal: VMess Share Link Standard #2638
AkinoKaede
started this conversation in
Ideas
Replies: 2 comments 6 replies
-
那麽你是準備把link功能寫入core裡面,然後可以直接讀取呢?還是新建個程式名字叫做v2ray-link之類的,然後功能是可以在link和json之間做轉換 |
Beta Was this translation helpful? Give feedback.
1 reply
This comment has been hidden.
This comment has been hidden.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thanks to the original designer @DuckSoft
You can comment in this discussion if you have any suggestion. If you have any problem with this propsal, please contant me by email [email protected].
Overview
$()
meansencodeURIComponent()
omit means null or empty.
Details
Basic Fields
uuid
: $(string)VMess user's UUID.
Not null, not empty.
remote-host
: stringRemote server's host. Compatible with Punycode.
Not null, not empty.
remote-port
: range(1, 65536)Remote server's port. The min value is 1, and the max value is 65535. Not null.
descriptive-text
: $(string)Description for remote server.
Protocol-specific Fields
encryption
:auto
|aes-128-gcm
|chacha20-poly1305
|none
|zero
VMess's security type. Default value is
auto
.Transport-specific Fields
type
:tcp
|ws
|kcp
|http
|quic
|grpc
|meek
Transport type.
HTTP/2
type
must behttp
.path
: $(string)The path for HTTP/2. Default value is
/
. It is not recommended to omit.host
: $(string)The
Host
filed in HTTP requests. Default value is same asremote-host
.WebSocket
type
must bews
.path
: $(string)The path for WebSocket. Default value is
/
. It is not recommended to omit.host
: $(string)The
Host
filed in requests. It is not recommended to omit.mKCP (KCP)
type
must bekcp
.headerType
:none
|srtp
|wechat-video
|dtls
|wireguard
mKCP's imitated header. Default value is
none
. Not empty.seed
: $(string)mKCP encryption seed. Not empty.
QUIC
type
must bequic
.headerType
:none
|srtp
|wechat-video
|dtls
|wireguard
QUIC's imitated header. Default value is
none
. Not empty.quicSecurity
:none
|aes-128-gcm
|chacha20-poly1305
QUIC's encryption mothod. Default value is
none
.key
: $(string)Key for QUIC's encryption.
When
quicSecurity
isnone
, it must be null.When
quicSecurity
is notnone
, it must be not empty.gRPC
type
must begrpc
.serviceName
: string.ServiceName for gRPC. Null is not recommended,not empty.
Meek
type
must bemeek
.url
: $(string)Request url for Meek, It must be a legal URL. For exmaple,
https%3A%2F%2Fmeek.v2fly.org%2Fmeek
is legal. Not null, not empty.Security-specific Fields
security
:none
|tls
Security tranport type. Default value is
none
TLS
security
must betls
sni
: stringTLS's SNI, Ponycode is supported. Default value is same as
remote-host
. Not empty.alpn
: $(strings.Join([]string, ","))TLS ALPN. For example,
h2%2Chttp%2F1.1
is legal. Not empty.Backward Compatibility
As the software develops, the range of possible values for the enumerated fields such as
encryption
,type
andsecurity
, will be added and the fields will be added.Beta Was this translation helpful? Give feedback.
All reactions