braginini
359b2a13a7
Make test compile
2022-12-22 11:54:26 +01:00
braginini
a32bc441d2
Add group events
2022-12-21 18:55:14 +01:00
braginini
ef171ebdd4
Add setup key events
2022-12-21 18:43:10 +01:00
braginini
f485b654b4
Add more events
2022-12-20 18:52:18 +01:00
braginini
ca291a0fd6
Remove duplicate UserJoined events from the response
2022-12-13 15:50:45 +01:00
braginini
3d6b0e3638
Add user invite event
2022-12-12 14:05:11 +01:00
braginini
c50d07b83f
Finalize events API
2022-12-12 09:10:55 +01:00
braginini
4440ad1271
Fetch Activity events
2022-12-11 21:16:47 +01:00
braginini
f684baa665
Add Events HTTP API
2022-12-11 20:01:17 +01:00
Maycon Santos
739afea4b4
Filter routes to sync from same HA group ( #618 )
...
An additional check and filter for routes that are part
of the same HA group where the peer is a routing peer
2022-12-11 19:35:43 +01:00
Maycon Santos
94803417cf
Generate validation certificate from mandatory JWK fields ( #614 )
...
When there is no X5c we will use N and E fields of
a JWK to generate the public RSA and a Pem certificate
2022-12-11 19:35:43 +01:00
Maycon Santos
a212686193
Add network routes distribution groups ( #606 )
...
Updated tests, API, and account manager methods
Sync routes to peers in the distribution groups
Added store upgrade by adding the All group to routes that don't have them
2022-12-11 19:35:43 +01:00
braginini
e741775d4d
Add join user operation
2022-12-07 12:04:43 +01:00
braginini
04ea300043
Add peer operation
2022-12-07 11:06:46 +01:00
braginini
e75c25b10d
Test event ordering in SQLite storage
2022-12-07 10:37:49 +01:00
braginini
e81f4af3e8
Remove unused event store methods
2022-12-07 10:33:32 +01:00
braginini
c09c3a70ab
Remove unused event store methods
2022-12-07 10:32:38 +01:00
braginini
0e3bbf0e55
Fetch events with offset limit
2022-12-07 10:31:05 +01:00
braginini
0f4d132b93
Fetch events with offset limit
2022-12-07 10:30:59 +01:00
braginini
ef97e0840c
Fix SQLiteStore test
2022-12-06 16:59:35 +01:00
braginini
d98a8e0645
Fix lint issue
2022-12-06 16:58:08 +01:00
braginini
1c1e639445
Add basic Save and Get operations to the event store
2022-12-06 16:17:01 +01:00
braginini
65afc9a884
Add basic Save and Get operations to the event store
2022-12-06 16:08:21 +01:00
braginini
16e4d109ff
Rename audit to event
2022-12-06 13:33:10 +01:00
braginini
0f68edbefb
Initial event store draft
2022-12-05 15:42:23 +01:00
Misha Bragin
d1b7c23b19
Add SetupKey usage limit ( #605 )
...
Add a usage_limit parameter to the API.
This limits the number of times a setup key
can be used.
usage_limit == 0 indicates the the usage is inlimited.
2022-12-05 13:09:59 +01:00
Maycon Santos
20a73e3e14
Sync peers FQDN ( #584 )
...
Use stdout and stderr log path only if on Linux and attempt to create the path
Update status system with FQDN fields and
status command to display the domain names of remote and local peers
Set some DNS logs to tracing
update readme file
2022-11-26 13:29:50 +01:00
Misha Bragin
fcf7786a85
Disable route when removing peer ( #582 )
2022-11-25 18:11:07 +01:00
Misha Bragin
53c532bbb4
Fix interactive SSO login when creating account from a device ( #575 )
2022-11-22 12:37:36 +01:00
Misha Bragin
8b0a1bbae0
Display peers of a user that it has access to ( #571 )
...
If a user has a non-admin role, display all peers
that user's peers have access to when calling
/peers endpoint of the HTTP API.
2022-11-21 17:45:14 +01:00
Maycon Santos
d63a9ce4a7
Return peer's FQDN via API ( #567 )
...
Added a temp method to retrieve the dns domain
2022-11-21 11:14:42 +01:00
Maycon Santos
9cb66bdb5d
Update last run time and active count ( #568 )
...
* Update last run time and active count
We will collect the active peer min and max versions
* Get UI client usage
2022-11-18 16:35:13 +01:00
Misha Bragin
509d23c7cf
Replace gRPC errors in business logic with internal ones ( #558 )
2022-11-11 20:36:45 +01:00
Misha Bragin
e19d5dca7f
Refactor AddPeer to ensure consistency ( #557 )
2022-11-08 16:14:36 +01:00
Maycon Santos
157137e4ad
Use a single way to generate network map ( #550 )
2022-11-08 11:38:40 +01:00
Misha Bragin
f37b43a542
Save Peer Status separately in the FileStore ( #554 )
...
Due to peer reconnects when restarting the Management service,
there are lots of SaveStore operations to update peer status.
Store.SavePeerStatus stores peer status separately and the
FileStore implementation stores it in memory.
2022-11-08 10:46:12 +01:00
Maycon Santos
7e262572a4
Move dns label generation to store ( #552 )
2022-11-08 10:31:34 +01:00
Misha Bragin
a768a0aa8a
Always lock the store when getting an account ( #551 )
2022-11-07 19:09:22 +01:00
Misha Bragin
ed7ac81027
Introduce locking on the account level ( #548 )
2022-11-07 17:52:23 +01:00
Maycon Santos
1f845f466c
Add account copy test ( #549 )
2022-11-07 17:37:28 +01:00
Maycon Santos
270f0e4ce8
Feature/dns protocol ( #543 )
...
Added DNS update protocol message
Added sync to clients
Update nameserver API with new fields
Added default NS groups
Added new dns-name flag for the management service append to peer DNS label
2022-11-07 15:38:21 +01:00
Misha Bragin
d0c6d88971
Simplified Store Interface ( #545 )
...
This PR simplifies Store and FileStore
by keeping just the Get and Save account methods.
The AccountManager operates mostly around
a single account, so it makes sense to fetch
the whole account object from the store.
2022-11-07 12:10:56 +01:00
Misha Bragin
4321b71984
Hide content based on user role ( #541 )
2022-11-05 10:24:50 +01:00
Maycon Santos
e8d82c1bd3
Feature/dns-server ( #537 )
...
Adding DNS server for client
Updated the API with new fields
Added custom zone object for peer's DNS resolution
2022-11-03 18:39:37 +01:00
Misha Bragin
6aa7a2c5e1
Hide setup key from non-admin users ( #539 )
2022-11-03 17:02:31 +01:00
Maycon Santos
9a4c9aa286
Add active peers count per OS ( #526 )
...
* Add active peers count per OS
* increase iface tests timeout
2022-10-26 14:48:40 +02:00
Misha Bragin
b41f36fccd
Add gRPC metrics ( #522 )
2022-10-22 15:06:54 +02:00
Misha Bragin
d2cde4a040
Add IdP metrics ( #521 )
2022-10-22 13:29:39 +02:00
Misha Bragin
84879a356b
Extract app metrics to a separate struct ( #520 )
2022-10-22 11:50:21 +02:00
Misha Bragin
ed2214f9a9
Add HTTP request/response totals to metrics ( #519 )
2022-10-22 10:07:13 +02:00