Commit Graph
100 Commits
Author SHA1 Message Date
Zoltán Papp d70df99f7b Fix memory leak
Avoid to add listeners to multiple times
2024-07-25 17:21:27 +02:00
Zoltán Papp b62ad97e59 Fix wg state check exit logic 2024-07-25 12:37:59 +02:00
Zoltán Papp efa0bbdf3d Remove unused logs 2024-07-25 11:09:45 +02:00
Zoltán Papp 8861e89ab0 Remove unused dependencies 2024-07-25 11:05:38 +02:00
Zoltán Papp e1ee73500a Remove unused codes 2024-07-25 11:03:54 +02:00
Zoltan Papp 163a80d53e Fix sonar issue 2024-07-25 00:23:34 +02:00
Zoltan Papp 7279d58110 Fix sonar issue 2024-07-25 00:20:03 +02:00
Zoltan Papp 7b677f8db2 Fix sonar issue 2024-07-25 00:19:07 +02:00
Zoltan Papp 856c97b9df Fix sonar issue 2024-07-25 00:14:19 +02:00
Zoltan Papp 6f36ec7a32 Fix sonar issue 2024-07-25 00:13:05 +02:00
Zoltan Papp 3e82fcbdd0 Fix sonar issue 2024-07-25 00:09:44 +02:00
Zoltan Papp ff167e2907 Fix sonar issue 2024-07-25 00:04:27 +02:00
Zoltan Papp 08022dca10 Fix sonar issue and fix conn id handling 2024-07-24 23:57:33 +02:00
Zoltan Papp 5dbe5d0d49 Fix sonar issue 2024-07-24 23:50:25 +02:00
Zoltan Papp 3d2ef17364 Fix sonar issue 2024-07-24 23:46:05 +02:00
Zoltan Papp 334926ce90 Fix status test 2024-07-24 23:27:15 +02:00
Zoltan Papp 4339b6528f Skip benchmark test 2024-07-24 23:11:41 +02:00
Zoltán Papp 8568fbffdd Fix test 2024-07-24 18:01:43 +02:00
Zoltán Papp fdf9756808 Fix test 2024-07-24 17:52:19 +02:00
Zoltán Papp 1d833113ce Fix test 2024-07-24 17:51:00 +02:00
Zoltán Papp c42f7628d7 Fix test 2024-07-24 17:47:32 +02:00
Zoltán Papp a4ba8bd3b8 Fix test 2024-07-24 17:45:42 +02:00
Zoltán Papp 7bfc505962 Fix test 2024-07-24 17:42:51 +02:00
Zoltán Papp 42ea9611d5 Fix test 2024-07-24 17:36:46 +02:00
Zoltán Papp 7ae9cffccc Fix missing method after merge 2024-07-24 16:51:33 +02:00
Zoltán Papp 57f8c620c0 Typo fix 2024-07-24 16:34:47 +02:00
Zoltán Papp ecb6f0831e Add metrics 2024-07-24 16:26:26 +02:00
Zoltán Papp 4802b83ef9 Merge branch 'main' into feature/relay-integration 2024-07-24 13:40:25 +02:00
Zoltan Papp 63aeeb834d Fix error handling (#2316) 2024-07-24 13:27:01 +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 1097285d80 Fix len of write operation 2024-07-22 13:13:12 +02:00
Zoltán Papp 0329c12173 Fix relay close message handling 2024-07-22 13:04:32 +02:00
Zoltán Papp 03df0878dc Add benchmark test 2024-07-21 13:40:23 +02:00
Zoltan Papp 8c7215a9f5 Add data transfer test 2024-07-20 13:00:19 +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 894d68adf2 Fix reference check 2024-07-18 13:16:50 +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 e75fbd34a7 Add config file handling 2024-07-17 17:10:33 +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 03e8acccde Fix peer state indication 2024-07-16 14:06:51 +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
Zoltan Papp bc09348f5a Add logging option for wg device (#2271) 2024-07-15 14:45:18 +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 cb77ff4661 Fix relay instance address indication 2024-07-10 22:33:15 +02:00
Zoltán Papp 83b83ccfd2 Add relay server address for the status 2024-07-10 22:17:54 +02:00
Zoltán Papp 4e75e15ea1 Add relay address to signal OFFER 2024-07-10 18:39:24 +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 469be3442d Remove hardcoded debug lines 2024-07-10 14:17:50 +02:00
Zoltán Papp d1b6387803 Fix token sending 2024-07-10 13:21:50 +02:00
Zoltán Papp 820e2feec9 Move to relay address config to object
Add test for mgm config parser
2024-07-10 11:30:02 +02:00
Zoltán Papp e0d086a8a8 Implement dummy RemoteAddr on client conn 2024-07-10 10:12:49 +02:00
Zoltán Papp 1f95467b02 Sonar fix 2024-07-09 16:51:40 +02:00
Zoltán Papp 6553d8ce03 Sonar fix 2024-07-09 16:50:29 +02:00
Zoltán Papp f0c829afac Sonar fix 2024-07-09 16:48:50 +02:00
Zoltán Papp 86f14523e4 Add comment 2024-07-09 16:46:43 +02:00
Zoltán Papp 6cefcbfe5d Add comment 2024-07-09 16:44:12 +02:00
Zoltán Papp 19103031ee Optimisation for sonar 2024-07-09 16:38:50 +02:00
Zoltán Papp 7369f4bc38 Optimisation for sonar 2024-07-09 16:29:38 +02:00
Zoltán Papp d9d275a7ce Optimisation for sonar 2024-07-09 16:27:20 +02:00
Zoltán Papp 57b85f4f8d Optimisation for sonar 2024-07-09 16:15:25 +02:00
Zoltán Papp 7ef191903e Fix logging in handshaker 2024-07-09 16:06:36 +02:00
Zoltan Papp 3bd15dd1c4 Fix moc interface 2024-07-09 10:34:13 +02:00
Zoltan Papp 1065e0a6c5 Fix moc interface 2024-07-09 10:22:38 +02:00
Zoltan Papp d4ff55e6fe Fix typo 2024-07-09 10:09:09 +02:00
Zoltan Papp 5625d83c3f Fix lint 2024-07-09 09:44:23 +02:00
Zoltan Papp 63f2f51614 Fix typo 2024-07-08 23:14:09 +02:00
Zoltan Papp defdcb631e Add sleep time for tests 2024-07-08 22:42:30 +02:00
Zoltan Papp 7bf0d04bed Remove unused function 2024-07-08 22:19:18 +02:00
Zoltan Papp e4ec1fd757 Add sleep time after server started 2024-07-08 22:13:31 +02:00
Zoltan Papp dab50f35d7 Fix ipv6 issue on tests 2024-07-08 21:56:15 +02:00
Zoltan Papp 2d7e797e08 Fix body close 2024-07-08 21:55:03 +02:00
Zoltan Papp c3e8187a47 Fix lint issues 2024-07-08 21:53:20 +02:00
Zoltan Papp cfac8c4762 fix test timing 2024-07-08 21:34:39 +02:00
Zoltan Papp d9dfae625b Fix manager_test 2024-07-08 21:18:19 +02:00
Zoltán Papp a9e6742d9a - Remove heartbeat logs
- Fix relay client tests
- Fix auth ID unmarshalling
- Add magic header check
2024-07-08 17:55:48 +02:00
Zoltán Papp 931f165c9a Remove garbage 2024-07-08 17:38:23 +02:00
Zoltán Papp 2803e1669b Remove meaningless tests 2024-07-08 17:24:49 +02:00
Zoltán Papp f28a657a1d extend wginterface func with windows related things 2024-07-08 17:08:54 +02:00
Zoltán Papp 1f949f8cee Fix parameters of tests 2024-07-08 17:01:11 +02:00
Zoltán Papp 75f5b75bc4 Mock wginterface 2024-07-08 16:15:04 +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 836072098b Integrate the relay authentication 2024-07-05 16:12:30 +02:00
Zoltan Papp 8845e8fbc7 replace bson to gob 2024-07-04 13:42:27 +02:00
Zoltan Papp 1a5ee744a8 - add file based cert
- print out the exposed address
- handle empty exposed address
2024-07-03 15:03:57 +02:00
Zoltan Papp 7cb81f1d70 Fix nil pointer exception in case of error (#2230) 2024-07-02 18:18:14 +02:00
Zoltan Papp 15a7b7629b Add exposed address 2024-07-02 11:57:17 +02:00
Zoltán Papp d3785dc1fa Fix ssl configuration 2024-07-01 11:50:18 +02:00
Zoltán Papp ed82ef7fe4 Fix error logging 2024-06-30 10:43:12 +02:00
Zoltán Papp aa55fba5ee Add client side heartbeat handling 2024-06-29 14:13:05 +02:00