diff --git a/docs/config/dns/index.md b/docs/config/dns/index.md index fd717b30f..f57e3294c 100644 --- a/docs/config/dns/index.md +++ b/docs/config/dns/index.md @@ -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 @@ -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' ``` diff --git a/docs/config/general.md b/docs/config/general.md index d91d11188..d65fcebf3 100644 --- a/docs/config/general.md +++ b/docs/config/general.md @@ -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"} diff --git a/docs/config/proxies/ss.md b/docs/config/proxies/ss.md index c57b4fb00..ca9972e20 100644 --- a/docs/config/proxies/ss.md +++ b/docs/config/proxies/ss.md @@ -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