commit | 1ff6901c03f03e3902a50d55c3e77680c55bc9fe | [log] [tgz] |
---|---|---|
author | Tamir Duberstein <tamird@google.com> | Fri Jun 07 10:44:31 2019 +0000 |
committer | Tamir Duberstein <tamird@google.com> | Fri Jun 07 10:44:31 2019 +0000 |
tree | 8cbc34d12e97da62b9a74699e42c4b7d6cff7f95 | |
parent | a395f764acd316b08cb14831b9141534bdc1b869 [diff] | |
parent | f18ddf6c7a9a81e1cd59ae98de804fd480511fc7 [diff] |
Merge changes I6baf9704,I78b6bbfd,Icba71ec5 * changes: Merge remote-tracking branch 'upstream/master' into HEAD Adjust route when looping multicast packets Fix data race in synRcvdState.
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.