Skip to content

Commit

Permalink
add documentation of the UDS permission setting (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
yin1999 authored Jan 27, 2024
1 parent 74a1c8a commit 1c79152
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/v5/config/inbound.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Inbounds

inbound

```json
Expand Down Expand Up @@ -36,6 +37,8 @@ v4.32.0+,支持填写 Unix domain socket,格式为绝对路径,形如 `"/d

填写 Unix domain socket 时,`port` 将被忽略,协议暂时可选 VLESS、VMess、Trojan,传输方式可选 TCP、WebSocket、HTTP/2。

对于常规(非 abstract)Unix domain socket,支持添加访问权限,格式为 `"/dev/shm/domain.socket,0666"`。即在路径后面加上逗号和八进制数(代表权限),权限的设定方式与类 Unix 系统的 `chmod` 命令相同。(v5.9.0+)

> `tag`: string
此入站连接的标识,用于在其它的配置中定位此连接。当其不为空时,其值必须在所有 `tag` 中唯一。
Expand Down

0 comments on commit 1c79152

Please sign in to comment.