56 Commits

Author SHA1 Message Date
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
d3afe29d5a combining server configuration items to a single structure 2025-01-28 02:35:11 +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
edda6d169b changed the logger identifier for client 2025-01-17 14:47:33 +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
d95bc8385a added lifetime to client route 2025-01-07 13:44:37 +09:00
ee6d56de67 added xterm-html-file option to server.yaml 2024-12-29 16:11:31 +09:00
9d266180e9 removed repeated GetId functions using struct embedding 2024-12-27 16:52:27 +09:00
6809cfdeb6 fixed the issue of no mutex lock/unlock when accessing some maps.
added a wpx service
2024-12-26 00:20:44 +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
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
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
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
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
634de1756a added nil checks before accessing the cfg pointer 2024-12-07 01:49:11 +09:00
bc3bb06008 added cmd/config.go 2024-12-07 01:44:54 +09:00
e51077a749 some code to handle configuration file and tls 2024-12-07 00:54:19 +09:00
e144a39c5c attempting to support TLS 2024-12-06 00:52:33 +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
c901f88023 some incremetal changes 2024-12-02 02:19:50 +09:00
8346011d27 adding some server-side control handlers 2024-12-01 21:47:11 +09:00