dot

packages and services management
Log | Files | Refs | README

commit 32c0d2e65f4ce226e3e8fc1198431e4f1ffcfbb3
parent 604377ef8f3fce5c10a452fc55e5752916acef08
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sun,  7 Oct 2018 05:21:41 +0200

add a draft for curvevpn

There is barely any documentation for curvevpn, so I'll have to
guess to have it up an running.

Diffstat:
As6/curvevpn-client/env/EXT | 1+
As6/curvevpn-client/env/IP | 1+
As6/curvevpn-client/env/NAME | 1+
As6/curvevpn-client/env/PORT | 1+
As6/curvevpn-client/env/PUBKEY | 1+
As6/curvevpn-client/env/ROOT | 1+
As6/curvevpn-client/env/SERVER | 2++
As6/curvevpn-client/producer-for | 1+
As6/curvevpn-client/run | 13+++++++++++++
As6/curvevpn-client/type | 1+
As6/curvevpn-log/consumer-for | 2++
As6/curvevpn-log/pipeline-name | 1+
As6/curvevpn-log/run | 2++
As6/curvevpn-log/type | 1+
As6/curvevpn-server/env/EXT | 1+
As6/curvevpn-server/env/IP | 1+
As6/curvevpn-server/env/NAME | 1+
As6/curvevpn-server/env/PORT | 1+
As6/curvevpn-server/make-key | 2++
As6/curvevpn-server/producer-for | 1+
As6/curvevpn-server/run | 12++++++++++++
As6/curvevpn-server/type | 1+
22 files changed, 49 insertions(+), 0 deletions(-)

diff --git a/s6/curvevpn-client/env/EXT b/s6/curvevpn-client/env/EXT @@ -0,0 +1 @@ +00000000000000000000000000000000 diff --git a/s6/curvevpn-client/env/IP b/s6/curvevpn-client/env/IP @@ -0,0 +1 @@ +127.0.0.1 diff --git a/s6/curvevpn-client/env/NAME b/s6/curvevpn-client/env/NAME @@ -0,0 +1 @@ +session-name diff --git a/s6/curvevpn-client/env/PORT b/s6/curvevpn-client/env/PORT @@ -0,0 +1 @@ +1665 diff --git a/s6/curvevpn-client/env/PUBKEY b/s6/curvevpn-client/env/PUBKEY @@ -0,0 +1 @@ +0000000000000000000000000000000000000000000000000000000000000000 diff --git a/s6/curvevpn-client/env/ROOT b/s6/curvevpn-client/env/ROOT @@ -0,0 +1 @@ +. diff --git a/s6/curvevpn-client/env/SERVER b/s6/curvevpn-client/env/SERVER @@ -0,0 +1 @@ +IP+ \ No newline at end of file diff --git a/s6/curvevpn-client/producer-for b/s6/curvevpn-client/producer-for @@ -0,0 +1 @@ +curvevpn-log diff --git a/s6/curvevpn-client/run b/s6/curvevpn-client/run @@ -0,0 +1,13 @@ +#!/usr/bin/env execlineb +fdmove -c 2 1 + +s6-envdir env +multisubstitute { + importas NAME NAME + importas PUBKEY PUBKEY + importas IP IP + importas PORT PORT + importas EXT EXT +} + +curvevpn-client $NAME $PUBKEY $IP $PORT $EXT curvevpn diff --git a/s6/curvevpn-client/type b/s6/curvevpn-client/type @@ -0,0 +1 @@ +longrun diff --git a/s6/curvevpn-log/consumer-for b/s6/curvevpn-log/consumer-for @@ -0,0 +1,2 @@ +curvevpn-server +curvevpn-client diff --git a/s6/curvevpn-log/pipeline-name b/s6/curvevpn-log/pipeline-name @@ -0,0 +1 @@ +curvevpn diff --git a/s6/curvevpn-log/run b/s6/curvevpn-log/run @@ -0,0 +1,2 @@ +#!/usr/bin/env execlineb +s6-log t /var/log/curvevpn diff --git a/s6/curvevpn-log/type b/s6/curvevpn-log/type @@ -0,0 +1 @@ +longrun diff --git a/s6/curvevpn-server/env/EXT b/s6/curvevpn-server/env/EXT @@ -0,0 +1 @@ +00000000000000000000000000000000 diff --git a/s6/curvevpn-server/env/IP b/s6/curvevpn-server/env/IP @@ -0,0 +1 @@ +0.0.0.0 diff --git a/s6/curvevpn-server/env/NAME b/s6/curvevpn-server/env/NAME @@ -0,0 +1 @@ +session-name diff --git a/s6/curvevpn-server/env/PORT b/s6/curvevpn-server/env/PORT @@ -0,0 +1 @@ +1665 diff --git a/s6/curvevpn-server/make-key b/s6/curvevpn-server/make-key @@ -0,0 +1,2 @@ +#!/usr/bin/env execline +curvevpn-makekey key diff --git a/s6/curvevpn-server/producer-for b/s6/curvevpn-server/producer-for @@ -0,0 +1 @@ +curvevpn-log diff --git a/s6/curvevpn-server/run b/s6/curvevpn-server/run @@ -0,0 +1,12 @@ +#!/usr/bin/env execlineb +fdmove -c 2 1 + +s6-envdir env +multisubstitute { + importas NAME NAME + importas IP IP + importas PORT PORT + importas EXT EXT +} + +curvevpn-server $NAME key $IP $PORT $EXT curvevpn diff --git a/s6/curvevpn-server/type b/s6/curvevpn-server/type @@ -0,0 +1 @@ +longrun