commit | c543949a8d3c78df30912651f74d578adc4bf646 | [log] [tgz] |
---|---|---|
author | Brad Burlage <brb@google.com> | Fri Jun 21 15:55:15 2019 -0700 |
committer | gVisor bot <gvisor-bot@google.com> | Fri Jun 21 15:55:45 2019 -0700 |
tree | 9021a9636b16ac94bc4edef8b3ee8d8a9e5ba1f5 | |
parent | 71ba27e9294ef69da0cda561ba14dcd7cb24824b [diff] |
Deflake TestSimpleReceive failures due to timeouts This test will occasionally fail waiting to read a packet. From repeated runs, I've seen it up to 1.5s for waitForPackets to complete. PiperOrigin-RevId: 254484627
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.