Support OpenSSH TCP and Unix socket forwarding in the built-in SSH server

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

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

評価

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

調査の方向性

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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

tailscale/tailcat のほかの issue

tailscale/tailcat の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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