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
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
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
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
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
2fa5817e88
added some code for control channel authentication
2025-01-28 23:50:28 +09:00
c5f63328b2
added code to export metrics
2025-01-28 00:44:02 +09:00
90305e3eed
added the Static field to the ClientRoute structure
2025-01-19 12:17:27 +09:00
cfc0db4b54
renamed parse_duration_string to ParseDurationString
...
added DurationToSecString()
2025-01-19 01:56:31 +09:00
0809f9bedc
renamed cts.id/sid to cts.Id/Sid respectively
2025-01-18 13:32:42 +09:00
e2f1d58c5e
exposed some fields of the ClientRoute struct
2025-01-18 12:58:17 +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
0100d615d8
refactored code to use wrapper functions when sending the header with content-type
2025-01-13 20:17:49 +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
b0ad40deca
fixed minor bugs including wrong message output and mssing log messages
2025-01-10 01:14:49 +09:00
24ca5f01b5
added ExtendLifetime
2025-01-10 01:02:11 +09:00
a147ed64ec
added a new client-side endpoint /_ctl/client-conns/{conn_id}/routes-spsp/{port_id}
2025-01-09 23:02:50 +09:00
26c40ea70e
renamed tcp_addr_str_class to TcpAddrStrClass
2025-01-08 17:32:40 +09:00
13faadabcd
updated to assign connection id and route id from 1, using 0 as an automatic assigned marker
...
updated the client-side api to accept a route id for route creation
2025-01-07 23:59:39 +09:00
b8bd8f4d4c
support lifetime update of a client-side route
2025-01-07 15:23:05 +09:00
d95bc8385a
added lifetime to client route
2025-01-07 13:44:37 +09:00
9d266180e9
removed repeated GetId functions using struct embedding
2024-12-27 16:52:27 +09:00
bf2c70fa2c
updated to support ssh by port number
2024-12-16 15:19:01 +09:00
960520b905
updated code to use ClientRouteConfig when adding a new route in control channel
2024-12-16 09:59:14 +09:00
7cea612ae5
trying to add client-side peer name
2024-12-14 00:19:12 +09:00
c562a41cb8
implementing a ssh termianl
2024-12-13 02:25:27 +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
29180a7969
added more stats fields
2024-12-08 17:40:15 +09:00
0bc765b72a
removed unwanted return in client_ctl_client_conns_id.ServerHTTP()
2024-12-08 17:19:20 +09:00
7479cc0f3a
enhancing the client to accept multipl rpc server addresses
2024-12-08 16:06:18 +09:00
87597ad698
extended stats to include number of rpc connections, routes, peers
2024-12-08 12:13:36 +09:00
7c3169e593
added some code to return statistics
2024-12-08 01:10:49 +09:00
1496951c36
added some code to exit the whole process upon panic in http goroutines
2024-12-08 00:57:58 +09:00
e95d196cc0
handled route_stopped in client.go
2024-12-05 23:05:47 +09:00
e2d25cb53b
enhanced to be able to specify the service network for server-side peers
2024-12-05 18:24:42 +09:00
53777f1f60
cleaed up most of the logging lines
2024-12-05 01:26:44 +09:00
d167308879
update to support multiple control server addresses
2024-12-03 11:52:46 +09:00
b17f3af7ad
added the id field to ServerConn
2024-12-03 00:55:19 +09:00