Transport: sudoku doc

This commit is contained in:
Fangliding
2026-04-03 03:12:51 +08:00
parent 835f28b9b2
commit 061d9462de
3 changed files with 24 additions and 12 deletions
+8 -4
View File
@@ -1037,14 +1037,16 @@ FinalMask 在核心处理完包括 TLS/REALITY 在内的传输层加密后,对
"password": "", "password": "",
"ascii": "", "ascii": "",
"customTable": "", "customTable": "", // 官方文档字段名为 custom_table
"customTables": [""], "customTables": [""], // 官方文档字段名为 custom_tables
"paddingMin": 0, "paddingMin": 0, // 官方文档字段名为 padding_min
"paddingMax": 0 "paddingMax": 0 // 官方文档字段名为 padding_max
} }
``` ```
含义见其 [官方文档](https://github.com/SUDOKU-ASCII/sudoku/blob/main/configs/README.zh_CN.md) 文档字段
> `udp[n].type`: header-custom | header-dns | header-dtls | header-srtp | header-utp | header-wechat | header-wireguard | mkcp-original | mkcp-aes128gcm | noise | salamander | sudoku | xdns | xicmp > `udp[n].type`: header-custom | header-dns | header-dtls | header-srtp | header-utp | header-wechat | header-wireguard | mkcp-original | mkcp-aes128gcm | noise | salamander | sudoku | xdns | xicmp
数组第一个为最外层伪装。 数组第一个为最外层伪装。
@@ -1186,6 +1188,8 @@ FinalMask 在核心处理完包括 TLS/REALITY 在内的传输层加密后,对
} }
``` ```
同 TCP 版本
#### xdns #### xdns
```json ```json
+8 -4
View File
@@ -1024,14 +1024,16 @@ Used in conjunction with raw | httpupgarde | websocket | gRPC | xhttp transport
"password": "", "password": "",
"ascii": "", "ascii": "",
"customTable": "", "customTable": "", // custom_table in official docs
"customTables": [""], "customTables": [""], // custom_tables in official docs
"paddingMin": 0, "paddingMin": 0, // padding_min in official docs
"paddingMax": 0 "paddingMax": 0 // padding_max in official docs
} }
``` ```
See [official documentation](https://github.com/SUDOKU-ASCII/sudoku/blob/main/configs/README.md) for field descriptions.
> `udp[n].type`: header-custom | header-dns | header-dtls | header-srtp | header-utp | header-wechat | header-wireguard | mkcp-original | mkcp-aes128gcm | noise | salamander | sudoku | xdns | xicmp > `udp[n].type`: header-custom | header-dns | header-dtls | header-srtp | header-utp | header-wechat | header-wireguard | mkcp-original | mkcp-aes128gcm | noise | salamander | sudoku | xdns | xicmp
The first element in the array is the outermost camouflage. The first element in the array is the outermost camouflage.
@@ -1169,6 +1171,8 @@ For example, if you own example.com, then you can set an A record for a.example.
} }
``` ```
Same as the TCP version.
#### xdns #### xdns
```json ```json
+8 -4
View File
@@ -1049,14 +1049,16 @@ FinalMask применяет последний слой маскировки к
"password": "", "password": "",
"ascii": "", "ascii": "",
"customTable": "", "customTable": "", // custom_table в официальной документации
"customTables": [""], "customTables": [""], // custom_tables в официальной документации
"paddingMin": 0, "paddingMin": 0, // padding_min в официальной документации
"paddingMax": 0 "paddingMax": 0 // padding_max в официальной документации
} }
``` ```
См. [официальную документацию](https://github.com/SUDOKU-ASCII/sudoku/blob/main/configs/README.md) для описания полей.
> `udp[n].type`: header-custom | header-dns | header-dtls | header-srtp | header-utp | header-wechat | header-wireguard | mkcp-original | mkcp-aes128gcm | noise | salamander | sudoku | xdns | xicmp > `udp[n].type`: header-custom | header-dns | header-dtls | header-srtp | header-utp | header-wechat | header-wireguard | mkcp-original | mkcp-aes128gcm | noise | salamander | sudoku | xdns | xicmp
Первый элемент в массиве — это самый внешний камуфляж. Первый элемент в массиве — это самый внешний камуфляж.
@@ -1200,6 +1202,8 @@ FinalMask применяет последний слой маскировки к
} }
``` ```
Аналогично версии TCP.
#### xdns #### xdns
```json ```json