How to use proxy Exclusions
gitze opened this issue · comments
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.
Thank you :-)
Done in 0.5.2: https://github.com/Barre/privaxy/releases/tag/v0.5.2