Barre / privaxy

Privaxy is the next generation tracker and advertisement blocker. It blocks ads and trackers by MITMing HTTP(s) traffic.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use proxy Exclusions

gitze opened this issue · comments

commented

Hi
I want to exclude complete domains (incl. all subdomains) from the proxy and bypass the MITM functionality.
If I use the full domain incl. subdomain, this feature is working and the certificate will stay unchanged.
e.g.
Privaxy Exclusions: www.ubs.com
URL: www.ubs.com -> cert original

But exclude all possible subdomains from ubs.com did not work:
Privaxy Exclusions: ubs.com
URL: www.ubs.com -> privaxy cert
URL: ebanking-de2.ubs.com -> privaxy cert

How can I exclude full domains and set them as transparent? Which syntax is needed?
Thanks for advice

Hi,

That's what happens here: https://github.com/Barre/privaxy/blob/main/privaxy/src/server/proxy/exclusions.rs#L9
I didn't implement wildcards in configurable exclusions as I didn't want to expose the glob crate to untrusted input as it's not really designed to be used the way that privaxy does.

I'll work on removing this dependency and exposing wildcard matching to configurable exclusions in the next few days.

commented

Thank you :-)