commit | 80abeac14c49781f0cefb72bbc59c88301d5753f | [log] [tgz] |
---|---|---|
author | Matt Perry <mpcomplete@google.com> | Wed Dec 06 16:42:10 2017 -0500 |
committer | Matt Perry <mpcomplete@google.com> | Wed Dec 06 16:42:10 2017 -0500 |
tree | ce52f09a690aee049abd192a68fd18a203b1695e | |
parent | 7370130fab7ac7ec7d77c0a098584c45c7cc37d2 [diff] |
Fix a bug with TTL values. Previously, sending a multicast packet would set the default TTL value for all packets sent via the same link endpoint. This fixes the issue. NET-314 #done Change-Id: I117b7a7569804c1887dfbf08d4788eea54b46d74
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>
We would love to accept contributions, but we have not yet worked out how to handle them. Please contact us before sending any pull requests.
Whatever we do decide on will require signing the Google Contributor License. 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.