1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-16 12:45:24 +00:00

Update VMess protocol, reduce header size

This commit is contained in:
V2Ray 2015-09-07 01:01:32 +02:00
parent a45498da45
commit 5504877d88

View File

@ -8,7 +8,7 @@
认证部分:
* 16 字节md5(用户 VID + 'ASK')
指令部分:
* 2 字节:随机填充长度 M (M <= 32)
* 1 字节:随机填充长度 M (M <= 32)
* M 字节:随机填充内容
* 1 字节:保留,总是 0x00
* 16 字节:请求数据 IV
@ -25,7 +25,7 @@
* 0x03IPv6
* 目标地址:
* 4 字节IPv4
* 2 字节长度 + 域名
* 1 字节长度 + 域名
* 16 字节IPv6
数据部分
* N 字节:请求数据