V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
xuxihai

前段时间手搓的内网穿透工具-gwk

  •  4
     
  •   xuxihai · Oct 25, 2023 · 3023 views
    This topic created in 914 days ago, the information mentioned may be changed or developed.

    某周五睡前构思了一下 frp 和 ngrok 的实现,实现的一个打洞工具。欢迎大家使用和交流。

    nodejs 版本: https://github.com/xuxihai123/gwk

    golang 版本: https://github.com/xuxihai123/go-gwk

    两个实现协议可以互通。

    19 replies    2023-10-29 18:52:10 +08:00
    toou123
        1
    toou123  
       Oct 25, 2023
    收藏了
    xuxihai
        2
    xuxihai  
    OP
       Oct 25, 2023
    @toou123 谢谢收藏
    kingcarp
        3
    kingcarp  
       Oct 25, 2023
    支持 UDP 穿透吗,如果有可以分享一下实现思路吗,谢谢🙏
    xuxihai
        4
    xuxihai  
    OP
       Oct 25, 2023
    @kingcarp 暂不支持 UDP ,后面抽空看看怎么支持一下.
    xuxihai
        5
    xuxihai  
    OP
       Oct 25, 2023
    @kingcarp 支持 UDP 可以使用 UDP over TCP, UDP 中继服务器转发,STUN 类似的 p2p 穿越协议。STUN 这种比较复杂, 可以使用前面两种实现。
    bytesfold
        6
    bytesfold  
       Oct 25, 2023 via iPhone
    看起来很好用
    sunwang
        7
    sunwang  
       Oct 26, 2023
    请教下楼主,像网络工具这块要怎样才能了解一些它的实现原理,有推荐的一些书籍吗?
    xuxihai
        8
    xuxihai  
    OP
       Oct 26, 2023
    @sunwang 系统的看一下<<计算机网络自顶向下>>, 结合抓包工具 wireshark 分析每一个数据包,另外就是基于 TCP/UDP 动手写一些东西. 自己实现一些常见的协议, 映像更深刻 。
    xuxihai
        9
    xuxihai  
    OP
       Oct 26, 2023
    @bytesfold 谢谢
    sunwang
        10
    sunwang  
       Oct 26, 2023
    @xuxihai 非常感谢!已 star
    cdswyda
        11
    cdswyda  
       Oct 26, 2023
    同为前端,你还是牛啊,点赞!
    xuxihai
        12
    xuxihai  
    OP
       Oct 26, 2023
    @cdswyda 谢谢 😎
    8E9aYW8oj31rnbOK
        13
    8E9aYW8oj31rnbOK  
       Oct 27, 2023
    我特别钟爱 frp 的 stcp 模式,楼主可以试着仿一个
    xuxihai
        14
    xuxihai  
    OP
       Oct 27, 2023
    @Leonkennedy2 有空再搞一下。
    uilvn
        15
    uilvn  
       Oct 28, 2023
    已赞
    xuxihai
        16
    xuxihai  
    OP
       Oct 28, 2023
    @uilvn 谢谢 😎
    xuxihai
        17
    xuxihai  
    OP
       Oct 28, 2023
    @Leonkennedy2 @kingcarp nodejs 版本已支持 udp 和 stcp , 欢迎使用常用😎
    cdswyda
        18
    cdswyda  
       Oct 29, 2023
    要不要写几篇文章分享下?
    xuxihai
        19
    xuxihai  
    OP
       Oct 29, 2023
    @cdswyda 没有计划😂
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   851 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 105ms · UTC 21:52 · PVG 05:52 · LAX 14:52 · JFK 17:52
    ♥ Do have faith in what you're doing.