Support OpenSSH TCP and Unix socket forwarding in the built-in SSH server
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- go
- 領域
- backend, networking
調査の方向性
Start with tailcat_ssh.go, which the issue identifies as registering only the session channel handler, and inspect how the built-in SSH server handles channels and requests. The requested work covers TCP and Unix-socket forwarding, listener and destination restrictions, and tests for -L, -R, -D, and socket forwarding; done means those behaviors are supported and tested.
索引モデルが issue の本文から書いたものです。
説明
Problem
Tailcat's built-in SSH server only registers the session channel handler, with an empty RequestHandlers map:
https://github.com/tailscale/tailcat/blob/main/tailcat_ssh.go
This means standard OpenSSH forwarding is unsupported:
- Local TCP forwarding (
ssh -L) and dynamic forwarding (ssh -D):direct-tcpip - Remote TCP forwarding (
ssh -R):tcpip-forward,cancel-tcpip-forward,forwarded-tcpip - Unix-domain socket forwarding: OpenSSH
[email protected],[email protected], and corresponding forwarded/cancel operations
These features are important for SSH-based remote development clients, including those that use port or socket forwarding alongside an interactive terminal.
Requested behavior
Please consider optional support for OpenSSH TCP and Unix-domain socket forwarding in the built-in SSH server, with appropriate listener/destination restrictions and tests for ssh -L, -R, -D and socket forwarding.
Related issues
- #14: Tailcat transport-level TCP forwarding, rather than SSH protocol channels
- #93: Tailcat transport-level Unix socket serving, rather than SSH protocol forwarding
Using an existing OpenSSH daemon behind a Tailcat tunnel is a workaround, but requires a separately managed SSH server.
- 主要言語
- Go
- スター
- 8.8k
- フォーク
- 404
- 平均マージ
- 3時間 48分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
tailscale/tailcat のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
macOS: tailcat's traffic goes through a co-located Tailscale exit node because netns is off対応中かも @chphch が今日担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 18/100
-
難易度 3/5 半日 初心者へのやさしさ 30/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
tailscale/tailcat の issue をすべて見る
似ている issue
-
area: interop area: sip-core v3
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
fonoster/routr#705 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
deadfin-org/deadfin#35 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
-
enhancement priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
labmonkeys-space/nl6#1037 ·
メンテナーはふだん 1 日以内に返信
-
Setup Guide Go tab: say it needs Go 1.26 (the unversioned go get pulls OpenTelemetry Go v1.47.0)オープンenhancement follow-up
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信