commit | 6d6e00e3b3a232c9eaa8d4a6a717413a6ef7b813 | [log] [tgz] |
---|---|---|
author | Chris Kuiper <ckuiper@google.com> | Fri May 03 07:01:38 2019 -0700 |
committer | Shentubot <shentubot@google.com> | Fri May 03 07:02:04 2019 -0700 |
tree | 1fdf10420651c88104a7e0222703e9272f4932be | |
parent | f8795d2d1adcc1578ee3555f3e92fbd614557e77 [diff] |
Proper cleanup of sockets that used REUSEPORT Fixed a small logic error that broke proper accounting of MultiPortEndpoints. PiperOrigin-RevId: 246502126
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.