mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-13 20:33:16 +00:00
Update documentation
This commit is contained in:
parent
7f84936050
commit
d5bb58a0b4
|
@ -1,3 +1,3 @@
|
||||||
package constant
|
package constant
|
||||||
|
|
||||||
var Version = "1.1-beta12"
|
var Version = "1.1-beta13"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
#### 1.1-beta13
|
||||||
|
|
||||||
|
* Split bind_address into ipv4 and ipv6
|
||||||
|
* Fix WireGuard outbound panic when close
|
||||||
|
* Fix macOS Ventura process name match
|
||||||
|
|
||||||
#### 1.1-beta12
|
#### 1.1-beta12
|
||||||
|
|
||||||
* Fix uTLS config
|
* Fix uTLS config
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
{
|
{
|
||||||
"detour": "upstream-out",
|
"detour": "upstream-out",
|
||||||
"bind_interface": "en0",
|
"bind_interface": "en0",
|
||||||
"bind_address": "0.0.0.0",
|
"inet4_bind_address": "0.0.0.0",
|
||||||
|
"inet6_bind_address": "::",
|
||||||
"routing_mark": 1234,
|
"routing_mark": 1234,
|
||||||
"reuse_addr": false,
|
"reuse_addr": false,
|
||||||
"connect_timeout": "5s",
|
"connect_timeout": "5s",
|
||||||
|
@ -18,8 +19,8 @@
|
||||||
### Fields
|
### Fields
|
||||||
|
|
||||||
| Field | Available Context |
|
| Field | Available Context |
|
||||||
|---------------------------------------------------------------------------------------------------------------------|-------------------|
|
|----------------------------------------------------------------------------------------------------------------------|-------------------|
|
||||||
| `bind_interface` /`bind_address` /`routing_mark` /`reuse_addr` / `tcp_fast_open`/ `udp_fragment` /`connect_timeout` | `detour` not set |
|
| `bind_interface` /`*bind_address` /`routing_mark` /`reuse_addr` / `tcp_fast_open`/ `udp_fragment` /`connect_timeout` | `detour` not set |
|
||||||
|
|
||||||
#### detour
|
#### detour
|
||||||
|
|
||||||
|
@ -29,9 +30,13 @@ The tag of the upstream outbound.
|
||||||
|
|
||||||
The network interface to bind to.
|
The network interface to bind to.
|
||||||
|
|
||||||
#### bind_address
|
#### inet4_bind_address
|
||||||
|
|
||||||
The address to bind to.
|
The IPv4 address to bind to.
|
||||||
|
|
||||||
|
#### inet6_bind_address
|
||||||
|
|
||||||
|
The IPv6 address to bind to.
|
||||||
|
|
||||||
#### routing_mark
|
#### routing_mark
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
{
|
{
|
||||||
"detour": "upstream-out",
|
"detour": "upstream-out",
|
||||||
"bind_interface": "en0",
|
"bind_interface": "en0",
|
||||||
"bind_address": "0.0.0.0",
|
"inet4_bind_address": "0.0.0.0",
|
||||||
|
"inet6_bind_address": "::",
|
||||||
"routing_mark": 1234,
|
"routing_mark": 1234,
|
||||||
"reuse_addr": false,
|
"reuse_addr": false,
|
||||||
"connect_timeout": "5s",
|
"connect_timeout": "5s",
|
||||||
|
@ -18,8 +19,8 @@
|
||||||
### 字段
|
### 字段
|
||||||
|
|
||||||
| 字段 | 可用上下文 |
|
| 字段 | 可用上下文 |
|
||||||
|---------------------------------------------------------------------------------------------------------------------|--------------|
|
|----------------------------------------------------------------------------------------------------------------------|--------------|
|
||||||
| `bind_interface` /`bind_address` /`routing_mark` /`reuse_addr` / `tcp_fast_open`/ `udp_fragment` /`connect_timeout` | `detour` 未设置 |
|
| `bind_interface` /`*bind_address` /`routing_mark` /`reuse_addr` / `tcp_fast_open`/ `udp_fragment` /`connect_timeout` | `detour` 未设置 |
|
||||||
|
|
||||||
|
|
||||||
#### detour
|
#### detour
|
||||||
|
@ -32,9 +33,13 @@
|
||||||
|
|
||||||
要绑定到的网络接口。
|
要绑定到的网络接口。
|
||||||
|
|
||||||
#### bind_address
|
#### inet4_bind_address
|
||||||
|
|
||||||
要绑定的地址。
|
要绑定的 IPv4 地址。
|
||||||
|
|
||||||
|
#### inet6_bind_address
|
||||||
|
|
||||||
|
要绑定的 IPv6 地址。
|
||||||
|
|
||||||
#### routing_mark
|
#### routing_mark
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue