Skip to content

Add HTTP proxy exclusion list support (Feature #482)#596

Open
qwldcl-del wants to merge 3 commits intoGenymobile:masterfrom
qwldcl-del:feature/proxy-exclusion-list
Open

Add HTTP proxy exclusion list support (Feature #482)#596
qwldcl-del wants to merge 3 commits intoGenymobile:masterfrom
qwldcl-del:feature/proxy-exclusion-list

Conversation

@qwldcl-del
Copy link

This PR adds support for HTTP proxy exclusion list as requested in issue #482.

Summary

  • Add proxyExclusionList field to VpnConfiguration
  • Add EXTRA_PROXY_EXCLUSION_LIST to GnirehtetActivity
  • Add setupHttpProxy() method in GnirehtetService using VpnService.Builder.setHttpProxy()
  • Add -x host:port and -e exclusion-list command line options for both Java and Rust CLIs

Usage

# Exclude specific domains from proxy
gnirehtet run -x proxy.example.com:8080 -e "domain1.com,domain2.com"

Requirements

  • Requires Android 10 (API 29) or higher for proxy exclusion list feature

This allows users to exclude certain domains from being proxied through gnirehtet, solving issue #482 where users need to bypass the proxy for specific websites while using the Android global HTTP proxy.

Bot added 2 commits March 15, 2026 03:21
- Add proxyExclusionList field to VpnConfiguration
- Add EXTRA_PROXY_EXCLUSION_LIST to GnirehtetActivity
- Add setupHttpProxy() method in GnirehtetService using VpnService.Builder.setHttpProxy()
- Add -x command line option for proxy exclusion list
- Requires Android 10 (API 29) or higher for proxy exclusion list feature

This allows users to exclude certain domains from being proxied through gnirehtet,
solving issue Genymobile#482 where users need to bypass the proxy for specific websites.
This commit enables the exclusion list functionality that was previously
defined in cli_args.rs but not actually used in the command implementations.

Commands updated: run, autorun, start, autostart, restart

Usage: gnirehtet run -e domain1.com,domain2.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.

2 participants