[Privoxy-users] How to use "forward socks5" with my DNS server?

Fabian Keil fk at fabiankeil.de
Tue Jan 31 11:00:15 CET 2023


"Nate W." <natemail at riseup.net> wrote on 2023-01-08 at 01:19:49:

> 1. Example Sets
> 
> - Client: Chrome.
> - System DNS: 127.0.0.1 (Adblock-enabled DNS).
> - Privoxy.
> - Some SOCKS5 proxy server.
> 
> 2. What I want
> 
> I want privoxy to forward Socks5 to SocksProxy server _but_ first lookup
> DNS to see whether the domain is blocked or not.
> 
> Chrome -[HTTP Proxy]-> Privoxy <--> DNS/SOCKS5

This is currently not supported.

> 3. Actual result
> 
> The privoxy forward all requests to So5 proxy _without_ looking up
> system-set DNS,
> bypassing adblocked bad domains.

This is the expected behaviour.

> 4. Current horrible alternative
> 
> For now I just use "forward socks4" to force Privoxy look up DNS before
> connecting
> but this is horrible because
> 
> - Remote server can distinguish between direct-Socks5-traffic and
> privoxied-traffic 
> by looking for "Connection: closed" header.
> -> Could you please modify the request header to "Connection:
> keep-alive" just to spoof this?

I don't understand what you're asking for here.
Can you please rephrase it?

While you can already modify the Connection header using
a client-header filter, the use of the header shouldn't
depend on whether or not Privoxy is configured to use
socks4.

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.privoxy.org/pipermail/privoxy-users/attachments/20230131/74f89e22/attachment.bin>


More information about the Privoxy-users mailing list