Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.1.2 #368

Merged
merged 15 commits into from
Nov 3, 2024
Merged

v3.1.2 #368

merged 15 commits into from
Nov 3, 2024

Conversation

tobychui
Copy link
Owner

@tobychui tobychui commented Nov 2, 2024

  • Added auto start port 80 listener on acme certificate generator
  • Fixed unable to remove new stream proxy bug
  • Added polling interval and propagation timeout option in ACME module
  • Added support for custom header variables
  • Added support for X-Remote-User
  • Added port scanner
  • Optimized codebase for stream proxy and config file storage
  • Removed sorting on cert list
  • Fixed request certificate button bug
  • Fixed cert auto renew logic
  • Added more code to SSO system (disabled in production branch)

- Added UI to showcase ZeroSSL do not support DNS challenge
- Added test case for origin picker
- Updated zerotier struct info (wip)
- Added struct for oauth
- Added interception handler for Zoraxy SSO
- Added user structure for SSO
Fixed early renew day not passed into auto renewer config bug
Update development branch to match new project URL and docker config
- Fixed register enter not working
- Updated all link to new project domain (aroz.org)
- Moved stream proxy config from database to file based conf
- Optimized implementation for detecting proxy rule running
- Fixed #320 (hopefully)
- Added port scanner
- Moved handlers for IP scanner into ipscan module
-Minor code optimization
- Added support for automatic X-Remote-User header when basic auth is enabled
- Moved header logic to rewrite module (new module)
- Added default site automatic fix for URL missing http:// or https:// prefix
- 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
- Removed windows 7 support
- Added user defined polling and propagation timeout option in ACME
- Updated lego and added a few new DNS challenge providers
- Updated code gen to support new parameters
- Updated geoip table
- Fixed bug in streamproxy delete in dev version
- Commented SSO related features (WIP) for release
- Added automatic port 80 listener enable for those who don't read our wiki
- Reduced default interval for polling and propagation timeout
@tobychui
Copy link
Owner Author

tobychui commented Nov 2, 2024

@PassiveLemon If you got some free time recently, can you help check if the new Stream Proxy config works in docker? I have changed the Stream Proxy config store from database to file based, and from my testing, it should have fixed #320. Thanks!

@PassiveLemon
Copy link
Collaborator

PassiveLemon commented Nov 2, 2024

Building Zoraxy in the container fails with:

40.02 go: downloading github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38
68.25 # imuslab.com/zoraxy
68.25 ./reverseproxy.go:1193:2: declared and not used: headerRewriteDefination
68.25 ./reverseproxy.go:1201:50: undefined: headerRewriteDefinition

Maybe this typo is the cause?

//          ------v DefinAtion
headerRewriteDefination := rewrite.UserDefinedHeader{
		Key:       name,
		Value:     value,
		Direction: rewriteDirection,
		IsRemove:  isRemove,
	}

	//Create a new custom header object                         ------v DefinItion
	err = targetProxyEndpoint.AddUserDefinedHeader(&headerRewriteDefinition)
	if err != nil {
		utils.SendErrorResponse(w, "unable to add header rewrite rule: "+err.Error())
		return
	}

@PassiveLemon
Copy link
Collaborator

I wasn't able to recreate the issue so I can't say if it was fixed but stream proxies do work

@tobychui tobychui merged commit 4577fb1 into main Nov 3, 2024
@tobychui tobychui deleted the v3.1.2 branch November 3, 2024 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants