[Privoxy-users] Randomizing forward proxies
Nick
privoxyusers2 at i.lucanops.net
Wed Feb 26 10:28:34 UTC 2020
On Tue, 25 Feb 2020 23:09:57 +0530
Akash Gupta <akash.bits at gmail.com> wrote:
> Hello Community,
>
> I have a list of proxies that I want to forward the traffic to from my
> privoxy instance randomly, any idea how can I achieve this ?
>
> Forwarding would pick up last match if I put a list in config file
> but I don't want that.
>
> Any pointers will be appreciated
>
Tried it, used DNS round-robin, gave up: IIRC the browser will resolve
the proxy and then use the same IP all session. Or at least, that is
what I thought I saw. I did set DNS records to be short, too.
If a hostname has more than one IP in DNS, then the IPs will be served
in different orders to each client, spreading user across many
possible hosts.
In theory this method should work, but I didn't seem to have any luck.
Unless there is another approach, like using sed on the config file
from a cron'd script, using DNS might be worth further investigation.
If privoxy was serving many users on a LAN then this DNSRR trick may
work fine, and it was only because I was using it all on my laptop with
one browser I had no luck.
HTH
Nick
More information about the Privoxy-users
mailing list