commit | 581ec448ad57ef4846d58799f1f3e83a2103179d | [log] [tgz] |
---|---|---|
author | Tamir Duberstein <tamird@google.com> | Fri Jun 28 15:54:46 2019 -0400 |
committer | Tamir Duberstein <tamird@google.com> | Tue Jul 23 20:12:32 2019 +0000 |
tree | f85a847933abf12fd6db8c071f65100bac8f48e9 | |
parent | 5b79355f64e8cfd7a1d9d4bd1c5a34959ad86a94 [diff] |
Reland "Merge remote-tracking branch 'upstream/master' into HEAD" This is a reland of 642ca71b9095dc0018e5d5ebec367d5aafcbf98f Original change's description: > Merge remote-tracking branch 'upstream/master' into HEAD > > Change-Id: I83e74e1786dafcab7f189904b43ee0ae919f40c8 Change-Id: Ic65f2e9f0665831f554617ecb490729c1b30d10d
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.