Add FAQ page

This commit is contained in:
世界 2022-08-21 16:19:50 +08:00
parent b1b1ab5350
commit c71f6ba377
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
5 changed files with 25 additions and 14 deletions

View file

@ -1,11 +0,0 @@
package constant
type DomainStrategy = uint8
const (
DomainStrategyAsIS DomainStrategy = iota
DomainStrategyPreferIPv4
DomainStrategyPreferIPv6
DomainStrategyUseIPv4
DomainStrategyUseIPv6
)

View file

@ -1,6 +1,6 @@
package constant package constant
var ( var (
Version = "0.1.0" Version = "1.0"
Commit = "" Commit = ""
) )

View file

@ -1,5 +1,3 @@
`socks` outbound is a socks4/socks4a/socks5 client.
### Structure ### Structure
```json ```json

23
docs/faq.md Normal file
View file

@ -0,0 +1,23 @@
# Frequently Asked Questions (FAQ)
## Design
#### Why does sing-box not have feature X?
Every program contains novel features and omits someone's favorite feature. sing-box is designed with an eye to the needs of performance, lightweight, usability, modularity, and code quality. Your favorite feature may be missing because it doesn't fit, because it compromises performance or design clarity, or because it's a bad idea.
If it bothers you that sing-box is missing feature X, please forgive us and investigate the features that sing-box does have. You might find that they compensate in interesting ways for the lack of X.
#### Fake IP
Fake IP (also called Fake DNS) is an invasive and imperfect DNS solution that breaks expected behavior, causes DNS leaks and makes many software unusable. It is recommended by some software that lacks DNS processing and caching, but sing-box does not need this.
#### Naive outbound
NaïveProxy's main function is chromium's network stack, and it makes no sense to implement only its transport protocol.
#### Protocol combinations
The "underlying transport" in v2ray-core is actually a combination of a number of proprietary protocols and uses the names of their upstream protocols, resulting in a great deal of Linguistic corruption.
For example, Trojan with v2ray's proprietary gRPC protocol, called Trojan gRPC by the v2ray community, is not actually a protocol and has no role outside of abusing CDNs.

View file

@ -80,6 +80,7 @@ nav:
- Shared: - Shared:
- TLS: configuration/shared/tls.md - TLS: configuration/shared/tls.md
- Multiplex: configuration/shared/multiplex.md - Multiplex: configuration/shared/multiplex.md
- FAQ: faq.md
- Examples: - Examples:
- examples/index.md - examples/index.md
- Linux Server Installation: examples/linux-server-installation.md - Linux Server Installation: examples/linux-server-installation.md