github.com/FlowerWrong/netstack@v0.0.0-20191009141956-e5848263af28/README.md (about) 1 # Netstack 2 3 Netstack is a network stack written in Go. 4 5 ## Getting started 6 7 Try it out on Linux by installing the tun_tcp_echo demo: 8 9 ``` 10 go install github.com/FlowerWrong/netstack/tcpip/sample/tun_tcp_echo 11 ``` 12 13 Create a TUN device with: 14 15 ``` 16 [sudo] ip tuntap add user <username> mode tun <device-name> 17 [sudo] ip link set <device-name> up 18 [sudo] ip addr add <ipv4-address>/<mask-length> dev <device-name> 19 ``` 20 21 Then run with: 22 23 ``` 24 tun_tcp_echo <device-name> <ipv4-address> <port> 25 ``` 26 27 ## Contributions 28 29 Please see [CONTRIBUTING.md](CONTRIBUTING.md) for more details. 30 31 ## Issues/Bug Reports 32 33 Netstack is primarily developed as part of 34 [gVisor](http://www.github.com/google/gvisor) and any issues/bugs should be 35 filed against the gVisor repository as this repo is not actively monitored for 36 bug reports. 37 38 ### Disclaimer 39 40 This is not an official Google product (experimental or otherwise), it is just 41 code that happens to be owned by Google.