docs: update documentation to reflect the new TLS fragments settings

This commit is contained in:
Kyōchikutō | キョウチクトウ 2023-11-24 17:36:46 +03:30
parent 8bc40a6508
commit f233194aab
No known key found for this signature in database
GPG Key ID: A98846921CD44363
2 changed files with 30 additions and 2 deletions

View File

@ -11,6 +11,7 @@
"connect_timeout": "5s", "connect_timeout": "5s",
"tcp_fast_open": false, "tcp_fast_open": false,
"tcp_multi_path": false, "tcp_multi_path": false,
"tls_fragment": {},
"udp_fragment": false, "udp_fragment": false,
"domain_strategy": "prefer_ipv6", "domain_strategy": "prefer_ipv6",
"fallback_delay": "300ms" "fallback_delay": "300ms"
@ -63,6 +64,10 @@ Enable TCP Fast Open.
Enable TCP Multi Path. Enable TCP Multi Path.
#### tls_fragment
Enable TLS fragmentation, see [TLS Fragment](/configuration/shared/tls-fragment) for details.
#### udp_fragment #### udp_fragment
Enable UDP fragmentation. Enable UDP fragmentation.
@ -84,7 +89,7 @@ If set, the requested domain name will be resolved to IP before connect.
| Outbound | Effected domains | Fallback Value | | Outbound | Effected domains | Fallback Value |
|----------|--------------------------|-------------------------------------------| |----------|--------------------------|-------------------------------------------|
| `direct` | Domain in request | Take `inbound.domain_strategy` if not set | | `direct` | Domain in request | Take `inbound.domain_strategy` if not set |
| others | Domain in server address | / | | others | Domain in server address | / |
#### fallback_delay #### fallback_delay
@ -94,4 +99,4 @@ That is, is the amount of time to wait for connection to succeed before assuming
that IPv4/IPv6 is misconfigured and falling back to other type of addresses. that IPv4/IPv6 is misconfigured and falling back to other type of addresses.
If zero, a default delay of 300ms is used. If zero, a default delay of 300ms is used.
Only take effect when `domain_strategy` is set. Only take effect when `domain_strategy` is set.

View File

@ -0,0 +1,23 @@
### Structure
```json
{
"enabled": false,
"size": "100-200",
"sleep": "10-20",
}
```
### Fields
#### enabled
Enable TLS clientHello packet fragmentation.
#### size
Random range of fragmented packets' size in bytes.
#### sleep
Random range of sleeping in between sending fragments.