Commit graph

1130 commits

Author SHA1 Message Date
Matthew R Kasun 6d6ba3aa7d random string
update algorithm
consolidate MakeRandomString, RandomString & GenerateCrytoString into
one function
2023-05-02 13:28:00 -04:00
Matthew R Kasun 828b3f7162 remove local network/range 2023-02-26 16:28:16 -05:00
kayos@tcp.direct a15650d3e0
NetClientUtils: Avoid using defer in a for loop, this causes resource leaks. 2023-02-16 02:09:58 -08:00
0xdcarns b90ef7ac07 static checks 2023-02-06 12:43:12 -05:00
Matthew R Kasun 77cfae41ff remove postup/down 2023-02-02 11:16:54 -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
afeiszli a6a16cf934 updated versions 2022-12-22 11:59:31 -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
Matthew R. Kasun c086e9499d rebase
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-12-19 15:15:35 -05:00
dcarns 67e4317e17
Merge pull request #1797 from yunginnanet/develop
Fixes+Chores: avoid de-referencing nil ptrs + lint
2022-12-10 10:42:04 -05:00
0xdcarns cc7ad80f2d fix daemon startup with longer wait 2022-12-09 16:12:51 -05:00
Abhishek Kondur 3bf78fe638 netclient fix func parameters for build 2022-12-08 19:51:07 +05:30
Abhishek Kondur dba5052966 resolve conflicts 2022-12-08 09:38:23 +05:30
Abhishek Kondur 695e3b1661 merge conflicts resolved 2022-12-08 09:28:41 +05:30
kayos@tcp.direct 4c4cd6eb4d
Revert: changing mechanics of loop (for ease of pr review)
cherry-pick the ineffective `err` assignment to make our following error check not useless
2022-12-06 20:26:46 -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 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
dcarns 0d9b47f212
Merge pull request #1769 from gravitl/feature_v0.17.1_local_interfaces
add all local interfaces to node
2022-12-01 09:59:30 -05:00
Abhishek Kondur cff3508425 Merge branch 'develop' of https://github.com/gravitl/netmaker into feature_proxy_metrics 2022-12-01 19:31:56 +05:30
cameronts 1f9ee111de Update usage for the operatingsystem flag. 2022-11-30 16:43:11 -08:00
0xdcarns 5689ef5440 updated versions to v0.17.0 where apllicable 2022-11-29 11:48:40 -05:00
shanker JJ f465e3b82d Support for MIPs arch 2022-11-29 10:11:47 -05:00
Anish Mukherjee 78b0476aa4 change mosquitto protocol from mqtts to wss 2022-11-29 10:11:47 -05:00
shanker JJ 3f5675688c Adding comment in bin-maker.sh 2022-11-29 10:11:47 -05:00
shanker JJ 9cce634cd8 Adding support in workflow to uploade mips binary in release 2022-11-29 10:11:47 -05:00
shanker JJ a79844e090 Adding support for OpenWrt-mips arch 2022-11-29 10:11:47 -05:00
0xdcarns 55d1b3dc63 updated version to v0.16.3 2022-11-29 10:11:47 -05:00
Matthew R. Kasun 89d0b04732 fix cp/paste error 2022-11-29 10:11:17 -05:00
Matthew R Kasun 8ebaa4aea6 only split postup/postdown on freebsd 2022-11-29 10:11:17 -05:00
Yassine Messaoudi 2c30133cf5 fix #1603 [GUI] add search bar
- Add search bar for networks view.
- Used levenchtein distance to get search suggestions.
2022-11-29 10:11:17 -05:00
Matthew R. Kasun 6b18ff57c9 add all local interfaces to node 2022-11-28 11:16:19 -05:00
shanker JJ 954537d2b3 Support for MIPs arch 2022-11-21 22:35:15 +09:00
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
Abhishek Kondur eb1aa3a386 packet sniffer changes 2022-11-14 19:14:39 +05:30
Abhishek Kondur 0a17a0744b configure proxy for ext clients 2022-11-14 14:10:52 +05:30
dcarns 3d683924b1
Merge pull request #1723 from gravitl/refactor_mqtt_to_wss
Refactor mqtt to wss
2022-11-10 11:32:42 -05:00
dcarns 5ff5e5dca3
Merge pull request #1681 from shan100github/issue-1673
Adding support for OpenWrt-mips arch
2022-11-10 10:34:25 -05:00
Anish Mukherjee 9c13b90d75 change mosquitto protocol from mqtts to wss 2022-11-10 16:59:38 +05:30
Abhishek Kondur 4d7691b71b add context to proxy and stun 2022-11-07 21:25:58 +05:30
Abhishek Kondur a7c0abe2fc refactor proxy updates 2022-11-07 01:25:04 +05:30
0xdcarns 3639338faa updated version to v0.16.3 2022-11-04 14:50:54 -04:00
Abhishek Kondur acae6c3aed added relay functionality to proxy 2022-11-04 01:24:48 +05:30
dcarns 6cbcb60f58
Merge pull request #1690 from gravitl/bugfix_v.0.16.2_muliple_egress
only split postup/postdown on freebsd
2022-11-03 10:20:04 -04:00
Matthew R. Kasun e380164472 fix cp/paste error 2022-10-28 10:51:10 -04:00
Abhishek Kondur 4486393f45 configure proxy on daemon startup and peer updates 2022-10-27 23:17:04 +05:30
Abhishek Kondur f4783f87d0 restructure proxy code 2022-10-27 17:20:06 +05:30
Abhishek Kondur 953b5eae0a proxy integration with netclient inital commit 2022-10-27 15:20:29 +05:30