yusing
f45f3fba79
refactor: logic refactor for setting xff header
Docker Image CI (nightly) / build-nightly (push) Waiting to run
Docker Image CI (nightly) / build-nightly-agent (push) Waiting to run
2025-05-16 20:14:03 +08:00
yusing
453262832a
security: disallow tls1.0/1.1
2025-05-12 12:22:52 +08:00
yusing
54d7508f5d
style: gofmt and fix golangcl-ilint
Docker Image CI (nightly) / build-nightly (push) Has been cancelled
Docker Image CI (nightly) / build-nightly-agent (push) Has been cancelled
2025-05-11 06:34:35 +08:00
yusing
71ca8c738e
fix: middleware bypass
2025-05-11 06:33:22 +08:00
yusing
0d41809630
fix(middleware): move bypass after finalize
2025-05-10 21:19:03 +08:00
yusing
198ae2cd02
refactor(api): restructure existing routes and remove unused debug endpoints and command line arguments
2025-05-10 13:12:41 +08:00
yusing
8fe94d6d14
feat(socket-proxy): implement Docker socket proxy and related configurations
...
- Updated Dockerfile and Makefile for socket-proxy build.
- Modified go.mod to include necessary dependencies.
- Updated CI workflows for socket-proxy integration.
- Better module isolation
- Code refactor
2025-05-10 09:47:03 +08:00
yusing
31dc112591
fix(middleware): middleware chain error handling
...
- Removed unnecessary initialization of befores and modResps in middlewareChain.
- modifyResponse should return immediately on error.
2025-05-09 12:29:50 +08:00
yusing
75ee0e63bd
fix(middleware): fix route bypass matching
...
- replace upstream headers approach with context value
2025-05-08 17:49:36 +08:00
yusing
ad60f377ba
feat(middlewares): middleware bypass rules
2025-05-05 18:01:07 +08:00
yusing
b090598b68
feat(health): add health check detail to health api
2025-05-05 13:27:00 +08:00
yusing
9eae809690
chore: move middleware trace to trace level
2025-05-04 23:58:47 +08:00
yusing
f9a8aede20
feat: hCaptcha middleware
2025-05-04 17:21:12 +08:00
yusing
e275ee634c
fix(http): content type detection
2025-05-04 16:18:46 +08:00
yusing
98e90d7a0b
refactor: improve error handling and response formatting in API
2025-05-03 17:41:10 +08:00
yusing
7aa1215491
refactor: rename Deserialize to MapUnmarshalValidate
2025-04-29 07:26:14 +08:00
yusing
22a12d3116
chore: remove redundant loadbalancer debug message
2025-04-28 04:57:26 +08:00
yusing
89d93dd878
chore: better error message
2025-04-28 00:48:20 +08:00
yusing
66853dfc52
fix: cloudflare realIP should defaults to be recursive
2025-04-27 23:53:04 +08:00
yusing
e4be403bef
fix(agent): reduce the size of agent binary by modules separation
2025-04-26 05:22:40 +08:00
yusing
0534bc38b2
fix(oidc): logout not working when user is denied
2025-04-26 03:26:45 +08:00
yusing
03d609e4e1
fix: json marshaling
2025-04-26 01:31:22 +08:00
yusing
b427ff1f88
feat(acl): connection level ip/geo blocking
...
- fixed access log logic
- implement acl at connection level
- acl logging
- ip/cidr blocking
- geoblocking with MaxMind database
2025-04-25 10:47:52 +08:00
yusing
e513db62b0
refactor: move accesslog to logging/accesslog
2025-04-25 08:37:39 +08:00
yusing
2f33ee02d9
chore: replace gopkg.in/yaml.v3 with goccy/go-yaml
2025-04-25 08:36:54 +08:00
yusing
59490dcac0
refactor: move mock time to utils
2025-04-25 08:26:00 +08:00
yusing
080bbc18eb
chore: completely drop prometheus support
2025-04-24 20:02:07 +08:00
Yuzerion
76fb0cfdbb
Feat/http3 ( #84 )
...
* chore(deps): update go-playground/validator to v10.26.0
* chore(deps): update Go version to 1.24.2 and dependencies, reorganize dependencies into categorized sections
* chore(deps): update Go version to 1.24.2 in Dockerfile
* refactor(agent): replace deprecated context import with standard context package
* feat(http3): add HTTP/3 support and refactor server handling code into utility functions
---------
Co-authored-by: yusing <yusing@6uo.me>
2025-04-24 15:37:12 +08:00
yusing
5df2553774
merge: better favicon handling
2025-04-24 15:34:47 +08:00
yusing
31812430f1
merge: access log rotation and enhancements
2025-04-24 15:29:18 +08:00
yusing
663a107c06
merge: main branch
2025-04-24 15:02:31 +08:00
yusing
806184e98b
fix: redirectHTTP middleware redirect loop when behind another proxy
2025-04-24 09:27:10 +08:00
yusing
7461344004
fix: json store marshaling, api handler
...
- code clean up
- uncomment and simplify api auth handler
- fix redirect url for frontend
- proper redirect
2025-04-24 04:47:42 +08:00
yusing
b815c6fd69
feat(oidc): support token refreshing via offline_access scope
...
- refactored code
- moved api/v1/auth to auth/
- security enhancement
- env example update
- default jwt ttl changed to 24 hours
2025-04-23 17:50:22 +08:00
yusing
9e0bdd964c
fix(oidc): rewrite login flow, fixed end_session_url retrieval and redirect issue
2025-04-22 19:29:19 +08:00
yusing
ef483403da
security: drop service headers
2025-04-22 19:28:58 +08:00
yusing
5a984f5c0c
chore: remove unused debugging printing
2025-04-22 09:54:19 +08:00
yusing
c8935102c3
feat: add validation for localhost routes to prevent usage of godoxy port causing self recursion
2025-03-29 02:59:40 +08:00
yusing
232f720e77
refactor: use stretchr/testify, replace ExpectBytesEqual and ExpectDeepEqual with ExpectEqual in tests
2025-03-28 08:45:06 +08:00
yusing
2f476603d3
feat: implement experimental BackScanner for reading files backward and add tests for various scenarios
2025-03-28 08:14:06 +08:00
yusing
366fede517
feat: add websocket writer and error handling utilities
2025-03-28 08:14:06 +08:00
yusing
5d2df3550b
refactor: remove forward auth, move module net/http to net/gphttp
2025-03-28 07:39:26 +08:00
yusing
dfd2f3962c
refactor: move api/v1/utils to net/gphttp
2025-03-28 07:39:26 +08:00
yusing
d315710310
refactor: improved reverse proxy performance, reduce memory allocation calls
2025-03-28 07:39:26 +08:00
yusing
3424cc4e51
refactor: simplfy and move net/http/server to net/gphttp/server
2025-03-28 07:39:26 +08:00