Generate a tinc-up script from an invitation.
authorGuus Sliepen <guus@tinc-vpn.org>
Sat, 16 Apr 2016 23:13:27 +0000 (01:13 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 16 Apr 2016 23:13:27 +0000 (01:13 +0200)
commit3273e3254107a4b89cd9963012d5fac8927c417c
tree997ab7bb2f52e951de1a865d3d4f611d85ec7dff
parentb2200f216658e07ab4e45592fa7de012a2ed96df
Generate a tinc-up script from an invitation.

This adds the ability for an invitation to provision an invitee with a
tinc-up script. This is quite strictly controlled; only address configuration
and routes are supported by adding "Ifconfig" and "Route" statements to
the invitation file. The "tinc join" command will generate a tinc-up script
from those statements, and will ask before enabling the tinc-up script.
src/Makefile.am
src/ifconfig.c [new file with mode: 0644]
src/ifconfig.h [new file with mode: 0644]
src/invitation.c