commit | c92ff26693b49b6e98565fd7c2c9ee8305f133b7 | [log] [tgz] |
---|---|---|
author | Tamir Duberstein <tamird@google.com> | Thu Jul 25 13:07:33 2019 -0400 |
committer | Tamir Duberstein <tamird@google.com> | Thu Jul 25 13:07:33 2019 -0400 |
tree | e1e82f3e58a620527c3fe5b3513db674c5da3d01 | |
parent | 8bc8f23629244f9bc332401ccc5016187a7022c8 [diff] | |
parent | bd29f38290adc0480bbfa21405f73b8e1f3e7989 [diff] |
Merge remote-tracking branch 'upstream/master' into HEAD Change-Id: If4132247f4ee7a1709549a2bbcf52a343a784de2
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.