cloudflare / cloudflare/cloudflared

💡Use `TUNNEL_TOKEN` for systemd service so that TOKEN is not visible on `ps`

Đang mở
#1,237 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
Priority: Normal Type: Feature Request
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

Mở 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

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.