51 Commits

Author SHA1 Message Date
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
c901f88023 some incremetal changes 2024-12-02 02:19:50 +09:00
18b3028a46 implemented client peer deletion 2024-12-01 19:11:12 +09:00
96442bb93a implemented an api call at /client-conns/id/routes/id/peers/id 2024-12-01 17:20:16 +09:00
b792997184 writing clent-side api code for /servers/id/routes/id/peers 2024-11-30 20:06:59 +09:00
2b29d05a4a minor touch up 2024-11-30 18:59:36 +09:00
049937a53b a few lines of comment text 2024-11-30 15:38:06 +09:00
bee458a47d addimg more client side manpulation code 2024-11-30 03:08:20 +09:00
f6de948a5a changed to store the target server address string as given by the caller and not resolve the string 2024-11-30 02:53:47 +09:00
4625ed3328 renames some api endpoints: e.g. /servers to /client-conns, /servers/xxx/peers to /client-conns/xxx/routes 2024-11-30 00:19:39 +09:00
9667a9b2e2 implemented POST to servers/X/peers
enhanced GET /servers
2024-11-28 01:29:02 +09:00
fdae537c84 implementing more client ctl commands 2024-11-26 09:41:15 +09:00
f62e77400a filling code for client-side control channel 2024-11-25 22:55:03 +09:00