feat: add HTTP proxy with exclusion list support (API 29+)#593
Open
lustsazeus-lab wants to merge 1 commit intoGenymobile:masterfrom
Open
feat: add HTTP proxy with exclusion list support (API 29+)#593lustsazeus-lab wants to merge 1 commit intoGenymobile:masterfrom
lustsazeus-lab wants to merge 1 commit intoGenymobile:masterfrom
Conversation
- Add proxyHost, proxyPort, and exclusionList fields to VpnConfiguration - Add EXTRA_PROXY_HOST, EXTRA_PROXY_PORT, EXTRA_EXCLUSION_LIST to GnirehtetActivity - Add setHttpProxy() call in GnirehtetService when proxy is configured - Supports domains exclusion list for VPN proxy bypass Bounty: $50 USD for HTTP proxy exclusion bypass feature
Author
|
Ready to merge! This implements HTTP proxy exclusion for Android 14+ (API 34). Please review. Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds support for HTTP proxy with exclusion list, allowing users to exclude certain domains from being proxied through the VPN.
Changes
VpnConfiguration.java: Added
proxyHost,proxyPort, andexclusionListfields with Parcelable supportGnirehtetActivity.java: Added new intent extras:
EXTRA_PROXY_HOST: Proxy hostnameEXTRA_PROXY_PORT: Proxy portEXTRA_EXCLUSION_LIST: Array of domains to excludeGnirehtetService.java: Added
setHttpProxy()call when proxy is configured (API 29+)Usage
To use the exclusion list feature, pass the following parameters when starting gnirehtet:
The excluded domains will bypass the proxy and connect directly.
Bounty
This implements the feature requested in issue #482 - 50 USD Bounty for gnirehtet android app for http proxy exclusion bypass feature