Add create tun from file descriptor

This commit is contained in:
世界 2023-02-26 16:58:07 +08:00
parent 8cb63dbb54
commit 0cdb0eed74
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
8 changed files with 67 additions and 49 deletions

6
go.mod
View file

@ -6,9 +6,9 @@ require (
github.com/fsnotify/fsnotify v1.6.0
github.com/sagernet/go-tun2socks v1.16.12-0.20220818015926-16cb67876a61
github.com/sagernet/netlink v0.0.0-20220905062125-8043b4a9aa97
github.com/sagernet/sing v0.1.2
golang.org/x/net v0.4.0
golang.org/x/sys v0.3.0
github.com/sagernet/sing v0.1.7
golang.org/x/net v0.7.0
golang.org/x/sys v0.5.0
gvisor.dev/gvisor v0.0.0-20220901235040-6ca97ef2ce1c
)