Add HTTP proxy exclusion list support (Feature #482)#595
Open
qwldcl-del wants to merge 1 commit intoGenymobile:masterfrom
Open
Add HTTP proxy exclusion list support (Feature #482)#595qwldcl-del wants to merge 1 commit intoGenymobile:masterfrom
qwldcl-del wants to merge 1 commit intoGenymobile:masterfrom
Conversation
- 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 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.
This PR implements the HTTP proxy exclusion list feature requested in issue #482.
Changes:
VpnConfiguration.java: Added field and updated Parcelable implementation.
GnirehtetActivity.java: Added to accept the exclusion list parameter.
GnirehtetService.java: Added method that uses with to configure the HTTP proxy with exclusion list. Requires Android 10 (API 29) or higher.
CommandLineArguments.java: Added and command line option.
Main.java: Updated all relevant commands (run, autorun, start, autostart, restart) to accept the parameter for proxy exclusion list.
Usage:
This allows users to exclude certain domains from being proxied through gnirehtet, solving the issue where users need to bypass the proxy for specific websites while still using the global proxy for all other traffic.