[Privoxy-users] Suggestions and Routing question

Unknown arkmail0 at riseup.net
Mon Jun 27 14:37:30 UTC 2016


Suggestions:
1. How about redirecting visitors to https?
"www.privoxy.org" -> redirect to HTTPS

2. Now that you decide to leave SF, would you add an RSS feed on privoxy website?
www.privoxy.org/announce.'rss'


Help:
1. How can I route packet to other route?
(I don't use offered action files, I use my own)

I'm asking this because v3.0.25's guide is not clear.
> "Add client-header-tagger 'listen-address'."



e.g., extremely simple example. I use other options btw

> config:
listen 0.0.0.0:8118
forward-socks5 / 1.2.3.4:5 .

> action:
{+limit-connect{80,443}}
/

> Clients
A(IP 10.20.30.40)
B(10.20.50.50)
C(9.8.7.6)

A, B, and C use Privoxy proxy server.
They can connect to TCP 80 or 443, nothing else.

I want "C" to route direct connection, and limit port to 8888.
Only C:
forward / .

{+limit-connect{8888}}
/

Is this possible?


> Possible new idea

(!) Add 'If ~ Fi' on config.

forward-socks5 / 1.2.3.4:5 .
If (Client-IP == '9.8.7.6')
forward / .
Fi

meaning:
Everyone must use SOCKS5.
But if the IP is 9.8.7.6, read the rules.

(!) Add 'client-ip-is' on action.

{+limit-connect{80,443} +add-header{Pri: Voxy}}
/

{+limit-connect{8888} +{client-ip-is{9.8.7.6}}}
/

meaning:
Everyone must use only 80 or 443.
But, if the Client IP is 9.8.7.6, limit only 8888, not 80/443. (also keep Pri: Voxy of course)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://lists.privoxy.org/pipermail/privoxy-users/attachments/20160627/4ae2bdb2/attachment.bin>


More information about the Privoxy-users mailing list