100 Commits

Author SHA1 Message Date
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
Simon Stürz
8fff4c6685 Add tcp/ssl socket server and prepare tests 2021-07-27 11:21:33 +02:00
Simon Stürz
deaec8be40 Add tcp server basic structure 2021-07-27 11:21:33 +02:00
Simon Stürz
9fd2a3440f Add insecure websocket support and start with tcp server support 2021-07-27 11:21:33 +02:00
Simon Stürz
df5a240189 Add flush and abort to each socket close call 2021-07-27 11:20:34 +02:00
Simon Stürz
bdda8da803 Fix tunnel debug print and use client id instead of uuid 2021-07-27 11:20:34 +02:00
Simon Stürz
5ccb84d173 Add tunnel debug category for cleaner log reading 2021-07-27 11:20:34 +02:00
Simon Stürz
fcd0e7c105 Add logging file configuration and close sockets on error 2021-07-27 11:16:53 +02:00
Michael Zanetti
fea9732b66 Fix header install path 2021-02-08 17:01:59 +01:00
Jenkins nymea
a8a10f80d5 Merge PR #16: Allow multiple tunnels for one valid token 2020-06-02 21:01:32 +02:00
Michael Zanetti
aec92c46d9 Updatet copyright 2020-01-23 00:40:33 +01:00
Simon Stürz
5c84ef1e69 Allow multiple tunnels for one valid token 2020-01-08 15:02:57 +01:00
Simon Stürz
530fa41856 Clean up comments from debugging 2019-09-03 11:50:46 +02:00
Simon Stürz
7d6963b459 Fix mock authenticator 2019-09-03 11:48:13 +02:00
Michael Zanetti
b14da5de6b Properly fix lib install paths 2019-04-17 14:32:29 +02:00
Michael Zanetti
e6c5e25be7 Make the prject file more generic (remove debian specific install path) 2019-04-16 12:23:04 +02:00