News for hackers. Stuff that matters.
Re:uBlock Origin 1.41 by geoffeg on Thursday February 10, 2022 @10:59AM (#30288029)
Does anyone know of a way to run uBlock Origin as an HTTP(s) proxy? I'd really like to be able to provide uBlock Origin style functionality to mobile and other browsers on my network that can't easily run uBlock. Historically privoxy could do some of what uBlock does, but development on privoxy seems to have declined...
Re:uBlock Origin 1.41 by favourable on Thursday February 10, 2022 @11:04AM (#30288113)
Have you considered pi-hole[0], NextDNS[1], or AdGuard[2]?

[0] https://pi-hole.net/

[1] https://nextdns.io/

[2] https://adguard.com/en/welcome.html

Re:uBlock Origin 1.41 by geoffeg on Thursday February 10, 2022 @11:06AM (#30288150)
I have pi-hole, and while DNS filtering does eliminate a majority of annoyances on the web, there's still a large amount that I need uBlock for.
Re:uBlock Origin 1.41 by vdfs on Thursday February 10, 2022 @11:09AM (#30288210)
DNS filtering is the only option outside the browser because of SSL
Re:uBlock Origin 1.41 by Chabsff on Thursday February 10, 2022 @11:17AM (#30288344)
That's not necessarily true. SSL/TLS does not prevent all MITM, it prevents unwanted MITM.

To be fair, I don't think you can install certificates on a Chromecast for example, so it might not be practically feasible for all devices, but a blanket "SSL makes that impossible" is not correct.

Re:uBlock Origin 1.41 by qwertyuiop_ on Thursday February 10, 2022 @11:34AM (#30288641)
SSL/TLS does not prevent all MITM, it prevents unwanted MITM.

That’s news to me. Can you expand on this ? I always assumed if an API Endpoint for example is served on TLS it’s secure till the termination. No ?

Re:uBlock Origin 1.41 by derimagia on Thursday February 10, 2022 @11:44AM (#30288808)
In practice it's usually done with SSL termination (MITM but you have a trusted certificate)

Adguard Docs on it: https://kb.adguard.com/en/general/https-filtering#how-does-h...

Charles Proxy: https://www.charlesproxy.com/documentation/proxying/ssl-prox...

Re:uBlock Origin 1.41 by nicoburns on Thursday February 10, 2022 @11:38AM (#30288717)
You can always choose to install your own root certificates, at which point your browsers will trust any certificates issued by them (which could be your own mitm proxy)
Re:uBlock Origin 1.41 by remh on Thursday February 10, 2022 @11:44AM (#30288814)
It would cause issues for websites / apps using HSTS / Certificate pinning (a.k.a. most big websites)
Re:uBlock Origin 1.41 by makeworld on Thursday February 10, 2022 @02:00PM (#30290865)
No, HSTS doesn't pin the cert, it just says that TLS must be used. A custom root certificate will fulfill that requirement.

Cert pinning isn't used by browsers in general.

Re:uBlock Origin 1.41 by nix0n on Thursday February 10, 2022 @11:03AM (#30288106)
If you have Android, the easiest way to run uBlock Origin is to install it for mobile Firefox.
Re:uBlock Origin 1.41 by vanilla_nut on Thursday February 10, 2022 @11:12AM (#30288265)
Precisely. On iOS, I've recently been enjoying Hyperweb, which you can add some of uBlock Origin's blocklists to. My experience so far has been great, though I'm aware that their blocking is probably based on Safari's neutered "content blocker" API so it isn't quite as fast or efficient.
Re:uBlock Origin 1.41 by ASalazarMX on Thursday February 10, 2022 @11:47AM (#30288867)
I've been very happy with the free tier of Lockdown Privacy, which blocks ads in every app, not only Safari. It creates a dummy VPN which can filter. Not as powerful as uBlock Origin, but it blocks in-app ads too.
Re:uBlock Origin 1.41 by vanilla_nut on Thursday February 10, 2022 @11:41PM (#30297069)
Ah, not an option for me since I already use a VPN to access services on my home network like my pi hole. I tried Lockdown a while back, and I do remember it worked pretty darn well. But my pi hole works great, too, as far as DNS-level blocking is concerned. And it's nice to know that my network traffic is safe from my mobile provider :)
Re:uBlock Origin 1.41 by boring_twenties on Thursday February 10, 2022 @12:26PM (#30289516)
Yes, unfortunately it won't help you if you use any apps that display arbitrary websites in the system webview. E.g. a reddit client.
Re:uBlock Origin 1.41 by xigoi on Thursday February 10, 2022 @02:56PM (#30291578)
Re:uBlock Origin 1.41 by bentcorner on Thursday February 10, 2022 @12:54PM (#30289965)
If you set it as the default browser, well-behaving apps that use Chrome Custom Tabs will use firefox in these situations.
Re:uBlock Origin 1.41 by LinuxBender on Thursday February 10, 2022 @11:08AM (#30288193)
Yes and no. One could create a Squid SSL-Bump (MITM) proxy and create ACL's that operate closely to uBlock. There won't be full parity between the two so uBlock would still provide some benefit to the client. The method of using Squid as a MITM proxy method assumes one can install and trust a server public key into the clients. Squid will limit what HTTP protocols one could use. e.g. h2, alpn won't be supported. If one does not mind those limitations and having to maintain a small list of sites to bypass MITM due to public key pinning then Squid can have rules for anything the client or server can see. Domains, URL's, Content-Type, Size, Methods, Ports, you name it. One could save some bandwidth on static content as an additional benefit.
Re:uBlock Origin 1.41 by CodeHz on Thursday February 10, 2022 @01:01PM (#30290058)
You could try adguard (android version), but it is paid.

And the biggest problem is most of sites are already upgraded to https, it needs MITM attack, but lots of applications won't accept any user certificate... (so adguard needs be installed to let those apps bypass its proxy, that's mean, you cannot just host a central proxy server to filter all ssl traffic)

Re:uBlock Origin 1.41 by quesera on Thursday February 10, 2022 @11:16AM (#30288336)
Is Privoxy development velocity the best metric?

Once the framework is in place, the interesting action is in filter configuration, right?

https://www.privoxy.org/ says latest release is about two months ago.

Re:uBlock Origin 1.41 by imglorp on Thursday February 10, 2022 @11:03AM (#30288094)
Pihole? I think they share some block lists.
Re:uBlock Origin 1.41 by freedrock87 on Thursday February 10, 2022 @11:05AM (#30288142)
Only does DNS blocking