Idea: Tailcat as part of the main Tailscale VPN

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
go
領域
networking

調査の方向性

The issue proposes integrating Tailcat with Tailscale and MagicDNS, including hostname resolution and possible DNS TXT handling, but names no files, tests, or implementation entry point. Start by reading the Tailcat README section about SOCKS proxy hostnames and the existing Tailscale integration; done would require defining and implementing the proposed connection flow and its behavior for DNS records.

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

説明

enhancement

Okay, this is a big ask, (and yeah, not an issue, sorry!) but I think it's cool and worth bringing up, because this part of the README intrigued me:

Tailcat addresses also work directly as URL hostnames: the SOCKS proxy recognizes and dials them, so the tailcat address argument is optional. (Tailcat addresses are case-sensitive; this works with curl and most CLI tools, but not with browsers, which lowercase hostnames.)

$ tailcat socks curl http://:8081/

and my idea is basically, with Tailscale, you can already share a device with a friend, but this of course, only works with that one friend, and requires you to remember to make sure your ACLs are set up properly, figure out which is the IP for their machine... and just, ugh.
Tailcat solves a part of this problem, but requires you to either manually run the tailcat CLI, or have it embedded into the app (like shown in the TSUP demo with Minecraft).

I could imagine a future, where you could just start tailcat on your end (or maybe also integrate the hosting into the Tailscale as a neat little menubar UI?), send your friend a link (or even post it publicly) and as long they have a Tailscale VPN running, they could just open Minecraft, enter biglongkey.tailcat:25565 and have it work. No need to futz about with invite links, ACLs, starting a special CLI. It would really simplify & accelerate the whole process of just doing an end to end connection that I've read the founder's nostalgic blogposts about

I think technically this wouldn't be as straight forward as like with SOCKS, because apps expect you to resolve a DNS to a real IP address, and connect to that, not directly to the domain, but I could imagine something like MagicDNS detecting this request, temporarily assigning a random address in the 100.x.y.z range (or a v6 address) and mapping it. Would also be cool to do the same thing with the DNS TXT records (but perhaps you'd only do this if there isn't a normal A/AAAA record)

主要言語
Go
スター
10.1k
フォーク
470
平均マージ
1日 14時間
マージ済み PR(30日)
19

環境構築

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

はじめの一歩

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

tailscale/tailcat のほかの issue

tailscale/tailcat の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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