Commit graph

2671 commits

Author SHA1 Message Date
0xdcarns 3298a074bb fixed issue around setting ipv6 or not unnecessarily 2022-04-25 13:10:55 -04:00
0xdcarns bcfc96ddd4 tidied go mod, fixed bug with last ipv6 addr 2022-04-25 13:10:55 -04:00
0xdcarns c39f2fed84 bugfix for reverse unique address 2022-04-25 13:10:55 -04:00
0xdcarns 99abd9666d removed required status for ipv6 and added check on create network 2022-04-25 13:10:55 -04:00
0xdcarns dc12b1e418 route changes + primary addr on node 2022-04-25 13:10:54 -04:00
0xdcarns 8e976d1f55 removed isdualstack references 2022-04-25 13:09:23 -04:00
0xdcarns ca1c75b620 set addresses appropriately based on if network is using ipv6/4 2022-04-25 13:08:45 -04:00
0xdcarns a78ebaaad1 added tests 2022-04-25 13:08:45 -04:00
0xdcarns 611a425852 added more uniform unique address checks 2022-04-25 13:08:45 -04:00
Matthew R Kasun 28a2973fd4
Merge pull request #1021 from gravitl/feature_v0.13.0_localport
Feature v0.13.0 localport
2022-04-25 12:07:59 -04:00
afeiszli 14cebf56a0 rebased off develop 2022-04-25 11:37:30 -04:00
afeiszli 93a25bb9a6 adding freebsd logic and using wgctrl.Device 2022-04-25 11:36:09 -04:00
afeiszli 9a66674a5c minor logic revisions 2022-04-25 11:36:09 -04:00
afeiszli 91ca96534b adding comments, removing bad check 2022-04-25 11:36:09 -04:00
afeiszli 6a90cd803a publishing port changes 2022-04-25 11:36:08 -04:00
afeiszli 5f303cb50a fixing localport issues 2022-04-25 11:34:55 -04:00
afeiszli ccc0ed851d adding local listen port 2022-04-25 11:34:32 -04:00
0xdcarns 773ad9b753 added initial notification to clients on server startup 2022-04-25 11:12:49 -04:00
Matthew R. Kasun d626cf0e9b remove write and return error 2022-04-25 11:11:44 -04:00
Matthew R. Kasun 38309aab20 remove cfg.Registered 2022-04-25 11:07:21 -04:00
Matthew R. Kasun f5aa1d1e62 reorder register/join 2022-04-25 10:38:29 -04:00
dcarns 0bebda718e
Merge pull request #1027 from gravitl/feature_v0.13.0_grpc
certificate cleanup
2022-04-25 08:53:13 -04:00
Matthew R. Kasun a8b1d48e02 more certificate cleanup 2022-04-25 06:38:20 -04:00
Matthew R. Kasun 8f8272aad7 certificate cleanup 2022-04-25 06:33:06 -04:00
dcarns ef295885b5
Merge pull request #1025 from gravitl/feature_v0.13.0_grpc
Feature v0.13.0 grpc
2022-04-22 13:03:25 -04:00
dcarns 5a1d03d275
Merge pull request #1024 from gravitl/feature_v0.13.0_dockerfiles
Feature v0.13.0 dockerfiles
2022-04-22 09:13:43 -04:00
dcarns 3bdceff8c1
Merge pull request #1023 from gravitl/workflows
update test workflow to go1.18
2022-04-22 09:12:20 -04:00
Matthew R. Kasun 81f118bc13 fix yaml 2022-04-22 06:54:17 -04:00
Matthew R. Kasun 3a3cd83e85 speedup docker builds 2022-04-22 06:51:09 -04:00
Matthew R. Kasun 747d6bc692 remove comms network leftovers
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-22 05:21:35 -04:00
Matthew R. Kasun 38d3691ee0 update test workflow to go1.18 2022-04-22 04:44:15 -04:00
Matthew R. Kasun e1b590d43f another attempt at fixing logging 2022-04-21 17:48:36 -04:00
Matthew R. Kasun 799f7f040c fix logging vebosity by deleting more comms functions 2022-04-21 16:35:19 -04:00
Matthew R. Kasun 5c48b5e474 logging vebosity 2022-04-21 16:25:51 -04:00
Matthew R. Kasun fa29b09aab permit setting of verbosity from config
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-21 16:18:27 -04:00
Matthew R. Kasun 7152f6ccd4 remove references to grpc/comms net 2022-04-21 15:53:44 -04:00
Matthew R. Kasun 886ec31553 remove grpc 2022-04-21 15:04:44 -04:00
Matthew R. Kasun 725037b794 send peer updates to all nodes including updated node 2022-04-21 14:32:12 -04:00
Matthew R. Kasun 33746a7bf6 eliminate superfluous response.WriteHeader call 2022-04-21 14:22:34 -04:00
Matthew R. Kasun d319501fbf add logic from grpc CreateNode to api createNode
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-20 16:32:51 -04:00
Matthew R. Kasun 955e0e544c join as api call
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-20 15:46:19 -04:00
Matthew R. Kasun 12dfc5f820 refactor leave to use API
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-20 15:46:19 -04:00
Matthew R. Kasun b7a18eac1f refactor pull to use api
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-20 15:46:19 -04:00
Matthew R. Kasun 34cac9ced0 allow nodes to authorize for certain controller/node endpoints 2022-04-20 15:46:19 -04:00
Matthew R Kasun a3f44f152b
Merge pull request #1016 from gravitl/feature_v0.13.0_mq_register
Feature v0.13.0 mq register
2022-04-20 09:33:33 -04:00
Matthew R. Kasun adfa5236f8 review comments addressed
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-20 09:26:23 -04:00
Matthew R. Kasun b47c72ead2 use /root/certs as bind mount 2022-04-19 13:10:39 -04:00
Matthew R. Kasun ec51fd2be1 update compose files to work with cert generation by netmaker 2022-04-19 10:26:50 -04:00
Matthew R. Kasun a340cd5c24 fix server startup for key/certs 2022-04-19 10:14:02 -04:00
Matthew R. Kasun 9eddb971cc fix logic for key/cert gen on start
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-19 07:42:28 -04:00