Giter Club home page Giter Club logo

proxy-pac-proxy's Introduction

  • 👋 Hi, I’m @emarock
  • 👀 I’m interested in sports, machine learning, productivity hacks... and all possible combinations of those
  • 🌱 I’m currently learning Keras/Tensorflow on the Cloab platform
  • 💞️ I’m looking forward to collaborating on anything at the intersection between sports and machine learning
  • 📫 You can reach me on my various mostly-silent-yet-monitored social media profiles

proxy-pac-proxy's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

proxy-pac-proxy's Issues

Does it support changing network connections

Hi, I was wondering if proxy-pac-proxy supports changing environments.

For example, I will start proxy-pac-proxy with a PAC url, which will work while I'm at work.
But when I go home, how will it behave? In such case, does proxy-pac-proxy simply act as a forwarding proxy directly to the destination host without forwarding any traffic to an upstream proxy? (as none would be defined, since no PAC would be reachable when I'm at home).

Uncaught error on inbound client socket

After macOS upgrade to Mojave node begins surfacing client connection resets as ECONNRESET errors. Need to catch and handle, as otherwise the daemon crashes badly.

update deps

cool stuff, maybe update the deps though?

❯ npm install -g proxy-pac-proxy

changed 168 packages, and audited 169 packages in 3s

15 vulnerabilities (7 moderate, 3 high, 5 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

also bluebird is "dead" (native promises), not sure if async is needed anymore either...

Supporting multiple proxies failover?

Is proxy-pac-proxy supporting multiple proxies failover?
like this: https://en.wikipedia.org/wiki/Proxy_auto-config#Advanced_functionality
Or example code(from McAfee):

function FindProxyForURL(url, host) {
    if (dnsDomainIs(host, ".company.com")\ | \ | isInNet(host, "10.1.1.0", "255.255.255.0")\ | \ | isInNet(host, "192.168.1.0", "255.255.255.0"))
        return "DIRECT";
    else if (isInNet(myIPAddress(), "10.1.1.0", "255.255.255.0"))
        return "PROXY proxy01.company.com:9090; proxy02.company.com:9090";
    else
        return "PROXY proxy03.company.com:9090; proxy02.company.com:9090";
}

And thanks for your work. Saving my day!

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.