Matthew R Kasun
9edb541388
remove localrange
2023-01-20 05:42:05 -05:00
Matthew R. Kasun
8bfe255eab
Merge remote-tracking branch 'origin/develop' into netclient_refactor_latest
...
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2023-01-04 14:16:12 -05:00
Matthew R. Kasun
38cd4d7700
refactor join
...
also removes server node
suspect there may be issues with proxy
and UI interactions with nodes
2022-12-20 15:29:09 -05:00
walkerwmanuel
71d66b7f93
Refactored user functions to use refrences rather than values
2022-12-20 15:10:40 -05:00
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
Abhishek Kondur
4b1a85a3ee
proxy changes
2022-12-02 17:35:41 +05:30
Abhishek Kondur
a7c0abe2fc
refactor proxy updates
2022-11-07 01:25:04 +05:30
Abhishek Kondur
acae6c3aed
added relay functionality to proxy
2022-11-04 01:24:48 +05:30
Abhishek Kondur
17e05d430b
sync peers updates with proxy
2022-11-02 15:33:42 +05:30
Abhishek Kondur
31a7e73473
add proxy to netmaker server
2022-10-28 17:02:22 +05:30
Matthew R. Kasun
1de2989b84
move logic to serverctl.setNetworkDefaults()
2022-09-30 15:16:13 -04:00
afeiszli
5916dffb91
fix update user
2022-09-14 14:44:52 -04:00
afeiszli
8a1ba674a7
ee fixes
2022-09-14 09:58:01 -04:00
afeiszli
90bb3884e6
initialize network settings to avoid panic
2022-09-13 16:32:11 -04:00
afeiszli
96772bb4bd
network and ACL initialization
2022-09-13 15:41:23 -04:00
0xdcarns
88cd0a6497
initial commit
2022-09-13 15:25:56 -04:00
afeiszli
8fc9dac969
adding security fixes
2022-08-31 11:38:29 -04:00
Matthew R. Kasun
932eba8d21
fix statticcheck errors
2022-06-16 15:42:32 -04:00
afeiszli
8d422526b3
refactoring servercfg
2022-05-31 12:07:56 -04:00
afeiszli
709ecd8cfe
fixing ip check
2022-05-27 10:52:47 -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
52a14877ff
update versions
...
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-03-28 17:26:03 -04:00
0xdcarns
8d63a8e058
added graceful wait for comms
2022-03-21 14:47:51 -04:00
0xdcarns
772e5e6e80
commsnet else init
2022-03-17 13:54:41 -04:00
0xdcarns
d738a35eaf
added comms net default acl check
2022-03-17 13:51:23 -04:00
0xdcarns
3157511cd5
fixed comms id init
2022-03-17 13:14:06 -04:00
afeiszli
fdfbde118e
putting acl check before server pull
2022-03-13 21:35:22 -04:00
afeiszli
8306c213a7
adding default acl function
2022-03-13 20:58:30 -04:00
0xdcarns
8516524d02
sync hotfix
2022-02-22 16:14:23 -05:00
0xdcarns
324d2ba70c
moved telemetry check and generated comms CIDR better
2022-02-22 14:53:40 -05:00
afeiszli
f21dad5184
fixed hub logic
2022-02-21 09:45:42 -05:00
afeiszli
d166e4b348
always sync servernet
2022-02-21 08:57:06 -05:00
0xdcarns
9c6c6ef176
change env to var
2022-02-20 11:37:15 -05:00
0xdcarns
6028e1b6de
added comms checks
2022-02-18 19:37:12 -05:00
afeiszli
c6a7238453
adding random comms network name logic
2022-02-18 15:18:50 -05:00
afeiszli
05c87cba95
comms net should be udp hole punch
2022-02-18 11:49:38 -05:00
afeiszli
1c06cfc8f7
modified getpeers for hub network
2022-02-18 11:43:49 -05:00
afeiszli
f55eeedbb9
settings for comms network
2022-02-18 11:11:21 -05:00
0xdcarns
c238cf7f23
made use of string builder in logger
2022-02-15 10:11:24 -05:00
0xdcarns
1a7a8beabc
added server pulls upon server initialize if networks present
2022-02-05 13:12:07 -05:00
afeiszli
239b9d36fc
change queue identifier from server.ID to Network.NetID
2022-02-03 09:51:37 -05:00
afeiszli
c210a223ea
set networkservers on network create
2022-02-01 10:08:44 -05:00
afeiszli
294654d950
modify syncservernetwork
2022-02-01 09:59:23 -05:00
afeiszli
a182d7f4ed
modify syncservernetwork
2022-02-01 09:37:16 -05:00
afeiszli
749e6f464d
initial commit of iptables functionality
2022-01-29 18:18:23 -05:00
0xdcarns
916866f73c
began refactor
2022-01-17 18:35:16 -05:00
0xdcarns
2fe8025afa
Cover a legacy case, allow server to run with uuids
2022-01-17 14:22:39 -05:00
0xdcarns
545f45d86d
refactored more
2022-01-17 14:21:40 -05:00
0xdcarns
72206817bb
added local range logic
2022-01-12 19:39:10 -05:00