Commit graph

60 commits

Author SHA1 Message Date
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 f5c8f6ed22 leave comms automatically if last network 2022-02-21 08:47:47 -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 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
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 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
afeiszli 0fa480ab9a reverting windows behavior 2022-02-15 20:51:00 -05:00
Matthew R. Kasun a867167e02 fixed review comments 2022-02-09 06:10:59 -05:00
Matthew R. Kasun f0a389dfd0 add logging 2022-02-08 22:55:25 -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 96535554f5 fixing mac stuff and dns testing 2022-02-07 11:38:47 -05:00
0xdcarns 10872c4e25 edited logs 2022-02-03 16:34:34 -05:00
afeiszli c8154ffa5d remove GetNodeByIDOrMacAddress 2022-02-01 21:50:11 -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
Matthew R Kasun b85ab18404 Rebase to develop (#4)
* add nameserver in call to CreateUserSpaceConf

* fixed user deletion

* changed log

* go mod tidy and conver azure tenant to env/conf var

* added egress relayed addrs to relayed nodes

* added post commands for wg quick

* refactored ncutils x-platform

* log fix

* adding egress to relay

* fixing egress on relay

Co-authored-by: dcarns <75687250+0xdcarns@users.noreply.github.com>
Co-authored-by: 0xdcarns <dillon.carns@gmail.com>
Co-authored-by: afeiszli <alex.feiszli@gmail.com>
2022-01-20 13:10:59 -05:00
Matthew R Kasun ec9f72d2d4 work in progress for message queue 2022-01-20 13:08:08 -05:00
Matthew R Kasun aad4e44e73 work in progress for message queue 2022-01-20 13:01:23 -05:00
Matthew R Kasun cb51a6be78 work in progress for message queue 2022-01-20 12:52:49 -05:00
Matthew R Kasun a44ad51661 work in progress for message queue 2022-01-20 12:50:00 -05:00
0xdcarns af08abe925 log fix 2022-01-04 13:13:42 -05:00
0xdcarns 5448042b9a logs, unused funcs, cleanup 2022-01-02 10:30:07 -05:00
Matthew R Kasun 6056d711a6 fix dns issues on checkin when resolvconf not installed 2021-12-31 22:45:50 +00:00
Matthew R Kasun 45464c00f5 use dns entry in wireguard config file; checkin temporarily disabled til figure issue with dns on checkin 2021-12-31 16:04:25 +00:00
afeiszli 3acb53398f fixed netclient join 2021-12-12 18:23:50 -05:00
afeiszli a6868ff848 setting default roaming 2021-11-30 21:11:10 -05:00
afeiszli 11a0ecdbb8 updating readme and versions 2021-11-29 08:16:35 -05:00
afeiszli 801919ab0d fixing client issues for uspace, fwmark, vpn 2021-11-29 04:34:11 -05:00
0xdcarns e726d02206 removed server check in join 2021-10-20 10:33:40 -04:00
afeiszli fb4d2d1272 change version of ubuntu 2021-10-19 15:53:01 -04:00
afeiszli 445df67030 updated helm charts 2021-10-17 15:31:37 -04:00
0xdcarns 3f2e4ab764 transplanted join. 2021-10-12 15:44:19 -04:00
0xdcarns cf5c7f85dc remove check 2021-10-07 11:17:40 -04:00
0xdcarns 974627a9ab reorg of dockerfiles 2021-10-07 11:12:25 -04:00
0xdcarns 989676e77f Combined client + server code, Added HA ability, minor bug fixes 2021-10-06 17:48:54 -04:00
afeiszli 21ba362eca allowing IsServer to be modified, configurable checkin time, single checkin for linux, moved cfg files 2021-10-02 12:28:17 -04:00
0xdcarns 3fc4c253a8 fixed windows, updated wgctrl 2021-09-21 17:50:09 -04:00
afeiszli a0586ea6d2 began adding macos service/daemon 2021-09-19 14:03:47 -04:00
afeiszli b828f7b6d9 fixing model 2021-09-18 11:01:34 -04:00
afeiszli 5c3bcbc32a added verbose command logs 2021-09-17 13:28:32 -04:00
0xdcarns 34717417ce began windows userspace implementation 2021-09-10 13:39:51 -04:00
afeiszli 7e8af20b64 cleaning up old grpc functionality 2021-08-09 17:42:32 -04:00