Re: forward-override DNS
Fabian Keil <[email protected]>
| Newsgroups | gmane.comp.web.privoxy.user |
|---|---|
| Message-ID | <[email protected]> |
Theo Cushion <[email protected]> wrote: > I have several several proxy servers that are used to access various > different services. Some of these require authentication while others do > not. > > Reading through the documentation it looks like I should use actions to > ensure that the Proxy-Authorization header is added, and I can use > forward-override to go to the correct proxy server. > > My example user.action is this: > > {{alias}} > authenticated-proxy = +add-header{Proxy-Authorization: Basic <BASE64 > User password>} +forward-override{forward the_parent_proxy:80} > unauthenticated-proxy = +forward-override{forward > another_parent_proxy:80} > > { authenticated-proxy } > / > > My config file is pretty standard. > > I’ve used config.privoxy.org <http://config.privoxy.org/> to check that > the URL’s I’m interested in have the correct actions applied - they do. > However, when making a request I get a 404 response because the DNS > cannot be resolved (my local machine cannot resolve DNS and relies on > the proxies to do this) > > However, if I remove the forward-override in the user.action stuff and > in config.txt just do: > > forward / the_parent_proxy:80 > > Then Privoxy appears to use the parent proxy to resolve the requests as > expected and it all works. Looking through the manual I can’t see any > settings that look like they affect this behaviour? Is this expected? This is not expected. With "forward-override{forward the_parent_proxy:80}" Privoxy shouldn't attempt to do a DNS lookup either. Did you enable logging to confirm that the forward-override action is enabled? A log excerpt would probably help to debug this. Fabian _______________________________________________ Privoxy-users mailing list [email protected] https://lists.privoxy.org/mailman/listinfo/privoxy-users
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEETzbBfzgWkTZUoehQaRgikYuiNxwFAlqo33oACgkQaRgikYui NxxAxw/+KV6nj8Yg+hCKm4pYlxs85aPxtHp9ukrkHvJZEZX5tUI70hRidIbjRJ+a W/8ODEZwlx3J/0WndZJQUnHrjlw2Pn1oSJeddKFWOVMxa9K3gaVf127WdgWG2+ax m0WLFUQKCGcOgc8Ns6SyIGpypio4eprjZAWwtV2JZWY+Z0r7iwkgbydmVR3aGyBd yNZoKHMyDWdJOOuoDe0lulHX3+GGBJo/vv71gjoHhVCMCcLnLpKyNhVzSayxiRfE uQppDyrGmS6EOBr3MF/Z6PRDkix7Mmeh2RrCfw1QJyrNsZzRYNl7Pfi2jF2/ro3b wom4geOy6gv2u0BvwujQ6tceYoUSWuoAzNxx92pbORuftktdGn4HrSGhTUx9Y9Xd +kAD/sdin7GW/hh/q3btTKUUOrokr/13aslKfoh8FBZ+gZjQFTqI8crQOs2fxekn pogRBav2c1UJW+qKjmTVFnlrppUC0h+0a20zTVOX/4STwLSGNkhEVhS8/wM4265E RdpmrJpXPGRFSyA56dVW9pUwbqH1lY4ZnUFV4q68EmF6qZWL0wT57Zkeze7JypE+ DtEN7Kpz2AiGFllVBaSG0hcYsOQ7kbBdxV0o0BwBqIRrv7LdkutNgd1wl1kiDEI6 w6K5NuEBcn/0z4bD9DGFfgLHTzquYRQtq1yPrylXbQNQ44cO1HU= =aB+X -----END PGP SIGNATURE-----