EasyTier/EasyTier

[feat] 私有peer节点增加鉴权,类似s3服务的密钥

Open

#650 aperta il 2 mar 2025

Vedi su GitHub
 (5 commenti) (1 reazione) (0 assegnatari)Rust (1156 fork)auto 404
enhancementhelp wanted

Metriche repository

Star
 (11.670 star)
Metriche merge PR
 (Merge medio 2g 22h) (22 PR mergiate in 30 g)

Descrizione

描述问题 / Describe the problem

希望可以给共享节点鉴权,私有化中转节点, 如果以easytier-core启动的话,任何人都可以使用这个中转,不安全,或者滥用之类的,增加成本 同时使用私有节点,也可以减少公共节点压力

描述您想要的解决方案 / Describe the solution you'd like

可以给[peer]中的uri增加一个可选参数:key作为鉴权 * ,(最好同时可以不影响该服务器正常加入房间)

大致鉴权结构如下

  • peer

    • uri
    • 鉴权key*
  • 房间

    • 房间名
    • 房间密码

替代方案 / Alternatives considered

为每个使用peer的在服务端增加房间,有点麻烦

额外上下文 / Additional context

No response

Guida contributor