Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Support UDP proxying through HTTP upstreams via RFC 9298 CONNECT-UDP

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

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

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

評価

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

調査の方向性

The issue proposes a new file, src/chain_http_udp.ts, for an RFC 9298 CONNECT-UDP client, and it depends on HTTP/2 Extended CONNECT support that the payload does not show exists yet. Start by reading the existing HTTP upstream chaining code in the repository, since the payload names no current files. Done would mean a configurable upstream that tunnels UDP via RFC 9297 capsules, which needs design discussion with maintainers first.

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

説明

This is more of a future enhancement, but worth tracking: RFC 9298 "Proxying UDP in HTTP" defines a standard way to tunnel UDP through HTTP proxies using Extended CONNECT with the connect-udp protocol.

This isn't common today, but it's a real standard (published August 2022) and is used in production by Cloudflare for WARP and iCloud Private Relay. Other implementations include Envoy and the masque-go library.

How it works:

  • Client sends Extended CONNECT request with :protocol = connect-udp
  • Target specified via URI template like /.well-known/masque/udp/{host}/{port}/
  • UDP payloads are encapsulated using HTTP Datagrams (RFC 9297)
  • Works over HTTP/2 (with overhead) or HTTP/3 (preferred, uses QUIC DATAGRAM frames)

To add this to proxy-chain:

  • Create src/chain_http_udp.ts for RFC 9298 client implementation
  • Would need HTTP/2 Extended CONNECT support first
  • Implement the capsule protocol from RFC 9297 for datagram encapsulation
  • Add config option to specify upstream supports CONNECT-UDP

This is lower priority than SOCKS5 UDP (see #634 and #633) since:

  • HTTP/2 Extended CONNECT adds complexity
  • Few HTTP proxies support this today
  • HTTP/1.1 cannot practically support it at all

But it would be nice for completeness and future-proofing, especially as HTTP/3 adoption grows.

References:

主要言語
TypeScript
スター
1k
フォーク
167
平均マージ
16時間 47分
マージ済み PR(30日)
20

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

apify/proxy-chain のほかの issue

apify/proxy-chain の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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