commit | 034ee1a5b51b2e33faf0a1ead788058800c07a07 | [log] [tgz] |
---|---|---|
author | Tamir Duberstein <tamird@google.com> | Thu Mar 28 17:59:38 2019 -0400 |
committer | Tamir Duberstein <tamird@google.com> | Thu Mar 28 17:59:38 2019 -0400 |
tree | 4f275b3fb97617d08f6c07c89bb424c316f1458d | |
parent | d43b94c812fdbc940129c3c460f234c5982c72d5 [diff] | |
parent | d121b25c1fd2fda93e1f6f28b9157429bc459e99 [diff] |
Merge remote-tracking branch 'upstream/master' into HEAD Change-Id: I25c130a16da4c7fc7a12b7fac0317aa6e3817bdb
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.