mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-14 04:43:17 +00:00
2f31202c6b
Remove the information on password generation for `2022-blake3-aes-128-gcm` cipher from the Server Example section in the shadowsocks.md file as it is no longer needed.
3.5 KiB
3.5 KiB
icon |
---|
material/send |
Shadowsocks
As the most well-known Chinese-made proxy protocol, Shadowsocks exists in multiple versions, but only AEAD 2022 ciphers TCP with multiplexing is recommended.
Ciphers | Specification | Cryptographic Security | Binary Characteristics | Active Detect Hiddenness |
---|---|---|---|---|
Stream Ciphers | shadowsocks.org | :material-alert: | :material-alert: | :material-alert: |
AEAD | shadowsocks.org | :material-check: | :material-alert: | :material-alert: |
AEAD 2022 | shadowsocks.org | :material-check: | :material-check: | :material-help: |
:material-text-box-check: Password Generator
For 2022-blake3-aes-128-gcm cipher |
For other ciphers | Action |
---|---|---|
|
|
:material-server: Server Example
=== ":material-account: Single-user"
```json
{
"inbounds": [
{
"type": "shadowsocks",
"listen": "::",
"listen_port": 8080,
"network": "tcp",
"method": "2022-blake3-aes-128-gcm",
"password": "<password>",
"multiplex": {
"enabled": true
}
}
]
}
```
=== ":material-account-multiple: Multi-user"
```json
{
"inbounds": [
{
"type": "shadowsocks",
"listen": "::",
"listen_port": 8080,
"network": "tcp",
"method": "2022-blake3-aes-128-gcm",
"password": "<server_password>",
"users": [
{
"name": "sekai",
"password": "<user_password>"
}
],
"multiplex": {
"enabled": true
}
}
]
}
```
:material-cellphone-link: Client Example
=== ":material-account: Single-user"
```json
{
"outbounds": [
{
"type": "shadowsocks",
"server": "127.0.0.1",
"server_port": 8080,
"method": "2022-blake3-aes-128-gcm",
"password": "<pasword>",
"multiplex": {
"enabled": true
}
}
]
}
```
=== ":material-account-multiple: Multi-user"
```json
{
"outbounds": [
{
"type": "shadowsocks",
"server": "127.0.0.1",
"server_port": 8080,
"method": "2022-blake3-aes-128-gcm",
"password": "<server_pasword>:<user_password>",
"multiplex": {
"enabled": true
}
}
]
}
```