commit | 85be231d587d75e78f091887b5c76a712a3b1340 | [log] [tgz] |
---|---|---|
author | Bert Muthalaly <bert@somethingdoneright.net> | Tue Jun 05 11:59:21 2018 -0400 |
committer | Bert Muthalaly <bert@somethingdoneright.net> | Wed Jun 13 10:56:36 2018 -0700 |
tree | f872dc855e86845b30b748c6386ab358347572fe | |
parent | 7120fac20a0811e662e74d6c209052966beae6d4 [diff] |
[netstack] Move dns package to fuchsia.googlesource.com/garnet/go/src/netstack/dns. We'd like to reference some Fuchsia-specific features directly in the implementation and potentially move the DNS client out of the netstack process entirely. In addition, upstream doesn't have a DNS package and we'd like to avoid upstreaming this if we're potentially going to move the DNS client out of netstack later anyway. Change-Id: Ic2d21a6ab01d634093ae8cc486535ff83f7b7209
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>
We would love to accept contributions, but we have not yet worked out how to handle them. Please contact us before sending any pull requests.
Whatever we do decide on will require signing the Google Contributor License. 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.