Commit Graph

137 Commits

Author SHA1 Message Date
714748d8e2 code touch-up for better maintainability 2025-08-29 10:44:05 +09:00
c8cb71cf95 update the proxy code to resolve a route by the client token and the client-side peer name 2025-08-24 19:00:26 +09:00
42ceb5f3fa enhanced the logger to use color on a tty 2025-08-21 22:48:28 +09:00
7ec1387132 improved code to break unix.Poll() using a seperate pipe for rpty 2025-08-21 20:40:51 +09:00
7d3ce7147a updated client rpx logging to print the x-forwarded-host value 2025-08-21 16:01:26 +09:00
0d76146bc3 enhanced rpx message logging 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 2025-08-20 23:36:23 +09:00
6078a41504 moved some goroutines to separate functions for improved readability 2025-08-20 14:11:02 +09:00
0696f4f560 updated code to add x-forwarded-host and x-forwarded-proto for rpx 2025-08-20 02:04:06 +09:00
c001458b24 added the rpx_sessions counter 2025-08-19 22:23:22 +09:00
10c139e837 added code for rpx handling 2025-08-19 20:20:18 +09:00
6200bc5460 removed UNUSED from the proto file 2025-08-12 16:29:44 +09:00
7fb4fbaae2 updated http logging to include the query string part 2025-08-12 12:17:33 +09:00
d818acc53d rpty at least working 2025-08-12 02:50:10 +09:00
05cb0823b4 some code clean-up in handling grpc packets 2025-08-10 17:23:01 +09:00
d0f1663bf3 renamed pts to pty to avoid name collision 2025-08-08 19:24:52 +09:00
3fd91b2c45 updated routing rules a bit 2025-07-30 18:23:23 +09:00
5767beb9af removed the /_pts/favicon.ico endpoint 2025-06-24 20:56:16 +09:00
6e670b4924 updated http endpoints for more consistent xterm.html access 2025-06-24 00:58:46 +09:00
d092540f08 merged xterm.html and xterm-pts.html
made relevant code changes oin the server side as well
2025-06-22 13:11:25 +09:00
7835696166 enhanced the websocket endpoints to return failure for normal https packets 2025-06-21 22:01:24 +09:00
6baf3b2b53 added pty terminal support to the client side 2025-06-21 02:43:28 +09:00
deb6f7b05a moved some waiting loops to goroutines to avoid race conditions 2025-05-12 19:08:54 +09:00
a1f8d4cf22 minor relocation of a variable 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
2025-04-03 12:30:29 +09:00
918b887517 renamed server_ctl to ServerCtl and capitalized the first letter of inner fields for exposure 2025-03-29 13:29:02 +09:00
76cba687ed created event firing functions under server and client to replace directy bulleting enqueing 2025-03-28 17:03:17 +09:00
0cfd241e00 added more client-side endpoints 2025-03-26 23:44:41 +09:00
e01a6b347c updated to support multiple notice handlers with a fix on race condition accessing cts.Token on the client side 2025-03-21 12:53:16 +09:00
5fa6cd466b added the routes parameter to the server-conns endpoint 2025-03-18 23:37:46 +09:00
cd32380425 added Atom[T] to have atomic manipulation of composite values 2025-03-13 21:24:59 +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
2025-03-11 21:12:05 +09:00
7b1d383813 renamed ReportEvent to ReportPacket 2025-03-08 11:34:05 +09:00
ecc1d4580f removed redundant endding semicolons 2025-03-07 21:12:21 +09:00
e56c45b3bf updated to return connections, routes, peers in ascending order by id over the control endpoint 2025-03-07 13:41:44 +09:00
b6fb296608 added close-on-conn-error-event.
added the client token in connection output over ctl
2025-03-05 00:44:00 +09:00
bec93289f5 added the CONN_ERROR event t ype 2025-03-04 01:16:46 +09:00
71a42af593 added a debugging log message for conn_notice packets
created SendNotice function for reuse by external parties
2025-02-26 19:45:29 +09:00
5c2695e46b ongoing code refactoring to use common functions 2025-02-23 20:06:37 +09:00
7363986737 refactored functions in client-ctl.go to use common functions 2025-02-22 10:08:57 +09:00
d9aaa0a0ab added code dealing with client connection token 2025-02-20 22:21:39 +09:00
c7b7bfd25f added theConnDesc message to the grpc protocol 2025-02-20 00:59:00 +09:00
b5c1ae2a73 enhanced the reconnect logic in client.go 2025-02-19 10:38:23 +09:00
2b3a841299 added default notice handling interface 2025-02-18 14:44:45 +09:00
81f7bb0c0d added /_ctl/client-conns/id/nocies 2025-02-18 01:17:51 +09:00
a0efb55c3e trying to support notice event 2025-02-18 01:02:26 +09:00
be7f4f4da5 stored client-side peer info to ServerConnPeer when PEER_STARTED is received 2025-02-17 00:52:29 +09:00
f2536a0acc added code dealing with server-side peers 2025-02-15 19:44:48 +09:00
3dc5d9c91e updated to support cors in primitive manner 2025-02-10 14:48:18 +09:00
ec51c101ec updated the authentication to recognize X-Auth-Username and X-Auth-Password 2025-02-04 01:30:19 +09:00