310 Commits

Author SHA1 Message Date
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
Toby Chui
b9c609e413 Added upgrader for forward-auth
- Added v3.2.1 to v3.2.2 upgrader for new forward auth logic
- Optimized css in sso html page
2025-05-10 22:57:13 +08: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
b25f8aab3e
refactor: apply suggestions 2025-04-27 20:27:46 +10:00
James Elliott
c0578a33b6
fix: copy paste error 2025-04-27 20:27:26 +10:00
James Elliott
55a525106a
fix: value not set 2025-04-27 20:27:26 +10:00
James Elliott
e3b68b9aad
fix: copy paste error 2025-04-27 20:27:26 +10:00
James Elliott
3f1c50c009
feat: forward auth
Add support for request headers and response client headers.
2025-04-27 20:27:26 +10: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
ffc67ede12 Added working plugin store prototype
- Added plugin install and remove api
2025-04-24 21:19:16 +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
36c2c9a00e
Merge pull request #641 from james-d-elliott/fix-authelia-headers
fix(authelia): original headers
2025-04-21 18:56:28 +08:00
James Elliott
4f026e8c07
fix(authelia): original headers
This fixes the original headers imparted to authelia.
2025-04-21 13:15:21 +10:00
Toby Chui
0c8dfd8aa0 Added http proxy list link port
- Added port number and http proto to http proxy list link #635
2025-04-12 11:32:22 +08:00
WHFo
b23b967165
Update httprp.html
Prevent the browser from filling the saved Zoraxy login account into the  input searchInput
2025-04-11 12:02:28 +08:00
Toby Chui
d682d52eb7
Merge pull request #631 from Nirostar/patch-1
Fix IPv6 whitelisting for Link-Local addresses by removing the scope ID
2025-04-08 21:12:07 +08:00
Niklas Roth
23eeeee701
Move Scope ID handling into CIDR check 2025-04-08 15:06:20 +02:00
Niklas Roth
e961e52dea
Fix IPv6 whitelisting for Link-Local addresses by removing the scope ID 2025-04-08 14:44:11 +02:00
Toby Chui
b863a9720f Fixed #629
- Added $remote_ip to remote port number from remote address
2025-04-07 20:02:04 +08:00
Toby Chui
ca7cd0476c Updated location rewrite logic
- Updated to a much more relax logic for handling domain with port redirection
2025-04-06 17:05:30 +08:00
Toby Chui
a3cccee162 Added "blocks common exploits" module
- Added blocks common exploits prototype
- Added bot detection function (not included in dpcore yet) #615
2025-04-06 16:50:59 +08:00
Toby Chui
b9b992a817 Fixed #626
- Added checks for port in hostname redirection in dpcore util
2025-04-06 16:49:44 +08:00
Andreas Burri
bcfc777d15 Feat: Add FreeBSD amd64 support 2025-04-06 07:09:54 +00:00
Toby Chui
ac91a3fef1 Fixed #201 and #608
- Added domain / host name specific statistics
- Added upstream forward request count
2025-04-03 13:35:34 +08:00
Toby Chui
05f1743ecd Fixed #681
- Fixed origin is not populated in log bug
2025-04-02 20:11:43 +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
3e031605fc Disable dev mode for release 2025-03-25 19:11:56 +08:00
Toby Chui
eb265e3e94 Added comments to warn future dev
- Added timestamps label cleaning
- Added comments so it doesn't get commented again in future (related to #600)
2025-03-25 07:55:13 +08:00
Toby Chui
8504ff16cb Fixed #600
- Added experimental fix to memory issue (not sure if this is related but it seems after uncommenting these the memory issue no longer show up on Firefox and Edge)
2025-03-25 07:40:39 +08:00
Toby Chui
b71437058f Fine tuned dark theme color 2025-03-23 12:47:23 +08:00
Toby Chui
4d16758e0a
Merge pull request #593 from Raithmir/main
Update logger to include UserAgent
2025-03-22 12:32:13 +08:00
Raithmir
f2b4c47805
Update trafficlog.go
Update logger to include browser UserAgent string in log lines. This will allow Crowdsec to filter for known bad useragents.
2025-03-21 16:59:22 +00:00
Raithmir
7dff4f83b4
Update trafficlog.go
Add UserAgent to log lines.
2025-03-21 16:48:47 +00:00
Toby Chui
eb24bc0391 Fixed #591
- Updated dark theme color pallets
- Added automatic background change on login page
2025-03-20 21:51:47 +08:00
Toby Chui
0fdfda436b Added plugin info view
- Added plugin info view
- Removed zerotier related start parameters
- Added automatic tag filter reset on tab change in http proxy page
2025-03-16 11:41:46 +08:00
Toby Chui
f8270e46c2 Added UI for plugin system and upnp example
- Added wip UI for plugin tag system
- Added upnp port forwarder plugin
- Added error and fatal printout for plugins
- Optimized UI flow for plugin context window
- Added dev web server for plugin development purpose
2025-03-15 21:02:44 +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
23d4df1ed7 Added dynamic capture capabilities to plugin API
- Added dynamic capture ingress and sniff endpoint
- Removed static capture example (API update)
2025-03-02 12:26:44 +08:00
Toby Chui
39d6d16c2a Updated plugin interface
- Updated plugin interface to support static path routing
- Added autosave for statistic data (workaround for #561)
2025-03-02 09:15:50 +08:00
Toby Chui
b7e3888513 Removed zerotier related info
- Removed zt info from utils.html
2025-03-02 09:14:29 +08:00
Toby Chui
fd41a1cb91 Fixed dpcore TLSClientConfig is nil bug 2025-03-02 09:12:29 +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
6a8057c3a7
fix passing wrong URI to Authentik outpost 2025-03-02 00:04:08 +08:00
Joker
ebf6ad6600
Add Authentik forward auth support 2025-03-01 15:29:36 +08:00
Toby Chui
28a0a837ba Plugin lifecycle optimization
- Added term flow before plugin is killed
- Updated example implementations
- Added SIGINT to Zoraxy for shutdown sequence (Fixes #561 ?)
2025-03-01 10:00:33 +08:00
Toby Chui
5abc4ac606 Added plugin context view
- Added plugin context view
- Moved plugin type definition to separate file
- Added wip request forwarder
2025-02-28 22:05:14 +08:00