commit | 232969fa1cc8dbbf84b725729098f82229fe4f0b | [log] [tgz] |
---|---|---|
author | Bhasker Hariharan <bhaskerh@google.com> | Tue Sep 03 15:59:58 2019 -0700 |
committer | gVisor bot <gvisor-bot@google.com> | Tue Sep 03 16:00:27 2019 -0700 |
tree | c4f199dc4a408b3e05e5e005f4deff9536a1260d | |
parent | ad398967898d3b8d20869278a10b025c36c97298 [diff] |
Make UDP traceroute work. Adds support to generate Port Unreachable messages for UDP datagrams received on a port for which there is no valid endpoint. Fixes #703 PiperOrigin-RevId: 267034418
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.