cloudflare / cloudflare/cloudflared
💡Use `TUNNEL_TOKEN` for systemd service so that TOKEN is not visible on `ps`
未关闭
Priority: Normal
Type: Feature Request
- 主要语言
- Go
- 星标
- 15.6k
- 派生
- 1.4k
- PR 合并指标
- 30 天内没有已合并 PR
描述
**Describe the feature you'd like**
Per title.
**Describe alternatives you've considered**
Are there any alternatives to solving this problem? If so, what was your experience with them?
**Additional context**
https://github.com/cloudflare/cloudflared/blob/f27418044ba359a17995166034d900c11aa50008/cmd/cloudflared/linux_service.go#L64
Can use `Environment=` directive.
贡献指南
调研方向
检查 cmd/cloudflared/linux_service.go 第 64 行附近、issue 中链接的入口点,并审查 systemd 服务的生成方式。使用 Environment= 指令,使隧道令牌不会暴露在进程参数中,然后验证生成的服务行为,并确认令牌不再出现在 ps 输出中。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- go
- 领域
- devops, operating-systems
- Issue 类型
- 功能
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100