commit | 8278f0876a0673d4b828e6b59dd5df39582e5687 | [log] [tgz] |
---|---|---|
author | Tamir Duberstein <tamird@gmail.com> | Fri Dec 28 11:37:19 2018 -0500 |
committer | Tamir Duberstein <tamird@gmail.com> | Fri Dec 28 11:37:19 2018 -0500 |
tree | 55d8c893f74f7acc541482ffaced8804d963e1a5 | |
parent | e34802b524e04afa9f1cea05b0c4c7662bec3880 [diff] | |
parent | d82ab9669c40dec358d6b33c4aaac661cca81928 [diff] |
Merge remote-tracking branch 'upstream/master' Change-Id: Ic6d07e38f7b253d376ab0c9a737d29c92fd258b3
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.