Router dynamic xDS gRPC control plane runs plaintext on 0.0.0.0:18000
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ó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 74/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- go, grpc
- Lĩnh vực
- networking, security
Hướng nghiên cứu
Đọc phần thiết lập listener trong cmd/atenet/internal/router/dataplane.go quanh dòng 91, sau đó so sánh với các tham chiếu trong router.go và cách Envoy kết nối với xDS. Issue được hoàn tất khi listener xDS chấp nhận kết nối trên loopback thay vì tất cả các giao diện, đồng thời vẫn có thể được Envoy trong cùng pod truy cập.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
This issue was generated as part of an AI review of pre-GA debug and diagnostic surfaces.
Problem Description
In cmd/atenet/internal/router/router.go:91-98 and dataplane.go:91, the dynamic xDS Aggregated Discovery Service (ADS, CDS, LDS, RDS, SDS) is initialized on all interfaces:
lis, err := net.Listen("tcp", fmt.Sprintf(":%d", s.cfg.XdsPort))
Port 18000 (--port-xds=18000) is served over plaintext gRPC with no TLS and no authentication interceptors.
Impact
While Envoy in the same pod dials 127.0.0.1:18000, the server listens on 0.0.0.0. Any pod on the cluster network capable of reaching the atenet-router pod IP can connect to port 18000 and stream all dynamic xDS resources via ADS (discoverygrpc) or SDS (secretgrpc).
This exposes listener configurations, route tables, internal cluster endpoints, and secret metadata (including filesystem paths of certificates and trust bundles).
Proposed Remediation
In cmd/atenet/internal/router/dataplane.go:91, bind strictly to loopback:
lis, err := net.Listen("tcp", net.JoinHostPort("127.0.0.1", strconv.Itoa(s.cfg.XdsPort)))
- Ngôn ngữ chính
- Go
- Star
- 4.4k
- Fork
- 515
- Merge trung bình
- 2 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 279
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
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 agent-substrate/substrate
-
Micro-VM guests unconditionally boot with root debug console on vsock 1026Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởarea/security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
agent-substrate/substrate#2274 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/network kind/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
agent-substrate/substrate#2245 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: e2e script flag parsing is brokenCó thể đã có người làm @ericcurtin đã nhận 1 ngày trước. Đang mởarea/dev-infra area/tests kind/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
agent-substrate/substrate#2217 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Reject trailing YAML documents in actor-template create manifestsCó thể đã có người làm @ericcurtin đã nhận 4 ngày trước. Đang mởarea/cli kind/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
agent-substrate/substrate#2156 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/storage kind/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
agent-substrate/substrate#2155 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của agent-substrate/substrate
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
war-and-code/dircue#200 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
actor/human kind/bug priority/important-soon triage-accepted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
kelos-dev/kelos#1804 · 2 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 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
`date` → `date-time` (and `time` → `date-time`) is classified as a widening, but a date is not a valid date-timeCó thể đã có người làm @reuvenharrison đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
fix: invalid GPU spec in SparkApplication is silently ignoredCó thể đã có người làm @pratik-naik003 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
kubeflow/spark-operator#3223 ·
Maintainer thường phản hồi trong vòng 5 ngày