Commit graph

5444 commits

Author SHA1 Message Date
dependabot[bot] aafaa91af0
Bump github.com/txn2/txeh from 1.4.0 to 1.5.3 (#2464)
Bumps [github.com/txn2/txeh](https://github.com/txn2/txeh) from 1.4.0 to 1.5.3.
- [Release notes](https://github.com/txn2/txeh/releases)
- [Changelog](https://github.com/txn2/txeh/blob/master/.goreleaser.yml)
- [Commits](https://github.com/txn2/txeh/compare/v1.4.0...v1.5.3)

---
updated-dependencies:
- dependency-name: github.com/txn2/txeh
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-28 10:58:45 +05:30
Abhishek K ab73278597
add timestamp to turn signal (#2470) 2023-07-28 09:20:43 +05:30
Gabriel de Souza Seibel 7e8b66e03d
[NET-353] Solve race condition with "unique" ips (#2461)
* Use a lock for getting unique ips

* Make getting & setting unique ips atomic

* Remove some blank lines

* Set addressLock to &sync.Mutex on declaration
2023-07-27 11:34:15 +05:30
Gabriel de Souza Seibel 4bcb3d0196
[NET-398] Netmaker should indicate licensing/payment issues (#2465)
* Add more details to license validation errors

* Use err.Error() to get string to log

* Enhance error handling for license validation

* Use slog in validation
2023-07-27 11:33:46 +05:30
Abhishek K 645bc4c126
NET-447: Removed proxy related fields and code (#2459)
* remove related fields and code

* remover metrics collection from server code

* fw update struct

* add ext client flag to metrics data

* simply nat types

* rm proxy update from cli
2023-07-26 11:22:49 +05:30
Aceix f4a5520f86
Kwesi/net 326 bug client ac ls (#2462)
* feat(NET-326): return 200 [] instead of 500 when there are not network acls

* fix(NET-326): implement allow/deny client acl functions

* fix(NET-326): implement extclient acl update

* fix(NET-326): kame fixes, send peer updates
2023-07-26 10:32:54 +05:30
Christopher Blaha 30a557cc69
update develop to v0.20.5 (#2458) 2023-07-19 21:52:10 +05:30
Alex Feiszli dcbe51b3cc
release notes for v0.20.4 (#2456) 2023-07-18 10:49:27 -04:00
Alex Feiszli fcc150bfba
adding link to Netmaker SaaS (#2455) 2023-07-17 16:15:42 -04:00
Matthew R Kasun d1437d2980
Net 437 (#2454)
* add PR number to discord message

* fix copy/paste error
2023-07-14 21:05:54 +05:30
Abhishek K e6c6ec3b45
add egress routes info to peer update (#2452) 2023-07-14 18:49:52 +05:30
Abhishek K 9f59ab8b5c
Net 427 (#2451)
* send delete peer update always

* fix add/remove host api calls

* keep mq updates in a single go func

* handle IOT OS
2023-07-13 16:53:47 +05:30
Farukh Khan a40271d0e8
nm-quick netmaker edition upgrade fix (#2440)
nm-quick netmaker edition upgrade fix.
2023-07-13 08:24:25 +05:30
Christopher Blaha dd7e553472
Nm quick ee instructions update (#2441)
* updated instructions and fix exp env vars

* Tenant ID for clarity

* and

* changed account id to tenant id

* struct field to tenant & references to field

* fix local variables
2023-07-13 08:23:34 +05:30
dependabot[bot] fd58499312
Bump golang.org/x/oauth2 from 0.9.0 to 0.10.0 (#2446)
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-13 08:20:14 +05:30
dependabot[bot] 7564ba3fe3
Bump golang.org/x/crypto from 0.10.0 to 0.11.0 (#2447)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.10.0 to 0.11.0.
- [Commits](https://github.com/golang/crypto/compare/v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-13 08:17:27 +05:30
Matthew R Kasun e1e15a22e9
move branch test logic to devops (#2442) 2023-07-11 13:02:27 +05:30
dependabot[bot] de2248321a
Bump github.com/eclipse/paho.mqtt.golang from 1.4.2 to 1.4.3 (#2448)
Bumps [github.com/eclipse/paho.mqtt.golang](https://github.com/eclipse/paho.mqtt.golang) from 1.4.2 to 1.4.3.
- [Release notes](https://github.com/eclipse/paho.mqtt.golang/releases)
- [Commits](https://github.com/eclipse/paho.mqtt.golang/compare/v1.4.2...v1.4.3)

---
updated-dependencies:
- dependency-name: github.com/eclipse/paho.mqtt.golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 13:00:51 +05:30
Abhishek K 7121f370c6
NET-427: Peer Update fixes (#2445)
* send delete peer update always

* fix add/remove host api calls

* keep mq updates in a single go func
2023-07-11 13:00:09 +05:30
Christopher Blaha 184011f1f2
upgrade develop to v0.20.4 (#2444) 2023-07-10 18:21:08 +05:30
Aceix 68b8d7f600
fix(NET-117): force delete hosts and assoc nodes (#2432) 2023-07-10 10:03:59 +00:00
Aceix b212ae32d1
fix(NET-380): add option to force delete nodes (#2436) 2023-07-10 10:03:47 +00:00
Alex Feiszli cd4bd58251
Merge pull request #2434 from gravitl/v0.20.3_release_notes
release notes for 0.20.3
2023-07-03 10:46:43 -04:00
Alex Feiszli c94a6f6d6d
Update release.md 2023-07-03 10:41:29 -04:00
theguy951357 818fabde9b removed egress range twice bug. 2023-07-03 10:06:55 -04:00
Alex Feiszli 25bc108fd6
Merge pull request #2433 from gravitl/relay_bug
unset all relayed nodes when relay node is deleted
2023-06-30 08:23:29 -04:00
Abhishek Kondur 90c372b008 unset relay fields before node deletion 2023-06-30 17:16:37 +05:30
Abhishek Kondur 58091189e4 unset all relayed node when relay node is deleted 2023-06-30 17:13:31 +05:30
Alex Feiszli 70a8d0e857
Merge pull request #2428 from gravitl/NET-390-scale-latest
NET-390: scaling fixes, send peer update when listen port changes
2023-06-28 21:26:46 -04:00
Alex Feiszli f68158f263
Merge pull request #2429 from gravitl/remove-stun
remove stun refs
2023-06-28 21:26:31 -04:00
Matthew R Kasun d5ed8ecefb
Merge branch 'develop' into remove-stun 2023-06-28 17:41:38 -04:00
Matthew R Kasun ae1cd94fc8 remove stun refs 2023-06-28 17:39:40 -04:00
Abhishek Kondur ef6e66fcc4 acl mutex on ISAllowed 2023-06-29 01:57:00 +05:30
Abhishek Kondur 5015da3db9 rm commented code 2023-06-29 01:34:17 +05:30
Abhishek Kondur 68c7b20dd8 additional mutex locks for acls 2023-06-29 01:06:26 +05:30
Alex Feiszli 0046baee1a
Merge pull request #2396 from gravitl/remove-stun
remove stun
2023-06-28 14:59:20 -04:00
Abhishek Kondur 086ef25ac6 remove peer update context 2023-06-29 00:17:42 +05:30
Abhishek Kondur c53386d744 Merge branch 'develop' of https://github.com/gravitl/netmaker into NET-390-scale-latest 2023-06-28 23:42:18 +05:30
Alex Feiszli 5857ff45d4
Merge branch 'develop' into remove-stun 2023-06-28 14:09:46 -04:00
Alex Feiszli ae92499a32
Merge pull request #2427 from gravitl/NET-390-acl-panic-fix
NET-390: acl panic fix, DB cache
2023-06-28 13:59:05 -04:00
Alex Feiszli 2db6004029
Update docker-compose.yml
remove stun port
2023-06-28 13:54:40 -04:00
Alex Feiszli e4895ae4a1
Merge branch 'develop' into remove-stun 2023-06-28 13:53:46 -04:00
Abhishek Kondur 950a303f66 Merge branch 'develop' of https://github.com/gravitl/netmaker into NET-390-scale-latest 2023-06-28 23:10:00 +05:30
Alex Feiszli a7acb5dd4b
Merge pull request #2426 from gravitl/NET-390-endpointdetection-config-fix
remove endpoint detection from host model
2023-06-28 13:35:46 -04:00
Abhishek Kondur b64cef3447 fix merge conflicts 2023-06-28 22:12:30 +05:30
Abhishek Kondur eca3a16f9a broadcast port changes 2023-06-28 22:10:25 +05:30
Abhishek K 38454ece79
IOT-66: Single Peer update for IOT client (#2424)
* send peer update to IOT client only when it is relayed

* move node check

* send relay del update for iot client

* fix relay delete logic for iot

* set relay node to true for iot peer update

* add node addrs to peer update

* revert tag
2023-06-28 22:08:49 +05:30
Abhishek Kondur 1a67b4e49b Merge branch 'NET-390-endpointdetection-config-fix' of https://github.com/gravitl/netmaker into NET-390-scale-latest 2023-06-28 21:05:38 +05:30
Abhishek Kondur 4efbe6256f stop context cancel on peer updates 2023-06-28 21:05:21 +05:30
Abhishek K 230e062c84
GRA-1298: License check changes, free tier limits for saas (#2418)
* set free tier limits through config

* add host limit to config

* check for host limit on free tier

* fix license validation, replace node limit with hosts

* add hosts to telemetry data

* debug init

* validate license every 1hr

* hook manager, api to fetch server usage

* hook manager, server usage api

* encode json server usage api

* update ngork url

* update license validation endpoint

* avoid setting limits on eer

* adding hotfix

* correct users limits env var

* add comments to exported funcs

---------

Co-authored-by: afeiszli <alex.feiszli@gmail.com>
2023-06-28 20:33:06 +05:30