Commit Graph

  • 0fb57cb77b added http auth config to the client-side control channel hyung-hwan 2025-02-01 00:06:05 +09:00
  • 16327fc576 updated to code to enforce access rules to the control channel hyung-hwan 2025-01-31 21:20:10 +09:00
  • 148dfbcfe1 updated Authenticate to return status code hyung-hwan 2025-01-31 19:54:28 +09:00
  • 8bee855aa8 added code for token issuance and verification hyung-hwan 2025-01-31 04:06:03 +09:00
  • b7992a0bb7 renamed BasicAuth to Auth hyung-hwan 2025-01-29 00:30:08 +09:00
  • 2fa5817e88 added some code for control channel authentication hyung-hwan 2025-01-28 23:50:28 +09:00
  • a97be385ec some ground work to support authentcation on the control channel hyung-hwan 2025-01-28 12:43:03 +09:00
  • d3afe29d5a combining server configuration items to a single structure hyung-hwan 2025-01-28 02:35:11 +09:00
  • 2655da937f renamed ssh_pxy_sessions to pxy_ssh_sessions hyung-hwan 2025-01-28 01:29:21 +09:00
  • c5f63328b2 added code to export metrics hyung-hwan 2025-01-28 00:44:02 +09:00
  • 810356efe5 added the State field to the ClientConn structure hyung-hwan 2025-01-22 10:46:22 +09:00
  • 90305e3eed added the Static field to the ClientRoute structure hyung-hwan 2025-01-19 12:17:27 +09:00
  • cfc0db4b54 renamed parse_duration_string to ParseDurationString added DurationToSecString() hyung-hwan 2025-01-19 01:56:31 +09:00
  • 0809f9bedc renamed cts.id/sid to cts.Id/Sid respectively hyung-hwan 2025-01-18 13:32:42 +09:00
  • e2f1d58c5e exposed some fields of the ClientRoute struct hyung-hwan 2025-01-18 12:58:17 +09:00
  • edda6d169b changed the logger identifier for client hyung-hwan 2025-01-17 14:47:33 +09:00
  • 9118acb268 removed the extra stats table hyung-hwan 2025-01-17 00:20:38 +09:00
  • 369a41eeb2 renamed json_errmsg to JsonErrmsg hyung-hwan 2025-01-16 09:32:06 +09:00
  • c237b8a842 updated code to treat ipv4inv6 as ipv4 hyung-hwan 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 hyung-hwan 2025-01-15 01:19:50 +09:00
  • a52926d017 fixed a bug of not unlocking a mutex when checking port uniqueness in adding a route listener hyung-hwan 2025-01-14 16:47:14 +09:00
  • ea56287eb4 some code touch-up hyung-hwan 2025-01-14 14:09:52 +09:00
  • 22542537bf removed ServerPluginInterface hyung-hwan 2025-01-14 01:42:22 +09:00
  • 42fec28a0e added SvcPermNet to ServerRouteProxyInfo hyung-hwan 2025-01-14 01:20:17 +09:00
  • 0100d615d8 refactored code to use wrapper functions when sending the header with content-type hyung-hwan 2025-01-13 20:17:49 +09:00
  • 091d28d52e added space for extra statistical items by exterrnal services hyung-hwan 2025-01-13 15:20:36 +09:00
  • 7e772b7d3f added the handler to /favicon.ico to wpx hyung-hwan 2025-01-13 14:25:09 +09:00
  • 9d30a0efea added more code to support foreign ports for the wpx endpoint hyung-hwan 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 hyung-hwan 2025-01-11 11:48:19 +09:00
  • b0ad40deca fixed minor bugs including wrong message output and mssing log messages hyung-hwan 2025-01-10 01:14:49 +09:00
  • 24ca5f01b5 added ExtendLifetime hyung-hwan 2025-01-10 01:02:11 +09:00
  • a147ed64ec added a new client-side endpoint /_ctl/client-conns/{conn_id}/routes-spsp/{port_id} hyung-hwan 2025-01-09 23:02:50 +09:00
  • 7f8d5e270a enhanced wpx to handle ssh stuffs hyung-hwan 2025-01-09 20:30:14 +09:00
  • 26c40ea70e renamed tcp_addr_str_class to TcpAddrStrClass hyung-hwan 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 hyung-hwan 2025-01-07 23:59:39 +09:00
  • b8bd8f4d4c support lifetime update of a client-side route hyung-hwan 2025-01-07 15:23:05 +09:00
  • d95bc8385a added lifetime to client route hyung-hwan 2025-01-07 13:44:37 +09:00
  • 8af910aa8f fixed a wrong endpoint path hyung-hwan 2025-01-06 21:28:31 +09:00
  • 1edcbb4f93 added some redirect handlers hyung-hwan 2025-01-05 01:36:41 +09:00
  • aa5f3d8af8 removed code for _init endpoint and cookie handling changed to use /_ctl/ prefix for api access hyung-hwan 2025-01-04 18:42:18 +09:00
  • ee6d56de67 added xterm-html-file option to server.yaml hyung-hwan 2024-12-29 16:11:31 +09:00
  • 65cec65597 added SetXtermHtml and GetXtermHtml to enable the caller to customize the ssh page hyung-hwan 2024-12-28 18:48:29 +09:00
  • 4016793327 exposed some fields of ServerRoute and ServerConn hyung-hwan 2024-12-28 18:35:14 +09:00
  • a5bb59622e removed unneeded code hyung-hwan 2024-12-28 13:19:51 +09:00
  • 9d266180e9 removed repeated GetId functions using struct embedding hyung-hwan 2024-12-27 16:52:27 +09:00
  • f1572f9321 enhanced for wpx response transformer hyung-hwan 2024-12-27 14:43:44 +09:00
  • 6809cfdeb6 fixed the issue of no mutex lock/unlock when accessing some maps. added a wpx service hyung-hwan 2024-12-26 00:20:44 +09:00
  • fcb7ae5ade ensured call the cancellation function for ssh connection hyung-hwan 2024-12-25 16:12:04 +09:00
  • 1681b34374 ensured to call context cancellation function hyung-hwan 2024-12-25 16:00:14 +09:00
  • 2424a63db9 enhanced conneciton upgrade handling in http proxy code hyung-hwan 2024-12-25 02:14:47 +09:00
  • c1f7c5d4c2 enhancing http proxy code hyung-hwan 2024-12-23 01:27:47 +09:00
  • 91714b23ae implementing websocket proxy hyung-hwan 2024-12-20 01:09:00 +09:00
  • 02e3e4561a changed X-Forwarded-Path-Prefix to X-Forwarded-Prefix hyung-hwan 2024-12-19 00:05:24 +09:00
  • b147795ae0 added non-stanrd x-forward-path-prefix header hyung-hwan 2024-12-18 01:21:44 +09:00
  • 3fc48eb590 relocated functions hyung-hwan 2024-12-17 09:35:51 +09:00
  • e177b7dc6b simplified some code of parsing connection ids and route ids hyung-hwan 2024-12-17 00:32:22 +09:00
  • d71290a0a8 adding a new http proxy endpoint hyung-hwan 2024-12-16 18:53:13 +09:00
  • bf2c70fa2c updated to support ssh by port number hyung-hwan 2024-12-16 15:19:01 +09:00
  • de96a75af8 fixed wrong formatting string in error output in cmd/main.go hyung-hwan 2024-12-16 11:29:40 +09:00
  • 960520b905 updated code to use ClientRouteConfig when adding a new route in control channel hyung-hwan 2024-12-16 09:59:14 +09:00
  • a4ef87c031 added the new type ClientRouteConfig. client-side route info is populated to a ClientRouteCofnig slice hyung-hwan 2024-12-16 01:43:46 +09:00
  • ec6577aed2 added a stat item to the server hyung-hwan 2024-12-16 01:03:03 +09:00
  • fe67d9e16f enhanced logging by supporting --log-file and handling a log file under /dev specially hyung-hwan 2024-12-16 00:41:32 +09:00
  • 8cab165cc4 enhanced the logger with file logging and rotation hyung-hwan 2024-12-15 15:07:35 +09:00
  • bc9a40106c improving logger to write to a file hyung-hwan 2024-12-14 14:04:33 +09:00
  • 3299ca0fb2 fixed the usage text hyung-hwan 2024-12-14 02:42:41 +09:00
  • 25ce8a6ca4 added the client-peer-name field for route commands hyung-hwan 2024-12-14 02:39:27 +09:00
  • 692fc352b1 removed frame.go hyung-hwan 2024-12-14 00:23:53 +09:00
  • 7cea612ae5 trying to add client-side peer name hyung-hwan 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 hyung-hwan 2024-12-13 23:19:26 +09:00
  • ea601f1011 many enhancements to the ssh terminal support hyung-hwan 2024-12-13 21:49:11 +09:00
  • 61c13bd4e8 added server-proxy.go hyung-hwan 2024-12-13 02:25:58 +09:00
  • c562a41cb8 implementing a ssh termianl hyung-hwan 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 hyung-hwan 2024-12-12 21:09:16 +09:00
  • 41e7222b98 fixed wrong config access hyung-hwan 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 hyung-hwan 2024-12-10 14:37:14 +09:00
  • 6fdae92300 simplificed monotonic time functions by using x/sys/unix hyung-hwan 2024-12-10 13:15:05 +09:00
  • 2d15f0d2a4 defined PeerId, RouteId, ConnId types and made relevant changes hyung-hwan 2024-12-09 22:41:23 +09:00
  • d043fd730b updated code to utilize runtime.nanotime() which is not exported hyung-hwan 2024-12-09 19:22:43 +09:00
  • de113d150f added a function to get the monotonic time hyung-hwan 2024-12-09 19:04:22 +09:00
  • 464a550c68 added a stop request guard in starting a control channel hyung-hwan 2024-12-09 17:23:26 +09:00
  • f1c146d94f permitted the client mode to start without server addresses hyung-hwan 2024-12-09 15:43:29 +09:00
  • db48395b13 fixed null pointer dereference in accessing the log mask configuration value hyung-hwan 2024-12-09 01:59:05 +09:00
  • 2c7c08c22f added the log-mask option in the configuration file hyung-hwan 2024-12-09 01:51:04 +09:00
  • be0d31b06c implemented some more control channel handler in server.go hyung-hwan 2024-12-08 23:16:43 +09:00
  • 3c9b65476a minor code formatting hyung-hwan 2024-12-08 17:47:08 +09:00
  • 29180a7969 added more stats fields hyung-hwan 2024-12-08 17:40:15 +09:00
  • ebfc4010e7 added the cts_limit field to Server hyung-hwan 2024-12-08 17:25:59 +09:00
  • 0bc765b72a removed unwanted return in client_ctl_client_conns_id.ServerHTTP() hyung-hwan 2024-12-08 17:19:20 +09:00
  • f87db5ac41 fixed nil pointer dererence in main hyung-hwan 2024-12-08 16:56:04 +09:00
  • feedff3f04 implemented timeout for an initial GetSeed call. Added RPC.Endpoint.Authority hyung-hwan 2024-12-08 16:48:23 +09:00
  • 7479cc0f3a enhancing the client to accept multipl rpc server addresses hyung-hwan 2024-12-08 16:06:18 +09:00
  • 3d19576905 extended configuration to accept rpc service addresses and endpoint addresses hyung-hwan 2024-12-08 13:34:47 +09:00
  • 87597ad698 extended stats to include number of rpc connections, routes, peers hyung-hwan 2024-12-08 12:13:36 +09:00
  • 970b28ec30 updated argument check for 'version' hyung-hwan 2024-12-08 02:19:11 +09:00
  • 7c3169e593 added some code to return statistics hyung-hwan 2024-12-08 01:10:49 +09:00
  • 1496951c36 added some code to exit the whole process upon panic in http goroutines hyung-hwan 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) hyung-hwan 2024-12-07 23:03:23 +09:00
  • 8821506fb1 let http.Server use the main app logger hyung-hwan 2024-12-07 22:18:07 +09:00
  • 6d87351e5e updated the server to trust the embedded cert if no client ca is explicitly specified hyung-hwan 2024-12-07 21:31:06 +09:00