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

Aperta
#1,078 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
22/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
networking

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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).

Lingua principale
Rust
Stelle
82
Fork
16
Merge medio
3g 6h
PR unite (30g)
11

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di oxidecomputer/opte

Tutte le issue di oxidecomputer/opte

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.