Commit graph

4372 commits

Author SHA1 Message Date
Abhishek Kondur
30951d12f9 update go mod 2022-12-12 09:01:06 +05:30
Abhishek Kondur
0b8257f0d7 fix models change, merge conflicts resolved 2022-12-12 08:50:28 +05:30
Boris Fersing
a41d63de29
Don't expore ports unnecessarily 2022-12-11 11:24:32 -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
dcarns
b3d5fa5e1b
Merge pull request #1809 from gravitl/bugfix_v0.17.1_daemon_startup
fix daemon startup with longer wait
2022-12-10 10:41:50 -05:00
Matthew R. Kasun
bf2d4ccf1e rejoin using updatenode vice createnode 2022-12-10 06:58:54 -05:00
Matthew R. Kasun
653229feba add endpoint for re-joins (migration) 2022-12-09 17:41:44 -05:00
0xdcarns
cc7ad80f2d fix daemon startup with longer wait 2022-12-09 16:12:51 -05:00
dcarns
68992322ec
Merge pull request #1800 from gravitl/feature_netmaker_cli
Feature netmaker cli
2022-12-09 14:23:47 -05:00
0xdcarns
8b49ea7fa5 fixed ee user pwd change err, fixed ee license free tier limit err 2022-12-09 14:20:00 -05:00
Matthew R. Kasun
99cf813753 fix yaml tag for HostID 2022-12-09 13:25:24 -05:00
Anish Mukherjee
2a5b973144 fix grammatical error 2022-12-09 22:28:03 +05:30
dcarns
07a251fd0e
Merge pull request #1790 from gravitl/dependabot/go_modules/develop/github.com/golang-jwt/jwt/v4-4.4.3
Bump github.com/golang-jwt/jwt/v4 from 4.4.2 to 4.4.3
2022-12-09 11:15:01 -05:00
dcarns
f588d2b9ef
Merge pull request #1791 from gravitl/dependabot/go_modules/develop/github.com/c-robinson/iplib-1.0.4
Bump github.com/c-robinson/iplib from 1.0.3 to 1.0.4
2022-12-09 11:14:39 -05:00
dcarns
0ad8bfc136
Merge pull request #1792 from gravitl/dependabot/go_modules/develop/github.com/urfave/cli/v2-2.23.6
Bump github.com/urfave/cli/v2 from 2.23.5 to 2.23.6
2022-12-09 11:14:12 -05:00
dcarns
40e90a294a
Merge pull request #1794 from gravitl/dependabot/github_actions/develop/actions/setup-go-3
Bump actions/setup-go from 2 to 3
2022-12-09 11:13:54 -05:00
dcarns
0613d7373c
Merge pull request #1796 from gravitl/dependabot/github_actions/develop/peter-evans/repository-dispatch-2.1.0
Bump peter-evans/repository-dispatch from 2.0.0 to 2.1.0
2022-12-09 11:13:06 -05:00
dcarns
c86286e9a0
Merge pull request #1804 from gravitl/bugfix_allow_alphanum_and_dashes
Bugfix allow only alphanumeric and dashes for ext client and node names
2022-12-09 10:59:06 -05:00
Anish Mukherjee
9f2def1808 add master_key check on JWT refresh 2022-12-09 20:56:43 +05:30
Anish Mukherjee
79f318e0c5 deny/allow bi-directional 2022-12-09 20:35:29 +05:30
Anish Mukherjee
98e60edb19 retry only once for refreshing JWT 2022-12-09 19:55:27 +05:30
Anish Mukherjee
5f3fd9ee96 remove redundant checks on nodes 2022-12-09 17:11:55 +05:30
Abhishek Kondur
30bc92a878 update go mod for netclient 2022-12-09 01:17:22 +05:30
Abhishek Kondur
e00199a650 update proxy pkg path 2022-12-09 00:54:11 +05:30
Abhishek Kondur
1dab5ed004 update proxy pkg path 2022-12-09 00:48:47 +05:30
Abhishek Kondur
449a1e25a8 resolve conflicts 2022-12-09 00:05:07 +05:30
Abhishek Kondur
79aa9893dc change stun port to int type 2022-12-08 21:45:32 +05:30
Abhishek Kondur
3bf78fe638 netclient fix func parameters for build 2022-12-08 19:51:07 +05:30
Abhishek Kondur
d8075e69c6 add alias internal ip to ext clients 2022-12-08 19:48:47 +05:30
Anish Mukherjee
94dc0d9c8a add a simple get request function 2022-12-08 19:04:23 +05:30
Anish Mukherjee
b2d0a6dfe9 use cached JWT token and refresh on expiry 2022-12-08 18:53:57 +05:30
Anish Mukherjee
87f560f0ac add function comment 2022-12-08 18:07:45 +05:30
Anish Mukherjee
8cbe7cb186 allow only dashes and alphanumeric for node and ext client names 2022-12-08 17:51:42 +05:30
Abhishek Kondur
7a7d5affd0 update go mod 2022-12-08 14:54:16 +05:30
Abhishek K
bbbbb98995
Merge pull request #1803 from gravitl/feature_nm_proxy_metrics
store proxy metrics in the server
2022-12-08 14:26:40 +05:30
Abhishek Kondur
7f5e1a141f store proxy metrics in the server 2022-12-08 14:20:50 +05:30
Abhishek Kondur
401488ba7c yaml fix 2022-12-08 09:43:27 +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
Matthew R Kasun
527b342919
Merge pull request #1801 from gravitl/hotfix_v0.17.0_interactive_script
Hotfix v0.17.0 interactive script
2022-12-07 16:52:26 -05:00
afeiszli
22256a0a68 fixing installer script 2022-12-07 16:24:18 -05:00
Alex Feiszli
a1915a06f5
Merge pull request #1798 from gravitl/hotfix_readme
point to right version of script
2022-12-07 08:53:53 -05:00
Alex Feiszli
1d752aa4ba
Merge pull request #1799 from gravitl/hotfix_readme
point to right version of script
2022-12-07 08:53:33 -05:00
Matthew R. Kasun
080902e65e point to right version of script 2022-12-07 07:20:22 -05:00
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
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
dependabot[bot]
6d193dcaf7
Bump peter-evans/repository-dispatch from 2.0.0 to 2.1.0
Bumps [peter-evans/repository-dispatch](https://github.com/peter-evans/repository-dispatch) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/peter-evans/repository-dispatch/releases)
- [Commits](https://github.com/peter-evans/repository-dispatch/compare/v2.0.0...v2.1.0)

---
updated-dependencies:
- dependency-name: peter-evans/repository-dispatch
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-06 15:52:40 +00:00
dependabot[bot]
6163618d37
Bump actions/setup-go from 2 to 3
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-06 15:52:37 +00:00