commit | d43b94c812fdbc940129c3c460f234c5982c72d5 | [log] [tgz] |
---|---|---|
author | Tamir Duberstein <tamird@gmail.com> | Tue Mar 19 13:23:48 2019 -0400 |
committer | Tamir Duberstein <tamird@gmail.com> | Tue Mar 19 13:23:48 2019 -0400 |
tree | 0909c152c659580d5a257761dce6bf43ba505db5 | |
parent | 10ae7a8b141c29f999e0a42e714c39ea85e50dd7 [diff] | |
parent | 5becf1edf95f07f628b2aa0ea091005cc0d5820c [diff] |
Merge remote-tracking branch 'upstream/master' into HEAD Change-Id: If69c9202e8b15b93c4ba2345a0df19dd5f9bef2b
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.