Browse Source

Update documentation

世界 3 years ago
parent
commit
7e0958b4ac

+ 1 - 1
constant/version.go

@@ -1,3 +1,3 @@
 package constant
 package constant
 
 
-var Version = "1.1-beta9"
+var Version = "1.1-beta10"

+ 28 - 0
docs/changelog.md

@@ -1,3 +1,31 @@
+#### 1.1-beta10
+
+* Add [sniff_timeout](/configuration/shared/listen#sniff_timeout) listen option
+* Add [custom route](/configuration/inbound/tun#inet4_route_address) support for tun **1**
+* Fix interface monitor
+* Fix websocket headroom
+* Fix uTLS handshake
+* Fix ssh outbound
+* Fix sniff fragmented quic client hello
+* Fix DF for hysteria
+* Fix naive overflow
+* Check destination before udp connect
+* Update uTLS to v1.1.5
+* Update tfo-go to v2.0.2
+* Update fsnotify to v1.6.0
+* Update grpc to v1.50.1
+
+*1*:
+
+The `strict_route` on windows is removed.
+
+#### 1.0.6
+
+* Fix ssh outbound
+* Fix sniff fragmented quic client hello
+* Fix naive overflow
+* Check destination before udp connect
+
 #### 1.1-beta9
 #### 1.1-beta9
 
 
 * Fix windows route **1**
 * Fix windows route **1**

+ 7 - 0
docs/configuration/shared/listen.md

@@ -8,6 +8,7 @@
   "udp_fragment": false,
   "udp_fragment": false,
   "sniff": false,
   "sniff": false,
   "sniff_override_destination": false,
   "sniff_override_destination": false,
+  "sniff_timeout": "300ms",
   "domain_strategy": "prefer_ipv6",
   "domain_strategy": "prefer_ipv6",
   "udp_timeout": 300,
   "udp_timeout": 300,
   "proxy_protocol": false,
   "proxy_protocol": false,
@@ -57,6 +58,12 @@ Override the connection destination address with the sniffed domain.
 
 
 If the domain name is invalid (like tor), this will not work.
 If the domain name is invalid (like tor), this will not work.
 
 
+#### sniff_timeout
+
+Timeout for sniffing.
+
+300ms is used by default.
+
 #### domain_strategy
 #### domain_strategy
 
 
 One of `prefer_ipv4` `prefer_ipv6` `ipv4_only` `ipv6_only`.
 One of `prefer_ipv4` `prefer_ipv6` `ipv4_only` `ipv6_only`.

+ 7 - 0
docs/configuration/shared/listen.zh.md

@@ -8,6 +8,7 @@
   "udp_fragment": false,
   "udp_fragment": false,
   "sniff": false,
   "sniff": false,
   "sniff_override_destination": false,
   "sniff_override_destination": false,
+  "sniff_timeout": "300ms",
   "domain_strategy": "prefer_ipv6",
   "domain_strategy": "prefer_ipv6",
   "udp_timeout": 300,
   "udp_timeout": 300,
   "proxy_protocol": false,
   "proxy_protocol": false,
@@ -58,6 +59,12 @@
 
 
 如果域名无效(如 Tor),将不生效。
 如果域名无效(如 Tor),将不生效。
 
 
+#### sniff_timeout
+
+探测超时时间。
+
+默认使用 300ms。
+
 #### domain_strategy
 #### domain_strategy
 
 
 可选值: `prefer_ipv4` `prefer_ipv6` `ipv4_only` `ipv6_only`。
 可选值: `prefer_ipv4` `prefer_ipv6` `ipv4_only` `ipv6_only`。