Clone this repo:
  1. 5b79355 Revert "Merge remote-tracking branch 'upstream/master' into HEAD" by Tim Kilbourn · 13 days ago master
  2. 642ca71 Merge remote-tracking branch 'upstream/master' into HEAD by Tamir Duberstein · 4 weeks ago
  3. e0eb022 Fix various spelling issues in the documentation by Michael Pratt · 4 weeks ago
  4. c142fa6 Fix the logic for sending zero window updates. by Bhasker Hariharan · 4 weeks ago
  5. c543949 Deflake TestSimpleReceive failures due to timeouts by Brad Burlage · 4 weeks ago


Netstack is a network stack written in Go.

Getting started

Try it out on Linux by installing the tun_tcp_echo demo:

go install

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 for more details.


This is not an official Google product (experimental or otherwise), it is just code that happens to be owned by Google.