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

Đang mở
#1,078 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
22/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
networking

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Rust
Star
82
Fork
16
Merge trung bình
3 ngày 6 giờ
Pull request đã merge (30 ngày)
11

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của oxidecomputer/opte

Tất cả issue của oxidecomputer/opte

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.