commit | e84929da29daa14437e507ea3b8b23d9416c125e | [log] [tgz] |
---|---|---|
author | Amanda Tait <atait@google.com> | Mon Apr 16 16:47:05 2018 -0400 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Tue Apr 17 14:52:58 2018 +0000 |
tree | 42bbb82a03b1839f48b8fd2d4fc4537094d1b565 | |
parent | 378c62762719de0e55c0c265f4b4d88feaf04c0c [diff] |
[netstack] Fix broken stack tests This change updates tests in /third_party/netstack/tcpip/stack so that they build and pass. test: go test passes NET-747 Change-Id: I93e93a59a612f18fcd86ec2816ea75e9fce6603c
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>
We would love to accept contributions, but we have not yet worked out how to handle them. Please contact us before sending any pull requests.
Whatever we do decide on will require signing the Google Contributor License. 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.