Zoltán Papp
8568fbffdd
Fix test
2024-07-24 18:01:43 +02:00
Zoltán Papp
20eb1f50e3
Fix loop close
2024-07-23 23:04:38 +02:00
Zoltán Papp
e9e3b8ba10
Check wg handshake status on worker relay
2024-07-23 22:43:20 +02:00
Zoltán Papp
2576221315
Fix isConnected logic in reconnection loop
2024-07-22 15:51:44 +02:00
Zoltán Papp
e10bc658f5
Fix reconnect loop
2024-07-19 12:00:19 +02:00
Zoltán Papp
787c900342
Revert break
2024-07-18 14:45:36 +02:00
Zoltán Papp
f247a7be46
Fix reference check
2024-07-18 14:21:32 +02:00
Zoltán Papp
f3282bea80
- add ip to log
...
- remove unused timestamp from log
2024-07-18 13:11:27 +02:00
Zoltán Papp
233a7b9802
Remove env var for debug purpose
2024-07-18 10:41:14 +02:00
Zoltán Papp
7162e0a2ac
- remove direct field from status
...
- add randomisation factor for reconnection
- fix rosenpass status
2024-07-17 16:26:41 +02:00
Zoltán Papp
4ea55bfe3c
- Implement remote addr for conn
...
- Eliminate cached offeranswer arguments
- Fix exponent reset in conn reconnect loop
- Fix on disconnected callback for permanent server
- Add peer relay status for status details command
2024-07-16 11:02:32 +02:00
Zoltán Papp
add4e9f4e4
Merge branch 'feature/relay-status' into feature/relay-integration
2024-07-12 11:41:21 +02:00
Zoltán Papp
807b830663
Fix backoff ticker
2024-07-11 15:46:07 +02:00
Zoltán Papp
b5c9af9e9c
Add comment
2024-07-11 15:37:34 +02:00
Zoltán Papp
30331e8f62
Change random wait time
2024-07-11 15:37:07 +02:00
Zoltán Papp
ea93a5edd3
Add reconnect logic
2024-07-11 14:37:22 +02:00
Zoltán Papp
83b83ccfd2
Add relay server address for the status
2024-07-10 22:17:54 +02:00
Zoltán Papp
06afe64aff
Fix deadlock
2024-07-10 18:34:04 +02:00
Zoltán Papp
7acaef1152
Try to fix wgproxy reference
2024-07-10 16:51:38 +02:00
Zoltán Papp
7ef191903e
Fix logging in handshaker
2024-07-09 16:06:36 +02:00
Zoltán Papp
2803e1669b
Remove meaningless tests
2024-07-08 17:24:49 +02:00
Zoltán Papp
48a2f6e69d
Mock wginterface
2024-07-08 16:12:08 +02:00
Zoltan Papp
b3715b5fad
- Revert typos in turnCfg string
...
- merge main
2024-07-08 15:05:29 +02:00
Zoltan Papp
15a7b7629b
Add exposed address
2024-07-02 11:57:17 +02:00
Zoltán Papp
0a59f12012
Env var to force relay usage
2024-06-26 15:25:32 +02:00
Zoltán Papp
0a67f5be1a
Fix logic
2024-06-25 15:13:08 +02:00
Zoltán Papp
54dc78aab8
Remove debug log
2024-06-24 15:30:25 +02:00
Zoltan Papp
25723e9b07
Do not use eBPF proxy in case of USP mode ( #2180 )
2024-06-22 15:33:10 +02:00
Zoltán Papp
69d8d5aa86
Fix the active conn type logic
2024-06-21 19:13:41 +02:00
Zoltán Papp
7581bbd925
Handle on offer listener in handshaker
2024-06-21 15:35:15 +02:00
Zoltán Papp
4d67d72785
Use permanent credentials
2024-06-21 15:02:54 +02:00
Zoltán Papp
4a08f1a1e9
Refactor handshaker loop
2024-06-21 12:35:28 +02:00
Zoltán Papp
6801dcb3f6
Fallback to relay conn
2024-06-20 18:17:30 +02:00
Zoltán Papp
c7db2c0524
Moc signal message support
2024-06-19 18:40:49 +02:00
Zoltán Papp
f7e6aa9b8f
Change logging logic
2024-06-19 18:16:43 +02:00
Zoltán Papp
0261e15aad
Extend the cmd with argument handling
...
- add cobra to relay server
- add logger instance for handshaker
2024-06-19 17:40:16 +02:00
Viktor Liu
61bc092458
Process routes before peers ( #2105 )
2024-06-19 12:12:11 +02:00
Zoltán Papp
4d2a25b728
Code cleaning
2024-06-19 11:53:21 +02:00
Zoltán Papp
2f32e0d8cf
Fix chicken-egg problem in the ice agent creation
2024-06-19 11:28:01 +02:00
Zoltán Papp
48310ef99c
Fix engine test
2024-06-19 09:59:01 +02:00
Zoltán Papp
24f71bc68a
Fix and extend test
2024-06-19 09:40:43 +02:00
Zoltán Papp
e26e2c3a75
Add conn status handling and protect agent
2024-06-18 17:40:37 +02:00
Zoltán Papp
a5e664d83d
Code cleaning
2024-06-18 11:27:18 +02:00
Zoltán Papp
63b4041e9c
Rename connector to worker
2024-06-18 11:22:40 +02:00
Zoltán Papp
f7d8d03e55
Fix timers
2024-06-18 11:20:01 +02:00
Zoltán Papp
5b86a7f3f2
Fix relay mode evaulation
2024-06-18 11:10:55 +02:00
Zoltán Papp
deb8203f06
fix circle import
2024-06-17 18:02:52 +02:00
Zoltán Papp
e407fe02c5
Separate lifecircle of handshake, ice, relay connections
...
- fix Stun, Turn address update thread safety issue
- move conn worker login into peer package
2024-06-17 17:52:22 +02:00
Viktor Liu
c9f3854dde
Allow candidates on local routes if more specific than vpn routes ( #2097 )
2024-06-17 09:47:17 +02:00
Zoltan Papp
64f949abbb
Integrate relay into peer conn
...
- extend mgm with relay address
- extend signaling with remote peer's relay address
- start setup relay connection before engine start
2024-06-14 14:40:31 +02:00