commit | 28ce859a777151e056a61d9490a96b21dbe209e1 | [log] [tgz] |
---|---|---|
author | Ian Gudger <igudger@google.com> | Wed Oct 17 11:36:32 2018 -0700 |
committer | Shentubot <shentubot@google.com> | Wed Oct 17 11:36:55 2018 -0700 |
tree | 3146b16e5b4409b6d217f1116f38298057d82d4b | |
parent | 281cf607d5e16c33e43c57c377001ab58131b840 [diff] |
Move Unix transport out of netstack PiperOrigin-RevId: 217557656
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.