Support for exporting / importing NAT entries, including the bounde external IP

Abierto
#1,078 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
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
22/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
rust
Área
networking

Línea de trabajo

The payload names the InboundNat and OutboundNat types, the NatDesc they produce through StatefulAction, and the ExtIps verifier in the Oxide VPC network implementation. Read how the external IP affinity and the verifier are stored, then decide what export format would let the verifier be rebuilt. The payload does not say what finished looks like, so confirm the expected scope with maintainers before starting.

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

Descripción

live-migration

1-1 NAT entries use an Ephemeral or Floating IP for a guest, and allow both inbound and outbound connections. When constructing an outbound flow, we select one of the external IPs to use for its lifetime. For inbound flows, we bind whatever IP the connection was destined for. These are stored in the InboundNat and OutboundNat types, along with a "verifier", a function that lets us handle changes to the set of external IPs or the flow table. These are both StatefulActions, which generate a NatDesc for their ActionDesc implementation, which is what actually describes the header transform (rewriting src / dst IPs, mostly).

We need to be able to export the state of a NatDesc, including the external IP affinity and enough information to rebuild the verifier function. That is ExtIps for both InboundNat and OutboundNat in the Oxide VPC network implementation, which checks if a provided IP is in the set of external IPs for the port (excluding the SNAT IP).

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.