v-switch

command module
v0.0.0-...-3a69abc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2017 License: MIT Imports: 10 Imported by: 0

README

v-switch

V-switch is an encrypted virtual switch. Following the concept of Tinc (part of it) and SDN (Sowftare Defined Networks) it creates a virtual interface which peers with other daemons around the internet. All the machines running the same daemon, with the same encryption key will have a device configured, which behaves like it was cabled to the same physical switch.

The aim is to create a LAN across the internet or inside the cloud, where the machine just appears to be connected each others on layer 2. Adding a new machine to the switch will advertise each other machine without the need to provision them , unlike Tinc. Once you have the same key, you are in.

Encryption is using AES256 + the GPG container, meaning the key MUST be as long as the MTU. This makes the flow relatively safe.

V-Switch will take care to self-configure the interface and to keep the ARP table updated on your kernel using the linux netlink interface (ip).

If your NAT router supports NAT HolePunch, now each node will behave as a STUN server, then it should work seamlessly.

Ready for testing (it works with 2 nodes) TODO:

  1. TEST WITH 2 NODES
  2. TEST WITH MORE NODES
  3. CONFIGURATION GUIDE
  4. LINT code.

Now beta2....

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL