Just an experiment: I created a PAC whitelist for myself

https://codeberg.org/postscriptum/pac/raw/branch/main/internet.pac

https://en.wikipedia.org/wiki/Proxy_auto-config

Posted in: s/WWW

👻 ps

Mar 21 · 7 weeks ago · 🤔 1

3 Comments ↓

🕷 baran · Mar 21 at 12:07:

PAC is lite, just for browser. True way is /etc/privoxy stuff, I think...

linux.org.ua cool)

👻 ps [OP] · Mar 21 at 17:56:

Finally, I'm working on my own HTTP proxy implementation. I would like to use build-in headers randomizer (not AN/ON but pseudo) - unfortunately this will not work for HTTPs connection as MiM

👻 ps [OP] · Mar 22 at 02:56:

After testing my PAC-based whitelisting strategy, I found it useful; unlike blacklisting, it gives 100% of the expected blocking results.

So, in a short time I implemented and published this SOCKS5 proxy server, which includes a built-in JSON API. I plan to add an in-memory registry update next; maybe later I or someone else will create a Web UI. Here is the source code - it requires optimization because, for now, I'm only interested in the results:

— https://codeberg.org/postscriptum/psocks