容器里的治理进程以固定非 root 用户运行,agent 原先只接受与自身同 uid 的连接, socket 挂进容器后一律被拒(peer uid is not allowed)。新增 --allow-peer-uid, 默认仍只允许同 uid,放行清单只能由部署参数给出,避免"挂上就能连"。
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
# Changelog
|
||||
|
||||
## 开发快照 0.1.382(采集 agent 允许显式 peer uid)
|
||||
|
||||
### Added
|
||||
|
||||
- 采集 agent 新增 `--allow-peer-uid`:默认仍只允许与 agent 同 uid 的连接;容器以固定
|
||||
非 root 用户运行时,由部署参数显式列出该 uid。socket 文件权限之外再加一层 uid 校验,
|
||||
放行清单来自部署,不是"谁都能连"。
|
||||
|
||||
## 开发快照 0.1.381(维护窗口支持显式 no-gate 测试模式)
|
||||
|
||||
### Added
|
||||
|
||||
Reference in New Issue
Block a user