proxy and MacOS

Dec 20, 2014 at 8:12 AM
Hi,
It is not clear: does Casablanca supports setting proxy on MacOS?
I am trying to use BurpSuite and nothing works. Unfortunately cannot dissect where the problem is.

code is pretty strightforward:
    http_client_config config;
    config.set_timeout(utility::seconds(40));

    if (!proxyAddress.empty()) {
        auto fullProxy = "http://" + proxyAddress + ":" + std::to_string(proxyPort);
        web_proxy wp(fullProxy);
        //web_proxy wp(web_proxy::use_auto_discovery);
        Log::log("Manager initialized with proxy " + wp.address().to_string());
        config.set_proxy(wp);
    }

    config.set_validate_certificates(validateCert);
    _mainClient = std::make_shared<http_client>(http_client(hhurl, config));
Coordinator
Dec 22, 2014 at 6:15 PM
Hi denveloper,

No unfortunately proxy support hasn't been implemented yet on non-Windows platforms. We have an issue/feature request open tracking this here. I'm not currently working on it so I don't know when it would actually get added. We do accept contributions if this is a feature you'd like to implement. Basically it involves getting proxies working on top of Boost.Asio the library we build on.

Steve
Dec 10, 2015 at 10:26 AM
Hi stevegates,

Have you guys made any progress on adding proxy support to non-Windows platforms? Have you got any work or a proposed design that we can build on?

Thanks,
Chris
Coordinator
Dec 18, 2015 at 9:23 PM