149 Commits

Author SHA1 Message Date
b147795ae0 added non-stanrd x-forward-path-prefix header 2024-12-18 01:21: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
d71290a0a8 adding a new http proxy endpoint 2024-12-16 18:53:13 +09:00
bf2c70fa2c updated to support ssh by port number 2024-12-16 15:19:01 +09:00
de96a75af8 fixed wrong formatting string in error output in cmd/main.go 2024-12-16 11:29:40 +09:00
960520b905 updated code to use ClientRouteConfig when adding a new route in control channel 2024-12-16 09:59:14 +09:00
a4ef87c031 added the new type ClientRouteConfig.
client-side route info is populated to a ClientRouteCofnig slice
2024-12-16 01:43:46 +09:00
ec6577aed2 added a stat item to the server 2024-12-16 01:03:03 +09:00
fe67d9e16f enhanced logging by supporting --log-file and handling a log file under /dev specially 2024-12-16 00:41:32 +09:00
8cab165cc4 enhanced the logger with file logging and rotation 2024-12-15 15:07:35 +09:00
bc9a40106c improving logger to write to a file 2024-12-14 14:04:33 +09:00
3299ca0fb2 fixed the usage text 2024-12-14 02:42:41 +09:00
25ce8a6ca4 added the client-peer-name field for route commands 2024-12-14 02:39:27 +09:00
692fc352b1 removed frame.go 2024-12-14 00:23:53 +09:00
7cea612ae5 trying to add client-side peer name 2024-12-14 00:19:12 +09:00
55fc4bdfcb changed id allocation back to linear allocation. time-based or random number-based allocation make debugging troublesome 2024-12-13 23:19:26 +09:00
ea601f1011 many enhancements to the ssh terminal support 2024-12-13 21:49:11 +09:00
61c13bd4e8 added server-proxy.go 2024-12-13 02:25:58 +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
41e7222b98 fixed wrong config access 2024-12-10 14:57:11 +09:00
07e11a8e25 updated to limit max rpc connecitons and peer connections.
changed to use time.Duration type for timeout values
2024-12-10 14:37:14 +09:00
6fdae92300 simplificed monotonic time functions by using x/sys/unix 2024-12-10 13:15:05 +09:00
2d15f0d2a4 defined PeerId, RouteId, ConnId types and made relevant changes 2024-12-09 22:41:23 +09:00
d043fd730b updated code to utilize runtime.nanotime() which is not exported 2024-12-09 19:22:43 +09:00
de113d150f added a function to get the monotonic time 2024-12-09 19:04:22 +09:00
464a550c68 added a stop request guard in starting a control channel 2024-12-09 17:23:26 +09:00
f1c146d94f permitted the client mode to start without server addresses 2024-12-09 15:43:29 +09:00
db48395b13 fixed null pointer dereference in accessing the log mask configuration value 2024-12-09 01:59:05 +09:00
2c7c08c22f added the log-mask option in the configuration file 2024-12-09 01:51:04 +09:00
be0d31b06c implemented some more control channel handler in server.go 2024-12-08 23:16:43 +09:00
3c9b65476a minor code formatting 2024-12-08 17:47:08 +09:00
29180a7969 added more stats fields 2024-12-08 17:40:15 +09:00
ebfc4010e7 added the cts_limit field to Server 2024-12-08 17:25:59 +09:00
0bc765b72a removed unwanted return in client_ctl_client_conns_id.ServerHTTP() 2024-12-08 17:19:20 +09:00
f87db5ac41 fixed nil pointer dererence in main 2024-12-08 16:56:04 +09:00
feedff3f04 implemented timeout for an initial GetSeed call.
Added RPC.Endpoint.Authority
2024-12-08 16:48:23 +09:00
7479cc0f3a enhancing the client to accept multipl rpc server addresses 2024-12-08 16:06:18 +09:00
3d19576905 extended configuration to accept rpc service addresses and endpoint addresses 2024-12-08 13:34:47 +09:00
87597ad698 extended stats to include number of rpc connections, routes, peers 2024-12-08 12:13:36 +09:00
970b28ec30 updated argument check for 'version' 2024-12-08 02:19:11 +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
c81e05b4a3 enhanced to http server to distinguish between ipv4 and ipv6 address when the ip address part is explicitly specified before colon port (e.g. 0.0.0.0:9999, [::]:9999, :9999) 2024-12-07 23:03:23 +09:00
8821506fb1 let http.Server use the main app logger 2024-12-07 22:18:07 +09:00
6d87351e5e updated the server to trust the embedded cert if no client ca is explicitly specified 2024-12-07 21:31:06 +09:00
21997e6f74 added the version subcommand
added subjectAltNames to the embedded cert file
2024-12-07 21:24:06 +09:00
dcf3d852d2 extended the tls configuration to rpc server 2024-12-07 16:57:00 +09:00
6ad7ffd1a6 updated to embed generated certificate/key files 2024-12-07 12:45:35 +09:00