Problem: Anyone can sync with TSN nodes
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- go
调研方向
The issue names no files, tests, or entry points. Start by tracing how TSN/Kwil nodes authorize peer access and synchronization, then confirm the chosen VPN or validator-only approach with maintainers. Done means unauthorized peers cannot populate a read-only node with chain data and the operational guidance reflects the decision.
由索引模型根据 Issue 内容生成。
描述
What is happening:
- before node operators, our p2p port was closed.
- with node operators, we need to give nodes p2p access
- currently, anyone with p2p access can say, "I want to be a read-only node of TSN chain" even if they are not validators
- this means, when they connect, their DB is filled with all current data, without needing an approval
Solutions:
- make VPN part of our infra, guide node operators to connect through it
- ask the kwil team to add an option that disallows syncing without being a validator (1 week work, Brennan said). This makes the read-only nodes not possible, correct?
- keep it insecure for now, relying on the obscurity that our
tsn-node-operatorscan remain private for now, and people won't immediately know the servers, genesis file, software, etc(@brennanjl all correct?)
I'd vote for 2, or incrementally 3, then 2. Reasons:
- onboarding won't be blocked
1makes the infra + onboarding significantly more complex3seems ok with Cameron's decision about priority- VPN would also be a temporary solution, requiring more trust in operators, etc
Originally posted by @outerlook in https://github.com/truflation/tsn/issues/457#issuecomment-2288518928
@markholdex
@outerlook let's go with 3 now until 2 is not ready. Isolate no 2 in a separate problem, please.
@brennanjl What are the limitations or negative consequences of option 2? When can you put it on your roadmap and when can we see it ready?
- 主要语言
- Go
- 星标
- 7
- 派生
- 3
- 平均合并
- 3 小时 2 分钟
- 30 天内合并 PR
- 13
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
trufnetwork/node 的其他 Issue
-
type: goal
难度 5/5 一周以上 新手友好度 35/100
trufnetwork/node#1436 ·
-
trufnetwork/node#1435 · 已指派 1 人 ·
-
trufnetwork/node#1429 · 2 条评论 · 已指派 1 人 ·
-
难度 5/5 一周以上 新手友好度 25/100
trufnetwork/node#1313 · 2 条评论 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 35/100
trufnetwork/node#1200 · 1 条评论 ·
相似的 Issue
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 76/100
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 70/100
microsoft/agent-framework-go#1179 ·
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
-
[Bug]: OLLAMA_KEEP_ALIVE="5m" / "24h" crashes Ollama embedding and vision models with ValueError 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
infiniflow/ragflow#20223 · 1 个 reaction ·
-
bug needs triage pkg/translator/faro
难度 2/5 1-3 小时 新手友好度 88/100
open-telemetry/opentelemetry-collector-contrib#51484 · 1 条评论 ·