Update VMess protocol to remove unnecessary data

This commit is contained in:
V2Ray committed 2015-09-23 00:29:10 +02:00
1 parent 019d8266bc
commit c59dcc309c
2 files changed
+42 -80

No files matched your search

+1 -4
View File
@@ -7,8 +7,6 @@
* 16 字节:基于时间的 hash(用户 [ID](https://github.com/V2Ray/v2ray-core/blob/master/spec/id.md)),见下文
指令部分:
* 1 字节:随机填充长度 M (0 < M <= 32)
* M 字节:随机填充内容
* 1 字节:版本号,目前为 0x1
* 16 字节:请求数据 IV
* 16 字节:请求数据 Key
@@ -26,8 +24,7 @@
* 4 字节:IPv4
* 1 字节长度 + 域名
* 16 字节:IPv6
* 1 字节:随机填充长度 M2 (0 < M2 <= 32)
* M2 字节:随机填充内容
* 4 字节:指令部分前面所有内容的 FNV1a hash
数据部分
* N 字节:请求数据