cloudflare / cloudflare/cloudflared
💡Use `TUNNEL_TOKEN` for systemd service so that TOKEN is not visible on `ps`
- Ngôn ngữ chính
- Go
- Star
- 15.6k
- Fork
- 1.4k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
**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.
Hướng dẫn đóng góp
Hướng nghiên cứu
Inspect cmd/cloudflared/linux_service.go around line 64, the entry point linked in the issue, and review how the systemd service is generated. Use the Environment= directive so the tunnel token is not exposed in the process arguments, then verify the resulting service behavior and that the token no longer appears in ps output.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- go
- Lĩnh vực
- devops, operating-systems
- Loại issue
- Tính năng
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 55/100