Re: Privoxy MacPorts Port with HTTPS Inspection

Fabian Keil <[email protected]> Thu, 11 Nov 2021 10:43:00 +0100
Newsgroups gmane.comp.web.privoxy.user
Message-ID <[email protected]>
Steven Smith <[email protected]> wrote on 2021-10-14:

> I have a PR that builds and configures privoxy’s HTTPS
> inspection. Comments and feedback welcome:
> 
> https://github.com/macports/macports-ports/pull/12506

That's great.

Please excuse the delayed response.

A few comments below after briefly looking at:
https://github.com/macports/macports-ports/pull/12506/commits/9730efc6f43ab6248de1ffacb3fc3499ed173663

| homepage            http://www.privoxy.org/
| -master_sites        sourceforge:project/ijbswa/Sources/${version}%20%28stable%29
| +master_sites        ${homepage}/sf-download-mirror/Sources/${version}%20%28stable%29

Could homepage be changed to https or would this cause
problems when fetching the sources?

| -#connection-sharing 1
| +connection-sharing 1

Quoting the documentation:
| This option should only be used by experienced users who
| understand the risks and can weight them against the benefits.

I would not recommend enabling it by default.

| -#enable-compression 1
| +enable-compression 1

Quoting the documentation:

| Compressing buffered content is mainly useful if Privoxy and
| the client are running on different systems. If they are running
| on the same system, enabling compression is likely to slow things down.
| If you didn't measure otherwise, you should assume that it does and
| keep this option disabled.

I suspect that most MacPorts users are running Privoxy
on the same system as the browser so I would not recommend
enabling it by default either.

| +# User-Agent
| +# See http://www.christianschenk.org/blog/enhancing-your-privacy-using-squid-and-privoxy/
| +{ \
| ++hide-referrer{conditional-forge} \
| ++hide-user-agent{Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1 Safari/605.1.15} \
| +}
| +/ # Match all URLs

Is that a User-Agent actually commonly used?

| +# No HTTPS Inspection on these websites
| +{-https-inspection}
| [...]

A comment justifying these exceptions might be useful.

Also you may want to add regression tests so you and
users of the port can use Privoxy-Regression-Test to
automatically check if they are applied as intended
and don't conflict with other changes.

I'm not familiar with adblock2privoxy so I don't know
whether or not using it is a good idea.

I did not look at the certificate generation at all
due to lack of time.

My impression is that the Privoxy tools are not installed.
Is that because they add dependencies?

I'm obviously somewhat biased but I consider them useful
and the FreeBSD port (which I maintain) installs them by
default but has an option for users who don't want them.

Fabian

_______________________________________________
Privoxy-users mailing list
[email protected]
https://lists.privoxy.org/mailman/listinfo/privoxy-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEETzbBfzgWkTZUoehQaRgikYuiNxwFAmGM5aUACgkQaRgikYui
Nxz20xAAh2FeWiZch5G/laz9tUxULciELYkdMvO/ncLtZCpzLWZCNNQo4xfgkdE5
VyZq902LI+CLdjp0nPlItsrjBqmiU3goBFH4lgeS4IQLWmKAK46Cu9MEkjmm5Yae
7+2kus5YhQSvEkhZApvkERpqzb9trOcjPuH7MssQGMMvbLL0jbJ32NGZeKcRslQX
hOdsTUKQBIsC87u1emdKynuGAviWcJ+H96maWzW6N/PP4YQodyxLWSw+fUNfCGu5
cFC4dpSyivnZLLeBrfVgpt+uwq11tHHmEd8pLoD3YLq3yKulF7mrdsJqhZ09oIKR
GsxrHnmDmJ5q8cGZmldTYUyVO2ICqb5rmi1IWRPPeNfBSTHNa6nUMqISNvWiYqyj
5VDmkS7ogbIAwV25NGGzFHtcftSaio96hP4O3UEglFXx0UgTaF/JG/z3wwZMNNyV
IrSLZ8a8n3cW+nasFvvEOZasTi4j1cWMI0sNolGkDoXcVICl+VvUuOwf+lWlUK50
nRYKkApCUSuSrJNqUCVPUIGtWy6KqaDZXiLnAVwolocJegQeSXiY90uWAY2blkC3
AMZlsullSLNA2prHh9jAIrFz/nY4jHLos/Y5A/taL5LNVRJiuYJ5h72rL6Lp0yv1
CDYBtDO7IHMo4VMUt5y0f0b8iIzAnEfqM6idE6ncdWoe0F9FS6Q=
=YOxG
-----END PGP SIGNATURE-----