commit | e9f200df47297a56ddc186771fc066bbd92413b1 | [log] [tgz] |
---|---|---|
author | Kevin Krakauer <krakauer@google.com> | Fri Aug 02 16:25:34 2019 -0700 |
committer | gVisor bot <gvisor-bot@google.com> | Fri Aug 02 16:26:14 2019 -0700 |
tree | 321f9fb6f4ee51cd51a5199a9dda18fee7df0db7 | |
parent | 4d7c55d16e17169c39b4451988aa6be0616718dc [diff] |
Plumbing for iptables sockopts. PiperOrigin-RevId: 261413396
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.