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
Mar 21 · 7 weeks ago · 🤔 1
3 Comments ↓
PAC is lite, just for browser. True way is /etc/privoxy stuff, I think...
linux.org.ua cool)
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
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: