Commit graph

98 commits

Author SHA1 Message Date
afeiszli 2865089ff0 adding backup function 2022-09-07 10:14:21 -04:00
Matthew R. Kasun 8eef12036d restore backup if file corrupted 2022-09-07 09:47:07 -04:00
dcarns 40c4a7842c
Merge pull request #1432 from gravitl/feature_v0.14.7_netclientaddvarforpublicipservice
Netclient: Add Public IP Service handling to config and GetPublicIP().
2022-08-04 08:50:59 -04:00
cameronts b9b79ed9f9 Changed order of imports. 2022-08-02 16:25:38 -07:00
Abhishek Kondur c537722b76 GRA-408: wipe local fix 2022-08-01 14:18:34 +04:00
cameronts f656a48f3a Move public IP services handling to a map-based approach to work for daemon (multiple network configs) and CLI-based setting of the IP services. 2022-07-28 14:33:47 -07:00
cameronts 05283eff14 Change to single variable in ClientConfig (no nested GlobalSettings). 2022-07-28 12:50:53 -07:00
cameronts 1cb42e8f8b Add Public IP Service handling to config and GetPublicIP(). 2022-07-27 16:45:12 -07:00
afeiszli 9d78624edc fixing relay logic 2022-06-01 10:17:46 -04:00
afeiszli 8d422526b3 refactoring servercfg 2022-05-31 12:07:56 -04:00
afeiszli e4189ad8bd refactoring serverinfo logic 2022-05-31 08:42:12 -04:00
afeiszli 0865a535c7 changing broker retrieval/setting logic 2022-05-30 12:39:33 -04:00
Matthew R. Kasun fef31752bd send server version in peer update message 2022-05-25 15:21:22 -04:00
0xdcarns 5a3b6141bd added mutex lock for conf writes 2022-05-24 13:42:06 -04:00
0xdcarns 7a1b719a91 initial gui testing passed 2022-05-10 09:24:52 -04:00
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
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
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 7152f6ccd4 remove references to grpc/comms net 2022-04-21 15:53:44 -04:00
Matthew R. Kasun f8fe382c02 cleanup and comments 2022-04-16 16:43:10 -04:00
Matthew R. Kasun a2805ddc80 register/cert gen 2022-04-16 08:27:22 -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 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 5008462b3e send csr and get cert 2022-04-14 07:15:50 -04:00
Matthew R. Kasun 3e6a9be9ba return struct 2022-04-13 18:22:03 -04:00
Matthew R. Kasun 6aa1a68a6f register command - client 2022-04-13 15:25:35 -04:00
Matthew R. Kasun 935567761b mq direct to server public ip 2022-04-12 10:43:02 -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
Matthew R. Kasun 11b1098390 replace ncutil.Log/PrintLog with logger.Log 2022-03-21 11:27:25 -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
afeiszli d663afe211 comment 2022-02-20 18:29:29 -05:00
afeiszli d0b940fab7 fixed logging for comms join 2022-02-20 17:47:03 -05:00
Matthew R. Kasun 4cc293ee89 client logic for comms network 2022-02-18 16:27:54 -05:00
afeiszli c6a7238453 adding random comms network name logic 2022-02-18 15:18:50 -05:00
Matthew R. Kasun e8a897f342 checkin logic updated 2022-02-15 15:40:38 -05:00
Matthew R. Kasun 7e9f65ad1b remove corednsAddrr from token 2022-02-15 11:25:50 -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
afeiszli 7bf864a387 fixing dns and various logs 2022-02-05 15:50:29 -05:00
afeiszli d2467e13f3 allow adding address 2022-02-01 15:27:00 -05:00
afeiszli 03c2f4e7ee fixing permissions, logging on netclient 2022-02-01 11:03:14 -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