Toby Chui
4d3d1b25cb
Restructure TLS options
...
- Moved certification related functions into tlscert module
- Added specific host TLS behavior logic
- Added support for disabling SNI and manually overwrite preferred certificate to serve
- Fixed SSO requestHeaders null bug
2025-07-12 19:30:55 +08:00
Toby Chui
8cb47e19fa
Merge branch 'main' of https://github.com/kjagosz/zoraxy into v3.2.3
2025-06-07 12:08:23 +08:00
Toby Chui
877692695e
Added #653
...
- Added dev mode plugin auto-reload
- Optimized struct in plugin manager options
2025-05-11 14:02:07 +08:00
Krzysztof Jagosz
61b873451f
Added OAuth2 support for SSO
2025-04-29 01:05:48 +02:00
Toby Chui
70d95bd4e4
Fixed build in start.go
...
- Fixed build error in start.go
- Moved authelia and authentik implementation to deprecated folder for reference purpose
2025-04-27 19:24:15 +08:00
James Elliott
8f046a0b47
feat: forward auth
...
This adds basic support for forwarded authentication similar to caddy and traefik. This replaces Authelia SSO as it effectively covers exactly the same use cases.
2025-04-27 20:27:23 +10:00
Toby Chui
9781735983
Moved dev settings to flag
...
- Moved internal DEVELOPMENT_MODE flag to start parameters
2025-04-27 13:55:54 +08:00
Toby Chui
6750c7fe3d
Added wip plugin store
...
- Added plugin store snippet
- Added plugin list sync functions
- Work in progress install / uninstall plugin function
2025-04-22 07:15:30 +08:00
Toby Chui
d4c1225f75
Merge pull request #568 from JokerQyou/feature/authentik-forward-auth
...
[WIP] Add Authentik forward auth support
2025-03-31 20:05:52 +08:00
Toby Chui
136989f2ea
Added plugin dir parameter
...
- Added plugin dir parameter
- Fixed critical architectural bug that effects plugin UI in production mode
- Updated implementation of embed FS routing
- Minor dark theme update
- Fixed ztnc UI bug for msgbox and confirm box
2025-03-28 21:24:18 +08:00
Toby Chui
4a99afa2f0
Fixed deadlock in plugin manager close
...
- Moved all mutex away from defer
- Updated plugin manager close logic to prevent deadlock
2025-03-11 21:22:09 +08:00
Toby Chui
dfd5ef5578
Modernized dpcore code
...
- Rewritten dpcore transport object with deprecated API removed
- Optimized concurrent connection counts from 32 to 256
- Updated random port range for plugins
- Added debug output to plugin library
2025-03-10 22:00:33 +08:00
Toby Chui
3e57a90bb6
Fixed #573
...
- Added whitelist loopback quick toggle
- Fixed plugin exit stuck bug
2025-03-09 17:02:48 +08:00
Toby Chui
75c351e7e2
Removed GAN
...
- Removed UI and module of GAN
- this feature is moved to plugin
2025-03-02 09:12:07 +08:00
Joker
ebf6ad6600
Add Authentik forward auth support
2025-03-01 15:29:36 +08:00
Toby Chui
53657e8716
Added embed server for plugin library
...
- Added embeded resources server for plugin library
- Added ztnc plugin for global area network
- Added wide mode for side wrapper
2025-02-28 15:46:57 +08:00
Toby Chui
bddff0cf2f
Added working plugin manager prototype
...
- Added experimental plugin UI proxy
- Added plugin icon loader
- Added plugin table renderer
2025-02-27 22:27:13 +08:00
Toby Chui
ad13b33283
Added plugin prototype
...
- Added proof of concept plugin prototype
- Added wip plugin page
2025-02-25 21:14:03 +08:00
Toby Chui
ebd316a7f1
Exposed log and db filepath setting
2024-12-31 21:14:37 +08:00
Toby Chui
64b6769695
Added external geoip db option
...
- Added support for loading geoip db from external file
- Added -update_geoip flag for automatically update the geoip
2024-12-24 21:12:26 +08:00
Toby Chui
2423d0fb3a
Added experimental authelia support
...
- Integrated #33 code snippet
- Added UI for setting Authelia server address
- Updated authentication provider implementation
2024-12-15 15:52:59 +08:00
Toby Chui
bb0f55018c
System arch optimization
...
- Optimized types and definitions
- Moved shutdown seq to start.go file
- Moved authelia to auth/sso module
- Added different auth types support (wip)
- Updated proxy config structure
- Added v3.1.4 to v3.1.5 auto upgrade utilities
- Fixed #426
- Optimized status page UI
- Added options to disable uptime montior in config
2024-12-12 20:49:53 +08:00
Toby Chui
cc08c704de
Database update
...
- Removed read-only mode
- Added LevelDB for big data storage
TODO: Update backup utilities to support new db structure
2024-12-06 23:34:21 +08:00
Toby Chui
015889851a
Optimized UX and code structure
...
+ Added automatic self-sign certificate sniffing
+ Moved all constant into def.go
+ Added auto restart on port change when proxy server is running
+ Optimized slow search geoIP resolver by introducing new cache mechanism
+ Updated default incoming port to HTTPS instead of HTTP
2024-11-24 11:38:01 +08:00
Toby Chui
c5170bcb94
Refactorized main entry function
...
- Moved constants to def.go
- Added acme close function (not used for now)
- Added robots.txt to prevent webmin panel being scanned by search engine
2024-11-19 20:30:36 +08:00
Toby Chui
f927bb539a
Updated geodb
...
- Updated geoip table
- Fixed bug in streamproxy delete in dev version
- Commented SSO related features (WIP) for release
2024-10-27 16:35:59 +08:00
Toby Chui
172c5afa60
Added support for custom header variables
...
- Added support for using nginx-like variables in custom headers
- Supported variables includes: $host, $remote_addr, $request_uri, $request_method, $content_length, $content_type, $uri, $args, $scheme, $query_string, $http_user_agent and $http_referer
- Added test case for custom header variable rewriter
2024-10-27 14:47:01 +08:00
Toby Chui
528be69fe0
Optimized stream proxy codebase
...
- Moved stream proxy config from database to file based conf
- Optimized implementation for detecting proxy rule running
- Fixed #320 (hopefully)
2024-10-25 23:30:44 +08:00
Toby Chui
6923f0d200
Fixed #328
...
- Fixed register enter not working
- Updated all link to new project domain (aroz.org)
2024-10-23 21:31:06 +08:00
Toby Chui
cab2f4e63a
Fixed #316
...
Fixed early renew day not passed into auto renewer config bug
2024-09-26 22:57:49 +08:00
Toby Chui
5c56da1180
Added basic oauth module structure (wip)
...
- Added struct for oauth
- Added interception handler for Zoraxy SSO
- Added user structure for SSO
2024-09-12 10:55:01 +08:00
Toby Chui
a7f89086d4
Restructured log format in acme module
...
- Replaced all log.Println in acme module to system wide logger
- Fixed file manager path escape bug #274
2024-08-13 21:56:23 +08:00
Toby Chui
fd1439f746
Fixed csrf token error in cert upload ui
...
- Fixed csrf token error in cert upload interface
- Added system wide logger into tls cert manager
2024-07-29 12:28:21 +08:00
Toby Chui
f595da92a1
Fixed #267
...
- Added csrf middleware to management portal mux
- Added csrf token to all html templates
- Added csrf validation to all endpoints
- Optimized some old endpoints implementation
2024-07-24 21:58:44 +08:00
Toby Chui
f4a5c905e7
Fixed #256
...
- Added startup paramter to change the early renew days of certificates
- Changed the default early renew days of certificates from 14 days to 30 days
- Fixed vdir update not updating uptime monitor bug
2024-07-21 15:11:13 +08:00
Toby Chui
cf9a05f130
Updated v3.0.9
...
- Added certificate download
- Updated netcup timeout value
- Updated geoip db
- Removed debug print from log viewer
- Upgraded netstat log printing to new log formatter
- Improved updater implementation
2024-07-16 11:30:12 +08:00
Toby Chui
8239f4cb53
Added apache compatible logger
...
- Rewritten the logger to make it more apache log parser friendly
- Fixed uptime not updating after upstream change bug
- Added SSO page (wip)
- Added log viewer
2024-07-14 22:25:49 +08:00
Toby Chui
aca6e44b35
Added load balance origin picker
...
+ Added load balance picker
+ Added fallback mode for upstream
+ Added stick session
2024-07-12 20:14:31 +08:00
Toby Chui
2aa35cbe6d
Added load balancer (wip)
...
+ Added support for multiple upstreams
+ Added load balancer
+ Added upstream abstraction in endpoint
+ Added load balancer structure
+ Added breaking change auto-updater
+ Added uptime monitor proxy type definitions
+ Added upstream editor UI
+ Fixed charset bug in many snippets HTML files
2024-07-01 21:17:20 +08:00
Toby Chui
973d0b3372
Added load balancer module
...
- Added load balancer module wip
- Updated geoipv4
- Reduced uptime timeout to 5 sec
- Optimized rate limit implementation
- Fixed minor UI bug in stream proxy
2024-06-19 00:38:48 +08:00
Toby Chui
03974163d4
Added docker conditional compilation
...
- Moved docker UX optimization into module
- Added conditional compilation for Windows build
- Added Permission Policy header editor
- Fixed docker container list ui error message bug
2024-06-17 00:24:24 +08:00
Toby Chui
c6f7f37aaf
Added stream proxy UDP support
...
+ Added UDP support #147 (wip)
+ Updated structure for proxy storage
+ Renamed TCPprox module to streamproxy
+ Added multi selection for white / blacklist #176
2024-06-07 01:12:42 +08:00
Toby Chui
7ba997dfc2
Added support for changing mdns name
...
+ Added `mdnsname` startup flag
2024-04-30 11:49:34 +08:00
Toby Chui
8e648a8e1f
v3.0.2 init commit
...
+ Fixed zeroSSL bug (said by @yeungalan ) #45
+ Fixed manual renew button bug
+ Seperated geodb module with access controller
+ Added per hosts access control (experimental) #69
+ Fixed basic auth not working on TLS bypass mode bug
+ Fixed empty domain crash bug #120
2024-04-14 19:37:01 +08:00
Toby Chui
8db95dddc6
Added regexp redirect support
2024-04-04 14:24:38 +08:00
Toby Chui
200c924acd
3.0.1 init commit
...
- Removed Go HTTP client UA
- Added optional bypass of websocket origin check #107
- Added basic forward proxy for debug
- Fixed UI error in network utils tab
2024-03-10 14:49:18 +08:00
Toby Chui
216b53f224
Updated GAN features
...
+ Added add controller as memeber feature
+ Deprecated aroz subservice support
2024-02-16 21:16:14 +08:00
Toby Chui
e980bc847b
Updated a lot of stuffs
...
+ Added comments for whitelist
+ Added automatic cert pick for multi-host certs (SNI)
+ Renamed .crt to .pem for cert store
+ Added best-fit selection for wildcard matching rules
+ Added x-proxy-by header
+ Added X-real-Ip header
+ Added Development Mode (Cache-Control: no-store)
+ Updated utm timeout to 10 seconds instead of 90
2024-02-16 15:44:09 +08:00
Toby Chui
3228789375
Restructured proxy routing logic
...
- Moved virtual directory into host routing object
- Generalized root and hosts routing struct
- Optimized UI
2024-02-13 21:46:43 +08:00
Toby Chui
e363d55899
Fixed #77 and added systemwide logger
...
+ Added system wide logger (wip)
+ Fixed issue #77 uptime monitor bug
+ Added backend options for bypass global TLS (or allow per rule TLS settings, wip)
+
2023-11-25 12:50:30 +08:00