diff --git a/constant/version.go b/constant/version.go index aeec89dc..453423fd 100644 --- a/constant/version.go +++ b/constant/version.go @@ -1,3 +1,3 @@ package constant -var Version = "1.1-beta12" +var Version = "1.1-beta13" diff --git a/docs/changelog.md b/docs/changelog.md index 467aea1a..c3d25ab6 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -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 * Fix uTLS config diff --git a/docs/configuration/shared/dial.md b/docs/configuration/shared/dial.md index 2794ffd3..f4c5b666 100644 --- a/docs/configuration/shared/dial.md +++ b/docs/configuration/shared/dial.md @@ -4,7 +4,8 @@ { "detour": "upstream-out", "bind_interface": "en0", - "bind_address": "0.0.0.0", + "inet4_bind_address": "0.0.0.0", + "inet6_bind_address": "::", "routing_mark": 1234, "reuse_addr": false, "connect_timeout": "5s", @@ -17,9 +18,9 @@ ### Fields -| Field | Available Context | -|---------------------------------------------------------------------------------------------------------------------|-------------------| -| `bind_interface` /`bind_address` /`routing_mark` /`reuse_addr` / `tcp_fast_open`/ `udp_fragment` /`connect_timeout` | `detour` not set | +| Field | Available Context | +|----------------------------------------------------------------------------------------------------------------------|-------------------| +| `bind_interface` /`*bind_address` /`routing_mark` /`reuse_addr` / `tcp_fast_open`/ `udp_fragment` /`connect_timeout` | `detour` not set | #### detour @@ -29,9 +30,13 @@ The tag of the upstream outbound. 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 diff --git a/docs/configuration/shared/dial.zh.md b/docs/configuration/shared/dial.zh.md index 6bb19a0d..e084f15e 100644 --- a/docs/configuration/shared/dial.zh.md +++ b/docs/configuration/shared/dial.zh.md @@ -4,7 +4,8 @@ { "detour": "upstream-out", "bind_interface": "en0", - "bind_address": "0.0.0.0", + "inet4_bind_address": "0.0.0.0", + "inet6_bind_address": "::", "routing_mark": 1234, "reuse_addr": false, "connect_timeout": "5s", @@ -17,9 +18,9 @@ ### 字段 -| 字段 | 可用上下文 | -|---------------------------------------------------------------------------------------------------------------------|--------------| -| `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 @@ -32,9 +33,13 @@ 要绑定到的网络接口。 -#### bind_address +#### inet4_bind_address -要绑定的地址。 +要绑定的 IPv4 地址。 + +#### inet6_bind_address + +要绑定的 IPv6 地址。 #### routing_mark