Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

【开源自荐】xfrpc -- FRP(fast reverse proxy)项目的c语言客户端 #2353

Open
liudf0716 opened this issue Apr 29, 2022 · 9 comments

Comments

@liudf0716
Copy link

项目推荐

  • 项目地址:xfrpc

  • 类别:c

  • 项目后续更新计划:兼容frp项目的服务端frps,持续更新

  • 项目描述:
    xfrpc是frp项目的c语言客户端;frp 是一个专注于内网穿透的高性能的反向代理应用,支持 TCP、UDP、HTTP、HTTPS 等多种协议。可以将内网服务以安全、便捷的方式通过具有公网 IP 节点的中转暴露到公网。

  • 推荐理由:

    由于frp是用golang实现,因此其最终生成的可执行文件超过10M;而在一般基于openwrt的wifi路由器上,flash存储空间较小(8-16M),cpu的性能也较低,很多常用的型号由于存储空间的限制,frp客户端无法安装;而xfrpc由于是基于c语言实现,其无论是对硬件的性能和存储要求都非常低(最终可执行文件大小100k不到),因此可以安装到绝大部分的基于openwrt的wifi路由器上。

    xfrpc项目已经被openwrt官方社区收录 : https://github.com/openwrt/packages/tree/master/net/xfrpc

@Borber
Copy link

Borber commented Apr 29, 2022

强!

@liudf0716
Copy link
Author

@Borber 谢谢鼓励!

@Borber
Copy link

Borber commented Apr 29, 2022

@Borber 谢谢鼓励!

这个没法独立使用对吧? 只能在openwrt上用

@liudf0716
Copy link
Author

@Borber 主要在openwrt上用,是替代frpc的。其他linux发行版本也能用,但由于功能上还是没有frpc完整,所以没有优势,主要还是在一些小wifi路由器上使用。

@hsqmoon
Copy link

hsqmoon commented Sep 20, 2024

求大佬再来一个mcu版本的!

@liudf0716
Copy link
Author

啥叫mcu版本?

@hsqmoon
Copy link

hsqmoon commented Oct 7, 2024

感谢大佬回复! 就是可以在esp32s3这样的mcu上运行的 我想把本地的http server映射出去 这样就不需要再多写一套额外的交互逻辑供给云端控制设备了 直接整个web映射出去就可以随意配置了 这就爽了 不过目前这个似乎只能在linux上运行? 还是有单独的平台适配层? 直接修改适配层就可以适配到esp的freertos了?

@liudf0716
Copy link
Author

主要是xfrpc是基于libevent库上做的开发,很多mcu平台由于硬件限制,可能对libevent的支持做不到,如果要完全替换掉libevent库,对应的工作量就比较大了。

@hsqmoon
Copy link

hsqmoon commented Oct 12, 2024

好吧 可惜了

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

4 participants