commit | e91c5ef4378c68c78022ca45c50b46ee585c5f6b | [log] [tgz] |
---|---|---|
author | Tamir Duberstein <tamird@gmail.com> | Thu Oct 18 17:05:36 2018 -0400 |
committer | Tamir Duberstein <tamird@gmail.com> | Thu Oct 18 17:05:36 2018 -0400 |
tree | 55de4d959dd1f7fcb9af55ae238fac04b5eb3aa1 | |
parent | 9b0c971898b68e0ec85df3e890b7c796f9b098a8 [diff] | |
parent | f33542f0fe3ee5cbd73664934928304a37aa8b36 [diff] |
Merge commit 'f33542f0fe3ee5cbd73664934928304a37aa8b36' Change-Id: Iba151dcd014b682aed6bd15321f0b7ada479efea
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.