commit | 9b0c971898b68e0ec85df3e890b7c796f9b098a8 | [log] [tgz] |
---|---|---|
author | Tamir Duberstein <tamird@gmail.com> | Wed Sep 26 15:46:15 2018 -0400 |
committer | Tamir Duberstein <tamird@gmail.com> | Wed Sep 26 15:46:15 2018 -0400 |
tree | db1813e2b3e3f9ef84057b92f59c486f12ec1685 | |
parent | 3563a945670dc6146941b2545a4e3153cf121669 [diff] | |
parent | 4bf16404c34d7e4e93af5bb5998f04eed508b522 [diff] |
Merge remote-tracking branch 'upstream/master' Change-Id: Ifbbd9dae04048f6ca4eaaf470a57db166530d184
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.
This is not an official Google product (experimental or otherwise), it is just code that happens to be owned by Google.