[GH-ISSUE #875] Proxyman not capturing traffic from command line apps #871

Open
opened 2026-03-03 19:22:35 +03:00 by kerem · 2 comments
Owner

Originally created by @paul-go on GitHub (May 3, 2021).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/875

Originally assigned to: @NghiaTranUIT on GitHub.

Proxyman version? (Ex. Proxyman 1.4.3)

Proxyman 2.24.0

macOS Version? (Ex. mac 10.14)

macOS 10.13

Steps to reproduce

I'm not sure if this is a supported feature.

I'm trying to inspect the HTTPS traffic going through the wire that is being originated by the restic command line tool, but the traffic doesn't appear to be capturing in the side bar. I have HTTPS traffic being captured that is originating from other desktop apps installed install on this machine.

I even have the domains of interest both "Pinned", however, the only requests that are showing up are the ones that originated from CyberDuck:

Screen Shot 2021-05-03 at 2 02 43 PM

I also tried to add the restic executable file directly as an app ... it doesn't appear that this is supported (the option to choose this file is disabled in the open file dialog)

Originally created by @paul-go on GitHub (May 3, 2021). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/875 Originally assigned to: @NghiaTranUIT on GitHub. ### Proxyman version? (Ex. Proxyman 1.4.3) Proxyman 2.24.0 ### macOS Version? (Ex. mac 10.14) macOS 10.13 ### Steps to reproduce I'm not sure if this is a supported feature. I'm trying to inspect the HTTPS traffic going through the wire that is being originated by the restic command line tool, but the traffic doesn't appear to be capturing in the side bar. I have HTTPS traffic being captured that is originating from other desktop apps installed install on this machine. I even have the domains of interest both "Pinned", however, the only requests that are showing up are the ones that originated from CyberDuck: <img width="1357" alt="Screen Shot 2021-05-03 at 2 02 43 PM" src="https://user-images.githubusercontent.com/16612419/116914048-3dbe3400-ac18-11eb-8685-3d642b6250f3.png"> I also tried to add the restic executable file directly as an app ... it doesn't appear that this is supported (the option to choose this file is disabled in the open file dialog)
Author
Owner

@NghiaTranUIT commented on GitHub (May 4, 2021):

Hi @paul-go You could not see the HTTP traffic from the command line app because their traffic doesn't go through the HTTP/HTTPS Proxyman Proxy Server (at localhost port 9090).

To illustrate, by default, curl doesn't send a request to Proxyman unless we explicitly config it with --proxy http://localhost:9090

curl 'https://httpbin.org/get?data=123' \
-H 'Accept: */*' \
-H 'User-Agent: insomnia/2021.3.0' \
-H 'Host: httpbin.org' \
--proxy http://localhost:9090

To fix your problem, we have to know what CLI you're using? Then let see if this CLI supports HTTP/HTTPS Proxy config.

  • If yes, we should add it (Like curl)
  • If not, I suppose there is no way to force it to make a request via HTTP Proxy server
<!-- gh-comment-id:831644705 --> @NghiaTranUIT commented on GitHub (May 4, 2021): Hi @paul-go You could not see the HTTP traffic from the command line app because their traffic doesn't go through the HTTP/HTTPS Proxyman Proxy Server (at localhost port 9090). To illustrate, by default, `curl` doesn't send a request to Proxyman unless we explicitly config it with `--proxy http://localhost:9090` ```bash curl 'https://httpbin.org/get?data=123' \ -H 'Accept: */*' \ -H 'User-Agent: insomnia/2021.3.0' \ -H 'Host: httpbin.org' \ --proxy http://localhost:9090 ``` ------------------------- To fix your problem, we have to know what CLI you're using? Then let see if this CLI supports HTTP/HTTPS Proxy config. - If yes, we should add it (Like `curl`) - If not, I suppose there is no way to force it to make a request via HTTP Proxy server
Author
Owner

@NghiaTranUIT commented on GitHub (May 4, 2021):

One solution I can find to force all CLI apps that go through HTTP/HTTP Proxy is using http_proxy/https_proxy flag

export http_proxy=127.0.0.1:9090
export https_proxy=127.0.0.1:9090

Ref: https://www.serverlab.ca/tutorials/osx/administration-osx/configuring-a-network-proxy-for-osx/

@paul-go Please try it and let me know if it works for you 😄

<!-- gh-comment-id:831645960 --> @NghiaTranUIT commented on GitHub (May 4, 2021): One solution I can find to force all CLI apps that go through HTTP/HTTP Proxy is using `http_proxy/https_proxy ` flag ```bash export http_proxy=127.0.0.1:9090 export https_proxy=127.0.0.1:9090 ``` Ref: https://www.serverlab.ca/tutorials/osx/administration-osx/configuring-a-network-proxy-for-osx/ @paul-go Please try it and let me know if it works for you 😄
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#871
No description provided.