Commit Graph

100 Commits

Author SHA1 Message Date
Matthew R. Kasun
4bc04d5922 updated join logic
if join fails, don't try to leave as authentication will fail --- just
    wipe
2022-06-20 10:37:31 -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
556b7499dd remove slash 2022-05-24 16:31:18 -04:00
Matthew R. Kasun
f440b5cc07 remove dns entries in /etc/hosts on leave/uninstall 2022-05-16 07:23:44 -04:00
afeiszli
14b1f561b1 updating netclient.exe for new gui 2022-05-10 09:27:22 -04:00
0xdcarns
a6ee8101e6 small refactors 2022-04-25 19:28:56 -04:00
0xdcarns
dc12b1e418 route changes + primary addr on node 2022-04-25 13:10:54 -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
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
11b1098390 replace ncutil.Log/PrintLog with logger.Log 2022-03-21 11:27:25 -04:00
afeiszli
5e8eab0a1e force leave for comms net 2022-02-20 18:09:32 -05:00
afeiszli
be1763bb74 removing old node logic 2022-02-18 10:15:21 -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
0xdcarns
39cea2da6c refactored delete, pull nil pointer and logging 2022-02-08 10:43:46 -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
afeiszli
96535554f5 fixing mac stuff and dns testing 2022-02-07 11:38:47 -05:00
0xdcarns
3713d1891a silenced logs 2022-02-05 15:00:26 -05:00
0xdcarns
85c9d3575a added wipelocal on all leaves 2022-02-04 11:31:22 -05:00
0xdcarns
f7258bf98f refactored some client leave & cache and server join logic 2022-02-03 09:51:37 -05:00
afeiszli
03a30b6bbc removing peer cache 2022-02-02 00:02:36 -05:00
0xdcarns
19426fc3e1 added a cleanup 2022-01-29 18:18:46 -05:00
0xdcarns
d18b6d5ee2 refactored all grpc to be uniform 2022-01-17 14:21:40 -05:00
0xdcarns
c033be41bb began transition 2022-01-17 14:21:40 -05:00
afeiszli
44084b7df9 mac client semi-functional 2022-01-12 10:03:23 -05:00
0xdcarns
5448042b9a logs, unused funcs, cleanup 2022-01-02 10:30:07 -05:00
Matthew R Kasun
4ef0b164d7 use wireguard.conf files for all 2021-12-30 07:11:01 -05:00
afeiszli
833151c86d add route every time 2021-12-11 12:13:41 -05:00
0xdcarns
e45a485bce added comments, optimized memory 2021-12-10 15:01:10 -05:00
afeiszli
05d27c8af3 remote route on delete 2021-11-14 19:17:30 -05:00
0xdcarns
7e2be51b5b leave + join error fix, windows check 2021-11-08 12:15:20 -05:00
0xdcarns
51c1973b21 added ability to remove local instance of netmaker 2021-10-20 09:22:05 -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
d7cafbbc4c code linting 2021-10-08 15:07:12 -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
worker-9
5cf69ebe5b added conn closes 2021-09-23 09:04:33 -04:00
afeiszli
80eb6a8cee adding backup local ip function 2021-09-22 12:03:33 -04:00
afeiszli
50250d5859 userspace implementation 2021-09-21 21:35:52 -04:00
0xdcarns
3fc4c253a8 fixed windows, updated wgctrl 2021-09-21 17:50:09 -04:00
afeiszli
ec46d303ab got service working 2021-09-21 14:01:52 -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
afeiszli
c0490061ee refactor join, fix network add; db retry connect; fix port issue; sqlite default 2021-09-10 17:48:24 -04:00