Re: many forward socks5

Fabian Keil <[email protected]> Thu, 1 Dec 2022 19:52:16 +0100
Newsgroups gmane.comp.web.privoxy.user
Message-ID <[email protected]>
Mike Tkatchouk <[email protected]> wrote on 2022-12-01 at 23:47:28:

> Hi all. I want to use privoxy to work with different socks5 proxies.
> 
> My configuration looks like this:
> 
> forward-socks5 / localhost:9050 .
> forward-socks5 / localhost:9050 .

These two lines look the same?

> forward-socks5 / localhost:9051 .
> forward-socks5 / localhost:9052 .
> forward-socks5 / localhost:9053 .
> forward-socks5 / localhost:9054 .
> 
> Privoxy is part of the squid-privoxy-many sock5 proxy cascade.

Your forward-socks5 directives all have the same URL pattern ("/")
so at the moment the last one is expected to overrule the previous
ones.

It's not entirely clear to me what behaviour you desire.

On our TODO list we have:
|  19) enable-forward-fallback. Syntax? Suggested by K.R.
<https://www.privoxy.org/gitweb/?p=privoxy.git;a=blob;f=TODO;hb=HEAD#l53>

Is that what you want?

I, too, use multiple forwarding proxies but I let Privoxy
chose the forwarding proxy based on the URL and the client
headers.

> For some reason it does not work stably, for different clients. Chrome 
> throws an error: ERR_EMPTY_RESPONSE.
> 
> Naturally, each socks5 proxy is available separately.

To diagnose the Chrome issue it would probable help to
check the Privoxy log after enabling the debug directives
suggested at:
<https://www.privoxy.org/user-manual/contact.html>

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-----

iQIzBAEBCAAdFiEETzbBfzgWkTZUoehQaRgikYuiNxwFAmOI9+EACgkQaRgikYui
Nxy0GQ/+LYBv49IxqwL5US80ZXBZ149/h85xjQxxVbux9kVSGn9BpwW5LK3u0eWf
+5tyvmpouvwz/VGREgiR4Xix/jprkP10t7mQfGL9RTOjcDBHyJElym4/+7R15Vec
6BM5HxrDzgtEh+aj5rDGmpOAzQp2PfFHFp7UTzq+GF16QNPNyf9zL0q71pBBpDGF
TqAFnGm5PakC3/+DHUGtu0pQYctxJ8hZImF37iOtrwbUy5D6oHQrWQh+7QBhsjUz
FuqCj4ufB0cQ1BiuMELJJ1NsXCHSov36TF2nDv7lImOR2Q4k87XdOqXhBWxh0jZz
4dR3DdmSwh7eaayMRT+1i5lAvsnKGl2IpgqkGoT7yklPV1a8F3JUM/XjseeKM4fH
2UA4juRqq+Oop4W4764SBXMtAjg25CrELm2tf7QkVDg4oyigkJ5ZSl9Hs7PrEfdb
6e545Xeb1B8TMyx6WN8qcKDyBm8X6vzf0czOz4bn/MMGNnroEQAHXTd9//RrReyx
uJqSldluU+NEJ51yQ+7vQlvb1ox+b0t/9ZvnmPN/cDHFMj+tdvbrtOjFaLkK1Hox
mckNiHHwOrCoV/gLzc/xUN5KpSyZxXU4cr88mdoAJpBdNUMfPZqvv7IvzA4r100T
sEPOLyUpxkTgRdPBtoJ3sqhpB/8XPuS9nf4txflgPRux71JrVKA=
=vOEe
-----END PGP SIGNATURE-----