Privoxy is a non-caching web proxy with advanced filtering capabilities for enhancing privacy, modifying web page data and HTTP headers, controlling access, and removing ads and other obnoxious Internet junk. Privoxy has a flexible configuration and can be customized to suit individual needs and tastes.
Current version support HTTPS-Inspection (experimentally) which allows privoxy to also filter content requested through HTTPS.
NOTE: This isn't doing anything without some additional interaction. See gitlab README.md on what and how.
Updates will preserve the config in sailfish.action and config.sailfish. If you have edited them, check after an update and merge your changes from the *.rpmnew files.
NEW BETA Feature:
Extensive adblocking including Element Hiding through AdBlock lists and the adblock2privoxy tool. See the README, and the -ab2p package.
Deprecation notice:
As the extra-lists package never produced very useful configurations, I will not be updating it. You can use the scripts from the old package to generate your own if you like them. But really use AB2P, it works.
3.0.32-1.1
3.0.31-1.4
3.0.31-1.1
3.0.30-1.5
3.0.30-1.3
3.0.30-0.2
3.0.29-13
3.0.29-12
3.0.28-5
Comments
rossholmes
Thu, 2021/03/04 - 12:35
Permalink
Thanks for the explanation. Yes, you are right - youtube-dl is the best current solution for this nasty situation..
rossholmes
Wed, 2021/03/03 - 13:41
Permalink
Since the v4 update the native Browser is quite usable. When trying to watch youtube screen gets stuck on the Ads, looks like privoxy trying to block them which is great, however it doesnt allow me to proceed to video itself. Have you got any advice for that?
nephros
Thu, 2021/03/04 - 11:51
Permalink
Yeah, I have noticed that myself.
I have tried various things to unblock YT but haven't succeeded yet.
A general strategy for nonworking sites is to:
Of course FILTERNAME and YOUTUBE-URL-PATTERN in this example must be replaced by whatever you got from the analysis steps above.
Example to start out with:
I have found it hard to impossible to both use youtube, AND block anything Google.
Personally I chose to block Google and not use Youtube in the Browser, and go with youtube-dl instead.
nephros
Thu, 2021/03/04 - 11:50
Permalink
Another workaround, not a solution, is redirecting YT links to invidious. I think this is what some Android apps and Browser extensions do as well.
You can look at the scripts here for more inspiration:
https://github.com/SimonBrazell/privacy-redirect/tree/master/src/assets/...
Define an alias:
And then use that alias in a rule:
This does not work if you click a link from e.g. a list of search results on YT, but it works if you ”open in new tab”.
nephros
Wed, 2021/03/03 - 20:32
Permalink
Of course, the pragmatic solution to the problem would be to disable privoxy through the web interface for watching videos, and enabling it again after ;)
nephros
Sun, 2021/02/21 - 20:32
Permalink
Usually no, you don't need to do anything as long as it's running on 127.0.0.1/loopback and not some other interface.
Slow loading pages can have several reasons, most unrelated to privoxy. My blind guess no. 1 would be DNS, followed by perhaps a transparent proxy used by your cell provider, or maybe IPv6 things. Very wild guesses all.
The easiest way to blame/unblame privoxy is to disable it from the web interface. if page loading gets faster, it's something in the config/rules. If not, the problem is somewhere else.
For debugging you can look at enabling debug options 2 and 4, or even 16 and the log file.
That being said, certain blocking rules *can* make page loading slow, but that should appear independently of your network connection. Unless of course your wifi uplink is wayyy faster than mobile.
rossholmes
Sun, 2021/02/21 - 22:03
Permalink
Thanks, my problem is not related to Privoxy I can confirm. I am able to replicate the same issue with Privoxy disabled. Appreciate all the hints above - at least I know now how to troubleshoot
rossholmes
Sun, 2021/02/21 - 16:51
Permalink
I just realised that my Browser wouldn't load any pages when I am on mobile data with Privoxy enabled. Do I need to adjust something when disconnecting from WiFi and connecting to mobile data? When WiFi on Browser works as expected.
Edit: there is internet when running on mobile data, but the Browser loading the pages very slow - not fully sure if its connected to Privoxy at all...
rossholmes
Tue, 2021/01/26 - 23:19
Permalink
Nice one, thanks! I've copied all uncompressed files from extra/ab2p/ab2p.tar
xz github folder to relevant folder /usr/share/harbour-privoxy/files/extra/ab2p... And I'm trying to add the action and filter entries to config file, but I got stuck as I have two of it: 1called config and other is called config.sailfish. Which one do I need to edit, please? Cheers
Edit: uncommented the ab2p entries at sailfish.config but the privoxy service stopped operating. I must do something very wrong
nephros
Wed, 2021/01/27 - 17:11
Permalink
Ok, I checked both the tar in master on gihub and the one in harbour-privoxy-ab2p-2021.01.21-1.noarch.rpm (which should be the same), and the contents are error-free.
It must be something else, probably a typo or something in the config.
rossholmes
Wed, 2021/01/27 - 23:20
Permalink
Thanks for the support. I might have found the cause of my problem. It's my noobish knowledge of unix systems. I didn't decompressed the tar file thoroughly.
nephros
Wed, 2021/01/27 - 16:51
Permalink
Hi,
Yes, config.sailfish is the correct one.
If the service stops and doesn't come up again, there is something wrong in the config files. Probably an illegal entry in the ab2p files, or in the config.sailfish file. Did you enable the "filterfile" directives as well?
Please run:
Which will tell you where it fails.
OR, enable the 'logfile' option in config.sailfish and check /var/log/harbour-privoxy/logfile.
Note that privoxy watches all its files and will reload them whenever they change. So don't save incompletely edited files!
rossholmes
Mon, 2021/01/18 - 23:18
Permalink
Works as a charm. Guidance war clear and helpful. Thanks!!
nephros
Wed, 2021/01/20 - 02:26
Permalink
You're welcome and thanks for the feedback. I just uploaded 3.0.30 which has several improvements (I think), most importantly possibility to use converted AdBlock lists through ab2b which works much better than the previous converter script. But you have to make the files yourself.
I have updated the docs on how.
flanker
Thu, 2020/12/24 - 02:32
Permalink
Sorry for silly question, I don't mean it offending. What is good for to run proxy server on ordinary cell phone?
nephros
Sat, 2020/12/26 - 03:58
Permalink
See the links for more information.
But basically, this is not a caching proxy but a filtering one. This means you can add all kinds of rules which can block or alter whatever web content is requested through the proxy.
On a phone this can be beneficial as it may save bandwidth, improve browsing performance and of course improve privacy. There are no guarantees for this though, it may also have the reverse effect depending on what you do with it.
Bocephus
Fri, 2020/12/25 - 07:30
Permalink
It's literally right there in the description.
Stezkoy
Tue, 2020/02/11 - 22:18
Permalink
Nice app, thanks for the update!
Through the application, I did not see that 2 files!
nephros
Wed, 2020/02/12 - 10:40
Permalink
Yeah sorry I thought I could split them up, turns out the templates are needed. The -2 version should work okay now.
Also I'm learning how openrepos does things, did not know that you need a seperate application for different RPMs to be made available.
Bocephus
Tue, 2020/02/11 - 20:37
Permalink
Good job! I always ran Privoxy on the N900. Sailfish is so far behind that 10+ year old device in so many ways...