commit | 904746c83919f38b5b378d5dbceca3eef6cd204c | [log] [tgz] |
---|---|---|
author | Haibo <Haibo.Xu@arm.com> | Mon Aug 26 14:02:31 2019 -0700 |
committer | gVisor bot <gvisor-bot@google.com> | Mon Aug 26 14:03:03 2019 -0700 |
tree | 547a360966b5c07bb13dfb1428f6e0fd7b9956e3 | |
parent | 552e0d20765700a9b05f9d9a6eaf887887eea6e0 [diff] |
Enabling pkg/tcpip/link support on arm64. Signed-off-by: Haibo Xu <haibo.xu@arm.com> Change-Id: I39b0ef928c53ed318a0f1ff404d79d7e62e73d21 PiperOrigin-RevId: 265534854
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.