Commit graph

703 commits

Author SHA1 Message Date
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
Matthew R. Kasun
50a1c3a018 changed verbosity for zombie checking log message 2022-11-29 09:42:46 -05:00
Abhishek Kondur
972ded5a2d change listen port to proxy on ext client creation if proxy used on ingress GW 2022-11-27 22:22:54 +05:30
Abhishek Kondur
015bd5d366 add wg address to proxy payload 2022-11-21 10:09:49 +05:30
Abhishek Kondur
968f91edb4 fetch ext peerts only for ingress gw 2022-11-21 10:02:33 +05:30
Abhishek Kondur
40a9ae0e76 return after pushing proxy updateto server 2022-11-20 15:10:20 +05:30
Abhishek Kondur
f95306ddbd make proxy optional 2022-11-20 09:35:29 +05:30
Abhishek Kondur
c54080e150 fix relay updates for proxy 2022-11-18 10:48:28 +05:30
Abhishek Kondur
653b5f21d6 configure proxy on peer update without resetting 2022-11-17 16:51:27 +05:30
Anish Mukherjee
f42c784e64 fix ipv6 addressing bug 2022-11-16 18:10:09 +05:30
Matthew R. Kasun
4df672de68 refactor node deletion 2022-11-15 09:52:17 -05:00
Abhishek Kondur
7d166ac14a add ext client only on ingress node 2022-11-15 18:37:58 +05:30
Abhishek Kondur
4b9f68da8f set ingress node 2022-11-15 16:24:58 +05:30
Abhishek Kondur
4f76cc3ac3 forward unknown pkts to all interfaces 2022-11-15 09:31:31 +05:30
Matthew R. Kasun
b453897e65 ensure netclient version is compatible 2022-11-14 14:41:34 -05:00
Abhishek Kondur
0a17a0744b configure proxy for ext clients 2022-11-14 14:10:52 +05:30
0xdcarns
ea854a6b98 fixed admin issue and potential panics 2022-11-10 14:54:53 -05:00
0xdcarns
f236686beb moved ee check out of ce 2022-11-09 14:35:26 -05:00
Abhishek Kondur
5d7bf9502b configure proxy for ext clients 2022-11-09 08:46:16 +05:30
Abhishek Kondur
ce5e7bee4a route inbound packets to relayed node 2022-11-07 10:44:14 +05:30
Abhishek Kondur
a7c0abe2fc refactor proxy updates 2022-11-07 01:25:04 +05:30
dcarns
42ffa2be32
Merge pull request #1672 from tt2468/bugfix_v0.16.1_ingress-egress-error
Fix netclient breaking when both ingress and egress modes are enabled
2022-11-04 10:00:39 -04:00
Abhishek Kondur
acae6c3aed added relay functionality to proxy 2022-11-04 01:24:48 +05:30
Matthew R. Kasun
3d80c6ea62 set node.HostID on server node creation 2022-11-02 13:51:06 -04:00