[Demand Signal] Rate limit submissions on issuer

Đang mở
#585 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
20/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
go
Lĩnh vực
backend

Hướng nghiên cứu

No repository file or test is named. Start by reviewing the linked TesseraCT limitissuer branch and the submission path, then compare the proposed rate limit with monitoring, blocking, and doing nothing. Done requires a decided approach, bounded issuer tracking, and agreement on the behavior described in this issue.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

Trillian + CTFE was able to rate limit submission based on the first issuing certificate in a chain.

This is something that we could do with TesseraCT, but it is unclear whether it is required at the moment:

  1. That I am aware of, this never kicked in with Trillian + CTFE.
  2. If such a rate limit kicked in, this would mean that a CA is mass issuing a certificates (due to a bug, or for a legitimate reason). This could be related to a serious incident, that might require hands on help from CT log operators. We'd probably page log operators if this is really serious anyways. A rate limit would ensure fair resource usage while an oncaller investigates.
  3. A CA could still issue a different intermediate for every cert they issue (there's precedent with Google's compliance monitor, and also remember that we're talking of potential bugs) , in which case, rate limiting based on the first issuer in the chain wouldn't be useful.

I gave this a try with TesseraCT over there: https://github.com/phbnf/tesseract/tree/limitissuer. More work would be required to send a PR to limit the number of issuers being tracked and avoid unbounded memory growth (though this is somehow already limited by the number of roots accepted by TesseraCT). I'm thinking we could use a TwoQueueCache from https://pkg.go.dev/github.com/hashicorp/golang-lru/v2. There's non-trivial complexity!

Alternative solutions:

  1. Do nothing
  2. Monitor chain submission per issuer (but don't rate limit them)
  3. Enable TesseraCT to block submissions per issuer, and/or roots (related to #212)

@AlCutter @patflynn FYI

Ngôn ngữ chính
Go
Star
41
Fork
20
Merge trung bình
1 ngày 21 giờ
Pull request đã merge (30 ngày)
26

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của transparency-dev/tesseract

Tất cả issue của transparency-dev/tesseract

Issue tương tự

Thêm issue về Go

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.