Skip to content

Proxy UDP fallback for hostname ACL routes#3252

Open
TurboTheTurtle wants to merge 1 commit into
shadowsocks:masterfrom
TurboTheTurtle:fix-udp-fallback-acl
Open

Proxy UDP fallback for hostname ACL routes#3252
TurboTheTurtle wants to merge 1 commit into
shadowsocks:masterfrom
TurboTheTurtle:fix-udp-fallback-acl

Conversation

@TurboTheTurtle
Copy link
Copy Markdown

Summary:

  • Route UDP fallback with all for gfwlist/custom-rules profiles.
  • Keep the existing route behavior for subnet/IP-based routes.

Why:
UDP relay decisions are made against IP endpoints. Hostname-heavy ACLs such as gfwlist and custom-rules can therefore bypass the selected UDP fallback even when the user configured one, which prevents QUIC/HTTP3 traffic from reaching the fallback server.

Closes #3070.

Validation:

  • git diff --check
  • JAVA_HOME=/opt/homebrew/opt/openjdk@21 ANDROID_HOME=/Users/andy/Library/Android/sdk ./gradlew :core:compileDebugKotlin

Please preserve author attribution if this PR is squashed or reworked:
Co-authored-by: Andy Ye 35905412+TurboTheTurtle@users.noreply.github.com

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.

UDP fallback doesn't work with gfwlist or custom rules

1 participant