V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
outmatch
V2EX  ›  分享创造

tutuicmptunnel - 基于 bpf 的 udp 转换为 ICMP 隧道工具

  •  
  •   outmatch · 10 天前 · 1013 次点击

    基于 bpf 的 udp 转换为 ICMP 隧道工具。可以用于代替 udp2raw 的 ICMP 模式。 我自己测试性能应该是 udp2raw 的 6~10 倍的性能。

    项目地址: https://github.com/hrimfaxi/tutuicmptunnel

    特色:

    • 同等 cpu 下最大流量比 udp2raw 快几倍,同时 cpu 占用资源用少的多。参见性能测试
    • 安全的设计与实现
    • 支持 openwrt 上运行
    • 支持 ipv4/ipv6 下的 icmp/icmp6
    • 可以使用 tuctl_server 安全而迅速的同步服务器/客户端配置

    可以到 actions 去下载最新的可执行包(要求登录 github 账号)。

    第 1 条附言  ·  9 天前
    基于 bpf 的 UDP 转 ICMP 隧道工具,可作为 udp2raw ICMP 模式的替代方案。 推荐与 kcptun 、hysteria 、wireguard 等工具配合使用,共同应对 GFW 或 ISP 越来越严厉的 UDP QOS 和丢包策略,有效提升穿透能力和连接稳定性。
    5 条回复    2025-07-24 14:29:42 +08:00
    outmatch
        1
    outmatch  
    OP
       10 天前
    有问题欢迎提 issue 或 PR ,欢迎一起完善和测速反馈!
    omega3
        2
    omega3  
       10 天前
    支持一下
    stella
        3
    stella  
       10 天前 via Android
    和 phuntun 比较如何?
    outmatch
        4
    outmatch  
    OP
       9 天前   ❤️ 1
    @stella 经过测试,发现 phantun 和 udp2raw 速度差别不大,性能相对 udp2raw 更波动小一点:

    在发送方向,`tutuicmptunnel` 跑出了 `4.42 Gbits/sec` 的成绩,是 `phantun` (`0.769 Gbits/sec`) 的 `5.75` 倍。
    在接收方向,`tutuicmptunnel` 跑出了 `4.43 Gbits/sec` 的成绩,是 `phantun` (`0.746 Gbits/sec`) 的 `5.94` 倍。
    stella
        5
    stella  
       9 天前
    @outmatch 点赞👍
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   925 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 20:39 · PVG 04:39 · LAX 13:39 · JFK 16:39
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.