Add user rule item
This commit is contained in:
@@ -9,6 +9,10 @@
|
||||
"mixed-in"
|
||||
],
|
||||
"network": "tcp",
|
||||
"user": [
|
||||
"usera",
|
||||
"userb"
|
||||
],
|
||||
"protocol": [
|
||||
"tls",
|
||||
"http",
|
||||
@@ -79,6 +83,14 @@
|
||||
|
||||
Tags of [inbound](../inbound).
|
||||
|
||||
#### user
|
||||
|
||||
Username, see each inbound for details.
|
||||
|
||||
#### protocol
|
||||
|
||||
Sniffed protocol, see [Sniff](/configuration/route/sniff/) for details.
|
||||
|
||||
#### network
|
||||
|
||||
`tcp` or `udp`.
|
||||
|
||||
10
docs/configuration/route/sniff.md
Normal file
10
docs/configuration/route/sniff.md
Normal file
@@ -0,0 +1,10 @@
|
||||
If enabled in the inbound, the protocol and domain name (if present) of by the connection can be sniffed.
|
||||
|
||||
#### Supported Protocols
|
||||
|
||||
| Network | Protocol | Domain Name |
|
||||
|:---------:|:----------:|:-------------:|
|
||||
| TCP | HTTP | Host |
|
||||
| TCP | TLS | Server Name |
|
||||
| UDP | QUIC | Server Name |
|
||||
| UDP | STUN | / |
|
||||
Reference in New Issue
Block a user