爱意满满的作品展示区。
xuxihai

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

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