Commit Graph

  • 437ab8ccef fixed wrong indentations main hyung-hwan 2025-09-05 10:35:44 +09:00
  • 714748d8e2 code touch-up for better maintainability hyung-hwan 2025-08-29 10:44:05 +09:00
  • f5a95505a9 fixed the problem of not setting the log file properly hyung-hwan 2025-08-24 21:18:07 +09:00
  • 98966f85f6 enhanced the route resolution code further in server.go hyung-hwan 2025-08-24 19:13:13 +09:00
  • c8cb71cf95 update the proxy code to resolve a route by the client token and the client-side peer name hyung-hwan 2025-08-24 19:00:26 +09:00
  • e2a3180ec7 added the tls configuration for pxy targets hyung-hwan 2025-08-24 14:36:10 +09:00
  • 42ceb5f3fa enhanced the logger to use color on a tty hyung-hwan 2025-08-21 22:48:28 +09:00
  • 9f8d3e2696 added a event pipe to break unix.Poll better for local pty hyung-hwan 2025-08-21 21:10:06 +09:00
  • 7ec1387132 improved code to break unix.Poll() using a seperate pipe for rpty hyung-hwan 2025-08-21 20:40:51 +09:00
  • 7d3ce7147a updated client rpx logging to print the x-forwarded-host value hyung-hwan 2025-08-21 16:01:26 +09:00
  • 0d76146bc3 enhanced rpx message logging hyung-hwan 2025-08-21 15:19:32 +09:00
  • 1dcb1605b7 upated NewClient() to append the default port number of the rpx target address if the port number isn't found hyung-hwan 2025-08-20 23:36:23 +09:00
  • 6078a41504 moved some goroutines to separate functions for improved readability hyung-hwan 2025-08-20 14:11:02 +09:00
  • 0696f4f560 updated code to add x-forwarded-host and x-forwarded-proto for rpx hyung-hwan 2025-08-20 02:04:06 +09:00
  • c001458b24 added the rpx_sessions counter hyung-hwan 2025-08-19 22:23:22 +09:00
  • 10c139e837 added code for rpx handling hyung-hwan 2025-08-19 20:20:18 +09:00
  • 31a4223aab minotr message fix hyung-hwan 2025-08-12 16:40:18 +09:00
  • 41cd725c1c added server-rpx.go hyung-hwan 2025-08-12 16:30:56 +09:00
  • 6200bc5460 removed UNUSED from the proto file hyung-hwan 2025-08-12 16:29:44 +09:00
  • 7fb4fbaae2 updated http logging to include the query string part hyung-hwan 2025-08-12 12:17:33 +09:00
  • d818acc53d rpty at least working hyung-hwan 2025-08-12 02:50:10 +09:00
  • 05cb0823b4 some code clean-up in handling grpc packets hyung-hwan 2025-08-10 17:23:01 +09:00
  • d0f1663bf3 renamed pts to pty to avoid name collision hyung-hwan 2025-08-08 19:24:52 +09:00
  • 3fd91b2c45 updated routing rules a bit hyung-hwan 2025-07-30 18:23:23 +09:00
  • 5767beb9af removed the /_pts/favicon.ico endpoint hyung-hwan 2025-06-24 20:56:16 +09:00
  • 6e670b4924 updated http endpoints for more consistent xterm.html access hyung-hwan 2025-06-24 00:58:46 +09:00
  • 8331fdc1a2 implemented the pts feature in the server side as well hyung-hwan 2025-06-23 21:09:24 +09:00
  • d092540f08 merged xterm.html and xterm-pts.html made relevant code changes oin the server side as well hyung-hwan 2025-06-22 13:11:25 +09:00
  • 7835696166 enhanced the websocket endpoints to return failure for normal https packets hyung-hwan 2025-06-21 22:01:24 +09:00
  • c5bac71eaf some minor fixes hyung-hwan 2025-06-21 10:54:51 +09:00
  • 9addb5d35f specified some flags to yaml.NewDecoder() hyung-hwan 2025-06-21 10:30:51 +09:00
  • e12cd28413 fixed a silly bug of passing null hyung-hwan 2025-06-21 03:11:31 +09:00
  • 6baf3b2b53 added pty terminal support to the client side hyung-hwan 2025-06-21 02:43:28 +09:00
  • 01eb2edd6e fixed nil pointer access in wpx api call hyung-hwan 2025-05-28 16:03:31 +09:00
  • cea0efcb18 added --config-file-pattern to server and client hyung-hwan 2025-05-28 09:33:29 +09:00
  • db9fc1f4d9 switching to use github.com/goccy/go-yaml hyung-hwan 2025-05-27 23:34:47 +09:00
  • 54e9e208f4 fixed the http access rule matching hyung-hwan 2025-05-27 21:54:54 +09:00
  • f06433d431 changed ioutil.ReadFile to os.ReadFile hyung-hwan 2025-05-19 16:29:52 +09:00
  • 8318643735 changed the recipe name from test to check in Makefile hyung-hwan 2025-05-18 11:40:04 +09:00
  • deb6f7b05a moved some waiting loops to goroutines to avoid race conditions hyung-hwan 2025-05-12 19:08:54 +09:00
  • dee3711dd4 changed the address variable to print hyung-hwan 2025-05-01 13:07:22 +09:00
  • be864129dc fixed the command to generate tls files 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