commit | b6b6514ef2e6aec760670dbd3791aad6418ff019 | [log] [tgz] |
---|---|---|
author | Tamir Duberstein <tamird@google.com> | Fri May 03 14:55:18 2019 -0400 |
committer | Tamir Duberstein <tamird@google.com> | Fri May 03 15:37:12 2019 -0400 |
tree | 2a69bf94e9e5e560199435179008a17d171078b2 | |
parent | 45b34497ba43c6e69c6298999f6066aeab93f35b [diff] | |
parent | 284c9ce35aacdb7ed4e534d12cda719c679238fd [diff] |
Merge remote-tracking branch 'upstream/master' into merge NET-2246 #done Change-Id: Iac5d8e674f4731d27723a62e1713c31ca00e72c9
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.