Commit Graph
89 Commits
Author SHA1 Message Date
bagas 76d1202b8e fix: correct logic when checking tcpip-forward request
Docker Build and Push / build-and-push (push) Successful in 5m34s
2025-12-26 23:17:13 +07:00
bagas 6dff735216 fix: prevent OOM by bounding io.Copy buffer usage
Docker Build and Push / build-and-push (push) Successful in 3m47s
2025-12-18 21:09:12 +07:00
bagas 7bc5a01ba7 feat: add pprof for debuging
Docker Build and Push / build-and-push (push) Successful in 3m51s
2025-12-18 18:30:49 +07:00
bagas 6451304ed7 fix: potential resource leak
Docker Build and Push / build-and-push (push) Successful in 4m17s
2025-12-17 21:38:00 +07:00
bagas 2725975d82 fix: add nil check in Forwarder.Close to avoid panic (issue #36)
Docker Build and Push / build-and-push (push) Successful in 4m8s
2025-12-12 15:36:07 +07:00
bagas 102c975388 Merge branch 'staging' of https://git.fossy.my.id/bagas/tunnel-please into staging
Docker Build and Push / build-and-push (push) Successful in 4m17s
2025-12-09 23:40:06 +07:00
bagas ad034ef681 fix: resolve random SSH disconnections caused by 'unexpected bytes remain' errors 2025-12-09 23:39:22 +07:00
bagas a2a688fc4e Update LICENSE.md
Docker Build and Push / build-and-push (push) Successful in 3m51s
2025-12-08 16:02:51 +00:00
bagas c951c41a9b fix: prevent race condition when channel is used before being set
Docker Build and Push / build-and-push (push) Successful in 6m24s
2025-12-08 22:46:10 +07:00
bagas cb08bb7673 update: readme
Docker Build and Push / build-and-push (push) Successful in 6m24s
2025-12-08 21:13:16 +07:00
bagas 5d9f7aee92 Update .gitea/workflows/build.yml
Docker Build and Push / build-and-push (push) Successful in 5m26s
2025-12-08 13:35:46 +00:00
bagas dd96c8fe75 refactor: remove magic numbers and replace with named constants
Docker Build and Push / build-and-push (push) Successful in 6m20s
2025-12-08 19:46:04 +07:00
bagas ba5f702e36 feat: add droping conn command
Docker Build and Push / build-and-push (push) Successful in 4m38s
2025-12-07 15:26:37 +07:00
bagas 8c8fdf251d refactor: remove error shadowing
Docker Build and Push / build-and-push (push) Successful in 6m13s
2025-12-06 23:47:02 +07:00
bagas 03d3c8e4fb feat: make interaction more interactive 2025-12-06 23:46:09 +07:00
bagas 9bd2bead9e refactor: instantiate new session object once forwarding is approved
Docker Build and Push / build-and-push (push) Successful in 6m6s
2025-12-06 23:14:13 +07:00
bagas 69c3e78728 fix: correct read/write handling in CustomWriter
Docker Build and Push / build-and-push (push) Successful in 5m7s
2025-12-06 22:18:43 +07:00
bagas 0b8bc1dbba Merge pull request 'refactor' (#24) from refactor into staging
Docker Build and Push / build-and-push (push) Successful in 4m25s
Reviewed-on: bagas/tunnl_please#24
2025-12-05 17:03:36 +00:00
bagas 43178d51b5 refactor: remove docker compose 2025-12-06 00:03:19 +07:00
bagas 368cc0b3e3 fix: resolve nil pointer dereference in interaction on TLS request 2025-12-06 00:01:25 +07:00
bagas 7819dcc430 Merge pull request 'refactor' (#23) from refactor into staging
Docker Build and Push / build-and-push (push) Successful in 4m23s
Reviewed-on: bagas/tunnl_please#23
2025-12-05 15:28:49 +00:00
bagas af951b8fa7 fix: discard unused buffers in the ssh channel before disconnecting 2025-12-05 22:26:38 +07:00
bagas 990bccbff7 update: handle message deletion properly 2025-12-05 22:24:46 +07:00
bagas 659f6c3ee7 refactor: move CreateForwardedTCPIPPayload to forwarder interface 2025-12-05 13:49:33 +07:00
bagas 36790cab44 Merge pull request 'refactor' (#22) from refactor into staging
Docker Build and Push / build-and-push (push) Successful in 4m33s
Reviewed-on: bagas/tunnl_please#22
2025-12-04 15:50:57 +00:00
bagas 7a31047bb9 refactor: restructure session initialization to avoid circular references 2025-12-04 22:48:15 +07:00
bagas 039e979142 refactor: restructure session initialization to avoid circular references 2025-12-04 19:32:00 +07:00
bagas 82050a738f refactor: change to gitea action
Docker Build and Push / build-and-push (push) Successful in 6m46s
2025-12-03 21:21:40 +07:00
bagas 5efa83633f refactor: remove profiling
Docker Build and Push / build-and-push (push) Has been cancelled
2025-12-03 21:20:40 +07:00
bagas 515bc30559 fix: conn reader stuck when header have body
Docker Build and Push / build-and-push (push) Has been cancelled
2025-12-03 21:14:42 +07:00
bagas a3eb08e7ae fix: try writing to a close network
Docker Build and Push / build-and-push (push) Has been cancelled
2025-12-02 22:17:14 +07:00
bagas f59de03a50 fix: panic due to nil pointer when disconnecting a session
Docker Build and Push / build-and-push (push) Has been cancelled
2025-12-02 21:52:23 +07:00
bagas 626b6b5feb fix: unexpected byte size
Docker Build and Push / build-and-push (push) Has been cancelled
2025-12-02 20:15:51 +07:00
bagas b967619a3a fix: chunk request not sent properly
Docker Build and Push / build-and-push (push) Has been cancelled
2025-12-02 19:17:20 +07:00
bagas ecd6ab2618 feat: head ping
Docker Build and Push / build-and-push (push) Has been cancelled
2025-12-02 18:44:30 +07:00
bagas 52a7adc4f7 feat: head ping
Docker Build and Push / build-and-push (push) Has been cancelled
2025-12-02 18:21:33 +07:00
bagas d7d6e24a42 feat: add header factory
Docker Build and Push / build-and-push (push) Has been cancelled
2025-12-02 17:14:17 +07:00
bagas f00b8db729 fix: http forwarding stuck
Docker Build and Push / build-and-push (push) Has been cancelled
2025-11-28 19:35:43 +07:00
bagas 342f58ddb9 fix: logic error in port checking
Docker Build and Push / build-and-push (push) Has been cancelled
2025-11-28 17:34:23 +07:00
bagas 8442fedef1 refactor: handle error
Docker Build and Push / build-and-push (push) Has been cancelled
2025-11-28 16:57:13 +07:00
bagas d3a5007d68 refactor: separate session responsibilities and inject dependencies
Docker Build and Push / build-and-push (push) Has been cancelled
2025-11-28 13:29:43 +07:00
bagas 9c4ac732ee fix: close connection on TCP/IP request timeout
Docker Build and Push / build-and-push (push) Has been cancelled
2025-11-27 22:51:34 +07:00
bagas 7423a63441 Merge pull request 'staging' (#4) from staging into main
Docker Build and Push / build-and-push (push) Has been cancelled
Reviewed-on: bagas/tunnl_please#4
2025-09-11 12:07:37 +00:00
bagas 659b2b82ec update: improve cors checking logic
Docker Build and Push / build-and-push (push) Successful in 3m44s
2025-09-11 13:18:28 +07:00
bagas f5a995e20f update: remove unuse debug message
Docker Build and Push / build-and-push (push) Successful in 3m49s
2025-09-11 13:10:09 +07:00
bagas 41f9835365 update: add new env variable for setting cors list
Docker Build and Push / build-and-push (push) Successful in 3m49s
2025-09-11 13:02:16 +07:00
bagas 9e794bf53f update: redirect user to not found tunnel page
Docker Build and Push / build-and-push (push) Successful in 3m49s
2025-09-08 10:18:47 +07:00
bagas 0999196ee9 update: redirect user to not found tunnel page
Docker Build and Push / build-and-push (push) Successful in 3m52s
2025-09-08 09:59:41 +07:00
bagas 17b0643c56 Merge pull request 'staging' (#3) from staging into main
Docker Build and Push / build-and-push (push) Successful in 3m44s
Reviewed-on: bagas/tunnl_please#3
2025-09-06 11:59:41 +00:00
bagas 334655b116 chore: allow all origins for WebSocket requests temporarily
Docker Build and Push / build-and-push (push) Successful in 3m49s
2025-09-06 18:25:02 +07:00
bagas 96dcea1f2c feat: add dedicated WebSocket service for subdomain ping
Docker Build and Push / build-and-push (push) Successful in 6m33s
2025-09-06 17:17:43 +07:00
bagas 5353e9a8f9 Merge pull request 'Improve concurrency and resource management' (#2) from staging into main
Docker Build and Push / build-and-push (push) Successful in 3m40s
Reviewed-on: bagas/tunnl_please#2
2025-07-23 06:51:08 +00:00
bagas be643e38c4 refactor: remove unused files and folders
Docker Build and Push / build-and-push (push) Successful in 3m39s
2025-07-23 13:44:58 +07:00
bagas c4dd086fb3 fix: ensure SSH connections close on client disconnect
Docker Build and Push / build-and-push (push) Successful in 4m20s
2025-07-23 12:40:20 +07:00
bagas f6ad5c81e3 fix: resolve resource exhaustion with high connection counts
Docker Build and Push / build-and-push (push) Successful in 3m40s
2025-07-22 13:19:28 +07:00
bagas f85a05647e fix: add thread safety to PortManager with mutex synchronization
Docker Build and Push / build-and-push (push) Successful in 3m40s
2025-07-22 13:11:03 +07:00
bagas 28f0caced1 fix: resolve resource exhaustion with high connection counts
Docker Build and Push / build-and-push (push) Successful in 3m39s
2025-07-22 12:55:02 +07:00
bagas 4b21541668 fix: resolve resource exhaustion with high connection counts
Docker Build and Push / build-and-push (push) Successful in 3m40s
2025-07-22 12:38:52 +07:00
bagas 9f18cfa954 fix: remove timeouts from HTTP/HTTPS handlers and improve concurrency
Docker Build and Push / build-and-push (push) Successful in 3m40s
2025-07-21 19:54:17 +07:00
bagas 4a25627ab5 fix: using close channel when attempting to close session
Docker Build and Push / build-and-push (push) Successful in 3m35s
2025-07-21 16:36:05 +07:00
bagas 0ada07400d refactor: remove unuse variable and channel
Docker Build and Push / build-and-push (push) Successful in 6m13s
2025-07-21 14:19:58 +07:00
bagas 8c15da6131 feat: Support dynamic port allocation for SSH forwarding
Docker Build and Push / build-and-push (push) Failing after 42s
2025-07-21 13:07:42 +07:00
bagas 66f1492466 refactor: remove unuse variable and channel 2025-07-21 12:10:08 +07:00
bagas 32f9765374 refactor: remove slug channel from session struct 2025-07-21 11:37:57 +07:00
bagas c9bb3000bd Merge pull request 'staging' (#1) from staging into main
Docker Build and Push / build-and-push (push) Successful in 3m53s
Reviewed-on: bagas/tunnl_please#1
2025-06-22 11:06:30 +00:00
bagas 82c112984e update: add gitea action
Docker Build and Push / build-and-push (push) Successful in 6m46s
2025-06-22 17:47:09 +07:00
bagas 692e9511f8 update: add gitea action
Docker Build and Push / build-and-push (push) Failing after 29s
2025-06-22 17:41:42 +07:00
bagas 8dd4b4b173 update: add gitea action
Docker Build and Push / build-and-push (push) Failing after 40s
2025-06-22 17:39:00 +07:00
bagas 867481bd3d update: add gitea action
Docker Build and Push / build-and-push (push) Failing after 58s
2025-06-22 17:35:48 +07:00
bagas 31fb8d380b update: add gitea action
Docker Build and Push / build-and-push (push) Has been cancelled
2025-06-22 16:42:09 +07:00
bagas 64b66ea0a4 Merge branch 'main' of https://git.fossy.my.id/bagas/tunnel_pls 2025-05-14 11:50:20 +07:00
bagas 7717a3b866 update: add dockerfile 2025-05-14 11:49:53 +07:00
bagas bac954e364 Add LICENSE 2025-04-08 16:18:17 +00:00
bagas 0117931817 fix: reject non tunnel request & reject duplicated port 2025-04-08 23:14:42 +07:00
bagas 5350bc13a9 refactor: optimize HTTP header parsing 2025-04-08 12:59:58 +07:00
bagas 4912aafe65 update: implement tls server 2025-04-05 23:27:32 +07:00
bagas 221adf9581 update: use raw TCP for HTTP server 2025-04-02 23:27:39 +07:00
bagas 58f15d5a67 update: notify user when accessing an unknown tunnel address 2025-02-08 18:34:45 +07:00
bagas af6c6ba8a6 fix: handle closed connection access to prevent runtime error 2025-02-08 18:33:43 +07:00
bagas bb6e4e2568 feat: http/1.x translation to http/2.0 2025-02-08 16:53:32 +07:00
bagas 1508ade537 feat: add TLS support 2025-02-07 21:21:29 +07:00
bagas 710dc544c4 feat: add environment variable support 2025-02-07 18:47:10 +07:00
bagas e6e9e25d8d feat: add routing and landing page 2025-02-07 18:31:20 +07:00
bagas d5829ffd0d feat: log incoming requests to the user's terminal 2025-02-07 18:30:23 +07:00
bagas dfc57cf542 update: improve http tunnel and slug extraction from domain 2025-02-07 16:32:30 +07:00
bagas 82eb7af7a6 feat: add subdomain forwarding support for tunnel 2025-02-07 03:26:01 +07:00
bagas 8a1604fde8 refactor: separate core components and improve session & server handling 2025-02-06 22:14:13 +07:00
bagas dc219e2f7f Initial commit 2025-02-05 15:38:47 +07:00
bagas 6279ba686d Initial commit 2025-02-05 08:33:59 +00:00