Commit graph

7040 commits

Author SHA1 Message Date
Abhishek K
f028a6374d
Merge pull request #3332 from gravitl/master
Master
2025-02-17 18:10:19 +04:00
Abhishek K
06bd376603
Merge pull request #3331 from gravitl/release-v0.30.0
clone node tags
2025-02-17 18:09:36 +04:00
abhishek9686
252de61aa7 clone node tags 2025-02-17 17:55:53 +04:00
abhishek9686
9812b5c428 remove deleted users from acl policy 2025-02-14 21:05:31 +04:00
abhishek9686
ed1f48a4b4 remove node id from acls when deleted 2025-02-14 19:59:58 +04:00
abhishek9686
41fa0b1bce resolve merge conflicts 2025-02-14 18:24:56 +04:00
Abhishek K
689b9b6b52
NET-1941: failover signaling optimized, new endpoint for metrics peer info (#3322)
* optimise acl cache with network map

* fix mutex clash

* fix acl mutex

* add new endpoint for metrics peer info

* fix static check

* add new endpoint for metrics peer info

* fix host peer info api params

* cache failover data

* add json tag

* avoid duplicate calls to failover

* add failover check ctx

* add failover check ctx

* fix failover debug log

* optimise failover operations

* remove debug logs

* rm unused model

* rm unused model
2025-02-14 16:06:26 +04:00
Abhishek K
fb02979697
Merge pull request #3330 from gravitl/master
Master
2025-02-14 09:41:34 +04:00
Abhishek K
c57862021d
Merge pull request #3329 from gravitl/release-v0.30.0
v0.30.0: remove debug log, fix concurrent map write issue
2025-02-14 09:41:05 +04:00
abhishek9686
bee1f4dda4 remove debug log, fix concurrent map write issue 2025-02-13 22:53:05 +04:00
abhishek9686
28af1156e6 fix static node id policy 2025-02-09 12:26:46 +04:00
abhishek9686
fabc9f2920 optimise firewall rules 2025-02-08 20:57:09 +04:00
abhishek9686
61bf479e50 upsert on color update 2025-02-07 17:23:53 +04:00
Abhishek K
5624bb7eb8
Update bug-report.yml 2025-02-07 12:27:57 +04:00
Abhishek K
91045c63ef
Update bug-report.yml 2025-02-07 11:49:44 +04:00
abhishek9686
9cf2ad4fc5 add color coding to tags 2025-02-06 15:14:15 +04:00
Abhishek K
491bbda7ce
Merge pull request #3317 from gravitl/revert-3312-NET-1940
Revert "NET-1940: add stun to server stack"
2025-02-06 13:25:52 +04:00
Abhishek K
7b6e544cdc
Revert "add stun to server stack (#3312)"
This reverts commit 39006debba.
2025-02-06 13:25:31 +04:00
abhishek9686
3bdb7fb5e3 fix src policy check 2025-02-05 22:39:13 +04:00
abhishek9686
a9c14c4643 Merge branch 'develop' of https://github.com/gravitl/netmaker into NET-1911 2025-02-04 19:32:25 +04:00
Abhishek K
64bc351564
Merge pull request #3315 from gravitl/master
Master
2025-02-04 19:32:14 +04:00
Abhishek K
a80e282882
Merge pull request #3314 from gravitl/release-v0.30.0
Release v0.30.0
2025-02-04 19:31:32 +04:00
Abhishek K
7b04861476
Merge pull request #3313 from gravitl/NET-1902
don't override acl rules for multi-net host
2025-02-04 17:09:53 +04:00
abhishek9686
01e7ccf731 don't override acl rules for multi-net host 2025-02-04 15:34:03 +04:00
Abhishek K
39006debba
add stun to server stack (#3312) 2025-02-04 09:01:36 +04:00
Abhishek K
e13bf2c0eb
NET-1923: Add Metric Port to server config (#3306)
* set default metrics port 8889

* set default metrics port 51821

* add metrics port to server config

* bind caddy only on tcp

* add var for pulling files

* add new line

* update peer update model

* check if port is not zero

* set replace peer to false on pull

* do not replace peers on failover sync

* remove debug log

* add old peer update fields for backwards compatibility

* add old json tag

* add debug log in caller trace func
2025-02-04 08:44:24 +04:00
abhishek9686
46d79ee512 support static nodes in standalone device policies 2025-02-03 16:02:42 +04:00
dependabot[bot]
04fe56db4f
Bump github.com/go-playground/validator/v10 from 10.23.0 to 10.24.0 (#3296)
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.23.0 to 10.24.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.23.0...v10.24.0)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  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>
2025-02-03 15:20:36 +04:00
dependabot[bot]
2668fcf1e5
Bump alpine from 3.21.0 to 3.21.2 (#3297)
Bumps alpine from 3.21.0 to 3.21.2.

---
updated-dependencies:
- dependency-name: alpine
  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>
2025-02-03 15:19:58 +04:00
Abhishek K
4431dc99a7
NET-1933: option to force destroy network (#3311)
* option to force destroy network

* fix network tests

* fix network defaults func

* fix network destroy action

* delete network if node count is zero

* push peer update network deletion

* send node update
2025-02-03 15:19:44 +04:00
abhishek9686
9a40717b5b fix single device policies 2025-02-01 16:54:43 +04:00
abhishek9686
d2d5658a01 Merge branch 'develop' of https://github.com/gravitl/netmaker into NET-1911 2025-01-31 20:26:24 +04:00
abhishek9686
68b257b2ec update default acl field 2025-01-30 15:55:41 +04:00
abhishek9686
2c720d022b fix user acl device policy 2025-01-29 11:07:44 +05:30
Vishal Dalwadi
cec48be354
NET-1906: Add endpoints for Sync All Hosts and Upgrade All Hosts. (#3302)
* feat(go): add endpoint to sync all hosts.

* feat(go): add endpoint to upgrade all hosts.

* feat(go): allow force upgrade of hosts.

* fix(go): config yaml tag.
2025-01-28 11:33:38 +05:30
Abhishek K
8297642b90
NET-1914: add gw apis, move relays into CE (#3309)
* add gw apis, move relays into CE

* set gw field on relay and ingress creation

* add gw handlers to relay and ingress apis

* if node is inetgw and gw add dns

* remove pro check on relays

* fetch node before updating
2025-01-28 11:28:31 +05:30
dependabot[bot]
6509da9b61
Bump dawidd6/action-download-artifact from 7 to 8 (#3310)
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 7 to 8.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/v7...v8)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-28 11:27:09 +05:30
Abhishek K
c02ec193db
NET-1920: Add disconnected node status (#3300)
* create peer ack table

* add restricted status

* add disconnected status
2025-01-28 11:26:12 +05:30
abhishek9686
9ba818ffa9 add node acl rules to fw update 2025-01-27 14:26:03 +05:30
abhishek9686
1db150c65b fix node id acl validation 2025-01-27 12:25:35 +05:30
abhishek9686
0e3e9162c7 Merge branch 'develop' of https://github.com/gravitl/netmaker into NET-1911 2025-01-26 20:00:17 +05:30
Aceix
a899544104
refactor: allow friendlier tag names (#3304)
- update tag name validation to allow spaces and numbers
2025-01-22 15:00:13 +05:30
Abhishek K
7029b0318b
Merge pull request #3308 from gravitl/master
Master
2025-01-21 09:29:22 +05:30
Abhishek K
648758cfe5
Merge pull request #3307 from gravitl/release-v0.30.0
add config to check for reset peer udpate
2025-01-21 09:28:29 +05:30
abhishek9686
557270acdb add config to check for reset peer udpate 2025-01-20 17:56:33 +05:30
abhishek9686
8de1f4f6ca single node acl group 2025-01-20 17:43:13 +05:30
abhishek9686
021023d999 allow single devices in the acl policies 2025-01-17 15:58:40 +05:30
Abhishek K
1bc60df02c
Merge pull request #3305 from gravitl/master
Master
2025-01-17 12:21:49 +05:30
Abhishek K
77d5705928
Update docker-compose.yml 2025-01-16 21:09:21 +05:30
Abhishek K
cdfcdf40ca
Update README.md 2025-01-16 20:56:20 +05:30