Commit graph

2697 commits

Author SHA1 Message Date
dcarns 4d6f5e5163
Merge pull request #975 from gravitl/feature_v0.12.2_ext_peer_updates
mq/publishers: Added network wide peer updates for ext peer updates
2022-03-28 09:12:25 -04:00
0xdcarns c6beec6bfd added a total peer update to ext client changes 2022-03-28 09:00:02 -04:00
Alex Feiszli 57f438247a
Merge pull request #973 from gravitl/dev-bump-to-go1.18
Bump go version from 1.17 -> 1.18
2022-03-28 08:27:08 -04:00
Alex Feiszli 4e24cf7cd6
Merge pull request #974 from gravitl/dev-add-tests
functions/helpers: Add DB tests.
2022-03-28 08:26:56 -04:00
John Sahhar e086cee9f2 functions/helpers: Add DB tests.
Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-27 12:11:17 -06:00
John Sahhar 0b85c9033d workflows/all: go1.17 -> go1.18
Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-27 09:27:44 -06:00
John Sahhar da64e73a42 go.mod: go1.17 -> go.1.18
Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-27 09:24:07 -06:00
dcarns f3599ba57f
Merge pull request #969 from gravitl/bugfix_v0.12.2_too_many_logs
removed annoying log
2022-03-25 16:30:55 -04:00
0xdcarns 22a06005f0 removed annoying log 2022-03-25 16:30:20 -04:00
dcarns fb8769aec1
Merge pull request #966 from gravitl/feature_v0.12.2_ingress_outbound
added ingress outbound to ext clients
2022-03-25 16:06:29 -04:00
0xdcarns 9b7631e6dc added ingress outbound to ext clients 2022-03-25 15:44:32 -04:00
dcarns a6b1c6a8cd
Merge pull request #960 from gravitl/feature_v0.12.2_client_verbosity
reworked usage/description for netclient and added verbosity flags
2022-03-25 09:11:34 -04:00
dcarns 1239bb3cd7
Merge pull request #961 from gravitl/bugfix_v0.12.2_valid_mq_ids
added test and changed how strings were generated for make random string
2022-03-25 09:11:14 -04:00
0xdcarns 1a065f680b added test and changed how strings were generated for make random string 2022-03-25 08:57:15 -04:00
0xdcarns 8ce93ce374 adjusted to lowercase 2022-03-24 13:52:40 -04:00
0xdcarns 00787dd853 changed to lowercase 2022-03-24 13:50:35 -04:00
0xdcarns f272ef1022 adjusted comment 2022-03-24 11:34:22 -04:00
0xdcarns 4aea8c4832 adjusted private func placement 2022-03-24 11:32:58 -04:00
0xdcarns fc5fc3d381 removed unneccesary check 2022-03-24 11:31:07 -04:00
0xdcarns 30a40aaed6 reworked usage/description for netclient and added verbosity flags 2022-03-24 11:27:42 -04:00
dcarns 173916a4b3
Merge pull request #958 from gravitl/feature_v0.12.2_append_custom_dns
added custom dns entries to peer update
2022-03-23 20:34:26 -04:00
dcarns 77baf70506
Merge pull request #957 from gravitl/dev-netmaker-cmd-flags
main: Add flag (-c) for configuration path
2022-03-23 20:34:16 -04:00
dcarns 94d843c3bd
Merge pull request #953 from gravitl/feature_v0.12.2_list_id
Feature v0.12.2 list
2022-03-23 20:33:35 -04:00
john s d1fb0b90af
netclient: math.Rand -> crypto.Rand (#956)
* netclient: math.Rand -> crypto.Rand

Signed-off-by: John Sahhar <john@gravitl.com>

* netclient: math.Rand -> crypto.Rand

* add tests

Signed-off-by: John Sahhar <john@gravitl.com>

* netclient: math.Rand -> crypto.Rand

* add test

Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-23 12:06:26 -06:00
0xdcarns 5f1299042f added custom dns entries to peer update 2022-03-23 10:31:38 -04:00
John Sahhar a27cabc744 main: Add flag (-c) for configuration path
Adds an optional flag (-c) to the netmaker binary
for passing in an absolute path to a netmaker config
file.

Example:

	netmaker -c /etc/default/netmaker-server.yaml

Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-22 15:22:38 -06:00
john s e1ace88508
scripts/build-binaries.sh: support for all OS/ARCH (#948)
* scripts/build-binaries.sh: support for all OS/ARCH

Expands our build scripts to support the following OS/ARCHS:

netclient-linux-amd64
netclient-linux-arm5
netclient-linux-arm6
netclient-linux-arm7
netclient-linux-arm64
netclient-linux-mips
netclient-linux-mips64
netclient-linux-mips64le
netclient-linux-mipsle
netclient-linux-ppc64
netclient-linux-ppc64le
netclient-linux-riscv64
netclient-linux-s390x
netclient-linux-386
netclient-freebsd-amd64
netclient-freebsd-arm5
netclient-freebsd-arm6
netclient-freebsd-arm7
netclient-freebsd-arm64
netclient-freebsd-386
netclient-darwin-arm64
netclient-darwin-amd64
netclient-windows-amd64
netclient-windows-arm5
netclient-windows-arm6
netclient-windows-arm7
netclient-windows-arm64
netclient-windows-386

* bin-maker.sh: update default VERSION

Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-22 14:14:57 -06:00
0xdcarns a477eaa767 added local node ID's to list command 2022-03-22 15:33:38 -04:00
0xdcarns 4cd75f2985 initial commit 2022-03-22 15:13:48 -04:00
dcarns c29306304f
Merge pull request #950 from gravitl/hotfix_v0.12.1_disappearing_iface
fixed removing local servers on deletes
2022-03-22 14:47:55 -04:00
0xdcarns 988c0d7629 fixed removing local servers on deletes 2022-03-22 14:29:20 -04:00
Matthew R Kasun 1c9c154255
remove latest tag temporarily 2022-03-22 10:08:10 -04:00
dcarns 5a10fe2ab3
Merge pull request #937 from gravitl/dev-gh-matrix
workflows/test.yml: add windows/darwin to workflow
2022-03-22 08:53:08 -04:00
dcarns 37ca4cfadf
Merge pull request #938 from gravitl/dependabot/go_modules/develop/github.com/stretchr/testify-1.7.1
Bump github.com/stretchr/testify from 1.7.0 to 1.7.1
2022-03-22 08:51:42 -04:00
dependabot[bot] 74ec5332f3
Bump github.com/stretchr/testify from 1.7.0 to 1.7.1
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-22 12:47:51 +00:00
dcarns 70057dd43f
Merge pull request #939 from gravitl/dependabot/go_modules/develop/github.com/golang-jwt/jwt/v4-4.4.0
Bump github.com/golang-jwt/jwt/v4 from 4.3.0 to 4.4.0
2022-03-22 08:47:17 -04:00
dcarns 51d9347413
Merge pull request #940 from gravitl/dependabot/go_modules/develop/github.com/urfave/cli/v2-2.4.0
Bump github.com/urfave/cli/v2 from 2.3.0 to 2.4.0
2022-03-22 08:46:35 -04:00
dcarns 64753348bb
Merge pull request #941 from gravitl/dependabot/go_modules/develop/github.com/guumaster/hostctl-1.1.2
Bump github.com/guumaster/hostctl from 1.1.1 to 1.1.2
2022-03-22 08:45:52 -04:00
dependabot[bot] d83253bcb0
Bump github.com/guumaster/hostctl from 1.1.1 to 1.1.2
Bumps [github.com/guumaster/hostctl](https://github.com/guumaster/hostctl) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/guumaster/hostctl/releases)
- [Changelog](https://github.com/guumaster/hostctl/blob/master/.goreleaser.yml)
- [Commits](https://github.com/guumaster/hostctl/compare/v1.1.1...v1.1.2)

---
updated-dependencies:
- dependency-name: github.com/guumaster/hostctl
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 23:12:20 +00:00
dependabot[bot] 117550ad4e
Bump github.com/urfave/cli/v2 from 2.3.0 to 2.4.0
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.3.0...v2.4.0)

---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 23:12:12 +00:00
dependabot[bot] a3a52b8867
Bump github.com/golang-jwt/jwt/v4 from 4.3.0 to 4.4.0
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.3.0...v4.4.0)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 23:12:05 +00:00
John Sahhar 0e2f96b5d2 workflows/test.yml: add windows/darwin to workflow
Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-21 14:10:39 -06:00
Matthew R Kasun f8bc889ea8
Merge pull request #936 from gravitl/hotfix_v0.12.1_initial_test_fixes
added graceful wait for comms
2022-03-21 16:03:04 -04:00
0xdcarns 8d63a8e058 added graceful wait for comms 2022-03-21 14:47:51 -04:00
dcarns 1f269d8730
Merge pull request #935 from gravitl/hotfix_v0.12.1_initial_test_fixes
comms join issue
2022-03-21 13:53:35 -04:00
0xdcarns d504e9e3cc comms join issue 2022-03-21 12:13:27 -04:00
dcarns 663445fd59
Merge pull request #933 from gravitl/feature_v0.12.1_port_forwarding
run iptables regularly
2022-03-21 11:54:27 -04:00
afeiszli 0ab78e4db2 run iptables regularly 2022-03-21 11:52:00 -04:00
dcarns 131edeb8ea
Merge pull request #932 from gravitl/feature_v0.12.1_versioning
Feature v0.12.1 versioning
2022-03-21 11:48:18 -04:00
afeiszli c26e7ec7ad readme edit 2022-03-21 11:45:56 -04:00