commit | 7199c6617c5caeb4eb39cafa1ed1fd856329aec6 | [log] [tgz] |
---|---|---|
author | Tamir Duberstein <tamird@gmail.com> | Fri Dec 28 14:34:06 2018 -0500 |
committer | Tamir Duberstein <tamird@gmail.com> | Fri Dec 28 14:34:06 2018 -0500 |
tree | 33f972bd6d6a19cabf45c8d88bd3b7d172098c44 | |
parent | 8278f0876a0673d4b828e6b59dd5df39582e5687 [diff] | |
parent | 4e2c9778d4e522fbda04c390af75533e2e118688 [diff] |
Merge remote-tracking branch 'upstream/master' Change-Id: Ib612be3e101fa55248e78eb90fee66dfa2a92e77
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.