kayos@tcp.direct
e878e4820a
Fixes+Chores: avoid de-referencing nil ptrs + lint
...
- Avoid referencing conditions we know are false/true
- Avoid using name of imported package as variable
- Avoid broken (see list item 1) if else statement in `ipservice.go` by refactoring to switch statement
- When assigning a pointer value to a variable along with an error, check that error before referencing that pointer. Thus avoiding de-referencing a nil and causing a panic.
*** This item is the most important ***
- Standard gofmt package sorting + linting; This includes fixing comment starts for go doc
- Explicit non-handling of unhandled errors where appropriate (assigning errs to _ to reduce linter screaming)
- Export ErrExpired in `netcache` package so that we can properly reference it using `errors.Is` instead of using `strings.Contains` against an `error.Error()` value
2022-12-06 20:11:20 -08:00
Matthew R. Kasun
6b18ff57c9
add all local interfaces to node
2022-11-28 11:16:19 -05:00
Anish Mukherjee
9c13b90d75
change mosquitto protocol from mqtts to wss
2022-11-10 16:59:38 +05:30
Matthew R. Kasun
3bb19ea1a3
fix 0.16.2 update function
2022-10-18 10:42:02 -04:00
Matthew R. Kasun
89b5911197
update version numbers for v0.16.2 releasse
2022-10-18 10:12:42 -04:00
0xdcarns
3b1ff49344
added better handling of wg ifaces on windows + fix connect issue
2022-10-13 11:30:21 -04:00
Matthew R. Kasun
2f164ceb4d
update version numbers for v0.16.1 release
2022-10-06 13:50:03 -04:00
Abhishek Kondur
f23b0a11ba
check mq is connected before checkin, rm unused functions
2022-10-06 00:59:13 +05:30
Abhishek Kondur
fe5fd7fce9
do checkin after mq is connected, publish metrics only when node is connected
2022-10-05 21:21:34 +05:30
Abhishek Kondur
77c901e4d9
fix for node connect/disconnect issue
2022-10-05 19:48:55 +05:30
Abhishek Kondur
acbca2c2d8
remove unused functions
2022-09-30 22:12:57 +05:30
Abhishek Kondur
1827f8c3b5
merge conflicts resolved
2022-09-30 20:15:17 +05:30
0xdcarns
f2606dd3cb
addressed PR comments
2022-09-29 09:49:06 -04:00
0xdcarns
40f7036093
fixed first two issues
2022-09-28 15:22:12 -04:00
Abhishek Kondur
f31c40408c
get password from secret file
2022-09-28 21:05:27 +05:30
0xdcarns
a1ec5fb354
fixed non ping err resulting in connected
2022-09-28 11:31:20 -04:00
Abhishek Kondur
878430bf75
create client for nodes on authenticate,generate dyn sec file on startup
2022-09-27 17:36:33 +05:30
Abhishek Kondur
f632bec11d
merge conflicts resolved
2022-09-26 17:47:20 +05:30
Alex Feiszli
f35429f768
Merge pull request #1596 from gravitl/feature_v0.16.1_ee_check
...
ee check
2022-09-23 15:29:30 -04:00
Matthew R. Kasun
175bb94471
additional checks for disconnected nodes
2022-09-22 15:22:21 -04:00
Matthew R. Kasun
d54fb0823e
ee check
2022-09-22 12:59:59 -04:00
Alex Feiszli
1a6cbf5b39
Merge pull request #1579 from gravitl/bugfix_v0.16.0_gw_compare
...
fixing compare
2022-09-20 11:05:57 -04:00
afeiszli
e93eaf8e1d
fixing compare
2022-09-20 11:03:44 -04:00
afeiszli
a6eac84e51
removing log
2022-09-19 16:14:51 -04:00
afeiszli
f63b88db73
fixing sso error handling
2022-09-19 15:37:00 -04:00
0xdcarns
5253e80cdb
added upgrade versions
2022-09-19 12:55:11 -04:00
0xdcarns
be2fa030c3
added 0.16.0 upgrade logic
2022-09-19 09:46:09 -04:00
Abhishek Kondur
5ca355523b
rm commented code related to broker certs
2022-09-16 11:50:36 +05:30
Abhishek Kondur
2eb5cde6ab
dyn sec netclient changes
2022-09-16 11:35:28 +05:30
0xdcarns
b1b497faa4
PR comments addressed
2022-09-15 10:23:19 -04:00
Abhishek Kondur
7db3bd3aca
comment certs code for mq
2022-09-15 09:23:33 +05:30
afeiszli
b670755cce
refactoring for ee
2022-09-14 13:26:31 -04:00
0xdcarns
88cd0a6497
initial commit
2022-09-13 15:25:56 -04:00
Matthew R. Kasun
ae9a8f5077
publish message after node connect/disconnect
2022-09-12 15:58:49 -04:00
Alex Feiszli
5d27db6e22
Merge pull request #1536 from gravitl/feature_v0.15.2_connect_status
...
send connected status on checkin
2022-09-12 11:51:55 -04:00
Alex Feiszli
5475aa90ee
Merge pull request #1539 from gravitl/bugfix_v0.15.2_RunCmds
...
use RunCmd for postup/postdown
2022-09-12 11:45:44 -04:00
Matthew R. Kasun
f9873020a5
add brackets to local address string if ipv6
2022-09-12 08:53:06 -04:00
Matthew R. Kasun
0ba3f6feaf
address code review comment
2022-09-12 06:42:01 -04:00
Matthew R. Kasun
c6f9b17414
address code review comments
2022-09-09 11:00:56 -04:00
Matthew R. Kasun
c83d273f28
restart deamon on connect/disconnect
2022-09-08 09:43:44 -04:00
Matthew R. Kasun
70fe3d0268
checkin on daemon start
2022-09-08 09:35:58 -04:00
Matthew R. Kasun
84e58d0d5a
send connected status on checkin
2022-09-08 06:19:10 -04:00
afeiszli
dda52fe286
changing log to logger.log
2022-09-07 08:09:11 -04:00
Matthew R. Kasun
fb5cf84b5e
check/update version of netclient in client config during checkin
2022-09-02 15:10:44 -04:00
Matthew R. Kasun
03c2c5ae1e
delete postup/down from wg.conf file when gateway is removed
2022-08-31 15:29:33 -04:00
Alex Feiszli
2fb0056ce5
Merge pull request #1495 from gravitl/feature_v0.15.1_reuse_mq_connection
...
Feature v0.15.1 reuse mq connection
2022-08-30 16:12:35 -04:00
Alex Feiszli
eec81e1849
Merge pull request #1468 from gravitl/feature_v0.14.9_node_disconnect
...
Feature v0.14.9 node disconnect
2022-08-30 11:15:12 -04:00
Alex Feiszli
7fd879a851
Merge pull request #1494 from gravitl/refactor_0.15.1_uninstall_leave
...
Refactor 0.15.1 uninstall leave
2022-08-30 11:14:28 -04:00
0xdcarns
2f792e92df
removed param
2022-08-30 10:53:52 -04:00
0xdcarns
8adc5bf449
fix const reference and comment
2022-08-30 10:52:42 -04:00