netstack

IPv4 and IPv6 userland network stack

Github星跟踪图

NOTE: This repository is no longer maintained. The Netstack code will continue
to be updated and maintained as part of
gVisor, which now also
maintains a branch that is useable with standard Go tools.

Netstack

Netstack is a network stack written in Go.

Getting started

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>

Contributions

Please see CONTRIBUTING.md for more details.

Issues/Bug Reports

Netstack is primarily developed as part of
gVisor and any issues/bugs should be
filed against the gVisor repository as this repo is not actively monitored for
bug reports.

Disclaimer

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

主要指标

概览
名称与所有者google/netstack
主编程语言Go
编程语言Go (语言数: 2)
平台
许可证Apache License 2.0
所有者活动
创建于2016-10-20 16:25:04
推送于2019-12-10 20:27:37
最后一次提交2019-11-23 00:55:52
发布数0
用户参与
星数3.1k
关注者数147
派生数281
提交数513
已启用问题?
问题数26
打开的问题数10
拉请求数0
打开的拉请求数4
关闭的拉请求数5
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?