Support for exporting / importing LFT stateful firewall entries

Abierto
#1,077 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust
Área
networking

Línea de trabajo

Start from where ActionDescEntry::NoOp entries are recorded in the LFT when an Action::StatefulAllow rule matches, and from the paired inbound entry that gets added. The issue names the fields to carry over: source and destination IPs and ports, flow age, and hit counts. Settling the export and import format for live migration is design work that the maintainers will need to weigh in on before any code is written.

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

Descripción

live-migration

This tracks adding support for exporting importing the entries in LFTs that implement stateful firewall flows. These entries are represented by the ActionDescEntry::NoOp, since there's nothing to do besides record their presence. If a rule in a layer matches a packet, and has the Action::StatefulAllow, the layer records an ActionDescEntry::NoOp in the LFT, with a "pair" in the other direction. For example, if the outbound packet is allowed from S to D, then an inbound LFT entry is added that allows traffic from D to S. This is how we let traffic back in to a VM that would otherwise be denied by the firewall, i.e., there's some state to it.

For live migration, we need to export and import these entries, which includes:

  • the source and destination IPs and ports
  • the age of the flow, so we can expire it eventually and consistently, even after migration
  • the number of hits, and other statistics as needed
Lenguaje dominante
Rust
Estrellas
82
Forks
16
Merge medio
3 d 6 h
PR fusionados (30 d)
11

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 oxidecomputer/opte

Todos los issues de oxidecomputer/opte

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.