[GH-ISSUE #544] Use with proxychain not working #541

Closed
opened 2026-03-03 19:19:40 +03:00 by kerem · 14 comments
Owner

Originally created by @xiaozhuai on GitHub (Jul 8, 2020).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/544

Originally assigned to: @NghiaTranUIT on GitHub.

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.

Originally created by @xiaozhuai on GitHub (Jul 8, 2020). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/544 Originally assigned to: @NghiaTranUIT on GitHub. ### 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.
kerem 2026-03-03 19:19:40 +03:00
Author
Owner

@NghiaTranUIT commented on GitHub (Jul 8, 2020):

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

<!-- gh-comment-id:655473023 --> @NghiaTranUIT commented on GitHub (Jul 8, 2020): Thanks. I will investigate the Proxychain and sent you a hotfix soon 👍
Author
Owner

@NghiaTranUIT commented on GitHub (Jul 8, 2020):

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
<!-- gh-comment-id:655483084 --> @NghiaTranUIT commented on GitHub (Jul 8, 2020): 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 <img width="2393" alt="Screen Shot 2020-07-08 at 19 16 32" src="https://user-images.githubusercontent.com/5878421/86917652-a26f4600-c14f-11ea-9327-c7096807e0d0.png">
Author
Owner

@xiaozhuai commented on GitHub (Jul 8, 2020):

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

<!-- gh-comment-id:655484682 --> @xiaozhuai commented on GitHub (Jul 8, 2020): proxychains [ProxyList] should has only one line `http 127.0.0.1 9090`
Author
Owner

@xiaozhuai commented on GitHub (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

<!-- gh-comment-id:655486776 --> @xiaozhuai commented on GitHub (Jul 8, 2020): I found something really strange, if it's https, proxyman with proxychains works fine. Charles works both http and https ![image](https://user-images.githubusercontent.com/4773701/86918264-034f4c00-c159-11ea-9867-db3a8732313f.png) ![image](https://user-images.githubusercontent.com/4773701/86918330-19f5a300-c159-11ea-990a-8eecb9345df3.png)
Author
Owner

@NghiaTranUIT commented on GitHub (Jul 8, 2020):

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
<!-- gh-comment-id:655489805 --> @NghiaTranUIT commented on GitHub (Jul 8, 2020): 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) <img width="2398" alt="Screen Shot 2020-07-08 at 19 30 17" src="https://user-images.githubusercontent.com/5878421/86918890-7d7bd280-c151-11ea-867c-61412ffce169.png">
Author
Owner

@NghiaTranUIT commented on GitHub (Jul 8, 2020):

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

<!-- gh-comment-id:655490278 --> @NghiaTranUIT commented on GitHub (Jul 8, 2020): 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
Author
Owner

@xiaozhuai commented on GitHub (Jul 8, 2020):

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

<!-- gh-comment-id:655490412 --> @xiaozhuai commented on GitHub (Jul 8, 2020): Oh, i forgot it... Proxychains need SIP disabled cause it hooks into other process.
Author
Owner

@NghiaTranUIT commented on GitHub (Jul 8, 2020):

ok. Let me try to disable SIP 😮

<!-- gh-comment-id:655490773 --> @NghiaTranUIT commented on GitHub (Jul 8, 2020): ok. Let me try to disable SIP 😮
Author
Owner

@xiaozhuai commented on GitHub (Jul 8, 2020):

image

You need to reboot to recovery mode and run csrutil disable

<!-- gh-comment-id:655491125 --> @xiaozhuai commented on GitHub (Jul 8, 2020): ![image](https://user-images.githubusercontent.com/4773701/86919122-51b11a80-c15a-11ea-9505-7105dfc9c1ca.png) You need to reboot to recovery mode and run `csrutil disable`
Author
Owner

@NghiaTranUIT commented on GitHub (Jul 8, 2020):

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

<!-- gh-comment-id:655493966 --> @NghiaTranUIT commented on GitHub (Jul 8, 2020): I'm able to reproduce the bug. Investigating mode .... 👀
Author
Owner

@xiaozhuai commented on GitHub (Jul 8, 2020):

Ok, wait for your good news!

<!-- gh-comment-id:655494798 --> @xiaozhuai commented on GitHub (Jul 8, 2020): Ok, wait for your good news!
Author
Owner

@NghiaTranUIT commented on GitHub (Jul 8, 2020):

@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
<!-- gh-comment-id:655541255 --> @NghiaTranUIT commented on GitHub (Jul 8, 2020): @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) <img width="1792" alt="Screen Shot 2020-07-08 at 20 30 50" src="https://user-images.githubusercontent.com/5878421/86928026-3a742c00-c15e-11ea-817d-6a7a1b3e2f98.png">
Author
Owner

@xiaozhuai commented on GitHub (Jul 8, 2020):

Works now! Nice job!

<!-- gh-comment-id:655544418 --> @xiaozhuai commented on GitHub (Jul 8, 2020): Works now! Nice job!
Author
Owner

@NghiaTranUIT commented on GitHub (Jul 8, 2020):

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

<!-- gh-comment-id:655547096 --> @NghiaTranUIT commented on GitHub (Jul 8, 2020): Glad to hear that 🙌 Feel free to open bug tickets if there are any 🐞
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#541
No description provided.