chengrui0428
V2EX  ›  Claude

写了个 ClaudeCode 前置网络检测插件,开源

  •  
  •   chengrui0428 · 1h 37m ago · 195 views

    每次跑 claude 前自动检查三项:

    • DNS 解析、
    • 出口 IP 是否在封锁地区( CN/RU/IR 等)、
    • TCP 连通性含延迟和丢包率。

    结果 🟢🟡🔴 一目了然,黄红两档会提示 Continue / Retry / Quit 让你决定要不要继续。

      git clone https://github.com/Laotree/verify-networking-plugin
      cd verify-networking-plugin && ./install.sh
    

    装完之后对 claude 命令完全透明,不影响正常使用。

    2 replies    2026-05-23 18:24:39 +08:00
    yangg
        1
    yangg  
       1h 16m ago via Android
    出口 ip 在 cn 能访问 a 家域名?
    chengrui0428
        2
    chengrui0428  
    OP
       31 mins ago via iPhone
    @yangg 这个工具就是防止用错误出口,触发 block
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2668 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 10:56 · PVG 18:56 · LAX 03:56 · JFK 06:56
    ♥ Do have faith in what you're doing.