xjasonlyu / tun2socks

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

[Feature] Why does tun2socks use gvsior #116

Closed ssrshz closed 2 years ago

ssrshz commented 2 years ago

Description

I think,it‘s weight that tun2socks just use the TCP/IP from gvsior ,which is a container sandbox and has a mount of network performance loss in high load

Is this feature related to a specific bug?

No response

Do you have a specific solution in mind?

No response

xjasonlyu commented 2 years ago
  1. tun2socks needs a user-space network stack to convert layer three packets to TCP/UDP connections
  2. we simply and only use the tcpip pkg of gVisor which is originally called netstack

BTW, topic like this can be discussed in the Discussions.

ssrshz commented 2 years ago
  1. tun2socks needs a user-space network stack to convert layer three packets to TCP/UDP connections
  2. we simply and only use the tcpip pkg of gVisor which is originally called netstack

BTW, topic like this can be discussed in the Discussions.

all right!

ssrshz commented 2 years ago

closed