Commit graph

229 commits

Author SHA1 Message Date
Matthew R. Kasun
950ce4b4da removed APIConnString from accessToken 2022-02-15 07:13:02 -05:00
Matthew R. Kasun
f3c5800912 removed unnecessary data elements 2022-02-14 17:57:28 -05:00
0xdcarns
f47a6af400 edited run updates 2022-02-14 11:01:33 -05:00
0xdcarns
51fa553df3 removed default master key and added warning log if not set 2022-02-14 09:58:50 -05:00
Matthew R. Kasun
fd6c4742de get address range from network 2022-02-09 15:21:51 -05:00
Matthew R. Kasun
e39138c184 removed hard coded netmask 2022-02-09 14:41:13 -05:00
0xdcarns
758c1cf097 changed initial name of server 2022-02-08 22:16:57 -05:00
0xdcarns
456272d549 fixed issue with delete 2022-02-08 11:01:44 -05:00
afeiszli
ea7cb6f39e fixing logging, disable non-linux relays, reset dns on error 2022-02-07 14:04:07 -05:00
afeiszli
96535554f5 fixing mac stuff and dns testing 2022-02-07 11:38:47 -05:00
afeiszli
f6b1711439 ext client logic for peer updates 2022-02-06 13:06:07 -05:00
afeiszli
62d0a6a83a adding comments 2022-02-06 11:43:07 -05:00
afeiszli
7c56420b9f backup logic for relay failing, dont allow server to be relayed 2022-02-06 11:36:38 -05:00
afeiszli
bea7467210 fixing tests 2022-02-05 15:50:29 -05:00
afeiszli
dd79186a81 changing validation 2022-02-05 15:50:29 -05:00
afeiszli
7bf864a387 fixing dns and various logs 2022-02-05 15:50:29 -05:00
0xdcarns
1a7a8beabc added server pulls upon server initialize if networks present 2022-02-05 13:12:07 -05:00
afeiszli
2cbf08ad1e adding logic for key checks, OS on server 2022-02-04 14:19:26 -05:00
afeiszli
83c4f99192 set relayed nodes UDP to off and update them 2022-02-04 11:54:50 -05:00
afeiszli
a693217feb switch for udp hole punch 2022-02-03 09:51:37 -05:00
afeiszli
239b9d36fc change queue identifier from server.ID to Network.NetID 2022-02-03 09:51:37 -05:00
0xdcarns
f7258bf98f refactored some client leave & cache and server join logic 2022-02-03 09:51:37 -05:00
afeiszli
7c4e8b2b4a removing peer cache 2022-02-01 23:30:10 -05:00
afeiszli
f6c68bd209 removing UUID gen from client side 2022-02-01 22:01:30 -05:00
afeiszli
c8154ffa5d remove GetNodeByIDOrMacAddress 2022-02-01 21:50:11 -05:00
afeiszli
d2467e13f3 allow adding address 2022-02-01 15:27:00 -05:00
afeiszli
c210a223ea set networkservers on network create 2022-02-01 10:08:44 -05:00
afeiszli
1e5a0e9d04 fix server self updates 2022-01-31 23:18:58 -05:00
afeiszli
86ba127b3b change order of operations 2022-01-31 20:38:16 -05:00
afeiszli
e778136a19 change order of operations 2022-01-31 20:36:09 -05:00
afeiszli
770b4e5892 change order of operations 2022-01-31 20:33:15 -05:00
afeiszli
467ebfd7d7 server address enhancements 2022-01-31 20:29:00 -05:00
afeiszli
c6252764e8 fix peer sync 2022-01-31 17:13:19 -05:00
0xdcarns
4823566125 debug again 2022-01-31 11:20:59 -05:00
0xdcarns
36b319c772 debug 2022-01-31 11:20:11 -05:00
0xdcarns
2a4a30f937 added debug stuff 2022-01-31 11:20:11 -05:00
0xdcarns
4740551473 iface delta 2022-01-31 11:19:19 -05:00
afeiszli
3e130fe9f8 cleaning server side peer logic 2022-01-31 11:18:38 -05:00
0xdcarns
ae4b1bee57 edited peer update 2022-01-31 11:18:38 -05:00
Matthew R Kasun
c421c1410b save servAddr to database on join 2022-01-30 13:37:10 -05:00
Matthew R Kasun
7ac0bfd13a Merge remote-tracking branch 'origin/develop' into feature_v0.10.0_serverPings 2022-01-30 09:18:24 -05:00
Matthew R Kasun
20569ee8ec Merge remote-tracking branch 'origin/develop' into feature_v0.10.0_serverPings 2022-01-30 05:55:52 -05:00
0xdcarns
ad79f2ea1f addresses review comments 2022-01-29 18:18:46 -05:00
0xdcarns
95b9444325 log cleanup 2022-01-29 18:18:46 -05:00
0xdcarns
410efbab50 switched to eliptical strategy 2022-01-29 18:18:46 -05:00
0xdcarns
3dadb8dcbf added e.. 2022-01-29 18:18:46 -05:00
0xdcarns
aa22afeb95 tracking mod 2022-01-29 18:18:46 -05:00
0xdcarns
ac632a75b7 refactored struct 2022-01-29 18:18:46 -05:00
0xdcarns
3483e45beb added struct to model 2022-01-29 18:18:46 -05:00
0xdcarns
db5fc322b8 remove db read 2022-01-29 18:18:46 -05:00
0xdcarns
c40c905b3b edited chunk size 2022-01-29 18:18:46 -05:00
0xdcarns
ef20139ce1 not sure what's going on 2022-01-29 18:18:46 -05:00
0xdcarns
19426fc3e1 added a cleanup 2022-01-29 18:18:46 -05:00
0xdcarns
48d6d57f25 trying again 2022-01-29 18:18:46 -05:00
0xdcarns
bb8d76a96e bug 2022-01-29 18:18:46 -05:00
0xdcarns
7be2b0e09d adjusted to byte buffer 2022-01-29 18:18:46 -05:00
0xdcarns
b8a1522845 logs 2022-01-29 18:18:46 -05:00
0xdcarns
d27dee0691 debugging 2022-01-29 18:18:46 -05:00
0xdcarns
0015d6fdf8 added encryption/decryption strategy 2022-01-29 18:18:46 -05:00
0xdcarns
cd4e2c57d6 added new struct and adapted to funcs 2022-01-29 18:15:52 -05:00
0xdcarns
26a0d8bdbe initial commit 2022-01-29 18:15:52 -05:00
dcarns
a50755fb0e
Merge pull request #651 from zc2638/fix/dns-dir
fix create dnsconfig dir
2022-01-28 08:42:50 -05:00
zc
e8ce07be8c fix create dnsconfig dir 2022-01-28 11:07:56 +08:00
Matthew R Kasun
513f85ede7 refactor server pings 2022-01-27 09:48:32 -05:00
Matthew R Kasun
76ae673363 Merge branch 'develop' into feature_v0.10.0_serverPings 2022-01-27 06:45:52 -05:00
dcarns
23e294d05f
Merge pull request #648 from gravitl/bugfix_v0.10.0_freebsd-gateways
fix for GRA-129 prevent freebsd from being a gateway
2022-01-26 14:40:28 -05:00
0xdcarns
27b29baf32 added new struct and adapted to funcs 2022-01-26 10:40:39 -05:00
Matthew R Kasun
dd62e90924 fix for GRA-129 prevent freebsd from being a gateway 2022-01-26 09:04:30 -05:00
0xdcarns
d6554ef081 initial commit 2022-01-25 22:14:31 -05:00
dcarns
59685731c1
Merge pull request #645 from gravitl/feature-messageQueue
Feature message queue
2022-01-25 19:25:38 -05:00
Matthew R Kasun
03d17a0520 addressing review comments 2022-01-25 18:15:27 -05:00
0xdcarns
0874ad1cd8 updated to log errors 2022-01-25 12:36:25 -05:00
0xdcarns
7846420fa7 added timer hooks 2022-01-25 11:00:56 -05:00
Matthew R Kasun
bc54bbf167 manual rebase to develop 2022-01-25 07:31:50 -05:00
Matthew R Kasun
a5b9760438 add persistentkeepalive to ShouldPeersUpdate 2022-01-24 13:20:23 -05:00
Matthew R Kasun
c239ee3787 Merge branch 'develop' into feature-messageQueue 2022-01-24 06:21:21 -05:00
Matthew R Kasun
b2b50ffa9c fix GetNetworkNodes to just return networks nodes instead of all nodes in system plus a second copy of the networknode 2022-01-22 10:38:11 -05:00
Matthew R Kasun
95dea6a4ba fix for issue #621 2022-01-21 13:15:54 -05:00
Matthew R Kasun
2310977391 refactor to reduce number of types of message in message queue simplifying the subscribers and publishers 2022-01-21 05:19:17 -05:00
afeiszli
4d2a85f879 adding telemetry 2022-01-20 17:50:42 -05:00
Matthew R Kasun
d4399d1321 rebase fixes 2022-01-20 16:39:54 -05:00
Matthew R Kasun
b15a5112fc fixes due to rebase 2022-01-20 15:41:06 -05:00
Matthew R Kasun
e7b9715cf7 fix publish peers 2022-01-20 13:14:59 -05:00
0xdcarns
bed4eb25ed rebased 2022-01-20 13:00:04 -05:00
0xdcarns
7700a68d5b Cover a legacy case, allow server to run with uuids 2022-01-20 13:00:04 -05:00
0xdcarns
e4161426f1 removed cleanup function, kind of pointless 2022-01-20 13:00:04 -05:00
0xdcarns
d2fb5fc4d5 cleaned up logs 2022-01-20 13:00:04 -05:00
0xdcarns
a394bf7424 server fix 2022-01-20 13:00:04 -05:00
0xdcarns
0f657b4378 adapted node routes further to new id 2022-01-20 12:59:31 -05:00
0xdcarns
73c982b9fa updated routes to use uuid 2022-01-20 12:59:31 -05:00
0xdcarns
ff79860487 updated routes to use uuid 2022-01-20 12:59:31 -05:00
0xdcarns
6ad6e2078b added hotfixes 2022-01-20 12:59:31 -05:00
0xdcarns
e9e6b4c2e3 testing continued 2022-01-20 12:59:31 -05:00
0xdcarns
df23b50165 refactored more 2022-01-20 12:59:31 -05:00
0xdcarns
47c00bd30f missave 2022-01-20 12:59:07 -05:00
0xdcarns
cd5bce8812 restructuring continued 2022-01-20 12:58:49 -05:00
0xdcarns
de4e317aea began transition 2022-01-20 12:56:34 -05:00
0xdcarns
2430eb0a47 prevent nodes from changing address out of range or to .0 or .255 addresses 2022-01-19 10:47:23 -05:00
0xdcarns
5c1300997c rough draft 2022-01-18 11:32:21 -05:00
0xdcarns
134a09670f refactor 2022-01-18 10:55:02 -05:00