[Privoxy-users] Whitelist full URLs in HTTPS traffic with Privoxy
Thibault Bartolone
bartol_78 at yahoo.com
Thu Jan 30 12:05:33 CET 2025
Thank you for your answer it works!
Le jeudi 16 janvier 2025 à 14:19:32 UTC+1, Fabian Keil via Privoxy-users <privoxy-users at lists.privoxy.org> a écrit :
Thibault Bartolone via Privoxy-users <privoxy-users at lists.privoxy.org> wrote on 2025-01-15 at 11:46:01:
> I managed to configure Privoxy to intercept HTTPS traffic:- generated CA and certs in Privoxy- configured Firefox to use the proxy and installed the CA cert- FF reaches HTTPS sites transparently through Privoxy without any problem.
> Now what I want is block all HTTP/HTTPS traffic, and just allow ONE HTTPS URL (not one domain, one full URL):ALLOW https://acme.org/urlthingBLOCK everything else
>
> Here's my configuration:
> /etc/privoxy/config# Commented out existing config to have the minimal thing:#actionsfile match-all.action#actionsfile default.action#actionsfile user.action#actionsfile regression-tests.action
> # this included file is recognized, because it has an impact on my testactionsfile myrules.action
> /etc/privoxy/myrules.action{ +https-inspection -block }acme.org/urlthing
> { +https-inspection +block }/Nothing works, all site are blocked, whatever I do. I tried infinite variations of the above (removing/adding block or https-inspection, changing + to - )
> I don't find any example of a working configuration online.
First block "everything", then make an exception:
{ +https-inspection +block{Forbidden request} }
/
{ +https-inspection -block }
acme.org/urlthing
Fabian
_______________________________________________
Privoxy-users mailing list
Privoxy-users at lists.privoxy.org
https://lists.privoxy.org/mailman/listinfo/privoxy-users
More information about the Privoxy-users
mailing list