Matthew R. Kasun
eae92470c5
refactor of peerUpdate
...
contains some debugging logging
2022-12-23 13:41:17 -05:00
0xdcarns
df614d6d4f
added associate and dissasociate functions
2022-12-23 13:03:33 -05:00
0xdcarns
5f5f8be5d5
created functions
2022-12-23 12:38:22 -05:00
0xdcarns
309cfff577
updated controllers to use conversion routines
2022-12-22 15:44:42 -05:00
dcarns
7328fbd351
Merge pull request #1849 from gravitl/fix_peer_errors
...
fix compile errors
2022-12-22 08:49:08 -05:00
Matthew R. Kasun
bce2f8a45c
fix compile errors
2022-12-22 06:42:33 -05:00
Matthew R. Kasun
1a4fa60bdf
comment for public var
2022-12-21 16:15:00 -05:00
dcarns
54691d94cf
Merge pull request #1843 from gravitl/GRA-824-refactor-join
...
set mask on address sent to node
2022-12-21 15:01:13 -05:00
Matthew R Kasun
996a08ba93
Merge branch 'netclient_refactor_latest' into GRA-824-save-hostpass
2022-12-21 14:45:18 -05:00
Matthew R. Kasun
bc47ef4868
encrypt and save hostpass on HostCreate
2022-12-21 14:43:46 -05:00
Matthew R. Kasun
b07504c286
fix logic
2022-12-21 13:01:32 -05:00
Matthew R. Kasun
3baf5fb6fd
reorder brackets
2022-12-21 12:54:52 -05:00
Matthew R. Kasun
72cce05ae6
missing bracket
2022-12-21 12:51:21 -05:00
dcarns
f3d9840824
Merge pull request #1840 from walkerwmanuel/story/GRA-825
...
Refactored user functions to use references rather than values
2022-12-21 12:19:18 -05:00
Matthew R. Kasun
b51ee38db5
set mask on address sent to node
2022-12-21 12:04:06 -05:00
dcarns
6e05834399
Merge pull request #1841 from gravitl/GRA-824-refactor-join
...
Gra 824 refactor join
2022-12-21 10:05:39 -05:00
Matthew R. Kasun
23590a1d4a
fix panic set node defaults for non dualstack network
2022-12-21 06:50:51 -05:00
Matthew R. Kasun
9c8331e6b8
add validation function for defaultacl
2022-12-21 06:40:43 -05:00
Matthew R. Kasun
770a293049
new constant for wireguard interface name
2022-12-21 03:31:37 -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
0xdcarns
ae1b2e0e3f
added sort before peer update
2022-12-20 11:50:58 -05:00
0xdcarns
9188dd2cdf
initial commit
2022-12-19 18:04:55 -05:00
Matthew R. Kasun
c086e9499d
rebase
...
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-12-19 15:15:35 -05:00
0xdcarns
cc529ab3bd
finished initial crud for hosts, fixed stun server close bug
2022-12-19 14:55:24 -05:00
0xdcarns
8584699944
fixed bugs around user update & user delete false error with no nets
2022-12-14 16:26:18 -05:00
Abhishek Kondur
96598e0f1d
remove commented code
2022-12-13 17:36:36 +05:30
dcarns
ff19476ac8
Merge pull request #1808 from gravitl/bugfix_v0.17.1_ee_users_GRA-734
...
fixed ee user pwd change err, fixed ee license free tier limit err
2022-12-12 14:46:16 -05:00
Abhishek Kondur
759b9bc6cd
rm ext cidr
2022-12-13 01:14:28 +05:30
Abhishek Kondur
07dd20734d
extclients internal ips
2022-12-12 22:49:35 +05:30
Abhishek Kondur
83dfa1f920
add proxy listen port to peer config
2022-12-12 10:49:11 +05:30
Abhishek Kondur
8fc09fd5cd
fix stun port format,use proxy listen port from node model
2022-12-12 10:33:35 +05:30
Abhishek Kondur
0b8257f0d7
fix models change, merge conflicts resolved
2022-12-12 08:50:28 +05:30
0xdcarns
8b49ea7fa5
fixed ee user pwd change err, fixed ee license free tier limit err
2022-12-09 14:20:00 -05:00
Abhishek Kondur
e00199a650
update proxy pkg path
2022-12-09 00:54:11 +05:30
Abhishek Kondur
d8075e69c6
add alias internal ip to ext clients
2022-12-08 19:48:47 +05:30
Abhishek Kondur
7f5e1a141f
store proxy metrics in the server
2022-12-08 14:20:50 +05:30
Abhishek Kondur
728c24c16a
avoid getting relay allowed ips if node is using proxy
2022-12-07 17:22:17 +05:30
kayos@tcp.direct
c074d6e2ae
Fix: ignoring of returned error value
2022-12-07 00:28:06 -08: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
80c7d46ec6
docker compose update, add stun to caddyfile
2022-12-06 19:27:38 +05:30
Abhishek Kondur
4b1a85a3ee
proxy changes
2022-12-02 17:35:41 +05:30
Abhishek Kondur
5b7ead91e6
merge conflicts resolved
2022-12-02 10:08:01 +05:30
Abhishek Kondur
cff3508425
Merge branch 'develop' of https://github.com/gravitl/netmaker into feature_proxy_metrics
2022-12-01 19:31:56 +05:30
Matthew R. Kasun
407c6ed20a
fix error from branch create
2022-11-29 10:11:47 -05:00
Anish Mukherjee
0dcc54dc49
fix ipv6 addressing bug
2022-11-29 10:11:47 -05:00
0xdcarns
31990fca45
fixed admin issue and potential panics
2022-11-29 10:11:47 -05:00
0xdcarns
b7ae6c6d35
moved ee check out of ce
2022-11-29 10:11:47 -05:00
tt2468
c9d5a44a0e
Add missing line ending in ingress postUp command
...
Adds a missing line ending in the postUp masquerade command. This missing line is sneaky, and only seems to pose an issue when both ingress and egress modes are enabled.
2022-11-29 10:11:47 -05:00
Matthew R. Kasun
fbd905a91a
fix finger problem (missing }
2022-11-29 10:11:47 -05:00