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
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
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
97885bcae1
fixed an issue of missing parameters to fmt.Errorf()
...
fixed the name composition for prometheus
2025-02-24 10:34:22 +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
c7b7bfd25f
added theConnDesc message to the grpc protocol
2025-02-20 00:59:00 +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
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
0fb57cb77b
added http auth config to the client-side control channel
2025-02-01 00:06:05 +09:00
16327fc576
updated to code to enforce access rules to the control channel
2025-01-31 21:20:10 +09:00
148dfbcfe1
updated Authenticate to return status code
2025-01-31 19:54:28 +09:00
8bee855aa8
added code for token issuance and verification
2025-01-31 04:06:03 +09:00
b7992a0bb7
renamed BasicAuth to Auth
2025-01-29 00:30:08 +09:00
2fa5817e88
added some code for control channel authentication
2025-01-28 23:50:28 +09:00
a97be385ec
some ground work to support authentcation on the control channel
2025-01-28 12:43:03 +09:00
2655da937f
renamed ssh_pxy_sessions to pxy_ssh_sessions
2025-01-28 01:29:21 +09:00
c5f63328b2
added code to export metrics
2025-01-28 00:44:02 +09:00
9118acb268
removed the extra stats table
2025-01-17 00:20:38 +09:00
369a41eeb2
renamed json_errmsg to JsonErrmsg
2025-01-16 09:32:06 +09:00
c237b8a842
updated code to treat ipv4inv6 as ipv4
2025-01-16 01:26:58 +09:00
e1eb346228
exposed some utility functions that handles http response headers
...
added AddCtlHandler function to the Server type
2025-01-15 01:19:50 +09:00
ea56287eb4
some code touch-up
2025-01-14 14:09:52 +09:00
42fec28a0e
added SvcPermNet to ServerRouteProxyInfo
2025-01-14 01:20:17 +09:00
0100d615d8
refactored code to use wrapper functions when sending the header with content-type
2025-01-13 20:17:49 +09:00
091d28d52e
added space for extra statistical items by exterrnal services
2025-01-13 15:20:36 +09:00
9d30a0efea
added more code to support foreign ports for the wpx endpoint
2025-01-12 17:30:13 +09:00
3a2ea68614
moved the panic handler to a common wrapper
...
added the foreign port proxy maker callback function
2025-01-11 11:48:19 +09:00
4016793327
exposed some fields of ServerRoute and ServerConn
2024-12-28 18:35:14 +09:00
9d266180e9
removed repeated GetId functions using struct embedding
2024-12-27 16:52:27 +09:00
f1572f9321
enhanced for wpx response transformer
2024-12-27 14:43:44 +09:00
3fc48eb590
relocated functions
2024-12-17 09:35:51 +09:00
e177b7dc6b
simplified some code of parsing connection ids and route ids
2024-12-17 00:32:22 +09:00
bf2c70fa2c
updated to support ssh by port number
2024-12-16 15:19:01 +09:00
ec6577aed2
added a stat item to the server
2024-12-16 01:03:03 +09:00
25ce8a6ca4
added the client-peer-name field for route commands
2024-12-14 02:39:27 +09:00
7cea612ae5
trying to add client-side peer name
2024-12-14 00:19:12 +09:00
f6ea852e61
added the proxy service for http/https client peer on the server side. work in progress
2024-12-12 21:09:16 +09:00
2d15f0d2a4
defined PeerId, RouteId, ConnId types and made relevant changes
2024-12-09 22:41:23 +09:00
be0d31b06c
implemented some more control channel handler in server.go
2024-12-08 23:16:43 +09:00