Proposal: support forwarding UDP ports

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
docker
領域
networking

調査の方向性

まず仕様の forwardPorts、portsAttributes、appPort の定義を確認し、次に issue で参照されているエディター実装を調査します。appPort に対する既存の UDP 回避策と、要求されている forwardPorts の動作を比較し、実装前にサポートするスキーマ、ラベリング、プロトコル処理、互換性の要件を定義します。

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

説明

[!NOTE]
I understand this feature may not be as simple as it sounds. It will likely mean changing the editors to support forwarding udp ports as the current implementations likely do not leverage docker for it.

Anyway, I'm opening this issue to start the discussion because I haven't found one elsewhere.

It would be great if the following were possible:

{
  "forwardPorts": ["5683/udp"]
}

Or maybe:

{
  "forwardPorts": [5683],
  "portsAttributes": {
    "5683": {
      "label": "CoAP",
      "onAutoForward": "silent",
      "protocol": "udp"
    }
  }
}

A workaround is to use the older appPort:

{
  "appPort": ["5683/udp"]
}

But appPort has limitations that forwardPorts don't have. For example, appPort ports cannot be labeled through portAttributes.

主要言語
言語のデータがありません
スター
5.7k
フォーク
497
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

devcontainers/spec のほかの issue

devcontainers/spec の issue をすべて見る

似ている issue

Networking の issue をもっと見る

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

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