Feature Request: Implement CID allowlist HTTP Middleware
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
- 18/100
Hướng nghiên cứu
Đây là một đề xuất mang tính thăm dò và không nêu tên tệp, bài kiểm thử, cơ chế cấu hình hay điểm vào định tuyến nào. Hãy bắt đầu bằng việc xem xét cách gateway xử lý các yêu cầu HTTP và cách các CID được trích xuất từ các đường dẫn URL, sau đó xác định cấu hình, phạm vi và kỳ vọng về hiệu năng của allowlist. Để được xem là hoàn tất, cần có thiết kế đã được thống nhất, ranh giới triển khai rõ ràng và các bài kiểm thử cho những yêu cầu được cho phép và bị từ chối.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I'm reaching out to discuss an idea I have for enhancing security and access control in the Rainbow IPFS Gateway. I'd like to gauge interest and gather feedback before deciding on implementation.
My Idea: Implementing CID allowlist HTTP Middleware
The goal of this feature would be to prevent flooding self-hosted instances with requests or compromised CIDs by restricting access to certain resources based on an allowlist of allowed CIDs. This would reduce the risk of Distributed Denial-of-Service (DDoS) attacks, floods of requests, and unauthorized access attempts.
Before deciding on implementation, I'd like to get your thoughts on the following:
- Is my idea aligned with the project's goals and values?
- Would this feature significantly impact performance or scalability?
Assuming interest in implementing this feature, here are some potential ways it could be done:
To implement CID allowlist Middleware, we would need to add a middleware layer that intercepts incoming HTTP requests, extracts the CID from the URL path, and checks it against a predefined allowlist.
I'd be happy to contribute to this feature if you're interested. Please let me know if this is something that could be explored further, or if there are any concerns or issues with my idea.
- Ngôn ngữ chính
- Go
- Star
- 194
- Fork
- 38
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không 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 ipfs/rainbow
-
Configurable BootstrappersĐang mởdif/easy effort/hours help wanted kind/enhancement P2
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
-
dif/expert effort/days P1
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
need/analysis P3
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
GC and TTLing blocksĐang mởneed/analysis P3
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Issue tương tự
-
affects-8.5 component/session severity/moderate sig/transaction type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
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 72/100
harvester/harvester#12311 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
verifyrun --bracket-digest --credit: relative --witness is could-not-check, absolute path creditsĐang mởbug effort:s impact:low raised-by:desk risk:low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
medici-finance/assay#6580 · 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 80/100
blinklabs-io/gouroboros#3026 ·
Maintainer thường phản hồi trong vòng 1 ngày