494f11836c
added another control endpoint /_ctl/server-conns/{conn_id}/peers
2025-03-23 13:22:53 +09:00
41503373d3
added a new endpoint - /_ctl/server-routes
2025-03-22 14:01:42 +09:00
e01a6b347c
updated to support multiple notice handlers with a fix on race condition accessing cts.Token on the client side
2025-03-21 12:53:16 +09:00
8cde9f08d4
added /_ctl/server-peers
2025-03-19 00:24:42 +09:00
9865914436
fired CONN_UPDATED from receive_from_stream
2025-03-18 23:45:00 +09:00
5fa6cd466b
added the routes parameter to the server-conns endpoint
2025-03-18 23:37:46 +09:00
3714138656
added fields to hold creation time in various structures
2025-03-14 22:51:23 +09:00
f1f74ed48d
updated wrong fix on waitgroup in the previous commit as well as a type of a field name of ServerEventConnDeleted
2025-03-13 22:59:38 +09:00
cd32380425
added Atom[T] to have atomic manipulation of composite values
2025-03-13 21:24:59 +09:00
4d3fb7db65
partial authentication in ctl websocket
2025-03-13 09:43:17 +09:00
8105545e98
use s.WrapWebsocketHandler for ssh websockets
2025-03-12 12:57:46 +09:00
1e6fbed19d
fixed wrong queue implementation in bulletin.go
2025-03-12 12:08:56 +09:00
b398816c96
added Enqueue() and Dequeue() to bulltin.go
...
thinking to remove topics but still retained
2025-03-12 03:00:28 +09:00
09593fd678
fixed some potential concurrency issues in the client side.
...
enhanded route_started log messages
renamed service to svc for some items
added two more fields to denote requested service address/network to ServerRoute
2025-03-11 21:12:05 +09:00
befe65b486
enhanced the bulletin code
2025-03-10 19:56:14 +09:00
030d62af12
writing bulletin subscription/publish code
2025-03-10 09:33:19 +09:00
ae13d0c4ed
starting simple messaging code
2025-03-08 15:17:27 +09:00
7b1d383813
renamed ReportEvent to ReportPacket
2025-03-08 11:34:05 +09:00
6e9887f726
updated the notice endpoint to access the 'text' field in the payload for convenience
2025-03-07 23:56:30 +09:00
ecc1d4580f
removed redundant endding semicolons
2025-03-07 21:12:21 +09:00
e56c45b3bf
updated to return connections, routes, peers in ascending order by id over the control endpoint
2025-03-07 13:41:44 +09:00
b6fb296608
added close-on-conn-error-event.
...
added the client token in connection output over ctl
2025-03-05 00:44:00 +09:00
bec93289f5
added the CONN_ERROR event t ype
2025-03-04 01:16:46 +09:00
04e2de609e
updated the response code to MethodDelete from Ok To NoContent
2025-02-28 17:26:46 +09:00
71a42af593
added a debugging log message for conn_notice packets
...
created SendNotice function for reuse by external parties
2025-02-26 19:45:29 +09:00
5df95159a3
exposed the cfg field by nameing cfg to Cfg in server.go
2025-02-26 14:46:09 +09:00
2d63e81e62
renamed wrap_http_handler to WrapHttpHandler for server
2025-02-26 14:28:41 +09:00
97885bcae1
fixed an issue of missing parameters to fmt.Errorf()
...
fixed the name composition for prometheus
2025-02-24 10:34:22 +09:00
5c2695e46b
ongoing code refactoring to use common functions
2025-02-23 20:06:37 +09:00
75f72e7c88
slightly more reuse of a common function
2025-02-23 00:55:15 +09:00
7363986737
refactored functions in client-ctl.go to use common functions
2025-02-22 10:08:57 +09:00
429bb6cd63
enhanced func (s *Server) FindServerConnByIdStr(conn_id string) to treat non-numeric conn_id as a connection token
2025-02-20 23:12:16 +09:00
d9aaa0a0ab
added code dealing with client connection token
2025-02-20 22:21:39 +09:00
7a6b820b92
added some todo text
2025-02-20 01:27:22 +09:00
c7b7bfd25f
added theConnDesc message to the grpc protocol
2025-02-20 00:59:00 +09:00
1c49023c37
capatalized the first letter of some field name for exposure outside package
2025-02-19 17:17:53 +09:00
b5c1ae2a73
enhanced the reconnect logic in client.go
2025-02-19 10:38:23 +09:00
2b3a841299
added default notice handling interface
2025-02-18 14:44:45 +09:00
81f7bb0c0d
added /_ctl/client-conns/id/nocies
2025-02-18 01:17:51 +09:00
a0efb55c3e
trying to support notice event
2025-02-18 01:02:26 +09:00
be7f4f4da5
stored client-side peer info to ServerConnPeer when PEER_STARTED is received
2025-02-17 00:52:29 +09:00
f2536a0acc
added code dealing with server-side peers
2025-02-15 19:44:48 +09:00
cb18a44cfa
started writing a new endpoint for server peer info
2025-02-15 18:06:10 +09:00
fb465133b9
minor code update
2025-02-14 16:18:57 +09:00
d5108e9859
allowed to bypass authentication for a specific endpoint to be accessed from ssh client
2025-02-14 12:45:54 +09:00
3dc5d9c91e
updated to support cors in primitive manner
2025-02-10 14:48:18 +09:00
ec51c101ec
updated the authentication to recognize X-Auth-Username and X-Auth-Password
2025-02-04 01:30:19 +09:00
ef3e80efb8
preallocated of access rules instead of using append()
2025-02-02 09:57:43 +09:00
1bc8406907
fixed a bug in handling the log file argument
2025-02-01 00:19:47 +09:00
0fb57cb77b
added http auth config to the client-side control channel
2025-02-01 00:06:05 +09:00