GithubHelp home page GithubHelp logo

Can go-any-proxy Do This? about go-any-proxy HOT 3 OPEN

nobozo avatar nobozo commented on August 16, 2024
Can go-any-proxy Do This?

from go-any-proxy.

Comments (3)

ryanchapman avatar ryanchapman commented on August 16, 2024

Looks like you've an issue with the firewall configuration. Are you running any-proxy on the same host where your iptables rule -j REDIRECT is set up?

But I'm not sure if any-proxy will match your use case. any-proxy is designed to intercept traffic and then set up a connection through a corporate type proxy (squid, Symantec Secure Web Gateway). In many large corporations, they don't allow direct internet access and require you to connect through their proxies. If your application isn't proxy aware (via export http_proxy, export https_proxy, WPAD or some other mechanism), then any-proxy serves as a way for it to still work.

In your case, once you get iptables ... -j REDIRECT working, any-proxy will receive the intercepted packet, and will contact your upstream proxies (specified as option -p to any-proxy). It will then say CONNECT original_intended_ip_addr:original_intended_port\r\n\r\n. The upstream proxy opens a socket to original_intended_ip_addr:original_intended_port and the connection is ready for traffic.

from go-any-proxy.

ryanchapman avatar ryanchapman commented on August 16, 2024

Wanted to post one more thing...

If you are just looking to monitor the traffic, a tool like tshark may be better. Let me know if that's the case and I'll send you some sample commands.

from go-any-proxy.

nobozo avatar nobozo commented on August 16, 2024

from go-any-proxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.