-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Direct mode #106
Comments
Hi @stardast, thanks! While this flag could potentially be added, I'm wondering if this use case is already supported in other ways... Alpaca will try to download the PAC file when it is launched, as well as every time it notices that your network has changed (if a network interface is removed or added). If it is unable to download the PAC file, all requests will go direct. It was written this way so that things would work when you're connected to a network without a proxy (e.g. when you take your work laptop off of the company network). This might not work if your PAC URL is reachable on networks without a proxy. This is the case for publicly accessible PAC scripts, as well as |
Thanks for the reply! I don't know if it's a bug but if i start alpaca with a local file i get this: the last sentence is incorrect, I am in the network with the proxy. Thanks! |
While Alpaca doesn't have a direct mode flag, you could set up a PAC file which contains But ideally, the best way to handle this would be to put something at the top of your PAC file which checks whether you're on the VPN or not. There are a few ways to do this, e.g. if you know of a site (or proxy) that is only resolveable when you're on the VPN, then you could use Unfortunately I don't know of a generic way to do this. When support for |
Hey @samuong, is it possible to bump priority on this as our organization also hit the same roadblock when using file:// based local PAC file |
@stardast and @samhaque sorry for losing track of this one. I wanted to check in with a few people to see if this would break things for them, but didn't hear back. I think the best way to fix this is to remove the dodgy connection check (which does a reverse DNS lookup on 8.8.8.8). Any users that rely on this will need to check for proxy connectivity themselves (within their custom pac file) before returning a PROXY directive. |
Hi!
Thanks for this great project!
It would be nice to have the feature to start alpaca in a mode where all requests are routed as "direct". This way I could always keep the proxy configured and start alpaca with this flag when I'm connected to a network without a proxy.
The text was updated successfully, but these errors were encountered: