simlock tunnel refuses plain http to a Tailscale gateway
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 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 分钟
- 30 天内合并 PR
- 454
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭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
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
Yeraze/meshmonitor#6239 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
better-auth/better-auth#12292 · 1 个 reaction ·
维护者通常 1 天内回复
-
The sample email preview's ResizeObserver is never disconnected and keeps raising errors after leaving Settings可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
area:ui bug effort:S priority:P2
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
Typo in WSL project description on Projects page可能已有人在做 @akhil9tiet 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 75/100
microsoft/opensource.microsoft.com#1066 · 1 条评论 ·