commit | 642ca71b9095dc0018e5d5ebec367d5aafcbf98f | [log] [tgz] |
---|---|---|
author | Tamir Duberstein <tamird@google.com> | Fri Jun 28 15:54:46 2019 -0400 |
committer | Tamir Duberstein <tamird@google.com> | Fri Jun 28 15:54:46 2019 -0400 |
tree | f85a847933abf12fd6db8c071f65100bac8f48e9 | |
parent | 1ff6901c03f03e3902a50d55c3e77680c55bc9fe [diff] | |
parent | e0eb0221b9b4719a4235392e2304013f90af400a [diff] |
Merge remote-tracking branch 'upstream/master' into HEAD Change-Id: I83e74e1786dafcab7f189904b43ee0ae919f40c8
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.