package
0.0.0-20200707140709-19c55a5c9e33
Repository: https://github.com/newtools/zsocket.git
Documentation: pkg.go.dev

# README

FakeInterface Examples

Some examples create complex networking scenarios. A good way to create these is to use docker and network namespaces to create virtual ethernet interfaces and then use the index of the "outside" interface to open a zsocket (virtual interfaces, in linux, can have a zero-copy socket opened on them just like a regular interface). For more on how this works checkout the vethpair creation script in this repo.

Simple Bridge

Creates a virtual bridge between to interfaces. If you ping with the non-virtual interface you will get a response.