commit | b79329c31103114020b8fc816eb71c8a45958c26 | [log] [tgz] |
---|---|---|
author | Tamir Duberstein <tamird@google.com> | Wed Jul 31 16:39:12 2019 -0400 |
committer | Tamir Duberstein <tamird@google.com> | Wed Jul 31 16:39:12 2019 -0400 |
tree | 37ebfcf9c93b269346cf8343275f2959613be062 | |
parent | c92ff26693b49b6e98565fd7c2c9ee8305f133b7 [diff] | |
parent | f43f10f489df31f34f0f049fa1ed551b40565f08 [diff] |
Merge remote-tracking branch 'upstream/master' into HEAD Change-Id: I4e209c0a716666bfe5d23ee75ac879966386d6f8
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.