Problem: Anyone can sync with TSN nodes
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- go
- Lĩnh vực
- authorization, distributed-systems, networking
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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?
- Ngôn ngữ chính
- Go
- Star
- 7
- Fork
- 3
- Merge trung bình
- 3 giờ 2 phút
- Pull request đã merge (30 ngày)
- 13
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của trufnetwork/node
-
type: goal
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
trufnetwork/node#1436 ·
-
trufnetwork/node#1435 · 1 người được giao ·
-
trufnetwork/node#1429 · 2 bình luận · 1 người được giao ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
trufnetwork/node#1313 · 2 bình luận · 1 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
trufnetwork/node#1200 · 1 bình luận ·
Tất cả issue của trufnetwork/node
Issue tương tự
-
agentic-workflows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
agentic-workflows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
microsoft/agent-framework-go#1179 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
[Bug]: OLLAMA_KEEP_ALIVE="5m" / "24h" crashes Ollama embedding and vision models with ValueError Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
infiniflow/ragflow#20223 · 1 reaction ·
-
bug needs triage pkg/translator/faro
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
open-telemetry/opentelemetry-collector-contrib#51484 · 1 bình luận ·