From f5f5cb023ca77366fb9446921364153ce43eb5ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Wed, 31 Aug 2022 14:33:52 +0800 Subject: [PATCH] Update documentation --- constant/version.go | 2 +- docs/changelog.md | 14 +++++++++++++- docs/configuration/dns/rule.md | 11 +++++++++++ docs/configuration/dns/rule.zh.md | 11 +++++++++++ docs/configuration/inbound/redirect.md | 4 ++++ docs/configuration/inbound/redirect.zh.md | 4 ++++ docs/configuration/inbound/tproxy.md | 4 ++++ docs/configuration/inbound/tproxy.zh.md | 4 ++++ docs/configuration/route/rule.md | 11 +++++++++++ docs/configuration/route/rule.zh.md | 11 +++++++++++ 10 files changed, 74 insertions(+), 2 deletions(-) diff --git a/constant/version.go b/constant/version.go index f946d54a..47c55851 100644 --- a/constant/version.go +++ b/constant/version.go @@ -1,6 +1,6 @@ package constant var ( - Version = "1.0-beta2" + Version = "1.0-beta3" Commit = "" ) diff --git a/docs/changelog.md b/docs/changelog.md index 86371497..9c52260a 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,3 +1,15 @@ +#### 1.0-beta3 + +* Add [chained inbound](/configuration/shared/listen#detour) support +* Add process_path rule item +* Add macOS redirect support +* Add ShadowTLS [Inbound](/configuration/inbound/shadowtls), [Outbound](/configuration/outbound/shadowtls) and [Examples](/examples/shadowtls) +* Fix search android package in non-owner users +* Fix socksaddr type condition +* Fix smux session status +* Refactor inbound and outbound documentation +* Minor fixes + #### 1.0-beta2 * Add strict_route option for [Tun inbound](/configuration/inbound/tun#strict_route) @@ -111,4 +123,4 @@ No changelog before. -[#9]: https://github.com/SagerNet/sing-box/pull/9 \ No newline at end of file +[#9]: https://github.com/SagerNet/sing-box/pull/9 diff --git a/docs/configuration/dns/rule.md b/docs/configuration/dns/rule.md index 801edacc..924defe1 100644 --- a/docs/configuration/dns/rule.md +++ b/docs/configuration/dns/rule.md @@ -61,6 +61,9 @@ "process_name": [ "curl" ], + "process_path": [ + "/usr/bin/curl" + ], "package_name": [ "com.termux" ], @@ -177,6 +180,14 @@ Match port range. Match process name. +#### process_path + +!!! error "" + + Only supported on Linux, Windows, and macOS. + +Match process path. + #### package_name Match android package name. diff --git a/docs/configuration/dns/rule.zh.md b/docs/configuration/dns/rule.zh.md index 4cbff0c3..c332bbf6 100644 --- a/docs/configuration/dns/rule.zh.md +++ b/docs/configuration/dns/rule.zh.md @@ -60,6 +60,9 @@ "process_name": [ "curl" ], + "process_path": [ + "/usr/bin/curl" + ], "package_name": [ "com.termux" ], @@ -176,6 +179,14 @@ 匹配进程名称。 +#### process_path + +!!! error "" + + 仅支持 Linux、Windows 和 macOS. + +匹配进程路径。 + #### package_name 匹配 Android 应用包名。 diff --git a/docs/configuration/inbound/redirect.md b/docs/configuration/inbound/redirect.md index 952945f2..9ea418ee 100644 --- a/docs/configuration/inbound/redirect.md +++ b/docs/configuration/inbound/redirect.md @@ -1,3 +1,7 @@ +!!! error "" + + Only supported on Linux and macOS. + ### Structure ```json diff --git a/docs/configuration/inbound/redirect.zh.md b/docs/configuration/inbound/redirect.zh.md index 7fed86ee..125dc73f 100644 --- a/docs/configuration/inbound/redirect.zh.md +++ b/docs/configuration/inbound/redirect.zh.md @@ -1,3 +1,7 @@ +!!! error "" + + 仅支持 Linux 和 macOS。 + ### 结构 ```json diff --git a/docs/configuration/inbound/tproxy.md b/docs/configuration/inbound/tproxy.md index 5e1db83f..c6377072 100644 --- a/docs/configuration/inbound/tproxy.md +++ b/docs/configuration/inbound/tproxy.md @@ -1,3 +1,7 @@ +!!! error "" + + Only supported on Linux. + ### Structure ```json diff --git a/docs/configuration/inbound/tproxy.zh.md b/docs/configuration/inbound/tproxy.zh.md index 42526377..9ab98e57 100644 --- a/docs/configuration/inbound/tproxy.zh.md +++ b/docs/configuration/inbound/tproxy.zh.md @@ -1,3 +1,7 @@ +!!! error "" + + 仅支持 Linux。 + ### 结构 ```json diff --git a/docs/configuration/route/rule.md b/docs/configuration/route/rule.md index c9f9bba0..cc88943e 100644 --- a/docs/configuration/route/rule.md +++ b/docs/configuration/route/rule.md @@ -68,6 +68,9 @@ "process_name": [ "curl" ], + "process_path": [ + "/usr/bin/curl" + ], "package_name": [ "com.termux" ], @@ -188,6 +191,14 @@ Match port range. Match process name. +#### process_path + +!!! error "" + + Only supported on Linux, Windows, and macOS. + +Match process path. + #### package_name Match android package name. diff --git a/docs/configuration/route/rule.zh.md b/docs/configuration/route/rule.zh.md index faa930c6..f1439d71 100644 --- a/docs/configuration/route/rule.zh.md +++ b/docs/configuration/route/rule.zh.md @@ -66,6 +66,9 @@ "process_name": [ "curl" ], + "process_path": [ + "/usr/bin/curl" + ], "package_name": [ "com.termux" ], @@ -186,6 +189,14 @@ 匹配进程名称。 +#### process_path + +!!! error "" + + 仅支持 Linux、Windows 和 macOS. + +匹配进程路径。 + #### package_name 匹配 Android 应用包名。