Commit Graph

115 Commits

Author SHA1 Message Date
Callan Bryant
050749fbb6
bugfix: do not interrupt connwctions when syncing 2020-03-08 22:50:54 +00:00
Callan Bryant
fa01a74f6b
update definitions 2020-03-08 21:52:36 +00:00
Callan Bryant
130d3ba8cc
move networks after dns 2020-03-08 20:49:35 +00:00
Callan Bryant
d250f2b23b
support additional networks 2020-03-08 20:48:10 +00:00
Callan Bryant
cf467c346b
check peer exists before removal 2020-03-08 19:08:19 +00:00
Callan Bryant
4fd8d5f99d
confirm removal 2020-03-08 14:13:29 +00:00
Callan Bryant
882643185b
bugfix: prevent same PSK for all peers 2020-03-08 14:10:38 +00:00
Callan Bryant
8fd1114f01
remove comment 2020-03-07 22:10:23 +00:00
Callan Bryant
17b0ad74ae
peer online count in report 2020-03-07 21:57:00 +00:00
Callan Bryant
1fd9e03509
update README 2020-03-07 18:59:34 +00:00
Callan Bryant
319e238261
bugfix: add/remove peers without restarting interface 2020-03-07 18:45:50 +00:00
Callan Bryant
5f735112f2
use keepalive const in template 2020-03-07 14:36:14 +00:00
Callan Bryant
75549f2ab7
increase timeout for handshake interval 2020-03-07 14:32:01 +00:00
Callan Bryant
5f623dcd9d
no keepalive from server to client 2020-03-07 10:07:03 +00:00
Callan Bryant
13a8f58ab9
+ expired status 2020-03-06 22:57:05 +00:00
Callan Bryant
503427031b
fix timeout test 2020-03-06 22:52:33 +00:00
Callan Bryant
9068c861f5
add SI bytes TXRX 2020-03-06 22:32:04 +00:00
Callan Bryant
151de953b5
build index of old peer reports 2020-03-06 00:02:31 +00:00
Callan Bryant
3c8ba7e3bc
read old report for later use 2020-03-05 23:56:24 +00:00
Callan Bryant
78b28be231
correct distribution of PSKs 2020-03-05 22:18:21 +00:00
Callan Bryant
b697afc2ee
add: hostname as arg like remove 2020-03-05 22:13:09 +00:00
Callan Bryant
8c5aaee793
compute peer status (incomplete) 2020-03-05 22:05:47 +00:00
Callan Bryant
f7123be3a4
working report with peers, not complete 2020-03-05 21:33:02 +00:00
Callan Bryant
c579372eaa
Revert "embed types without alias properly"
This reverts commit b7ed21f2ec.
2020-03-05 20:59:56 +00:00
Callan Bryant
f0ffa166f8
+LICENSE 2020-03-05 20:48:28 +00:00
Callan Bryant
b7ed21f2ec
embed types without alias properly 2020-03-05 20:46:28 +00:00
Callan Bryant
586292a25a
sync on add/remove 2020-03-05 20:43:31 +00:00
Callan Bryant
0380753104
add remove cmd 2020-03-05 20:35:51 +00:00
Callan Bryant
b6bd2d33e1
move sync fn to sync.go 2020-03-04 22:50:44 +00:00
Callan Bryant
5a71debc59
working (empty) report generation 2020-03-04 22:49:27 +00:00
Callan Bryant
e7fe33fe76
start implementation of report 2020-03-04 22:23:32 +00:00
Callan Bryant
f8eeda36f9
update -> sync (again, changed my mind) 2020-03-04 22:12:31 +00:00
Callan Bryant
c04eeac00f
implement down 2020-03-04 22:11:08 +00:00
Callan Bryant
d9f197c06f
implement update cmd 2020-03-04 22:06:15 +00:00
Callan Bryant
1572a78d6c
check error in correct place 2020-03-04 22:04:13 +00:00
Callan Bryant
f00e344a72
separate link creation / device configuration 2020-03-04 22:01:30 +00:00
Callan Bryant
ccc45f8368
close wg client 2020-03-04 21:18:34 +00:00
Callan Bryant
f4a41b5c42
also bring iface up 2020-03-04 21:09:12 +00:00
Callan Bryant
862cc820bc
correct mask 2020-03-04 20:34:11 +00:00
Callan Bryant
e5dcbd8e35
successful adding of peers! 2020-03-04 20:30:05 +00:00
Callan Bryant
deef2574e7
add dead codde to bring up iface 2020-03-04 19:56:57 +00:00
Callan Bryant
c7e9210a96
use []PeerConfig literal 2020-03-04 19:47:27 +00:00
Callan Bryant
d81bd72a5f
make networks required for peer 2020-03-04 19:46:39 +00:00
Callan Bryant
4bb17e043f
start attempt at interface creation 2020-03-04 19:43:54 +00:00
Callan Bryant
909e6ed264
switch to status 2020-03-03 23:43:55 +00:00
Callan Bryant
c1c4cccce2
fmt 2020-03-03 23:41:55 +00:00
Callan Bryant
03b0a5d4fb
add comments on what statuses mean 2020-03-03 23:37:58 +00:00
Callan Bryant
d8bfa083d2
comment about NATs 2020-03-03 23:32:56 +00:00
Callan Bryant
dc703e20dc
remove hyphen 2020-03-03 23:32:07 +00:00
Callan Bryant
1011cf5e66
use ExitFail instead of panic 2020-03-03 23:11:54 +00:00