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

オープン
#1,078 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
22/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
rust
領域
networking

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Rust
スター
82
フォーク
16
平均マージ
3日 6時間
マージ済み PR(30日)
11

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

oxidecomputer/opte のほかの issue

oxidecomputer/opte の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。