Commit graph

979 commits

Author SHA1 Message Date
Matthew R. Kasun 501108b53d Remove config.Server.Debug
no longer required with move to logger.Log and it's verbosity
capabilities
2022-05-09 09:49:17 -04:00
Matthew R. Kasun 5d3274e48d remove initial pull on daemon start 2022-05-09 09:37:00 -04:00
Matthew R. Kasun 4c634bc02f apply saved config on start up 2022-05-09 08:00:14 -04:00
afeiszli 0531b6f78d removing ping server function. Unnecessary 2022-05-03 11:43:15 -04:00
afeiszli 2e4ae94521 changing versions for 0.13.1 2022-05-02 10:08:11 -04:00
Matthew R. Kasun d34ed51c8a remove debug logs 2022-04-29 15:35:25 -04:00
Matthew R. Kasun d1db0ab45a refactor mq connect 2022-04-29 15:34:11 -04:00
0xdcarns 0e73034b8d refactored pull to always re-gen certs 2022-04-29 09:41:16 -04:00
0xdcarns 55dd7c18f7 added address struct 2022-04-27 15:51:29 -04:00
0xdcarns 8496a834c3 initial list remake 2022-04-27 15:40:48 -04:00
afeiszli 551a592a71 fix iface on update 2022-04-25 22:06:33 -04:00
afeiszli 894fd1f5bd making dual stack addressing work client side 2022-04-25 21:16:47 -04:00
afeiszli b03b4cfcff adding in ipv4 2022-04-25 20:50:09 -04:00
afeiszli 13db6ced0c adding separator 2022-04-25 20:07:47 -04:00
0xdcarns cfb0904bd6 refactor + bugs 2022-04-25 19:33:31 -04:00
0xdcarns a6ee8101e6 small refactors 2022-04-25 19:28:56 -04:00
Alex Feiszli baeae557ce
Merge pull request #1033 from gravitl/bugfix_v0.13.0_cidr_parsing
Bugfix v0.13.0 cidr parsing
2022-04-25 16:48:08 -04:00
afeiszli 308b32a341 fix cidr parsing 2022-04-25 20:37:24 -04:00
afeiszli 6766219574 fix cidr parsing 2022-04-25 20:37:05 -04:00
0xdcarns 68b52279ae added peers to pull/join responses 2022-04-25 16:30:18 -04:00
dcarns 6c024dd5e5
Merge pull request #1031 from gravitl/feature_v0.13.0_reorder_join_register
gen new key and re-register on pull
2022-04-25 14:32:54 -04:00
Matthew R. Kasun 092441441c redo register on pull 2022-04-25 14:30:51 -04:00
Matthew R. Kasun e3206c5b4c gen new key and re-register on pull 2022-04-25 14:04:36 -04:00
dcarns 1b7efe1ced
Merge pull request #1029 from gravitl/feature_v0.13.0_btr_serv_reset
added initial notification to clients on server startup
2022-04-25 13:40:51 -04:00
Matthew R. Kasun 1ae9240d86 gen new key and re-register on pull 2022-04-25 13:25:21 -04:00
0xdcarns 61e5ae9d02 fixed module imports 2022-04-25 13:22:56 -04:00
0xdcarns 9d365c9c28 changes to allowedip parsing to handle ipv6 better 2022-04-25 13:10:55 -04:00
0xdcarns 6e920fb97c fix 2022-04-25 13:10:55 -04:00
0xdcarns 6eab0498fc some changes around iptables 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
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
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
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 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 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 adfa5236f8 review comments addressed
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-20 09:26:23 -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
Matthew R. Kasun 2b1f20e94b changes from code review
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-18 18:21:55 -04:00
Matthew R. Kasun 924403d5b4 ncutils.GetNetclientServerPath
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-18 15:30:59 -04:00
Matthew R. Kasun f8fe382c02 cleanup and comments 2022-04-16 16:43:10 -04:00
Matthew R. Kasun de7ca68c23 join after register 2022-04-16 15:35:05 -04:00
Matthew R. Kasun a2805ddc80 register/cert gen 2022-04-16 08:27:22 -04:00
Matthew R. Kasun 4f19beda00 save returned certs/keys 2022-04-15 16:07:19 -04:00
0xdcarns 08e219cdcc idk 2022-04-15 15:20:46 -04:00
0xdcarns 1cf9ac77e9 changed encoding of structs 2022-04-15 15:03:54 -04:00
Matthew R. Kasun a6c388db67 use openssl to gen client key/cert 2022-04-15 13:32:10 -04:00
Matthew R. Kasun 84de5c5216 use issuer's public key for certs 2022-04-15 09:54:35 -04:00
Matthew R. Kasun d50f7a8c0b revert to gen csr on client 2022-04-14 14:42:46 -04:00
Matthew R. Kasun fb6059e4a1 wip 2022-04-14 14:14:37 -04:00
Matthew R. Kasun 38cf8b0ceb gen csr on server 2022-04-14 11:40:13 -04:00
Matthew R. Kasun 9677957023 logging 2022-04-14 09:22:07 -04:00
Matthew R. Kasun 5008462b3e send csr and get cert 2022-04-14 07:15:50 -04:00
Matthew R. Kasun 4525698f87 return struct 2022-04-14 06:08:51 -04:00
Matthew R. Kasun 3e6a9be9ba return struct 2022-04-13 18:22:03 -04:00
Matthew R. Kasun 92d3e40bde logging 2022-04-13 17:33:40 -04:00
Matthew R. Kasun 6aa1a68a6f register command - client 2022-04-13 15:25:35 -04:00
Matthew R. Kasun 199ea15b1d add VerifyConnection func to NewTLSConf as InsecureSkipVerify:false doesn't work
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-13 11:58:15 -04:00
Matthew R. Kasun a0e7163e7e program to generate initial server certs/key 2022-04-12 17:19:24 -04:00
Matthew R. Kasun ab8cf43b3b remove debug logs
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-12 15:43:53 -04:00
Matthew R. Kasun 9897b2228c mqttSetup refactor
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-12 15:16:06 -04:00
Matthew R. Kasun 2bbf779d45 don't join comms net
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-12 11:39:28 -04:00
Matthew R. Kasun 935567761b mq direct to server public ip 2022-04-12 10:43:02 -04:00
Matthew R. Kasun a5883778d9 use os.Executable 2022-03-30 08:04:52 -04:00
0xdcarns 9e4d321508 updated versions across git files 2022-03-29 09:14:42 -04:00
dcarns a6b1c6a8cd
Merge pull request #960 from gravitl/feature_v0.12.2_client_verbosity
reworked usage/description for netclient and added verbosity flags
2022-03-25 09:11:34 -04:00
0xdcarns 1a065f680b added test and changed how strings were generated for make random string 2022-03-25 08:57:15 -04:00
0xdcarns 8ce93ce374 adjusted to lowercase 2022-03-24 13:52:40 -04:00
0xdcarns 00787dd853 changed to lowercase 2022-03-24 13:50:35 -04:00
0xdcarns f272ef1022 adjusted comment 2022-03-24 11:34:22 -04:00
0xdcarns 4aea8c4832 adjusted private func placement 2022-03-24 11:32:58 -04:00
0xdcarns fc5fc3d381 removed unneccesary check 2022-03-24 11:31:07 -04:00
0xdcarns 30a40aaed6 reworked usage/description for netclient and added verbosity flags 2022-03-24 11:27:42 -04:00
dcarns 94d843c3bd
Merge pull request #953 from gravitl/feature_v0.12.2_list_id
Feature v0.12.2 list
2022-03-23 20:33:35 -04:00
john s d1fb0b90af
netclient: math.Rand -> crypto.Rand (#956)
* netclient: math.Rand -> crypto.Rand

Signed-off-by: John Sahhar <john@gravitl.com>

* netclient: math.Rand -> crypto.Rand

* add tests

Signed-off-by: John Sahhar <john@gravitl.com>

* netclient: math.Rand -> crypto.Rand

* add test

Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-23 12:06:26 -06:00
john s e1ace88508
scripts/build-binaries.sh: support for all OS/ARCH (#948)
* scripts/build-binaries.sh: support for all OS/ARCH

Expands our build scripts to support the following OS/ARCHS:

netclient-linux-amd64
netclient-linux-arm5
netclient-linux-arm6
netclient-linux-arm7
netclient-linux-arm64
netclient-linux-mips
netclient-linux-mips64
netclient-linux-mips64le
netclient-linux-mipsle
netclient-linux-ppc64
netclient-linux-ppc64le
netclient-linux-riscv64
netclient-linux-s390x
netclient-linux-386
netclient-freebsd-amd64
netclient-freebsd-arm5
netclient-freebsd-arm6
netclient-freebsd-arm7
netclient-freebsd-arm64
netclient-freebsd-386
netclient-darwin-arm64
netclient-darwin-amd64
netclient-windows-amd64
netclient-windows-arm5
netclient-windows-arm6
netclient-windows-arm7
netclient-windows-arm64
netclient-windows-386

* bin-maker.sh: update default VERSION

Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-22 14:14:57 -06:00
0xdcarns a477eaa767 added local node ID's to list command 2022-03-22 15:33:38 -04:00
0xdcarns 4cd75f2985 initial commit 2022-03-22 15:13:48 -04:00
0xdcarns d504e9e3cc comms join issue 2022-03-21 12:13:27 -04:00
afeiszli dc3908b9f5 changing versions, removing ssh port forward, adding image link 2022-03-21 11:43:06 -04:00
dcarns 9b2742a3c5
Merge pull request #925 from gravitl/refactor_v0.12.0_logging
replace ncutil.Log/PrintLog with logger.Log
2022-03-21 11:35:06 -04:00
Alex Feiszli f8b4ebffc9
Merge pull request #922 from gravitl/bugfix_v0.11.0_server_routes
server routes
2022-03-21 11:34:33 -04:00
afeiszli 8901160237 don't set endpoint if server 2022-03-21 11:30:18 -04:00
Matthew R. Kasun e3d3c864ab fix for windows 2022-03-21 11:27:31 -04:00
Matthew R. Kasun fa78fe208f update for other architectures 2022-03-21 11:27:27 -04:00
Matthew R. Kasun 11b1098390 replace ncutil.Log/PrintLog with logger.Log 2022-03-21 11:27:25 -04:00
dcarns 9efb15e688
Merge pull request #929 from gravitl/bugfix_v0.12.0_keepalive
keepalive handling updates
2022-03-21 10:41:01 -04:00
dcarns b397f5014f
Merge pull request #918 from gravitl/bugfix_v0.12.1_hostctl_profile_names
use interface as hostctl profile
2022-03-21 10:24:28 -04:00
john s b16a6ab6a4 netclient: pass by value -> reference (#919)
* netclient: pass by value -> reference

Updates various function arguments to accept config.ClientConfig
as a reference to avoid deep copying the struct.

Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-21 08:05:30 -04:00
Matthew R. Kasun c16687be61 keepalive handling updates 2022-03-21 07:07:50 -04:00
john s 24f292c934
netclient: pass by value -> reference (#919)
* netclient: pass by value -> reference

Updates various function arguments to accept config.ClientConfig
as a reference to avoid deep copying the struct.

Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-20 23:43:17 -05:00
Matthew R. Kasun b1a640eb83 temp code to remove netmaker profiles from /etc/hosts on daemon start 2022-03-18 15:53:59 -04:00
Matthew R. Kasun 58988706d9 missed on call
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-03-18 13:47:03 -04:00
Matthew R. Kasun 3b12f55de0 use interface as hostctl profile 2022-03-18 10:10:34 -04:00
afeiszli fbb18d86d0 fixing windows join issue 2022-03-15 11:11:22 -04:00
Matthew R Kasun 9e23e69141
Merge branch 'develop' into worklows 2022-03-15 09:10:10 -04:00
dcarns 2e0e54879a
Merge pull request #895 from gravitl/feature_0.12.0_host_dns
match dns to acl
2022-03-14 19:34:01 -04:00
afeiszli 3b37532eaa fixing windows remove conf 2022-03-14 21:03:49 -04:00
Matthew R. Kasun 628f1f1468 remove debug logs 2022-03-14 16:32:14 -04:00
Matthew R Kasun 11e0bd20d3 dns per network 2022-03-14 19:44:38 +00:00
Matthew R. Kasun 0abba58bfb use string rather than []byte for dns 2022-03-14 14:59:41 -04:00
afeiszli d0719f34b3 removing syso 2022-03-14 13:31:37 -04:00
afeiszli c81a6c957d changed versions to 0.12.0, added new logo 2022-03-14 13:31:12 -04:00
Matthew R. Kasun 0f7cbdac49 eliminate the need for a tmp file to update dns 2022-03-12 16:15:49 -05:00
0xdcarns 8385d02987 edited where server sets peers to account for ACLs 2022-03-11 11:48:08 -05:00
0xdcarns f0accf7b96 update logs 2022-03-11 11:48:08 -05:00
Matthew R. Kasun 29a2fd18e8 don't update dns on comms network peer update 2022-03-11 11:48:08 -05:00
0xdcarns 7eac05528a edited where server sets peers to account for ACLs 2022-03-11 08:59:53 -05:00
0xdcarns 12ca8e09aa update logs 2022-03-10 15:46:48 -05:00
Matthew R. Kasun 078be94fd2 don't update dns on comms network peer update 2022-03-08 17:15:13 -05:00
Matthew R. Kasun 78a3a2b4cb fpm config file; netclient.service file 2022-03-08 16:29:20 -05:00
dcarns a6a4c8da1a
Merge pull request #877 from gravitl/hotfix_v0.11.0_wrong_error
change error
2022-03-08 07:50:35 -05:00
Matthew R. Kasun 63c87ade73 another one 2022-03-08 06:22:02 -05:00
Matthew R. Kasun b4fff48e9b change error 2022-03-08 06:02:50 -05:00
afeiszli 25224f72ee random ID for comms nodes 2022-03-07 20:33:03 -05:00
afeiszli d746f2b756 changing versions to v0.11.1 2022-03-07 14:41:58 -05:00
dcarns e1cb3531e1
Merge pull request #854 from gravitl/feature_0.12.0_host_dns
host dns
2022-03-07 08:58:19 -05:00
Matthew R. Kasun aa24037d28 fix stay paste error 2022-03-04 14:00:05 -05:00
Matthew R. Kasun 7722ba910b window tmp file path 2022-03-04 13:29:56 -05:00
Matthew R. Kasun cc5bc8f84d fix vscode autocompletion error 2022-03-04 11:10:52 -05:00
Matthew R. Kasun d7b0852e24 disable resolvctl dns 2022-03-03 15:07:27 -05:00
dcarns af53cb1a27
Removed comment. 2022-03-03 10:47:01 -05:00
0xdcarns 98023deeb9 fixed issues around windows 2022-03-02 16:19:53 -05:00
Matthew R. Kasun 9bd0af7e9c remove /etc/hosts entries if DONon=off ('no') 2022-03-02 09:07:52 -05:00
Matthew R. Kasun 72fd657116 add check for DNSOn 2022-03-02 07:54:15 -05:00
Matthew R. Kasun d596ec4753 hostctl for dns 2022-03-02 06:28:53 -05:00
Matthew R. Kasun 182d0114b2 remove netclient.syso 2022-02-27 18:33:21 -05:00
Matthew R. Kasun 6c064cd4c6 ensure new listen port is written to config files and mq uses comms network 2022-02-22 22:34:08 -05:00
Matthew R. Kasun 8ab0f1a46c deleted debugging log messages 2022-02-22 18:13:27 -05:00
afeiszli 04d15d27af listenport logic 2022-02-22 17:50:41 -05:00
Matthew R. Kasun b37abab5dd update logic for getting free udp port 2022-02-22 15:40:03 -05:00
afeiszli 946b2ed12f Merge branch 'develop' of https://github.com/gravitl/netmaker into develop 2022-02-21 22:35:58 -05:00
afeiszli 40ddf57470 changing versions 2022-02-21 22:34:58 -05:00
afeiszli 54c6354387 removing logs 2022-02-21 21:49:08 -05:00
afeiszli f686b12bce removing logs 2022-02-21 20:34:14 -05:00
afeiszli d59dbdbebd cmd.Start 2022-02-21 20:08:31 -05:00
afeiszli 0109ed0480 cmd.Start 2022-02-21 20:06:31 -05:00
afeiszli 2c93986ad0 additional log 2022-02-21 19:59:24 -05:00
afeiszli a06b451bd9 test logs 2022-02-21 19:49:13 -05:00
afeiszli 1f9a94a4ed test logs 2022-02-21 17:46:42 -05:00
afeiszli c741cbfc2c fixing mac daemon 2022-02-21 16:58:46 -05:00
0xdcarns 26c70bb2f1 changed logs and saved private key 2022-02-21 15:38:46 -05:00
Matthew R Kasun c01b950ca9
Merge pull request #815 from gravitl/feature_v0.11.0_hublogic
fixed hub logic
2022-02-21 09:49:08 -05:00
afeiszli f21dad5184 fixed hub logic 2022-02-21 09:45:42 -05:00
0xdcarns 3596754734 bug fixes 2022-02-21 09:31:31 -05:00
afeiszli f5c8f6ed22 leave comms automatically if last network 2022-02-21 08:47:47 -05:00
afeiszli d663afe211 comment 2022-02-20 18:29:29 -05:00
afeiszli 5e8eab0a1e force leave for comms net 2022-02-20 18:09:32 -05:00
afeiszli d0b940fab7 fixed logging for comms join 2022-02-20 17:47:03 -05:00
0xdcarns 595e00125b 1 2022-02-20 11:12:51 -05:00
0xdcarns ad155087b3 added os.kill 2022-02-20 10:13:27 -05:00
0xdcarns f1fa3dec0a client key update change 2022-02-20 10:08:42 -05:00
0xdcarns 086eb842be made node update with server more efficient 2022-02-20 09:38:28 -05:00
0xdcarns 5f7c94b304 cleaned up logs, go initial updates working 2022-02-19 10:45:25 -05:00
0xdcarns 7bf716429f fixed some bugs around join.. 2022-02-18 20:21:03 -05:00
0xdcarns 095f1002dd updated to run a daemon per different comms 2022-02-18 16:43:12 -05:00
Matthew R. Kasun 4cc293ee89 client logic for comms network 2022-02-18 16:27:54 -05:00
dcarns 11b2e2c179
Merge pull request #797 from gravitl/feature_v0.11.0_cleanup_env
adding random comms network name logic
2022-02-18 15:33:03 -05:00
afeiszli c6a7238453 adding random comms network name logic 2022-02-18 15:18:50 -05:00
Matthew R. Kasun c7cf5fb2fb refactor to reduce number of goroutines 2022-02-18 14:56:26 -05:00
Matthew R. Kasun 52ac4c3bc3 refactor functions/dameon into multiple files; addressed code review comments 2022-02-18 11:34:18 -05:00
Matthew R. Kasun 2390f017be client logic for comms network 2022-02-18 10:34:03 -05:00
afeiszli be1763bb74 removing old node logic 2022-02-18 10:15:21 -05:00
Alex Feiszli 0aa9dd0992
Merge pull request #791 from gravitl/bugfix_v0.10.1_setpeers
testing additional check on publickey
2022-02-17 11:04:05 -05:00
0xdcarns 25c4d8ff1e fixes 2022-02-17 10:33:48 -05:00
afeiszli 7df19ffba3 testing additional check on publickey 2022-02-17 10:19:55 -05:00
0xdcarns 506a897f26 added ack and done signals 2022-02-17 09:08:20 -05:00
0xdcarns bd8b66c169 refactored clients 2022-02-16 22:27:20 -05:00
0xdcarns a622afc4c1 added logs and create node update 2022-02-16 21:35:15 -05:00
0xdcarns 407e46c117 began servside refactor 2022-02-16 20:44:17 -05:00
0xdcarns 867e253c3b refactored and cleaned up code, added peer update from clients 2022-02-16 20:44:15 -05:00
dcarns 3fb34fa70e
Merge pull request #786 from gravitl/bugfix_v0.10.1_mtu
add MTU to ifacedelta
2022-02-16 20:36:07 -05:00
afeiszli a29fc1e29b adding comment 2022-02-16 20:30:17 -05:00
afeiszli c2d99269c5 add MTU to ifacedelta 2022-02-16 20:26:20 -05:00
afeiszli a29ced1630 removing comment 2022-02-16 20:21:43 -05:00
afeiszli a33ff31a59 adding logic for nodes without wg-quick 2022-02-16 20:19:51 -05:00
dcarns 81d5bca003
Merge pull request #776 from gravitl/bugfix_v0.10.1_windows_revert
reverting windows behavior
2022-02-15 21:09:46 -05:00
afeiszli 0fa480ab9a reverting windows behavior 2022-02-15 20:51:00 -05:00
Matthew R. Kasun e8a897f342 checkin logic updated 2022-02-15 15:40:38 -05:00
Matthew R Kasun 6c583567d4
Merge pull request #772 from gravitl/feature_v0.10.1_chunking_0
Feature v0.10.1 chunking 0
2022-02-15 13:33:51 -05:00
Matthew R. Kasun 7e9f65ad1b remove corednsAddrr from token 2022-02-15 11:25:50 -05:00
0xdcarns 96e17c9b17 comment cleanup 2022-02-15 10:15:17 -05:00
0xdcarns 98609ac61e implmented chunking 2022-02-15 10:15:17 -05:00
0xdcarns 83250980eb initial chunk approach 2022-02-15 10:15:17 -05:00
Matthew R. Kasun e1bba1d89f set macaddress and nodeid if not set 2022-02-15 10:12:39 -05:00
0xdcarns 5c35ca433e edited run updates 2022-02-15 10:12:39 -05:00
0xdcarns b6e3afa174 revert 2022-02-15 10:11:24 -05:00
0xdcarns d42ec811b8 first draft of chunks 2022-02-15 10:11:23 -05:00
Matthew R. Kasun 5e3654faa9 remove commented out code 2022-02-15 08:10:51 -05:00
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
Matthew R. Kasun 16cf0eaeed set macaddress and nodeid if not set 2022-02-14 14:13:18 -05:00
0xdcarns f47a6af400 edited run updates 2022-02-14 11:01:33 -05:00
0xdcarns d9a334b30c added initial pull to handle faster restarts 2022-02-12 13:04:44 -05:00
dcarns 4e8bf0c763
Merge pull request #736 from kuliantnt/master
a flag Usage error
2022-02-11 09:41:08 -05:00
lianlian c7a3c4890c 修改提示错误 2022-02-11 12:17:21 +08:00
Matthew R. Kasun 4ab924af3e use main.version rather than subpackage variables 2022-02-10 15:10:18 -05:00
dcarns c2a93ef73a
Merge pull request #729 from chaychoong/fix-endpoint-typo
fix: endpoint typo
2022-02-10 08:38:55 -05:00
Chay Choong 2a9b422495
fix: endpoint typo 2022-02-10 17:54:03 +08:00
dcarns 0fe10360cc
Merge pull request #713 from gravitl/feature_v0.10.0_bsd_daemon
Feature v0.10.0 bsd daemon
2022-02-09 08:25:06 -05:00
Matthew R. Kasun a867167e02 fixed review comments 2022-02-09 06:10:59 -05:00
Matthew R. Kasun c142096577 update RunCmd finally fixed 2022-02-08 23:30:50 -05:00
Matthew R. Kasun 9ba3a94f40 update RunCmd 2022-02-08 23:24:42 -05:00
Matthew R. Kasun 747baf1bba update RunCmd 2022-02-08 23:18:58 -05:00
Matthew R. Kasun e88d34ac96 update RunCmd 2022-02-08 23:12:53 -05:00
Matthew R. Kasun cb21d0e9e0 update RunCmd 2022-02-08 23:07:51 -05:00
Matthew R. Kasun 62a09afa8f rm sprintf 2022-02-08 23:01:17 -05:00
Matthew R. Kasun f969e38f77 add logging 2022-02-08 22:58:00 -05:00
Matthew R. Kasun f0a389dfd0 add logging 2022-02-08 22:55:25 -05:00
afeiszli a604ba004c netclient version info 2022-02-08 22:53:57 -05:00
afeiszli 03651c3480 netclient version info 2022-02-08 22:52:35 -05:00
Matthew R. Kasun 84d237f8f6 add logging 2022-02-08 22:40:48 -05:00
Matthew R. Kasun 9f150327e6 add logging 2022-02-08 22:39:39 -05:00
Matthew R. Kasun 2f6439654a fix compile errors 2022-02-08 22:31:17 -05:00
Matthew R. Kasun a545643172 added freebsd daemon 2022-02-08 22:06:41 -05:00
afeiszli 6adca601d6 removing daemon restart on failure 2022-02-08 21:54:23 -05:00
afeiszli d4b15f0a2d adding force peer push every 5 min 2022-02-08 21:34:38 -05:00
afeiszli d5bae019b3 cleaning logs, fixing mac apply 2022-02-08 20:54:02 -05:00
dcarns 03f37b14f1
Merge pull request #707 from gravitl/feature_v0.10.0_mq_settings
Feature v0.10.0 mq settings
2022-02-08 19:52:48 -05:00
0xdcarns 732665c3d4 cleaned up daemon and server mq 2022-02-08 19:13:58 -05:00
afeiszli 770595d558 changing variable declaration 2022-02-08 19:13:46 -05:00
0xdcarns 06d3e847c3 changed mq client options 2022-02-08 17:04:03 -05:00
Matthew R. Kasun 1cd25a996c add ids to mqtt 2022-02-08 15:05:37 -05:00
0xdcarns 0b6dbb9e67 rebase fix 2022-02-08 13:57:18 -05:00
Matthew R. Kasun a4da05117e handler for KeyUpdate was missing a call to apply new wireguard conf 2022-02-08 13:55:52 -05:00
Matthew R. Kasun 3b7f4e31b1 remove go routines for handling reciept of subscribed messages 2022-02-08 13:13:43 -05:00
0xdcarns 39cea2da6c refactored delete, pull nil pointer and logging 2022-02-08 10:43:46 -05:00
dcarns a85a888251
Merge pull request #701 from gravitl/bugfix_v0.10.0_individual_serverkeepalive
publish individual server keepalive messages
2022-02-08 08:36:26 -05:00
Matthew R. Kasun 7e2928ba84 publish individual server keepalive messages 2022-02-08 08:33:44 -05:00
dcarns fafe5c6f8b
Merge pull request #700 from gravitl/bugfix_v0.10.0_NodeUpdate-delete
Bugfix v0.10.0 node update delete
2022-02-08 08:02:26 -05:00
Matthew R. Kasun b8a0230c03 Added context and waitgroups to goroutines to enable complete shutdown of network go routines when a node is deleted.
Ensures a goroutine won't be updating files preventing their deletion.
2022-02-07 22:56:03 -05:00
afeiszli 22d9d4e88a add logging for file remove 2022-02-07 15:37:59 -05:00
Matthew R. Kasun c3189afc1a logging for tests 2022-02-07 15:18:28 -05:00
afeiszli 8f20f3bd7c reverting set peers 2022-02-07 14:43:06 -05:00
afeiszli fb8def3315 extra check on dns 2022-02-07 14:09:48 -05:00
afeiszli ea7cb6f39e fixing logging, disable non-linux relays, reset dns on error 2022-02-07 14:04:07 -05:00