Matthew R Kasun
0c70c4daba
enforce unique names for ext client names ( #2476 )
...
* enforce unique names for ext client names
* only check for unique id on creation
* check for unique id if changed
2023-08-01 20:20:43 +05:30
Christopher Blaha
44bc2461c4
update develop to v0.20.6 ( #2485 )
2023-08-01 11:45:17 +05:30
Matthew R Kasun
114db708d6
ignore network parameter passed to delete ingress endpoint ( #2471 )
2023-07-28 21:16:35 +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
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
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
Abhishek Kondur
086ef25ac6
remove peer update context
2023-06-29 00:17:42 +05:30
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
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
Abhishek Kondur
cfdc15fc8d
fix integration tests
2023-06-27 22:15:36 +05:30
Abhishek Kondur
50e093b456
cache ext clients
2023-06-27 20:48:53 +05:30
Abhishek Kondur
27ac920069
cache acls
2023-06-27 16:12:06 +05:30
Abhishek Kondur
4071bb2bac
db cache nodes and hosts
2023-06-27 16:10:04 +05:30
Gabriel de Souza Seibel
11933fc07e
Don't expose user hashed password ( #2419 )
2023-06-26 10:53:00 +05:30
Christopher Blaha
2cc0da344f
update develop to v0.20.3 ( #2412 )
2023-06-21 19:45:44 +05:30
Abhishek K
6c2582651c
Net-137: Node relays ( #2401 )
...
* revert relays
* initial relay commit
* get relayed allowed ips
* add more relay validation checks, peer logic cleanup
* rm relayed nodes from relay node when relayed node is deleted
* fix egress updates for relayed nodes
* rm unused func
* remove debug logs
* avoid adding egress ranges on the relayed gw node
---------
Co-authored-by: Matthew R Kasun <mkasun@nusak.ca>
2023-06-19 12:26:14 -04:00
Tobias Cudnik
e286adda77
NET-291 PUT /api/networks/{networkname} ( #2380 )
...
* PUT /api/networks/{networkname}
* review
2023-06-08 17:22:35 -04:00
Abhishek K
78e26c4673
add nodes to pull response ( #2371 )
2023-06-06 22:16:21 -04:00
Christopher Blaha
c6b1ec494c
update version to 0.20.2 for develop ( #2363 )
2023-06-06 13:46:46 -04:00
Matthew R Kasun
9ad6d63b45
version and release note updates ( #2358 )
2023-06-01 09:29:29 -04:00
Matthew R Kasun
9af380fd3b
remove node check from getHosts ( #2359 )
2023-05-31 17:06:14 -04:00
Tobias Cudnik
f62eab1d18
Ignore stale nodes instead of 500 ( #2357 )
2023-05-31 19:19:12 +05:30
Tobias Cudnik
723375b334
NET-152 enrollment keys for non admins ( #2346 )
...
* return 401 instead of 403
* fixed http.StatusForbidden
* Tagged build version (temp)
* Unauthorized_Err when applicable
* untagged version
* fixed PUT /api/users/networks/user1
* - expired token redirs to login
- added `/api/enrollment_keys` for non-admins
- unit test for enrollment keys for non-admins
* handle user perms in `/hosts`
* removed debug
* misc
* - support masteradmin
- return hosts with partial access
* added `ismaster` to middleware
2023-05-31 13:11:54 +05:30
Aceix
5271a2084b
fix error with user update ( #2348 )
...
* fix: user update
* fix: user update
2023-05-30 13:07:47 +00:00
Tobias Cudnik
3a4363c890
NET-163: Return 403 instead of 401 ( #2326 )
...
* return 401 instead of 403
* fixed http.StatusForbidden
* Tagged build version (temp)
* Unauthorized_Err when applicable
* untagged version
2023-05-25 09:40:39 -04:00
Tobias Cudnik
615f058b3f
NET-53 Fixed user update returns old data ( #2312 )
...
* fixed gids in user update
* review comments
* review comments
* review comments
2023-05-22 17:57:32 -04:00
Matthew R Kasun
242745a57a
versions ( #2302 )
2023-05-18 08:08:44 -04:00
Matthew R Kasun
78640f1342
Extclient NET-63x ( #2286 )
...
* model changes
* additional fields for extclient create
* add DNS to extclient config
* extclient name checks
* update extclient
* nmctl extclient
* final tweaks
* review comments
* add extclientdns to node on ingress creation
* fix to add ingress dns to api (#2296 )
---------
Co-authored-by: Aceix <aceixsmartX@gmail.com>
2023-05-17 10:58:03 -04:00
Matthew R Kasun
68ff45bca4
send host update when deleting relay
2023-05-09 14:55:49 -04:00
Alex Feiszli
89320e6124
Merge pull request #2256 from gravitl/NET-79
...
Net 79
2023-05-09 09:14:29 -04:00
Alex Feiszli
82f0ac492a
Merge pull request #2262 from gravitl/NET-80
...
return {} if no records found for acls/metrics
2023-05-09 09:13:30 -04:00
Matthew R Kasun
f675be5166
Merge branch 'develop' into NET-79
2023-05-04 16:56:24 -04:00
Matthew R Kasun
3e0d7720c8
return {} if no records found for acls/metrics
2023-05-04 16:50:03 -04:00
Alex Feiszli
146f50a1ea
Merge pull request #2236 from gravitl/v0.18.8_develop
...
update develop to v0.19.0
2023-05-03 15:49:13 -04:00
Matthew R Kasun
2750c6f914
free tier limit exceeded: status code now 403
2023-05-03 10:07:47 -04:00
theguy951357
ee27f22478
update to v0.19.0 instead
2023-05-02 22:18:05 -04:00
Alex Feiszli
8688e29db9
Merge pull request #2246 from gravitl/NET-35
...
NET-35: retrieve server public traffic key on pull
2023-05-02 17:01:21 -04:00
Abhishek Kondur
d12e4ecabf
set server traffic pub key in pull resp
2023-04-29 17:23:57 +05:30
Abhishek Kondur
423abf0fe4
add use_turn option to config,check if server is using turn
2023-04-28 14:06:28 +05:30
Abhishek Kondur
75df40be9f
fix conflict change
2023-04-26 13:37:07 +04:00
Abhishek Kondur
9f5239ec79
re-register host with turn
2023-04-26 13:12:16 +04:00
Abhishek Kondur
d0646392b3
merge conflicts resolved
2023-04-25 11:15:35 +04:00
Abhishek Kondur
9e0038f39c
merge conflicts resolved
2023-04-25 11:12:22 +04:00