Skip to content

Commit

Permalink
更新
Browse files Browse the repository at this point in the history
  • Loading branch information
xishang0128 committed Jul 25, 2024
1 parent b283a6d commit 5190251
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 27 deletions.
16 changes: 4 additions & 12 deletions docs/config/dns/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,15 +157,14 @@ geosite 列表的内容被视为已污染,匹配到 geosite 的域名,将只

此部分可用于发向公网地址的 DNS 服务器,可以使用`&`连接不同的参数

### DNS 经过代理查询

书写格式为 DNS 服务器后 `#策略组或节点`
### DNS 指定 代理/接口 进行连接

书写规范应带引号,以防出现特殊字符,如需过代理查询,应配置 `proxy-server-nameserver`, 以防出现鸡蛋问题

```{.yaml linenums="1"}
nameserver:
- 'tls://dns.google#proxy'
- 'tls://dns.alidns.com#eth0'
```

### 强制 HTTP/3
Expand All @@ -177,16 +176,9 @@ nameserver:
- 'https://dns.cloudflare.com/dns-query#h3=true'
```

### 指定 DNS 出口网卡

```{.yaml linenums="1"}
nameserver:
- 'tls://8.8.4.4#en0'
```

### 指定策略组和使用 http/3
### doh 跳过证书验证

```{.yaml linenums="1"}
nameserver:
- 'https://mozilla.cloudflare-dns.com/dns-query#proxy&h3=true'
- 'https://dns.cloudflare.com/dns-query#skip-cert-verify=true'
```
9 changes: 9 additions & 0 deletions docs/config/general.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,15 @@ HTTPS-API 监听地址,需要配置 `tls` 部分证书和其私钥配置,使
external-controller-tls: 127.0.0.1:9443
```

在RESTful API端口上开启DOH服务器

!!! warning ""
该URL不会验证secret, 如果开启请自行保证安全问题

```{.yaml linenums="1"}
external-doh-server: /dns-query
```

API 的访问密钥

```{.yaml linenums="1"}
Expand Down
58 changes: 43 additions & 15 deletions docs/config/proxies/ss.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,49 @@ proxies:

[通用字段](./index.md)

## cipher

加密方法,支持:

aes-128-gcm aes-192-gcm aes-256-gcm

aes-128-cfb aes-192-cfb aes-256-cfb

aes-128-ctr aes-192-ctr aes-256-ctr

rc4-md5 chacha20-ietf xchacha20

chacha20-ietf-poly1305 xchacha20-ietf-poly1305

2022-blake3-aes-128-gcm 2022-blake3-aes-256-gcm 2022-blake3-chacha20-poly1305
## Cipher

=== "AES"
| 方法 | | |
|----------------------------|----------------------------|----------------------------|
| aes-128-ctr | aes-192-ctr | aes-256-ctr |
| aes-128-cfb | aes-192-cfb | aes-256-cfb |
| aes-128-gcm | aes-192-gcm | aes-256-gcm |
| aes-128-ccm | aes-192-ccm | aes-256-ccm |
| aes-128-gcm-siv | | aes-256-gcm-siv |

=== "CHACHA"
| 方法 | |
|--------------------------------|--------------------------------|
| chacha20-ietf | |
| chacha20 | xchacha20 |
| chacha20-ietf-poly1305 | xchacha20-ietf-poly1305 |
| chacha8-ietf-poly1305 | xchacha8-ietf-poly1305 |

=== "2022 Blake3"
| 方法 |
|-------------------------------------|
| 2022-blake3-aes-128-gcm |
| 2022-blake3-aes-256-gcm |
| 2022-blake3-chacha20-poly1305 |

=== "LEA"
| 方法 |
|--------------------|
| lea-128-gcm |
| lea-192-gcm |
| lea-256-gcm |

=== "其他"
| 方法 |
|--------------------|
| rabbit128-poly1305|
| aegis-128l |
| aegis-256 |
| aez-384 |
| deoxys-ii-256-128 |
| rc4-md5 |
| none |

## password

Expand Down

0 comments on commit 5190251

Please sign in to comment.