15 ms·
uBlock Origin CNAME uncloaking now supports filtering by IP address
- RockRobotRock 2y agoCNAME cloaking? Does this mean an ad site may use a randomly generated subdomain pointing to a wildcard record?
- ceejayoz 2y agoYes. Ads and analytics providers have started doing this to get around third-party cookie protections.
- 404mm 2y agoThis is such an intrusion of privacy. I wish I could just disable cookies entirely but the usability of many webpages just goes down. I should not be punished for not wanting 3rd party trackers.
- jrockway 2y agoBefore I get too alarmed someone would have to tell me how an adsite.com cookie is being sent to adsite.example.com. This workaround seems to let adsite.com profile me as well as example.com already can, but it loses the ability to correlate my activity across example2.com and example.com with a single cookie. (I guess ad providers have gotten good enough to not need cookies? Like they know my browser window size, installed fonts, GPU vendor and model, IP address, geolocation, header order, etc. so they don't even need cookies anymore to track my activity across the web? I suppose it was only a matter of time.)
- bongodongobob 2y agoBrowser profiling has been a thing for at least a decade if I'm not mistaken.
- jrockway 2y agoMakes sense. "I am session abcdef12345" always seemed significantly guaranteed to me, but in a world with ad blockers and third-party cookie restrictions, using heuristics is the only way forward. It's somewhat scary how much information our browsers leak to unknown parties. (I don't really take sides on this. I use an ad blocker and am very anti-ad, but am impressed when ad companies come up with tech to thwart them. The cat-and-mouse game is entertaining to read about.)
- pas 2y agoit's more than enough. especially that the competition is also only using the same tech
- pas 2y agocookie is for each site, but that's enough... sure, maybe no retargeting ads, but those were creepy anyways (and likely not more effective)
- lancesells 2y agoThe correlation is happening through an API connection between adsite.com and example.com and not through cookies. So even if you block all third party cookies and scripts your activities are being tracked through the first party.
- quesera 2y agoI run all the time with first-party cookies disabled. Most of the web works. Anything that does not, and I care about, gets blessed. The only content I allow by default, even in low-security browser profiles, and even from first-party domains, are HTML, CSS, and images. I consider the occasional broken page to be a successful test of my configuration. If I care, I adjust permissions.
- sidewndr46 2y agoI always find this development curious. About a decade ago I worked in this space. When someone brought up ad blockers I just said "put the analytics on our main domain. No one is going to block the entire website". The answer I got was "no one would ever do that because of the implications of serving advertising from your main domain". Yet, here we are.
- alerighi 2y agoThey use a third party domain just because that way they can track the user actions with cookies, for example Google can track your navigation across multiple websites, and thus propose to you more relevant ads. Also using a different domain was simpler and cheaper, since you don't have to host the AD content and metadata, just include the JS from the AD provider somewhere in your HTML. Now that thanks to EU laws and browser imposing restrictions about third-party cookies it's more difficult, the whole "serve ads from other domain" may not be that relevant anyway. If you use a random wildcard subdomain... just serve them from the main website, what is the difference? On the other side with a proxy just route the AD requests to another server if it needs to be, of course you have to find a way to distinguish which requests are for AD and which are not, something you can do with some sort of signature in the filename, so that only the server can know which requests shall be handled locally and which one forwarded to the AD provider server.
- bluGill 2y agoNews payers used to all serve their own ads including in house sales and design. Frankly with how key advertising is I don't understand why anyone would out source it.
- 627467 2y agoThis. Everyone and their grandma decided it's cool for Google and others to decide what should display on your website next to your content because of "magic online advertising". How much of the efficiency of online advertising comes from the actual "art" of tracking users and their preferences to display "personalized" ads vs the "efficiencies" from firing/outsourcing your marketing, ad sales and creative workforce.
- A4ET8a8uTh0 2y agoThere is a part of me that, at a high level, appreciates the back and forth between the user and the ad industry. On a personal level, I am slowly getting to the point, where I am less.. uhh.. understanding. That said, the average person's conception of what acceptable needs to change. I did briefly think that they need suffer through more ad-infestation first, but I realized that the answer is more in line with what my wife seemed to have gone through. The low exposure to ads made her less willing to deal with them. This might be the way forward. It is hard for a person used to existing ecosystem to even imagine, there could be something better.
- labster 2y agoCertainly, streaming services have ruined broadcast television for me. I don’t know how I used to spend over $100 a month on cable TV to be advertised to. Spending four and a half days a year (44 minutes out of every two hours) watching ads is not for me.
- belorn 2y agoRandomly generated domains are a major red flag for abuse and malware detection, and seems to have become a rather large part of how the domain industry manage abuse. Domain "credit score" is also something that is used in the email industry to score links and thus spam values. A large part of providing score values is behind security companies that offer their service as a paid services, but as with a lot of this stuff there are a lot of movement to offer it for free similar to spam block lists. It will be interesting when this kind of technology moves down to browser add-ons.
- nodja 2y agoThat's part of it. Normally when you visit contentsite.com which serves ads from adsite.com. Adblocker rules can just block adsite.com and the ads won't be shown. CNAME cloaking would have the main site have a subdomain like adsite.contentsite.com point to adsite.com, now the adblockers have the impossible task of blocking millions of subdomains that seemingly belong to legit sites, this also allows the legit sites to keep changing the subdomain since the adblocker will have no idea which subdomains serve legit content vs ads. As a bonus since the content is being served from the same domain, they can bypass certain cookie browser policies and track users even better. This update allows you to set rules so that you can filter by resolved ip.
- synergy20 2y agothis reminds me of domainfronting, who was a super smart way to get around of ads and other sites blockers, not sure if it's all 'fixed' now.
- Pxtl 2y agoi hope that this results in sites that host malicious ads and use wildcard session-cookies get hacked to all hell by their ads.
- shiroiushi 2y agoI would hope that this results in websites hosting malicious ads which harm users, which then results in a big lawsuit against these websites with a huge payout for the harmed users. After all, if the malware ad is being effectively hosted by the site, then the site should be legally responsible.
- Pxtl 2y agoThe upside is that it would only really impact their interaction with that specific site, not with anything else (unless there's opportunity for lateral moves because of SSO or the site hosts email and so they could hack password resets or something). My dream scenario would be this happening to an in-company administrative user with the keys to the kingdom. Imagine an ad-ridden site like Fandom.com getting hacked in that way.
- vifon 2y agoThe title seems to be wrong, uBlock Origin supported it for many years at this point (only on Firefox). This seems to be a refactor of that code, not a whole new feature.
- wild_pointer 2y agoWell, it does support it now. It supported it before, too :P
- normanthreep 2y agoi used to use ublock origin. i still do, but i used to, too
- readyplayernull 2y agoThere must have been some Monty Python... ah you get it.
- LinuxBender 2y agoI believe that is a reference to Mitch Hedberg R.I.P. [1] [1] - https://www.youtube.com/watch?v=VqHA5CIL0fg https://www.youtube.com/watch?v=VqHA5CIL0fg [video][10 seconds]
- benterix 2y agoThank you for providing the video length, it is the factor that made me click.
- rowinofwin 2y agoAnd there are at least 3 fish
- dang 2y agoOk, I've reverted the title to that of the page. Submitted title was "uBlock Origin supports filtering CNAME cloaking sites on Firefox now". If someone wants to suggest a more accurate and neutral title, we can change it again. Github commits without additional context don't usually make for great HN threads though...
- itohihiyt 2y agouBlock Origin is what makes Firefox even greater and definitely one big reason I use Firefox over Chrome etc. It make the Internet browsable.
- jajko 2y agoI moved many years ago to this combo, and never saw a single reason to switch away. Same for android phone, the only usable mobile web experience I've seen. Those few sites over a decade that had some display issues had issues also under chrome. Plus I personally consider ads a cancer of modern society. White and not so white lies, manipulation... nothing respectable regardless (or because ) of tremendous money circulating in it.
- beeflet 2y agoI mean there are appropriate applications for advertising (like classifieds in a newspaper), but there is no reason why advertising should be so pervasive that it requires a massive surveillance apparatus like it does today. Advertisements are the reason why everyone switched from TV to Netflix, and that's back when cable TV was a paid service. secushare[1] makes the case that this is because the internet lacks a secure micropayments layer, so the funding model for everything has to be advertising-based instead of patronage-based. Paypal and the like are exploited as cash cows because of their centralized nature. Cryptocurrencies were later tried but have technical limitations that broadly prohibit this use case (even with payment channels/LN). [0] https://secushare.org/broken-internet https://secushare.org/broken-internet
- warkdarrior 2y agoUgh, micropayments again! I have no desire to pay for content or software -- torrents and OSS are all anyone needs.
- beeflet 2y agoIt's mostly about paying for the bandwidth, not the information itself. In the client-server model, the the server owner has to pay for bandwidth and operation costs, which is the justification for advertisements and such. Even in torrents you have private trackers and all of these annoying incentive systems for people to host content. If you had a good reward system on top of bittorrent/IPFS I think that idea could take over the world, but it is not efficient or decentralized to do so.
- jeanlucas 2y agoIt did not hit me yet, but I'm already rewriting my extensions to firefox to switch if Chrome really axes uBO
- TheGlav 2y agoIt's not if. It's when. It has been 'when' since 2020. It is coming. It is not going to not come. It will be here in mere releases. Get ready.
- jeanlucas 2y agoYeah, hence why I started already migrating, slowly. I have a simple tab organizer extension and some greasemonkey scripts that should work perfectly fine on Firefox without any changes.
- chrisfosterelli 2y agoYou're probably right, but FWIW it's not unheard of for google to announce, continually delay, and eventually completely backtrack on things like this, like third party cookie deprecation.
- zarzavat 2y agoThis time it affects their bottom line in a profound way so wishful thinking is probably not going to work unfortunately.
- Terretta 2y ago> affects their bottom line in a profound way Something around 8% of total digital ad spend.
- sebastialonso 2y agoTo be fair, that's tremendous
- 2y ago
- Exuma 2y agoIs chrome going to block uBO im never up to date on the latest. I do know theyre allowing 3rd party cookies now... so maybe theres a chance
- o11c 2y agoHonestly, it probably is going to depend on whether the US continues to have an administration that's willing to take blatant monopolists to court.
- anderskaseorg 2y agoThey’re doing a slow phase-out over a long time to try to avert a wave of bad publicity that threatens their browser monopoly, but that timeline has already started as of June. https://developer.chrome.com/docs/extensions/develop/migrate/mv2-deprecation-timeline#june_3_2024_the_manifest_v2_phase-out_begins https://developer.chrome.com/docs/extensions/develop/migrate... https://www.bleepingcomputer.com/news/google/google-chrome-warns-ublock-origin-may-soon-be-disabled/ https://www.bleepingcomputer.com/news/google/google-chrome-w...
- TheGlav 2y agoThey're not blocking uBO, they're removing the features in the browser that allowed uBO to work by releasing new plugin APIs, "Manifest v3". They're eliminating the key APIs needed for uBO to identify things that it shouldn't load, and then not load them. Google claims this was for "performance" or "security" reasons. Of course, the only major 'performance' or 'security' affected is the ability to identify, intercept, and stop harmful or ad related downloads before they start.
- altdataseller 2y agoDoes this affect extensions that know every website you visit even if it doesnt need to know, and has nothing to do with the extension’s functionality? (ie the ones that Similarweb buys)
- blacksmith_tb 2y agoNot updating your browser is also hazardous - much better to switch to FF, and have a browser that gets updates and also fully supports uBO.
- lelandbatey 2y agoAs an example of what CNAME cloaking is, let's say that a SAAS provider A wants to provide you, company Q, with fancy ad tracking software. In the olden days, they'd tell you to embed a script at e.g. https://A-ads-tracking.example https://A-ads-tracking.example into your website at address https://q-company.example https://q-company.example To block those ads, blocklists that uBlock Origin use have rules then that say "block requests being made to the domain name A-ads-tracking.example", which blocks the ads. CNAME cloaking is where SAAS provider A sets up their ad-tracking services not on domain A-ads-tracking.example, but instead at a specific IP address of e.g. 29.1.2.3; then (and here's the important part) SAAS A tells you Company Q that you need to set up a subdomain of q-company.example which has a CNAME record pointing to 23.1.2.3, a subdomain with an innocuous name like media.q-company.example; once you've set up that CNAME, you at Company Q add a script tag to your website for `media.q-company.example` and now SAAS A is able to track all the users on your site. This indirection allows for effectively infinite cat-and-mouse on the part of you the owner of the Q Company vs the blocklists that the public assemble. To get around this CNAME cloaking problem, the software powering extensions like uBlock Origin need to be able to see not only the destination domain of requests by browsers, but the underlying IP addresses of those domains as well. This commit makes that behavior possible, or at least is related to making that code work better.
- biglyburrito 2y agoThank you for the breakdown!
- itohihiyt 2y agoAnd this is a good reason to block all JavaScript in unlock advanced and slowly whitelist the scripts you see until the site works properly. Slow and error prone but once you get used to it it's a breeze. And you're completely immune to this sort of shittery.
- jftuga 2y agoIs there a public list of known legit, whitelisted scripts?
- marcell 2y agoWhat is the uBI status on Brave, Edge and Opera?
- homebrewer 2y agoI don't care about the two proprietary browsers you've mentioned, but Brave is going to (partially) support manifest v2 and maintain uBO compatibility for as long as they're able to: https://brave.com/blog/brave-shields-manifest-v3/ https://brave.com/blog/brave-shields-manifest-v3/ Not that you really need it as Brave has its own very capable built-in ad blocker with -- last time I checked -- higher performance than uBO (since it's compiled into native code) and full support for same ad lists.
- zamadatix 2y agoBrave is open source instead of proprietary now? I knew they were Chromium based (like the others) but I hadn't realized they switched over on all of the customizations on top.
- mossTechnician 2y agoBrave is like Firefox: it's open source, But it connects to some closed source servers to serve up contentious features (IMO this is a bigger problem on Brave than Firefox, since many of them cannot be fully hidden).
- attentive 2y agoand brave/shield supports CNAME uncloaking
- tyingq 2y agoThis a good example of why manifest v3 sucks. By definition, it can't do anything like this...no live code hueristics are possible. It's a war of escalation with advertisers. Google is the arms dealer to both sides. They won't give you what you would need to win.
- codetrotter 2y agoAbandon Chrome, embrace Firefox.
- ilrwbwrkhv 2y ago[flagged]
- gruez 2y ago>This a good example of why manifest v3 sucks. By definition, it can't do anything like this... Technically manifest v3 has nothing to do with APIs that the browser makes available to extensions. On firefox manifest v3 is supported with blocking web request[1], which is the filtering api prior to "manifest v3". Therefore the statement that it certain functionality "by definition" is false. [1] https://blog.mozilla.org/addons/2022/05/18/manifest-v3-in-firefox-recap-next-steps/ https://blog.mozilla.org/addons/2022/05/18/manifest-v3-in-fi...
- sieabahlpark 2y ago[dead]
- WD-42 2y agoOK so Google's near monopoly implementation of V3 sucks. Technically a difference, but practically not so much.
- fallingsquirrel 2y agoExactly this. There's some good stuff in MV3, but Google decided to take the opportunity to smuggle in some self-serving changes, similar to how Congress likes to sneak controversial laws under the radar as part of unrelated bills*. * https://en.wikipedia.org/wiki/Rider_(legislation) https://en.wikipedia.org/wiki/Rider_(legislation)
- tbrownaw 2y agoDon't some DNS servers implement something that acts like a server-resolved CNAME, where the admin puts in a record that points to some other DNS name but the client just sees an A (out AAAA) record?
- nikeee 2y agoI think you are referring to ALIAS records
- _fool 2y agoYup. some implementations provide similar ANAME, and Cloudflare has flattened CNAME which is probably the best implementation I came across in years of supporting folks trying to use these kinds of records on a large CDN. https://developers.cloudflare.com/dns/cname-flattening/ https://developers.cloudflare.com/dns/cname-flattening/
- taftster 2y agouBO has had this feature for awhile, since 1.34.0 (or 1.25.0 in advanced settings). https://github.com/gorhill/uBlock/wiki/Dashboard:-Settings#uncloak-canonical-names https://github.com/gorhill/uBlock/wiki/Dashboard:-Settings#u... I think that's around 2021 time frame. FYI.