commit | 8bc8f23629244f9bc332401ccc5016187a7022c8 | [log] [tgz] |
---|---|---|
author | Tamir Duberstein <tamird@google.com> | Tue Jul 23 16:12:59 2019 -0400 |
committer | Tamir Duberstein <tamird@google.com> | Tue Jul 23 16:12:59 2019 -0400 |
tree | 3f43bbf4fabac1bd3c0e145f090fdd875ee30621 | |
parent | 581ec448ad57ef4846d58799f1f3e83a2103179d [diff] | |
parent | 19f8a636a0ec317b5ba2b9524802947f5d7182c9 [diff] |
Merge remote-tracking branch 'upstream/master' into HEAD Change-Id: Iff22f2d14aca7943508873ed2188553ed2224255
Netstack is a network stack written in Go.
Try it out on Linux by installing the tun_tcp_echo demo:
go install github.com/google/netstack/tcpip/sample/tun_tcp_echo
Create a TUN device with:
[sudo] ip tuntap add user <username> mode tun <device-name> [sudo] ip link set <device-name> up [sudo] ip addr add <ipv4-address>/<mask-length> dev <device-name>
Then run with:
tun_tcp_echo <device-name> <ipv4-address> <port>
Please see CONTRIBUTING.md for more details.
This is not an official Google product (experimental or otherwise), it is just code that happens to be owned by Google.