Commit Graph

209 Commits

Author SHA1 Message Date
Callan Bryant
5a870dab60
use ExternalIP6 if ExternalIP not available 2020-10-26 18:27:35 +00:00
Callan Bryant
608dbf176f
check config contains external IPv6/IPv4 2020-10-26 18:11:56 +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
7bbe28a145
add CIDR subnet properly 2020-10-26 08:08:39 +00:00
Callan Bryant
e7da49c1a8
don't use string respresentations unnecessarily 2020-10-25 22:59:57 +00:00
Callan Bryant
e7fb9dc5ce
IPv6 config to template 2020-10-25 22:56:49 +00:00
Callan Bryant
f7f06f00fa
check for IP networks before allocating 2020-10-25 22:27:33 +00:00
Callan Bryant
9a942c1040
remove debug 2020-10-25 21:02:06 +00:00
Callan Bryant
ac9baf0039
fc -> fd 2020-10-25 15:15:46 +00:00
Callan Bryant
cb75689825
move allocation out of loop 2020-10-25 14:59: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
Callan Bryant
330b986aa4
ipallocated -- also check ipv6 2020-10-24 21:08:12 +01:00
Callan Bryant
6d9c9c1912
remove ipVersion type 2020-10-24 21:06:28 +01:00
Callan Bryant
055a1adce3
add ipversion type 2020-10-24 21:06:15 +01:00
Callan Bryant
d07d267c78
add IPv6 attrs to config + go fmt 2020-10-24 20:51:47 +01:00
Callan Bryant
952cb44110
user InterfaceName for interface description 2020-10-19 18:23:59 +01:00
Callan Bryant
53483ffaee
set interface description 2020-10-19 03:37:21 +01:00
Callan Bryant
0f7ea82d8b
correct preshared-key association 2020-10-19 19:25:56 +01:00
Callan Bryant
ce9091e8bc
add missing pubkey 2020-10-19 03:17:06 +01:00
Callan Bryant
fceddc55dd
choose a valid edgeos interface name 2020-10-19 17:52:54 +01:00
Callan Bryant
d0e8eb74ec
remove [Interfaces] left over from before, re-order 2020-10-19 17:49:36 +01:00
Callan Bryant
b38e0966eb
write correct netmask to conf files 2020-10-19 00:27:39 +01:00
Callan Bryant
a361bffa3c
hardcode in a /22 until fixed correctly 2020-10-19 00:15:42 +01:00
Callan Bryant
d1d0113832
Optionally generate vyatta commands 2020-10-19 00:05:55 +01:00
Callan Bryant
a4b900dee7
Merge pull request #18 from botto/fail-on-no-internet
Fail on no internet
2020-09-08 08:12:18 +01:00
Martin Eskdale Moen
01d609e859 If we can't connect to internet, fail 2020-09-07 20:21:57 +01:00
Martin Eskdale Moen
a8926aaab6 Include a custom message if there is an error
This change lets us include a custom message if there is an error
2020-09-07 17:22:24 +01:00
Callan Bryant
6dd47d6620
add .gitattributes to correct language 2020-07-18 13:44:09 +01:00
Callan Bryant
840e58687b
Merge pull request #15 from herzenschein/patch-1
Update dsnet.service
2020-07-07 19:17:17 +01:00
Thiago Sueto
557d07a4b3
Update etc/dsnet.service 2020-07-07 13:59:29 -03:00
Thiago Sueto
32ef5126ca
Update dsnet.service
This commit makes the dsnet connection manageable by systemctl start/stop/restart.
Otherwise, systemctl stop does not bring the dsnet down and restart fails.
RemainAfterExit is added so that systemctl status reports Active.
I'm not sure whether dsnet sync could be used with ExecReload, so I did not include it.
2020-07-07 13:39:58 -03:00
Callan Bryant
67a1720c37
Merge pull request #14 from terryburton/patch-1
Typo in tsig key filename
2020-07-05 19:26:36 +01:00
Terry Burton
c25893056e
Typo in tsig key filename 2020-07-05 18:07:56 +01:00
Callan Bryant
19eb33403a
move report_rendering into contrib 2020-06-15 20:52:24 +01:00
Callan Bryant
a7ac708699
Merge pull request #13 from frillip/dnsupdate
Added dsnet-nsupdate script
2020-06-12 08:45:57 +01:00
Phil Martin
4f450683f3
Update dsnet-nsupdate 2020-06-11 22:33:06 +01:00
Phil martin
0d195b148c Added dsnet-nsupdate and contrib folder + READMEs 2020-06-11 22:31:23 +01:00
Callan Bryant
bf5f0fdb58
Merge pull request #12 from frillip/jsreport
Added function to update table and poll interval
2020-06-04 19:51:18 +01:00
Phil martin
bec0d12af9 Added function to update table and poll interval 2020-06-04 17:09:23 +01:00
Callan Bryant
bd2e41927b
Merge pull request #11 from frillip/jsreport
Added javascript renderer for dsnetreport.js. Organised renderers better
2020-06-03 10:56:59 +01:00
Callan Bryant
c521ce1280
localise dsnet report js 2020-06-03 10:56:39 +01:00
Callan Bryant
21d5e6dd07
correct attribution 2020-06-03 10:55:40 +01:00
Callan Bryant
30f361a162
remove outdated slang. How do you do, fellow kids? 2020-06-03 10:48:52 +01:00