Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use with proxychain not working #544

Closed
xiaozhuai opened this issue Jul 8, 2020 · 14 comments
Closed

Use with proxychain not working #544

xiaozhuai opened this issue Jul 8, 2020 · 14 comments
Assignees
Labels
bug Something isn't working ✅ Done Ticket is addressed and fixed.

Comments

@xiaozhuai
Copy link

xiaozhuai commented Jul 8, 2020

Proxyman version?

2.1.1

macOS Version?

10.14.6

Steps to reproduce

Not all program use system proxy, so I need proxychain to hook socket apis to make it work.

  1. Preferences - General - Uncheck "Auto select available port"
  2. Preferences - General - Uncheck "Auto override System Proxy Config after launch"
  3. Restart proxyman
  4. Install proxychains-ng brew install proxychains-ng and edit /usr/local/etc/proxychains.conf
    [ProxyList]
    http    127.0.0.1   9090
    
  5. proxychains4 curl www.baidu.com
  6. The command is blocked and proxyman do not catch anything

If I change command to http_proxy=http://127.0.0.1:9090 https_proxy=http://127.0.0.1:9090 curl www.baidu.com, it works.
But that is not what I want. I want proxychains works.
I also tried Charles, it works fine with proxychains.

Proxyman is such a great work! And hope this will be fixed soon, and I will purchase it.

@NghiaTranUIT
Copy link
Member

Thanks. I will investigate the Proxychain and sent you a hotfix soon 👍

@NghiaTranUIT NghiaTranUIT self-assigned this Jul 8, 2020
@NghiaTranUIT NghiaTranUIT added the bug Something isn't working label Jul 8, 2020
@NghiaTranUIT
Copy link
Member

Hey @xiaozhuai, do you have any special config on Charles app? (Enable SOCKs 5 or something 🤔 )

I follow your steps, but it doesn't appear on Charles too

Screen Shot 2020-07-08 at 19 16 32

@xiaozhuai
Copy link
Author

proxychains [ProxyList] should has only one line http 127.0.0.1 9090

@xiaozhuai
Copy link
Author

xiaozhuai commented Jul 8, 2020

I found something really strange, if it's https, proxyman with proxychains works fine. Charles works both http and https

image
image

@NghiaTranUIT
Copy link
Member

I'm not sure but I'm not able to make proxychain works properly

# ProxyList format
#       type  ip  port [user pass]
#       (values separated by 'tab' or 'blank')

I tried tab or blank and they're not working (screenshot)

Screen Shot 2020-07-08 at 19 30 17

@NghiaTranUIT
Copy link
Member

Maybe can you get the error log from Proxyman by going to Help menu -> Enable Debug Mode -> Quit the app and open the URL on the alert. Then pls copy to me errors if there are any

@xiaozhuai
Copy link
Author

Oh, i forgot it... Proxychains need SIP disabled cause it hooks into other process.

@NghiaTranUIT
Copy link
Member

ok. Let me try to disable SIP 😮

@xiaozhuai
Copy link
Author

xiaozhuai commented Jul 8, 2020

image

You need to reboot to recovery mode and run csrutil disable

@NghiaTranUIT
Copy link
Member

I'm able to reproduce the bug. Investigating mode .... 👀

@xiaozhuai
Copy link
Author

Ok, wait for your good news!

@NghiaTranUIT
Copy link
Member

@xiaozhuai let check out this build https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.1.1_Fix_Proxychain.dmg

Basically, Proxyman hasn't covered this edge case yet (Make HTTP Request but on CONNECT connection)

Screen Shot 2020-07-08 at 20 30 50

@xiaozhuai
Copy link
Author

Works now! Nice job!

@NghiaTranUIT
Copy link
Member

Glad to hear that 🙌 Feel free to open bug tickets if there are any 🐞

@NghiaTranUIT NghiaTranUIT added the ✅ Done Ticket is addressed and fixed. label Jul 8, 2020
@NghiaTranUIT NghiaTranUIT added this to the Proxyman 2.2.0 ✅ milestone Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ✅ Done Ticket is addressed and fixed.
Projects
None yet
Development

No branches or pull requests

2 participants