simlock tunnel refuses plain http to a Tailscale gateway
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- cli, networking
調査の方向性
Start in src/cli/commands/tunnel.ts at the LOOPBACK_HOSTS check around line 111 and trace how the tunnel command validates and uses --url and SIMLOCK_URL. Decide which safe opt-in or host-range behavior fits the project, then update the validation and its tests; done means the chosen HTTP case works and rejected URLs still produce a useful error.
索引モデルが issue の本文から書いたものです。
説明
The problem
simlock tunnel takes only https://, or http:// to loopback:
--url must be https://, or http:// only for 127.0.0.1, [::1] or localhost
A gateway reached over Tailscale at http://100.x.y.z:4700 is refused, even though Tailscale already encrypts the link and the rest of the CLI and the console use that URL. To make it work I had to run a small TCP relay from 127.0.0.1:4700 to the Tailscale address, and point SIMLOCK_URL at the relay.
Who runs into this
Anyone with a gateway or worker on another Mac in a tailnet or private network who has no TLS in front of it. This was the first step of a tunnel demo.
What you would like to happen
One of these:
- allow
http://to Tailscale addresses (100.64.0.0/10,*.ts.net) or private ranges; - add an explicit flag or config key (for example
--allow-insecure-http) that permits plain http to a named host; - at least, make the error say how to proceed (a TLS proxy, or an SSH or loopback relay).
Anything else
The check is LOOPBACK_HOSTS in src/cli/commands/tunnel.ts:111. Relay used:
net.createServer(c => { const u = net.connect(4700, "100.75.181.35"); c.pipe(u).pipe(c); }).listen(4700, "127.0.0.1");
Written by an agent.
- 主要言語
- TypeScript
- スター
- 535
- フォーク
- 21
- 平均マージ
- 9時間 10分
- マージ済み PR(30日)
- 454
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
callstackincubator/simlock のほかの issue
-
os:windows request:new
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
callstackincubator/simlock#1071 ·
メンテナーはふだん 1 日以内に返信
-
A learned kind keeps one ready copy while its copies are leased対応中かも @V3RON が今日担当しました。 オープンtask:blocked
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
callstackincubator/simlock#1381 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Warm pool keeps a spare learned copy while its copies are held対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンfeature:planned
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
callstackincubator/simlock#1374 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug:new
難易度 4/5 1〜2日 初心者へのやさしさ 55/100
callstackincubator/simlock#1371 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
task:ready
難易度 3/5 1〜2日 初心者へのやさしさ 74/100
callstackincubator/simlock#1365 ·
メンテナーはふだん 1 日以内に返信
callstackincubator/simlock の issue をすべて見る
似ている issue
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 83/100
lingdojo/kana-dojo#33701 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
-
tech-debt
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
rookslog/zlibrary-mcp#408 ·
メンテナーはふだん 1 日以内に返信
-
mp4box.js — 20-byte `sgpd` box with large `entry_count` causes unbounded loop and heap OOM abortオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
status: needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
mastra-ai/mastra#29641 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信