115 Commits

Author SHA1 Message Date
Simon Stürz
bf7a2c0238 Remove deprecated proxy functionality and clean up code 2023-10-24 13:39:15 +02:00
Simon Stürz
0b031d7614 Fix client activation and improve dead socket handling 2023-08-04 09:59:30 +02:00
Simon Stürz
4d391f10ad Fixing timestamp 2023-08-04 09:59:30 +02:00
Simon Stürz
e5e41e6d3d Terminate inactive server connections 2023-08-04 09:59:30 +02:00
Simon Stürz
06e8457744 Fix duplicated server uuid and update debug operators 2023-08-04 09:59:30 +02:00
Simon Stürz
b20e6e28f9 Rework server 2023-08-04 09:59:30 +02:00
Simon Stürz
e0a2bcc09e Fix TCP SSL server pending connection mechanism 2023-08-04 09:59:30 +02:00
Simon Stürz
c54e55cd96 Disable add pedning until fixed 2023-08-04 09:59:30 +02:00
Simon Stürz
756513f668 Add pending connection to tcp server 2023-08-04 09:59:30 +02:00
Simon Stürz
3b3c117f49 Close socket on any error 2023-08-04 09:59:30 +02:00
Simon Stürz
8ee90aaccd Fix crash in client connection if the server is already gone bu data where pending, update monitor 2023-08-04 09:59:30 +02:00
Simon Stürz
5b39e12449 Introduce monitor refresh method with params 2023-08-04 09:59:30 +02:00
Simon Stürz
eb609da9a4 Tell the server if a client has been disconnected without notice 2023-08-04 09:59:30 +02:00
Simon Stürz
19e85d509e Remove redundand name property of transport interfaces 2023-08-04 09:59:30 +02:00
Simon Stürz
1a3a69c01f Fix possible crash on client disconnected and make sure also async requests will be killed if requested by the server 2023-08-04 09:59:30 +02:00
Simon Stürz
ecf58505d1 Introduce inactive timeout for tunnel proxy clients 2023-08-04 09:59:30 +02:00
Simon Stürz
b21759b3bf Make monitor work with large json data 2023-08-04 09:59:30 +02:00
Simon Stürz
150f1fef3f Add transports and counts for the monitor 2023-08-04 09:59:30 +02:00
Simon Stürz
f43dc9f78e Show only active tunnel in monitor 2023-08-04 09:59:30 +02:00
Simon Stürz
aecf6da7e1 Add random traffic generator for test clients 2023-08-04 09:59:30 +02:00
Simon Stürz
8081c7804e Add monitor non interactive mode and add traffic counter for tunnel proxy 2023-08-04 09:59:30 +02:00
Simon Stürz
1694a43098 Add option for disableing proxy server functionality 2023-08-04 09:59:30 +02:00
Simon Stürz
d576a7bdf4 Update unix socket settings and fix tests 2022-05-19 07:42:55 +02:00
Simon Stürz
b255e52396 Add local sockets 2022-05-18 17:08:40 +02:00
Simon Stürz
7e53286538 Fix potential crash if the remote client is not available any more 2022-04-28 10:26:26 +02:00
Simon Stürz
8f8e660eb9 Fix authentication reply crash if client already disconnected 2022-04-04 08:59:10 +02:00
Simon Stürz
d80a39b6d9 Add pkgconfig for nymea-remoteproxy development library 2022-03-18 15:04:46 +01:00
Simon Stürz
1c57db04f3 Make TCP default connection for clients 2022-03-09 17:33:57 +01:00
Simon Stürz
816111ddc7 Update package to packet 2022-03-09 17:09:12 +01:00
Simon Stürz
45b1d4400f Update versioning and minor fixes 2022-03-09 16:38:24 +01:00
Simon Stürz
accb6ec166 Introduce ping for keeping the connection alive 2022-02-03 10:28:13 +01:00
Simon Stürz
1ca3119995 Extend monitor and add test script for connections 2022-01-11 09:01:54 +01:00
Simon Stürz
32c33ec23f Fix reconnect to tunnel proxy and improve framing 2021-12-20 13:50:31 +01:00
Simon Stürz
b865b9903a Fix other potential crashes in tunnel proxy server 2021-12-20 09:05:56 +01:00
Simon Stürz
56536d93cd Fix crash in case the client could not be created 2021-12-20 09:05:56 +01:00
Simon Stürz
23462e194e Add tunnel proxy statistics and fix typo 2021-08-16 07:41:54 +02:00
Simon Stürz
3eb247e652 Fix client test applications and implement tunnel client utils 2021-08-12 10:27:28 +02:00
Simon Stürz
6d4ff26481 Fix common include and libnymea-remoteproxyclient dev package 2021-08-05 16:38:29 +02:00
Simon Stürz
f4b5fba91d Work on ssl socket fixes 2021-08-05 15:52:03 +02:00
Simon Stürz
b9ebc345a5 Finish and test first working tunnel proxy connection 2021-08-04 13:05:37 +02:00
Simon Stürz
30d6a9dd43 First working connection mechanism for tunnel proxy 2021-08-03 19:52:00 +02:00
Simon Stürz
f0cdb2706b Prepare client library for tunnel proxy 2021-07-30 13:12:42 +02:00
Simon Stürz
56d32bed2b Add server and client registration and prepare client data multiplexing 2021-07-29 19:04:44 +02:00
Simon Stürz
3174387e96 Do not print all debug categories in tests 2021-07-29 11:49:11 +02:00
Simon Stürz
24e7c2983f Abstract transport interface client and restructure client classes 2021-07-29 11:38:55 +02:00
Simon Stürz
acd48bf7bf Restructure the project and introduce the new tunnel proxy 2021-07-28 14:55:18 +02:00
Simon Stürz
a1da55b92f Update install paths and copyright license headers 2021-07-27 11:49:46 +02:00
Simon Stürz
e902f46fd4 Fix inline comments for data buffer size violation and remove uneccesary critical debugs 2021-07-27 11:25:06 +02:00
Simon Stürz
b49a9767c7 Fix package fragmentation in TCP server and client 2021-07-27 11:25:06 +02:00
Simon Stürz
52ce0b5084 Fix tests and improve proxy client handling in authentication and json layer 2021-07-27 11:25:06 +02:00