commit | 7370130fab7ac7ec7d77c0a098584c45c7cc37d2 | [log] [tgz] |
---|---|---|
author | Bert Muthalaly <bert@somethingdoneright.net> | Fri Nov 17 15:19:57 2017 -0500 |
committer | Bert Muthalaly <bert@somethingdoneright.net> | Thu Nov 30 13:50:40 2017 -0500 |
tree | b138924d15ed5ca15dcfd3ab58eaff333d8e9c91 | |
parent | ade9140a6049a212221cd1acfda7e4b7ea081db0 [diff] |
Add TCP resets sent to stack.Stats. Change-Id: I40d5b2cac3de9eaaa79d85d871d97b0c9f8089e2
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.