Solved privoxy: simple user.action rules do not fire, privoxy seems not to work at all

Hi! Instead of writing a sarcastic Howto write UNIX utilities & documentation for your UNIX utility (see the UNIX hater's handbook ;), it's so true...), I'd like to ask for help why these simple rules do not fire: /usr/local/etc/privoxy/user.action (enabled in config)
Code:
{+block{nasty image.} +handle-as-image}
 /.*\.gif$
/YZ84XVq.gif$
.imgur.com/.*\.gif$
yogsototh.bytecamp.net/gfx/bc_bsdforen.gif$
Besides that, when I visit the (internal) privoxy config page (enabled in config) via the manual, the URL http://config.privoxy.org/show-config changes to https://www.privoxy.org/config/ and shows:
Privoxy is not being used
The fact that you are reading this page shows that Privoxy was not used in the process of accessing it. Had the request been made through Privoxy, it would have been intercepted and you would be looking at Privoxy's web-based user interface now.

service privoxy status: privoxy is running as pid 18530.
netstat -ap tcp|grep 8118:
Code:
tcp4       0      0 localhost.8118         localhost.34621        FIN_WAIT_2  
tcp4      31      0 localhost.34621        localhost.8118         CLOSE_WAIT  
tcp4 0 0 localhost.8118 *.* LISTEN
I did not make any other changes in the config file, other than to enable user.action, user.filter (empty) and enable-edit-actions, and set the manual URL to file:///usr/local/share/doc/privoxy/user-manual/ (which does not work either, see above).
Thx in advance.
P.S. Would you write your utility to force the user to use two different pattern matching syntax in the very same configuration line? Ts Ts Ts... :rude:
 
manual_filters.png

"Werbefilter" = ad-blockers, enabled & do not show filtered images enabled.
It f* does not do what I want... drives me crazy! :mad:
EDIT Will a transparent proxy be able to filter https traffic? Then it intercepts the connection & does the encryption on behalf of the client.
 
Since it seem you've invested in Privoxy and If you don't want to install plugins, the only option is blocking by host patterns. i.e. no imgur.com at all.
 
Since it seem you've invested in Privoxy and If you don't want to install plugins, the only option is blocking by host patterns. i.e. no imgur.com at all.
EDIT I changed the browser's manual adblock rule to exclude *.imgur.com.
EDIT The only reason I installed privoxy was that the browser's adblock does not do what I want.
But I have more than a dozen adblock filters enabled in the browser, both manual and automatic. Additionally, I changed privoxy's user.action to
Code:
{+block{nasty image.} +handle-as-image}
/YZ84XVq.gif$
.imgur.com/
yogsototh.bytecamp.net/
Still I see ILUXA 's stupid signature and the less annoying animated gif in bsdfore.de. Nearly every URL I visit changes to https. I'm going crazy with this animated .gif shit. Visiting http://config.privoxy.org/user-manual/ is documented to show the locally installed docs. Instead it says: Privoxy is not being used. (See above) I'm helpless...
 
I'm using KDE Konqueror browser.
Easy here with Firefox. I do see no more avatars here using Firefox Addon "Request Control" blocking *avatars* in the URL path. Squid could do this too, as no content needs to be decrypted when blocking URL path patterns.

Edit: I started blocking avatars because of gravatar.com which IMO is a privacy problem. As a side effect, seeing no avatars prevents from prejudice seeing avatars I would find averse. I was too often wrong looking at those. Often people do not do themselfs a favor with that avatar nonsense because that kind of "identity flagging" cannot be understood when not knowing a person and the avatar is not explained.
 
I know you're using KDE Konqueror and I don't want to suggest to use firefox but if you use firefox, with ublock origin, you can easily filter that.
I tested it. It works. I posted here. Maybe somebody find it useful:
firefox: add following rule to "My filters" to ublock origin extension,
||i.imgur.com/YZ84XVq.gif$image

[EDIT] Without ublock origin I don't touch web. It's installed on every single of my firefox and chrome profiles. (maximum blocking everything)
[EDIT 2] I'm sorry that I can not find a solution for KDE Konqueror. KDE Konqueror is completely different land.
 
It's webengine. I'm not going to use that crap piece of software (Firefox). Never again. It's a combination of all known security holes. Never complied to any HTML standard. Turns out Konqueror is not what I need, either. I already filed in a bug report. Since all URLs turn into https anyway, I will deinstall privoxy & search for a better alternative. Thx for your time.
 
  • Like
Reactions: a6h
. I'm not going to use that crap piece of software (Firefox).
Firefox is the worst. I just have no other choice. I have to manage handful of different website. Each need to reside on different profile (logins, ...). Only firefox can handle if you have to manage more than 10 profile. I tested chromium. It has problem with large number of profiles.
[EDIT] My pleasure.
 
Seems to be a bug in Konqueror. In Falkon everything works as expected, and it uses the same qtwebkit/webengine backends. Problem solved. EDIT getopt Thx for the hint about gravatar.com. Not only I do not see this annoying signature anymore, but can see which users here are (recklessly?) using gravatar.com ;)
 
  • Like
Reactions: a6h
Back
Top