Commit Graph

38 Commits

Author SHA1 Message Date
Callan Bryant
c4d2898170
correct comment 2020-10-26 23:49:12 +00:00
Callan Bryant
965fc367ac
check for ULA and no IP 2020-10-26 18:10:39 +00:00
Callan Bryant
f57fa3473d
fix lookup of v6: do not require 2020-10-26 17:58:15 +00:00
Callan Bryant
d58b2f5a54
detect IPv6 and IPv4 for server 2020-10-26 08:27:22 +00:00
Callan Bryant
ac9baf0039
fc -> fd 2020-10-25 15:15:46 +00:00
Callan Bryant
19f25ff847
working psudorandom v6 allocator 2020-10-25 14:57:18 +00:00
Callan Bryant
64a73d18ed
rename getULA to getULAnet 2020-10-25 10:06:25 +00:00
Callan Bryant
af3e1b2ea9
make allocation universal, given a network 2020-10-25 08:23:43 +00:00
Callan Bryant
3e20f93bd7
fix network length 2020-10-25 08:12:20 +00:00
Callan Bryant
28f436c41b
add missing newline 2020-10-25 08:07:43 +00:00
Callan Bryant
cb44ff1472
implement getULA 2020-10-25 08:06:25 +00:00
Martin Eskdale Moen
01d609e859 If we can't connect to internet, fail 2020-09-07 20:21:57 +01:00
Callan Bryant
3277362e6e
no DNS by default 2020-03-16 19:29:16 +00:00
Callan Bryant
d250f2b23b
support additional networks 2020-03-08 20:48:10 +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
c7e9210a96
use []PeerConfig literal 2020-03-04 19:47:27 +00:00
Callan Bryant
4bb17e043f
start attempt at interface creation 2020-03-04 19:43:54 +00:00
Callan Bryant
020de337ce
check config file early for init/add 2020-03-03 22:33:48 +00:00
Callan Bryant
c2aac62f27
deal with private IP separately 2020-03-03 22:30:36 +00:00
Callan Bryant
06d1642b16
fallback to icanhazip for external IP detection 2020-03-02 22:31:52 +00:00
Callan Bryant
1fdf4fe71f
prompts: stderr< + misc 2020-03-02 21:36:41 +00:00
Callan Bryant
994814b180
auto external IP detection 2020-03-02 21:11:45 +00:00
Callan Bryant
c4cb15c45e
separate internal/external IP 2020-03-02 21:02:21 +00:00
Callan Bryant
e02a1552e9
MustChooseIP -> MustAllocateIP 2020-03-02 20:11:33 +00:00
Callan Bryant
089ed04173
record / allocate IP 2020-03-02 20:10:48 +00:00
Callan Bryant
c419dfed48
fn/method to load/save conf 2020-03-02 02:54:43 +00:00
Callan Bryant
55ee25d943
finish dsnet init -- write to sys file 2020-03-01 23:52:20 +00:00
Callan Bryant
3f52a08392
add report file to conf 2020-03-01 23:17:01 +00:00
Callan Bryant
a99449e960
go fmt 2020-03-01 23:08:10 +00:00
Callan Bryant
87317e374a
JSON marshall keys 2020-03-01 22:58:21 +00:00
Callan Bryant
0e118b3b6f
IPNet -> JSONIPnet 2020-03-01 22:29:11 +00:00
Callan Bryant
099324b7f8
embed IPNet for MarshalJSON 2020-03-01 22:03:31 +00:00
Callan Bryant
be849964e7
add empty peer list 2020-03-01 21:50:06 +00:00
Callan Bryant
5c60dc2a2d
start json encoding 2020-03-01 21:48:24 +00:00
Callan Bryant
2fe950d2c3
working subnet generation 2020-03-01 21:40:39 +00:00
Callan Bryant
d7b0d77cf2
start creation of dsnet config 2020-03-01 20:54:33 +00:00
Callan Bryant
fac130eea1
working help 2020-02-27 23:22:32 +00:00