commit | 45b34497ba43c6e69c6298999f6066aeab93f35b | [log] [tgz] |
---|---|---|
author | Tamir Duberstein <tamird@google.com> | Fri May 03 11:00:10 2019 -0400 |
committer | Tamir Duberstein <tamird@google.com> | Fri May 03 11:00:10 2019 -0400 |
tree | 832c2bb5248e6957488e915f0c8e068a7f3458f9 | |
parent | 034ee1a5b51b2e33faf0a1ead788058800c07a07 [diff] | |
parent | 6d6e00e3b3a232c9eaa8d4a6a717413a6ef7b813 [diff] |
Merge remote-tracking branch 'upstream/master' into merge Change-Id: Id51717d67c23beedf87f68ba8e67f7577e953727
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.