News for hackers. Stuff that matters.
Re:Cloudflare’s CAPTCHA replacement with FIDO2/WebAuthn is a... by navanchauhan on Friday May 14, 2021 @08:42AM (#27153603)
Crawling a Cloudflare powered website is basically impossible without needing to do some bodges as to how to crawl it.

How can you expect someone to crawl a bunch of websites if they are actively blocked from accessing it? Now, you might say users can whitelist bots in their robots.txt file but then again will the person creating the engine individually ask companies to allow them to crawl?

Also, slightly unrelated but Cloudflare protected websites are almost impossible to access via tor, the captcha never succeeds.

Re:Cloudflare’s CAPTCHA replacement with FIDO2/WebAuthn is a... by freshair on Friday May 14, 2021 @10:54AM (#27154942)
> Also, slightly unrelated but Cloudflare protected websites are almost impossible to access via tor, the captcha never succeeds.

Yes, I've never understood why it's seemingly so important to CAPTCHA me before serving me less than 100kb of read only plain jane HTML. What sort of "attack" is this stopping? I'm pretty sure the CAPTCHA itself is bigger than half the sites it blocks me from reading.

Re:Cloudflare’s CAPTCHA replacement with FIDO2/WebAuthn is a... by jgrahamc on Friday May 14, 2021 @08:46AM (#27153635)
If you are building a search engine and getting blocked you can always contact me and I'll make sure that the teams that work on bot detection and DDoS are aware. We would like to know because we should not be blocking a legit crawler like this.
Re:Cloudflare’s CAPTCHA replacement with FIDO2/WebAuthn is a... by PaulHoule on Friday May 14, 2021 @09:20AM (#27153970)
What makes a web crawler "legit?"

When I had a site that had millions of pages, I found that sites like Baidu would crawl my site as often, if not more often than Google.

I already felt the relationship with Google was parasitic, but I looked through my logs and never found a single hit that came from Baidu and many of the other search engines that would overload my site.

I was looking at a substantial part of the site running costs going to supporting web crawlers that were not doing anything (1) to help me, or (2) to help end users (if they don't want to send Chinese users to an English-speaking web site, why crawl the site?)

So like it or not I am inclined to only allow Google and Bing in the robots.txt because Google is the only site that sends a significant amount of traffic and because Bing sends some, and Google needs some competition.

There are web crawler behaviors that are annoying: harvesting email addresses, overloading your site, etc. But how do you know who is doing something wrong with the data and who is just collecting it do do nothing with it? (Probably 95% of web crawling ex. Google.)

Re:Cloudflare’s CAPTCHA replacement with FIDO2/WebAuthn is a... by acdha on Friday May 14, 2021 @09:26AM (#27154034)
> So like it or not I am inclined to only allow Google and Bing in the robots.txt because Google is the only site that sends a significant amount of traffic and because Bing sends some, and Google needs some competition.

This sounds like you're onto a reasonable “legit” factor: does the crawler honor robots.txt? Baidu would be legit because they don't lie about their identity and if you put a rule in your robots.txt file they'll honor it.

Re:Cloudflare’s CAPTCHA replacement with FIDO2/WebAuthn is a... by throwaway3699 on Friday May 14, 2021 @08:52AM (#27153691)
For every developer that sees this message, a few dozen will have given up.
Re:Cloudflare’s CAPTCHA replacement with FIDO2/WebAuthn is a... by new_guy on Friday May 14, 2021 @11:12AM (#27155116)
Exactly this. Cloudflare actively blocks legit crawlers. It shouldn't be dependent on seeing some random hn comment from some random at cloudflare to get that fixed.
Re:Cloudflare’s CAPTCHA replacement with FIDO2/WebAuthn is a... by oefrha on Friday May 14, 2021 @09:06AM (#27153815)
Say I’m interested in building a small scale domain-specific search engine and only just started development. There’s no prototype yet and may never be. In this situation, how do you determine it’s a legit crawler?

And what about crawlers with even more limited scopes (targeting only a handful of sites) that they can’t possibly be called search engines? Are they ever considered legit?

Re:Cloudflare’s CAPTCHA replacement with FIDO2/WebAuthn is a... by jgrahamc on Friday May 14, 2021 @09:10AM (#27153851)
Be a good netizen? Respect robots.txt. Don't lie in your User-Agent. Don't crawl at a ridiculous rate. All those are a good starting point.
Re:Cloudflare’s CAPTCHA replacement with FIDO2/WebAuthn is a... by oefrha on Friday May 14, 2021 @09:33AM (#27154111)
I think the problem is some IPs just straight-up always get CAPTCHAs from Cloudflare even if one’s a good netizen, respect robots.txt, not crawl at ridiculous rate, and not lie in the user agent. One reason is shared IP, which disproportionally affects people from third world countries as their ISPs don’t have enough IPv4 for everyone; but it also happened mysteriously to at least one dedicated IP I used in the past. Your confrontational tone is rather unfortunate, and the problem of course is that you don’t guarantee anything even if the user has done nothing wrong, as is manifest from the choice of the phrase “starting point”.
Re:Cloudflare’s CAPTCHA replacement with FIDO2/WebAuthn is a... by ehutch79 on Friday May 14, 2021 @09:57AM (#27154355)
Then the problem has nothing to do with your crawling.
Re:Cloudflare’s CAPTCHA replacement with FIDO2/WebAuthn is a... by joepie91_ on Friday May 14, 2021 @09:22AM (#27153995)
Do you not realize the more fundamental problem with you, as a company, essentially being the one who gatekeeps crawler access to the web?
Re:Cloudflare’s CAPTCHA replacement with FIDO2/WebAuthn is a... by dannyw on Friday May 14, 2021 @10:28AM (#27154691)
I use cloudflare out of my free will because there's malicious traffic out there, and I have enough control over everything.

They're only a gatekeeper because sites voluntarily enter into commercial agreements with them. There's no coercion or manipulation like Google AMP.

Re:Cloudflare’s CAPTCHA replacement with FIDO2/WebAuthn is a... by midev on Friday May 14, 2021 @10:55AM (#27154951)
Customers pay for this as a feature. Why would they feel it's a fundamental problem? There's nothing that says admins need to let you crawl their site.
Re:Cloudflare’s CAPTCHA replacement with FIDO2/WebAuthn is a... by vidarh on Friday May 14, 2021 @11:03AM (#27155033)
If people intend this to happen, sure . But how many people who put their sites behind Cloudflare is aware that this might be a side effect?
Re:Cloudflare’s CAPTCHA replacement with FIDO2/WebAuthn is a... by midev on Friday May 14, 2021 @11:08AM (#27155083)
I would wager that most people that purchase Cloudflare are probably aware of the features it offers
Re:Cloudflare’s CAPTCHA replacement with FIDO2/WebAuthn is a... by vidarh on Friday May 14, 2021 @01:51PM (#27157394)
Note the distinction. I'd wager that the vast majority of sites behind Cloudflare are not paying customers, and have not paid much attention beyond "hides my server IP slightly and stops DDOS's", without having thought more - or at all - about the wider implications.
Re:Cloudflare’s CAPTCHA replacement with FIDO2/WebAuthn is a... by joepie91_ on Sunday May 16, 2021 @07:28AM (#27172920)
This is exactly the case.
Re:Cloudflare’s CAPTCHA replacement with FIDO2/WebAuthn is a... by Xamayon on Friday May 14, 2021 @11:38AM (#27155396)
Even then, I've run into issues with scraping several sites for the reverse image search engine I operate. Luckily, in most cases I have been able to get in touch with the people running those sites to get a rule added for my IPs to allow them through. That's not scalable though, and limits where I can scrape/crawl from. Even something as simple as checking a site for updates every hour or two tends to get blocked after a few times. TBH, one of the only things I have found which helps is lying in the user agent and copying CF cookies. Luckily, I haven't had to play with that for a few months due to whitelisting, so not sure it it would still help. Things change rapidly.
Re:Cloudflare’s CAPTCHA replacement with FIDO2/WebAuthn is a... by foobiekr on Friday May 14, 2021 @10:42AM (#27154830)
What is a “ridiculous rate”? Where is it documented?
Re:Cloudflare’s CAPTCHA replacement with FIDO2/WebAuthn is a... by jmg03 on Friday May 14, 2021 @11:57AM (#27155642)
What's the best way to contact you?
Re:Cloudflare’s CAPTCHA replacement with FIDO2/WebAuthn is a... by jgrahamc on Friday May 14, 2021 @03:26PM (#27158661)
jgc @ cloudflare