xjasonlyu / tun2socks

tun2socks - powered by gVisor TCP/IP stack
https://github.com/xjasonlyu/tun2socks/wiki
GNU General Public License v3.0
3.14k stars 433 forks source link

[Feature] difference with go-tun2socks #115

Closed wustwg closed 2 years ago

wustwg commented 2 years ago

Description

我看了你们这两个库都用了go, https://github.com/eycorsican/go-tun2socks 用的是lwip, 你文档上说你用的是google的ip协议栈, 仅仅是这些区别吗 ?

Is this feature related to a specific bug?

no

Do you have a specific solution in mind?

no

xjasonlyu commented 2 years ago

一个用了cgo,一个是纯go;性能区别;支持的代理不同等。

wustwg commented 2 years ago

一个用了cgo,一个是纯go;性能区别;支持的代理不同等。

能详细说说吗?

  1. 哪个性能更好?我看了性能测试,这个库的性能更高一些?
  2. 支持的代理有何区别?
xjasonlyu commented 2 years ago

go-tun2socks项目作者已经不再维护了,它的内存占用会低一些,但是极限带宽的吞吐量如测试结果所示比较低。

本质就是to-socks的代理,这里区别不大,而且项目不会考虑去加入各种各样的非标准代理协议。

wustwg commented 2 years ago

非常感谢,32个赞!!!

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days