commit | d441dce36e15bc65fb347b4e82936aed394579cd | [log] [tgz] |
---|---|---|
author | Bert Muthalaly <bert@somethingdoneright.net> | Tue Dec 12 11:51:16 2017 -0500 |
committer | Bert Muthalaly <stijlist@google.com> | Fri Dec 15 19:09:57 2017 +0000 |
tree | dd9afc2023bd06880de18309d94c8e0b864c9a4b | |
parent | 1ef6cb0ddbd0f1ea84e763b28bf7f2b104382739 [diff] |
Count TCP resets received. NET-255 #progress Change-Id: I71aa67bd8880f6dcde8ca4b18f2618939b1c17fe
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.