Skip to content

Use local Curl to support ProxyChains-NG - #3480

Closed
Red54 wants to merge 2 commits into
Homebrew:masterfrom
Red54:patch-1
Closed

Red54 wants to merge 2 commits into
Homebrew:masterfrom
Red54:patch-1

Conversation

@Red54

@Red54 Red54 commented Nov 25, 2017

Copy link
Copy Markdown
Contributor
  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes? Here's an example.
  • Have you successfully run brew tests with your changes locally?

Use local Curl by default to support ProxyChains-NG.

Reference:
rofl0r/proxychains-ng#78

@MikeMcQuaid

Copy link
Copy Markdown
Member

Sorry, definitely don't want to allow the local Curl by default. Can you explain why you want/need this?

@Red54

Red54 commented Nov 26, 2017

Copy link
Copy Markdown
Contributor Author
  1. Github, Bintray, and some other sites do not have any mainland China CDN mirror, and they sometimes will be banned by the GFW (Great Firewall).

  2. Many CLI users in mainland China are using ProxyChains-NG to cross the GFW and stay anonymous.

  3. The SIP (System Integrity Protection) prevents ProxyChains-NG hooking system apps, but not local apps.
    Reference:
    https://support.apple.com/en-us/HT204899

  4. Homebrew can use local Git to connect Github, but can not use local Curl to connect Bintray and Homebrew-Cask apps download location, these cause ProxyChains-NG can not fully work with Homebrew and Homebrew-Cask.

  5. If you disallow local Curl by default, please disallow local Git by default as well, this can make up our mind to disable the SIP.

@MikeMcQuaid

Copy link
Copy Markdown
Member

@Red54 Thanks! I've opened a PR in #3482 with a slightly different approach but I'm 👍 on enabling your use-case.

@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants