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
b64cef3447
fix merge conflicts
2023-06-28 22:12:30 +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 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
243cc74490
remove endpoint detection from host model
2023-06-27 22:36:24 +05:30
Abhishek Kondur
27ac920069
cache acls
2023-06-27 16:12:06 +05:30
Abhishek Kondur
307203105d
unexport cache funcs
2023-06-27 16:10:44 +05:30
Abhishek Kondur
4071bb2bac
db cache nodes and hosts
2023-06-27 16:10:04 +05:30
Tobias Cudnik
94ca72e370
NET-173 Sync EndpointDetection config ( #2374 )
...
* adding serverconfig logic and variable to hosts
* - sync EndpointDetection on peerupdate
- add EndpointDetection to env config
* - endpoint detection always comes from the server
- fixed ENDPOINT_DETECTION -> NETCLIENT_ENDPOINT_DETECTION
---------
Co-authored-by: afeiszli <alex.feiszli@gmail.com >
2023-06-13 16:33:53 -04:00
Abhishek K
47edf65b1f
NET-186: Wg public listen port ( #2344 )
...
* fetch public listen of wg if present
* check if wg pub listen port has been changed on host update
* wg public port to host api model for visibility
* rm comment
2023-05-31 08:21:02 +05:30
Abhishek Kondur
64c0c861f4
check for use turn config
2023-04-28 14:14:24 +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
9e0038f39c
merge conflicts resolved
2023-04-25 11:12:22 +04:00
Matthew R Kasun
c510846444
Merge branch 'develop' into GRA-1529-key-update
2023-04-19 13:16:09 -04:00
dcarns
700147e3ca
Merge pull request #2171 from walkerwmanuel/GRA-1336-sort-before-sending
...
GRA-1336: sort before sending
2023-04-19 13:08:08 -04:00
Matthew R Kasun
754ab44a48
Merge remote-tracking branch 'origin/develop' into GRA-1529-key-update
2023-04-19 09:48:04 -04:00
dcarns
3d82df3bc6
Merge pull request #2133 from gravitl/refactor_auto_update
...
Add host level auto update setting with default true
2023-04-19 09:40:56 -04:00
Abhishek Kondur
b4cfaafbec
register host with turn on creation
2023-04-19 08:04:49 +04:00
Matthew R Kasun
cd89b4abef
remove old peer when publickey updated
2023-04-17 18:20:09 -04:00
Abhishek Kondur
4f95e9f562
add basic auth to turn server apis, handle host registration on server
2023-04-17 15:33:05 +04:00
Abhishek Kondur
d4ceabd4b3
register host through server, add basic auth to turn apis
2023-04-17 11:21:28 +04:00
Abhishek Kondur
f54ae9ae8f
turnserver registration apis
2023-04-06 08:50:34 +04:00
Abhishek Kondur
d96360565b
api handlers to register and unregister host from turn,added dockerfile
2023-04-05 13:02:14 +04:00
Abhishek Kondur
b8904d1f3c
Merge branch 'develop' of https://github.com/gravitl/netmaker into GRA-1494
2023-04-04 18:32:55 +04:00
walkerwmanuel
9e56135424
Added user sorting and fixed error
2023-04-03 14:36:38 -04:00
0xdcarns
2da7d7242f
remove debug items
2023-03-30 17:33:55 -04:00
0xdcarns
fa40a5929d
added turn ep + nat type to host model
2023-03-30 17:23:21 -04:00
walkerwmanuel
09872e9ec5
added sort logic
2023-03-30 16:04:12 -04:00
Abhishek Kondur
cafdfa70c1
turn server poc
2023-03-22 11:00:03 +04:00
Anish Mukherjee
4405038d67
add server setting for auto update
2023-03-20 18:10:52 +05:30
Anish Mukherjee
6b684d95a4
add host auto updated setting with default true
2023-03-20 17:47:41 +05:30
Matthew R Kasun
b3cfbe7266
default proxy mode
2023-03-13 14:39:13 -04:00
0xdcarns
ee9df20b05
changed register response, simplified host port check dereference
2023-03-10 11:43:26 -05:00
0xdcarns
91373953e7
added ability to force delete if node is requested twice
2023-03-03 11:11:02 -05:00
0xdcarns
9a7407f635
updated logic to add new nodes
2023-02-27 19:18:41 -05:00
0xdcarns
977c9c8c19
send peer update after request + fix pass update issue
2023-02-27 12:32:07 -05:00
0xdcarns
6b30cef968
handled node additions in more elegant manner
2023-02-17 11:32:02 -05:00
dcarns
73fbdfea0d
Merge pull request #2026 from gravitl/gra-1172-zombies
...
updates to zombie processing
2023-02-14 14:50:08 -05:00
0xdcarns
6643c9a401
adapt createNetwork + default host addition
2023-02-13 15:17:13 -05:00
Matthew R Kasun
c3e253fb79
updates to zombie processing
2023-02-13 14:52:39 -05:00
Abhishek Kondur
f19b33a84c
add public port to api model
2023-01-26 14:01:46 +04:00
Abhishek Kondur
18ddb3d5ca
update host name on join
2023-01-24 12:10:03 +04:00
Matthew R Kasun
cee245856b
return 'currently unimplemented' on egress endpoints
...
updated logic in logic.CheckHostPorts to fix failing test
2023-01-23 15:24:47 -05:00
dcarns
5a5613dd6d
Merge pull request #1957 from gravitl/gra-991-local-connection
...
Gra 991 local connection
2023-01-22 20:08:54 -05:00
Matthew R Kasun
5423a458c3
review comments
2023-01-20 13:29:19 -05:00
Matthew R Kasun
dc58c2c637
more efficient check for free ports
2023-01-20 11:15:06 -05:00
Matthew R Kasun
d0af730042
review comments
2023-01-20 06:18:23 -05:00
Matthew R Kasun
62cd313bd6
test/update ports separately
2023-01-20 06:18:23 -05:00
Matthew R Kasun
e314f6fb9e
skip self when interating through hosts
2023-01-20 06:18:23 -05:00
Matthew R Kasun
74750ca045
review comments
2023-01-20 06:18:23 -05:00