Commit Graph

  • be864129dc fixed the command to generate tls files main hyung-hwan 2025-04-08 23:39:50 +09:00
  • e1c288f17f some error output to stderr hyung-hwan 2025-04-08 15:13:47 +09:00
  • a1f8d4cf22 minor relocation of a variable hyung-hwan 2025-04-07 15:24:02 +09:00
  • 9c3a4d0c17 changed the unit of lifetimestart to a millisecond Updated to fire route updated upon lifetime extension hyung-hwan 2025-04-03 12:30:29 +09:00
  • b41df682e1 added function to maintain the list of service addresses hyung-hwan 2025-03-31 23:40:45 +09:00
  • 918b887517 renamed server_ctl to ServerCtl and capitalized the first letter of inner fields for exposure hyung-hwan 2025-03-29 13:29:02 +09:00
  • 76cba687ed created event firing functions under server and client to replace directy bulleting enqueing hyung-hwan 2025-03-28 17:03:17 +09:00
  • fd28add458 switch to use Atom for connect_ssh_cancel hyung-hwan 2025-03-28 00:56:58 +09:00
  • 0cfd241e00 added more client-side endpoints hyung-hwan 2025-03-26 23:44:41 +09:00
  • 5dbe9cd34e revised Makefile hyung-hwan 2025-03-24 01:51:05 +09:00
  • 494f11836c added another control endpoint /_ctl/server-conns/{conn_id}/peers hyung-hwan 2025-03-23 13:22:53 +09:00
  • 41503373d3 added a new endpoint - /_ctl/server-routes hyung-hwan 2025-03-22 14:01:42 +09:00
  • e01a6b347c updated to support multiple notice handlers with a fix on race condition accessing cts.Token on the client side hyung-hwan 2025-03-21 12:53:16 +09:00
  • 8cde9f08d4 added /_ctl/server-peers hyung-hwan 2025-03-19 00:24:42 +09:00
  • 9865914436 fired CONN_UPDATED from receive_from_stream hyung-hwan 2025-03-18 23:45:00 +09:00
  • 5fa6cd466b added the routes parameter to the server-conns endpoint hyung-hwan 2025-03-18 23:37:46 +09:00
  • 3714138656 added fields to hold creation time in various structures hyung-hwan 2025-03-14 22:51:23 +09:00
  • f1f74ed48d updated wrong fix on waitgroup in the previous commit as well as a type of a field name of ServerEventConnDeleted hyung-hwan 2025-03-13 22:59:38 +09:00
  • cd32380425 added Atom[T] to have atomic manipulation of composite values hyung-hwan 2025-03-13 21:24:59 +09:00
  • 4d3fb7db65 partial authentication in ctl websocket hyung-hwan 2025-03-13 09:43:17 +09:00
  • 8105545e98 use s.WrapWebsocketHandler for ssh websockets hyung-hwan 2025-03-12 12:57:46 +09:00
  • 1e6fbed19d fixed wrong queue implementation in bulletin.go hyung-hwan 2025-03-12 12:08:56 +09:00
  • b398816c96 added Enqueue() and Dequeue() to bulltin.go thinking to remove topics but still retained hyung-hwan 2025-03-12 03:00:28 +09:00
  • 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 hyung-hwan 2025-03-11 21:12:05 +09:00
  • befe65b486 enhanced the bulletin code hyung-hwan 2025-03-10 19:56:14 +09:00
  • 030d62af12 writing bulletin subscription/publish code hyung-hwan 2025-03-10 09:33:19 +09:00
  • ae13d0c4ed starting simple messaging code hyung-hwan 2025-03-08 15:17:27 +09:00
  • 7b1d383813 renamed ReportEvent to ReportPacket hyung-hwan 2025-03-08 11:34:05 +09:00
  • 6e9887f726 updated the notice endpoint to access the 'text' field in the payload for convenience hyung-hwan 2025-03-07 23:56:30 +09:00
  • ecc1d4580f removed redundant endding semicolons hyung-hwan 2025-03-07 21:12:21 +09:00
  • e56c45b3bf updated to return connections, routes, peers in ascending order by id over the control endpoint hyung-hwan 2025-03-07 13:41:44 +09:00
  • b6fb296608 added close-on-conn-error-event. added the client token in connection output over ctl hyung-hwan 2025-03-05 00:44:00 +09:00
  • bec93289f5 added the CONN_ERROR event t ype hyung-hwan 2025-03-04 01:16:46 +09:00
  • 04e2de609e updated the response code to MethodDelete from Ok To NoContent hyung-hwan 2025-02-28 17:26:46 +09:00
  • 71a42af593 added a debugging log message for conn_notice packets created SendNotice function for reuse by external parties hyung-hwan 2025-02-26 19:45:29 +09:00
  • 5df95159a3 exposed the cfg field by nameing cfg to Cfg in server.go hyung-hwan 2025-02-26 14:46:09 +09:00
  • 2d63e81e62 renamed wrap_http_handler to WrapHttpHandler for server hyung-hwan 2025-02-26 14:28:41 +09:00
  • 97885bcae1 fixed an issue of missing parameters to fmt.Errorf() fixed the name composition for prometheus hyung-hwan 2025-02-24 10:34:22 +09:00
  • 5c2695e46b ongoing code refactoring to use common functions hyung-hwan 2025-02-23 20:06:37 +09:00
  • 75f72e7c88 slightly more reuse of a common function hyung-hwan 2025-02-23 00:55:15 +09:00
  • 7363986737 refactored functions in client-ctl.go to use common functions hyung-hwan 2025-02-22 10:08:57 +09:00
  • 429bb6cd63 enhanced func (s *Server) FindServerConnByIdStr(conn_id string) to treat non-numeric conn_id as a connection token hyung-hwan 2025-02-20 23:12:16 +09:00
  • d9aaa0a0ab added code dealing with client connection token hyung-hwan 2025-02-20 22:21:39 +09:00
  • 7a6b820b92 added some todo text hyung-hwan 2025-02-20 01:27:22 +09:00
  • c7b7bfd25f added theConnDesc message to the grpc protocol hyung-hwan 2025-02-20 00:59:00 +09:00
  • 1c49023c37 capatalized the first letter of some field name for exposure outside package hyung-hwan 2025-02-19 17:17:53 +09:00
  • b5c1ae2a73 enhanced the reconnect logic in client.go hyung-hwan 2025-02-19 10:38:23 +09:00
  • 2b3a841299 added default notice handling interface hyung-hwan 2025-02-18 14:44:45 +09:00
  • 81f7bb0c0d added /_ctl/client-conns/id/nocies hyung-hwan 2025-02-18 01:17:51 +09:00
  • a0efb55c3e trying to support notice event hyung-hwan 2025-02-18 01:02:26 +09:00
  • be7f4f4da5 stored client-side peer info to ServerConnPeer when PEER_STARTED is received hyung-hwan 2025-02-17 00:52:29 +09:00
  • f2536a0acc added code dealing with server-side peers hyung-hwan 2025-02-15 19:44:48 +09:00
  • cb18a44cfa started writing a new endpoint for server peer info hyung-hwan 2025-02-15 18:06:10 +09:00
  • fb465133b9 minor code update hyung-hwan 2025-02-14 16:18:57 +09:00
  • d5108e9859 allowed to bypass authentication for a specific endpoint to be accessed from ssh client hyung-hwan 2025-02-14 12:45:54 +09:00
  • 3dc5d9c91e updated to support cors in primitive manner hyung-hwan 2025-02-10 14:48:18 +09:00
  • ec51c101ec updated the authentication to recognize X-Auth-Username and X-Auth-Password hyung-hwan 2025-02-04 01:30:19 +09:00
  • ef3e80efb8 preallocated of access rules instead of using append() hyung-hwan 2025-02-02 09:57:43 +09:00
  • 1bc8406907 fixed a bug in handling the log file argument hyung-hwan 2025-02-01 00:19:47 +09:00
  • 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