[Demand Signal] Rate limit submissions on issuer

Abierto
#585 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
20/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
go
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Go
Estrellas
41
Forks
20
Merge medio
1 d 21 h
PR fusionados (30 d)
26

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de transparency-dev/tesseract

Todos los issues de transparency-dev/tesseract

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.