commit | 80dd6e8dc3a8436a5b0341fbad8fa3bc83ece203 | [log] [tgz] |
---|---|---|
author | Ghanan Gowripalan <ghanan@google.com> | Tue Sep 03 18:41:40 2019 -0700 |
committer | gVisor bot <gvisor-bot@google.com> | Tue Sep 03 18:42:01 2019 -0700 |
tree | 1be95463e56c01f1c0555626de47995802e5afe0 | |
parent | 232969fa1cc8dbbf84b725729098f82229fe4f0b [diff] |
Validate IPv6 Hop Limit field for received NDP packets Make sure that NDP packets are only received if their IP header's hop limit field is set to 255, as per RFC 4861. PiperOrigin-RevId: 267061457
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.