commit | 325363d09f6e87b77021a1be7ab6da67e453b829 | [log] [tgz] |
---|---|---|
author | Ghanan Gowripalan <ghanan@google.com> | Tue Oct 22 13:53:01 2019 -0700 |
committer | gVisor bot <gvisor-bot@google.com> | Tue Oct 22 13:53:31 2019 -0700 |
tree | d7f47aa8b1bbaff32af72caa43a8a4b98b88ffdd | |
parent | aeeb455bd857fee83b1316e70c8e8c277346704a [diff] |
Respect new PrimaryEndpointBehavior when addresses gets promoted to permanent This change makes sure that when an address which is already known by a NIC and has kind = permanentExpired gets promoted to permanent, the new PrimaryEndpointBehavior is respected. PiperOrigin-RevId: 276136317
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.
Netstack is primarily developed as part of gVisor and any issues/bugs should be filed against the gVisor repository as this repo is not actively monitored for bug reports.
This is not an official Google product (experimental or otherwise), it is just code that happens to be owned by Google.