Pascal Fischer
0aeac50803
Merge branch 'peers-get-account-refactoring' into refactor/optimize-peer-expiration
2025-01-17 14:53:26 +01:00
Pascal Fischer
f1ee844446
fix import
2025-01-17 13:39:31 +01:00
Pascal Fischer
5acfe00de1
Merge branch 'main' into peers-get-account-refactoring
...
# Conflicts:
# management/server/peer.go
2025-01-17 13:38:16 +01:00
Pascal Fischer
3e836db1d1
[management] add duration logs to Sync ( #3203 )
v0.36.2
2025-01-17 12:26:44 +01:00
Pascal Fischer
232c9788b9
revert: add some logs
2025-01-17 12:04:06 +01:00
Bethuel Mmbaga
c01874e9ce
[management] Fix network migration issue in postgres ( #3198 )
...
Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com >
2025-01-17 14:00:46 +03:00
Viktor Liu
1b2517ea20
[relay] Don't start relay quic listener on invalid TLS config ( #3202 )
2025-01-17 11:39:08 +01:00
Pascal Fischer
93c8f9476c
add metrics
2025-01-17 11:31:26 +01:00
Pascal Fischer
c6d16724fb
fix key check
2025-01-17 02:24:40 +01:00
Pascal Fischer
3556d6a1fc
disable suite test
2025-01-17 02:15:59 +01:00
Pascal Fischer
96e9c3683c
disable suite test
2025-01-17 02:07:23 +01:00
Pascal Fischer
a4a5a2eb23
remove test changes
2025-01-17 01:50:04 +01:00
Pascal Fischer
a78a313fcf
disable suite test
2025-01-17 01:37:40 +01:00
Pascal Fischer
aa34dda05a
run cancel in defer
2025-01-17 01:11:09 +01:00
Pascal Fischer
eeb688cb5e
cleanup after sync
2025-01-17 01:08:29 +01:00
Pascal Fischer
f78b629f40
cleanup after sync
2025-01-17 01:05:26 +01:00
Pascal Fischer
5c8be070f0
rename peers in test
2025-01-17 00:59:52 +01:00
Pascal Fischer
833fec0029
add logs
2025-01-17 00:35:58 +01:00
Pascal Fischer
66f003d00f
temporarily disable old test suite test
2025-01-17 00:24:49 +01:00
Pascal Fischer
14a3461e86
use bool instead of int
2025-01-16 23:30:24 +01:00
Pascal Fischer
b853c87e36
fix scheduler mock
2025-01-16 23:00:47 +01:00
Pascal Fischer
5d3832c597
update total amount of test peers
2025-01-16 22:46:25 +01:00
Pascal Fischer
1fd6583e5f
update total amount of test peers
2025-01-16 22:34:04 +01:00
Viktor Liu
3e9f0d57ac
[client] Fix windows info out of bounds panic ( #3196 )
v0.36.1
2025-01-16 22:19:32 +01:00
Pascal Fischer
d0ab68c599
simplify isRunning
2025-01-16 21:54:29 +01:00
Pascal Fischer
d45255b1b7
limit peer inactivity
2025-01-16 21:36:26 +01:00
Pascal Fischer
2af95886f8
reformat
2025-01-16 21:33:32 +01:00
Pascal Fischer
97ff9a3e5d
[management] Improve group peer/resource counting ( #3192 )
2025-01-16 21:32:12 +01:00
Pascal Fischer
b6a558b523
check if job is running
2025-01-16 21:30:56 +01:00
Pascal Fischer
f597379be5
fix store test
2025-01-16 21:01:20 +01:00
Pascal Fischer
265ded0508
don't reschedule expiration on connection and disconnect and run expiration even if peer is disconnected
2025-01-16 20:36:13 +01:00
bcmmbaga
d962f7fd27
Remove context in db calls
...
Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com >
2025-01-16 20:53:05 +03:00
bcmmbaga
30ae3aa030
Skip user check for system initiated peer deletion
...
Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com >
2025-01-16 20:52:41 +03:00
Zoltan Papp
481bbe8513
[relay] Set InitialPacketSize to the maximum allowable value ( #3188 )
...
Fixes an issue on macOS where the server throws errors with default settings:
failed to write transport message to: DATAGRAM frame too large.
Further investigation is required to optimize MTU-related values.
v0.36.0
2025-01-16 16:19:07 +01:00
Viktor Liu
bc7b2c6ba3
[client] Report client system flags to management server on login ( #3187 )
2025-01-16 13:58:00 +01:00
Pascal Fischer
c6f7a299a9
[management] fix groups delete and resource create and update error response ( #3189 )
2025-01-16 13:39:15 +01:00
Viktor Liu
992a6c79b4
[client] Flush macOS DNS cache after changes ( #3185 )
2025-01-15 23:26:31 +01:00
Viktor Liu
78795a4a73
[client] Add block lan access flag for routers ( #3171 )
2025-01-15 17:39:47 +01:00
Viktor Liu
5a82477d48
[client] Remove outbound chains ( #3157 )
2025-01-15 16:57:41 +01:00
Zoltan Papp
1ffa519387
[client,relay] Add QUIC support ( #2962 )
2025-01-15 16:28:19 +01:00
Edouard Vanbelle
e4a25b6a60
[client-android] add serial, product model, product manufacturer ( #2958 )
...
Signed-off-by: Edouard Vanbelle <edouard.vanbelle@shadow.tech >
2025-01-15 16:02:16 +01:00
Zoltan Papp
6a6b527f24
[relay] Code cleaning ( #3074 )
...
- Keep message byte processing in message.go file
- Add new unit tests
2025-01-15 16:01:08 +01:00
Pascal Fischer
aeb6e53e51
remove mysql from api benchmark tests
2025-01-15 15:37:11 +01:00
Viktor Liu
b34887a920
[client] Fix a panic on shutdown if dns host manager failed to initialize ( #3182 )
2025-01-15 13:14:46 +01:00
Viktor Liu
b9efda3ce8
[client] Disable DNS host manager for netstack mode ( #3183 )
2025-01-15 13:14:13 +01:00
James Hilliard
516de93627
[client] Fix gvisor.dev/gvisor commit ( #3179 )
...
Commit b8a429915ff1 was replaced with db3d49b921f9 in gvisor project.
2025-01-15 10:54:51 +01:00
bcmmbaga
4afaabb33c
Use peers and groups map for peers validation
...
Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com >
2025-01-15 12:50:25 +03:00
bcmmbaga
6367fe4f74
go mod tidy
...
Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com >
2025-01-15 11:52:50 +03:00
bcmmbaga
22798ada25
Fix tests
...
Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com >
2025-01-15 11:51:08 +03:00
bcmmbaga
2fb399aa7d
Refactor GetValidatedPeers
...
Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com >
2025-01-15 11:49:40 +03:00