update format

This commit is contained in:
V2Ray committed 2015-09-07 23:13:55 +02:00
1 parent b5416c9f42
commit b0849dd23b
2 files changed
+20 -15

No files matched your search

+5 -1
View File
@@ -5,8 +5,10 @@
## 数据请求
版本部分:
* 1 字节:版本号,目前为 0x1
认证部分:
* 16 字节:md5(用户 VID + 'ASK')
指令部分:
* 1 字节:随机填充长度 M (M <= 32)
* M 字节:随机填充内容
@@ -29,14 +31,16 @@
* 16 字节:IPv6
* 1 字节:随机填充长度 M2 (M2 <= 32)
* M2 字节:随机填充内容
数据部分
* N 字节:请求数据
* N 字节:请求数据
其中指令部分经过 AES-128 加密,Key 为用户 VID;数据部分使用 AES-128-CBC 加密
## 数据应答
认证部分:
* 4 字节:认证信息 V
数据部分
* N 字节:应答数据