28 Commits

Author SHA1 Message Date
evan cac932af54 chore: remove Drone pipeline, migrated to Gitea Actions
CI / ci (push) Successful in 2m23s
2026-07-09 10:32:20 -04:00
evan ecdb52b743 fix: bump BuildKit base image to golang:1.25 to match go.mod
continuous-integration/drone/push Build is passing
CI / ci (push) Successful in 3m35s
2026-07-09 10:23:33 -04:00
evan 974e33aa3b fix: docker cicd
continuous-integration/drone/push Build is passing
CI / ci (push) Failing after 2m58s
2026-07-09 10:14:37 -04:00
evan 4a3c948bd1 cicd: act runner
continuous-integration/drone/push Build is passing
CI / ci (push) Failing after 10m8s
2026-07-09 09:15:27 -04:00
evan 8dfb14f1e7 feat(tunnel): require explicit target schemes
continuous-integration/drone/push Build is passing
2026-05-15 13:16:49 -04:00
evan 9edea27148 feat(tunnel): log public tunnel url
continuous-integration/drone/push Build is passing
2026-05-03 23:55:17 -04:00
evan c9304ea1cf feat(web): rewrite tunnel monitor preview 2026-05-03 23:53:32 -04:00
evan 9efc2b0494 fix(tunnel): stabilize concurrent stream handling
continuous-integration/drone/push Build is passing
2026-05-03 23:13:22 -04:00
evan 1a4bc76a2c feat(config): load client settings from config file 2026-05-03 23:03:55 -04:00
evan 2aee0765aa docs: update README and AGENTS.md to reflect http.Server refactor
continuous-integration/drone/push Build is failing
- Replace "Raw TCP listener" references with http.Server/hijack model
- Update architecture diagram and description
- Add testing section to AGENTS.md with test summary
- Update key patterns to match current code
- Fix file locations table (add e2e_test.go, reconstructed_conn.go)
2026-05-03 22:43:06 -04:00
evan 7df8521478 refactor(server): replace rawHTTPResponseWriter with stdlib http.Server
- Rewrite server to use net/http.Server with ServeHTTP handler instead
  of raw TCP listener with hand-written HTTP responses. Control plane
  errors now get proper Content-Type, Content-Length, and chunked
  encoding via http.Error(). Tunnel traffic hijacks the connection and
  re-serializes the request for forwarding.
- Simplify reconstructedConn to accept variative io.Readers
- Delete raw_http_response_writer.go (no longer needed)
- Fix TCP forwarder: bare host:port (e.g. "127.0.0.1:5432") now works
  correctly instead of failing on url.Parse. Only HTTP/HTTPS schemes
  go through URL parsing; everything else is treated as raw TCP.
- Add 8 new e2e tests: HTTP response quality, 1MB response body, 512KB
  request body, TCP echo, TCP large payload, concurrent single-tunnel,
  concurrent multi-tunnel (16 tests total, all passing)
2026-05-03 22:41:57 -04:00
evan 801f0f588f feat: add e2e tests, fix server shutdown and map race, update docs
- Add end-to-end test suite covering HTTP tunnel round-trip, POST
  forwarding, unknown tunnel 404, duplicate name rejection, unauthorized
  access, info endpoint, multi-tunnel routing, and graceful shutdown
- Fix server graceful shutdown by closing TCP listener on context cancel
- Fix data race in pkg/maps Entries() iterator by holding RLock
- Rewrite README with architecture, configuration, and usage docs
- Add AGENTS.md with project conventions and architecture guide
- Update flake.nix (add gopls) and flake.lock
2026-05-03 22:29:36 -04:00
evan fa8f4312df fix: drone build
continuous-integration/drone/push Build is passing
2025-10-12 15:11:11 -04:00
evan 7c1c22d214 feat: add tunnel monitor web ui
continuous-integration/drone/push Build is failing
2025-10-12 14:55:27 -04:00
evan 9afea58ec2 add: readme example
continuous-integration/drone/push Build is passing
2025-10-05 17:50:37 -04:00
evan 0722e5f032 chore: tunnel recorder & slight refactor
continuous-integration/drone/push Build is passing
2025-09-27 17:49:59 -04:00
evan 20c1388cf4 chore: better source tracking
continuous-integration/drone/push Build is passing
2025-09-23 09:24:09 -04:00
evan 0333680a2b chore: move to sync map 2025-09-23 09:04:06 -04:00
evan de23b3e815 log error
continuous-integration/drone/push Build is passing
2025-09-22 23:26:58 -04:00
evan 2e73689762 http vs tcp tunnel
continuous-integration/drone/push Build is passing
2025-09-22 23:04:15 -04:00
evan d5de31eda7 fix infinite close
continuous-integration/drone/push Build is passing
2025-09-22 15:30:54 -04:00
evan b8714e52de wip 2
continuous-integration/drone/push Build is passing
2025-09-21 18:41:47 -04:00
evan f5741ef60b wip 1 2025-09-21 13:14:45 -04:00
evan 31add1984b fix env vars
continuous-integration/drone/push Build is passing
2025-09-20 21:29:40 -04:00
evan c83ce9e4e0 fix drone
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is passing
0.0.1
2025-09-20 18:40:26 -04:00
evan 32f70cbd1f readme 2025-09-20 18:37:23 -04:00
evan 516427dcda build stuff 2025-09-20 18:29:27 -04:00
evan d2b9f273e0 initial commit 2025-09-20 18:15:38 -04:00