Give fibers outbound network through a backend interface
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 28/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- go, kubernetes, linux
- Lĩnh vực
- backend, networking, security
Hướng nghiên cứu
Start by reading the backend interfaces, especially WorkspaceHolder, and the gVisor attach path that uses --network-proxy-path. Check how the bundle, template rewarm, Bind, Clone, and runsc restore fit together, then inspect the conformance suite and design docs. Done means the egress interface, grant rules and refusals are covered, restored fibers are verified, clone cost is measured, and backend support is documented.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Fibers on gVisor and Hyperlight have no network, and runc fibers have loopback alone, so a workload on those backends cannot call out. Outbound access should fit fiberd's backend interfaces, with the host owning the rule and each backend owning how a fiber attaches.
- Add an optional backend interface for egress, in the same shape as
WorkspaceHolder, and refuse a grant that needs egress on a backend without it. - Add a grant field for what a fiber may reach, by address and port, and by hostname.
- Run the egress path as a separate per-grant process with no capabilities, its own cgroup and its own filter, not inside fiberd.
- Always refuse loopback, link-local addresses, the home's own addresses and the node, whatever the grant allows.
- Refuse all traffic from a pooled sandbox until
Bindnames its fiber. - Attach gVisor first, through
--network-proxy-path, so ordinary programs need no proxy settings. That needs a runsc bump, anetworknamespace entry in the bundle and a template rewarm. Prove it acrossrunsc restorefirst, and fall back to a namespace per fiber if it fails. - Add no step to Clone beyond what the attach needs, and measure that cost.
- Cover the interface, the refusals and a restored fiber in the conformance suite, and record which backends offer egress in the design docs.
- Ngôn ngữ chính
- Go
- Star
- 5
- Fork
- 5
- Merge trung bình
- 15 giờ 27 phút
- Pull request đã merge (30 ngày)
- 41
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Azure/fiberd
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
Azure/fiberd#131 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 56/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
Maintainer thường phản hồi trong vòng 2 ngày
-
[Bug] vela config-template apply drops the template's metadata.descriptionCó thể đã có người làm @backendArchitect đã nhận hôm nay. Đang mởarea/cli area/config good first issue type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
kubevela/kubevela#7756 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày
-
enhancement good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 1 ngày