commit | 8a58c2626650d27af53bb438806a073e61913fe5 | [log] [tgz] |
---|---|---|
author | Tamir Duberstein <tamird@gmail.com> | Thu Oct 18 17:20:52 2018 -0400 |
committer | Tamir Duberstein <tamird@gmail.com> | Thu Oct 18 17:20:52 2018 -0400 |
tree | 712232c24e64f5246acc86dba3eec21706b3775b | |
parent | e91c5ef4378c68c78022ca45c50b46ee585c5f6b [diff] | |
parent | 28ce859a777151e056a61d9490a96b21dbe209e1 [diff] |
Merge remote-tracking branch 'upstream/master' Change-Id: I7c548c702065101fe5661a634bf9373409fcc22e
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.