The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

Upstream proxy server is not capturing any traffic coming from Terminal

Thomas | Last updated: Jul 14, 2022 09:45AM UTC

Hello Burp, I am stuck with configuring the upstream proxy server to intercept traffic coming from terminal. I followed the steps as mentioned in https://portswigger.net/support/burp-suite-upstream-proxy-servers but no clue. The reason why I need to configure an upstream proxy server is to capture Curl traffic without exporting the environment variables, i.e. export http_proxy=proxy:port. Please help. Thank you, Burp.

Hannah, PortSwigger Agent | Last updated: Jul 14, 2022 10:42AM UTC

Hi An upstream proxy is used when you want traffic leaving Burp to go through a different proxy. It sounds like you want your traffic from curl to go through Burp. To do this, you would need to set the proxy on your curl command to match a running proxy listener in Burp (Proxy > Options > Proxy listeners). For example: curl http://portswigger-labs.net --proxy 127.0.0.1:8080

Thomas | Last updated: Jul 14, 2022 10:48AM UTC

Hi Hannah and thank you so much for your quick reply. Actually, I don't want to declare the environment variables i.e. --proxy proxy:port. How to do that? Or, is it possible to use an external proxy listener?

Thomas | Last updated: Jul 14, 2022 11:46AM UTC

What I mean by "an external proxy listener" is for example Squidman as I am on macOS..

Hannah, PortSwigger Agent | Last updated: Jul 15, 2022 09:49AM UTC

Hi Can you describe the flow of HTTP request that you are trying to implement? For example, are you trying to go "Browser > Burp > Squidman > Internet" or "Browser > Squidman > Burp > Internet"? The order that you want these to be configured in will change the amount of setup that you will need to do.

Deha | Last updated: Oct 05, 2022 12:29AM UTC

Hello, these are same questions I wanted to ask. Thank you, Hannah :) Th flow of the HTTP reques is as follow: Terminal > Squidman > Burp > Internet"

Hannah, PortSwigger Agent | Last updated: Oct 05, 2022 01:22PM UTC