Commit Graph

13 Commits

Author SHA1 Message Date
54165f83c7 renamed modukle name so that pkgsite will work. 2024-08-12 21:31:15 +02:00
8f118a358c wsproxy now giving a more friendly error message when there is a protocol mismatch describing what the user should do. 2024-08-10 15:07:05 +02:00
7c387d5bb4 added environment info from the client. 2024-08-10 13:00:48 +02:00
Erik Brakkee
9d1c6d6616 prometheus support step 1
updates to documentation.
2024-08-07 20:50:17 +02:00
0d60b70ada Updated documentation:
* remote shell usage for linux, cmd, and powershell
* help of wsproxy.
2024-08-01 20:53:52 +02:00
ff97c1ccd2 Now by default wsproxy uses a specific protocol to establish connections to the server. It does this by adding the ?wsproxy query parameter.
The server then sends it the protocol version and the client connection info describing whether an agent was found or not. This improves usability for users.

With the --raw option it bypasses this query parameter and wsproxy then works in the old way as a simple stdio-websocket connector. It then still works with converge server but can also be used for simple websocket troubleshooting.
2024-08-01 20:22:41 +02:00
Erik Brakkee
f0dd810541 many small changes
* removed the Async utility
* now using Ping message to webclient for keep alive instaed of actual content
* added remote shell to AgentInfo
* retry of connections to the agent
* better logging for SynchronizeStreams
2024-07-31 19:30:38 +02:00
f382c02b41 restructuring 2024-07-30 19:59:13 +02:00
39cf088a41 basic htmx with server sending content to the client over a websocket is now working. This only worked when text message where being sent so the websocket handling had to be made configurable with a 'text' boolean field. 2024-07-29 23:56:44 +02:00
Erik Brakkee
2ed81c3174 communication between agent and server. Removed the flags libray for command-line parsing.
Heartbeat mechanism from client to server over the custom connection for sending events to guarantee that the connectoin stays up.
2024-07-25 19:51:11 +02:00
d9f490a2b6 removed read and write dead lines. Appears to be still working. 2024-07-24 22:26:15 +02:00
Erik Brakkee
bdedef12f0 welcome message for users now specific for windows and linux
monitoring of hold file changes and messaging to users to provide more
  interactivity
2024-07-24 18:46:25 +02:00
be3e6b7c4a added insecure flag to allow invalid certificates. 2024-07-23 22:27:09 +02:00