News for hackers. Stuff that matters.
Re:OpenStreetMap overwhelmed by bots scraping data by CqtGLRGcukpy on Tuesday January 27, 2026 @08:49PM (#46789999)
Re:OpenStreetMap overwhelmed by bots scraping data by CqtGLRGcukpy on Tuesday January 27, 2026 @09:12PM (#46790168)
They also posted about this on Mastodon / Fedi: https://en.osm.town/@osm_tech/115968544599864782
Re:OpenStreetMap overwhelmed by bots scraping data by dzhiurgis on Tuesday January 27, 2026 @11:50PM (#46791196)
I'll ask dumb question - if they are "open source" then why they are bothered by it? Is it scraping itself? Are their data not freely available for download?
Re:OpenStreetMap overwhelmed by bots scraping data by zeeZ on Wednesday January 28, 2026 @12:11AM (#46791325)
Their data is freely available to download. There are weekly dumps of the entire planet and several sources for partial data. There's no need for most legitimate use cases to scrape their API.
Re:OpenStreetMap overwhelmed by bots scraping data by dzhiurgis on Wednesday January 28, 2026 @03:36AM (#46792596)
So problem is someone is stupid enough scraping without realizing they can just download 100gb at once?

And there are so many of such idiots that it's overwhelming their servers?

Something doesn't math here.

Re:OpenStreetMap overwhelmed by bots scraping data by tencentshill on Wednesday January 28, 2026 @01:46PM (#46799811)
That's exactly the case. It's been an issue for a while.
Re:OpenStreetMap overwhelmed by bots scraping data by wodenokoto on Tuesday January 27, 2026 @11:58PM (#46791238)
Someone has to pay for bandwidth. And that someone would like the bandwidth to go to human users.
Re:OpenStreetMap overwhelmed by bots scraping data by molly_radstowe on Tuesday January 27, 2026 @08:23PM (#46789797)
#OpenStreetMap hammered by scrapers hiding behind residential proxy/embedded-SDK networks.
Re:OpenStreetMap overwhelmed by bots scraping data by Bender on Tuesday January 27, 2026 @08:31PM (#46789866)
Looks like it is hosted in Equinix in NL? Or just part of it maybe? Is it behind a load balancer, maybe something like HAProxy? If so were stick tables set up to limit rates by cookie and require people be logged in on unique accounts and limit anonymous access after so many requests? I know limiting anonymous access is not great but that is something that could be enabled when under a high load so that instead of the site going offline for everyone it would just be limited for the anonymous users. Degradation vs critical outage

On a separate note have tcpdump captures been done on these excessive connections? Minus the IP, what do their SYN packets look like? Minus the IP what do the corresponding log entries look like in the web server? Are they using HTTP/1.1 or HTTP/2.0? Are they missing any expected headers for a real person such as cors, no-cors, navigate, accept_language?

    tcpdump -p --dont-verify-checksums -i any -NNnnvvv -B32768 -c32 -s0 port 443 and 'tcp[13] == 2'
Is there someone at OpenStreetMap that can answer these questions?
Re:OpenStreetMap overwhelmed by bots scraping data by KomoD on Tuesday January 27, 2026 @10:30PM (#46790721)
I think it could be worth trying to block them with TLS fingerprinting, or since they think it's residential proxies they are being hammered by, https://spur.us could be worth a try.
Re:OpenStreetMap overwhelmed by bots scraping data by Bender on Wednesday January 28, 2026 @10:22AM (#46796522)
My personal preference is to first make a small amount of effort finding something unique to the bots that can more often than not be dropped with a simple firewall rule or load balancer ACL. The botters almost always miss something.
Re:OpenStreetMap overwhelmed by bots scraping data by Firefishy on Wednesday January 28, 2026 @02:15PM (#46800186)
Disclosure: I am part of the mostly volunteer run OpenStreetMap ops team.

Technically we able to block and restrict the scrapers after the initial request from an IP. We've seen 400,000 IPs in the last 24 hours. Each IP only does a few requests. Most are not very good at faking browsers, but they are getting better. (HTTP/1.1 vs HTTP/2, obviously faked headers etc)

The problem has been going on for over a year now. It isn't going away. We need journalists and others to help us push back.

Re:OpenStreetMap overwhelmed by bots scraping data by Bender on Wednesday January 28, 2026 @06:37PM (#46803368)
I hear ya. This is just my opinion but I don't think journalists are going to be much help. The bots would have to be hurting something belonging to the government or the government is paying for to really get them on it. e.g. some big orgs in the government embed your maps on their site. They would have to create legislation and then someone would have to trace the bots back to their operator for attribution and then someone would have to file lawsuits against them once it is illegal. Or you could try using a ToS/AuP to go after them assuming attribution. I am not a lawyer.

I think your only hope would be to either find subtle differences between them and real legit users or change how your site works so that bots have to be authenticated unless they have a whitelisted IP/CIDR or put your site behind something else that spots the bots. Beyond that all anyone can do is beef up their infrastructure to handle much more than the bots could dish out.

Have you tried silly simple things like hidden javascript puzzles the browser has to solve?

Re:OpenStreetMap overwhelmed by bots scraping data by Kodiack on Monday February 02, 2026 @05:01AM (#46854251)
Hey. I run a small community forum and I've been dealing with this exact same kind of behaviour where well over 99% of requests are bad crawlers. There used to be plenty of "tells" for the faked browsers, HTTP/1.1 being a huge one. As you said, however, they're getting a bit smarter about that and it's becoming increasingly difficult to differentiate it from legitimate traffic.

It's been getting worse over the past year, with the past few weeks in particular seeing a massive change literally overnight. I had to aggressively tune my WAF rules to even remotely get things under control. With Cloudflare I'm aggressively issuing browser challenges to any browser that looks remotely suspicious, and the pass rate is currently below 0.5%. For my users' sake, a successful browser challenge is "valid" for over a month, but this still feels like another thing that'll eventually be bypassed.

I'd be keen to know if you've found any other effective ways of mitigating these most recent aggressive scraping requests. Even a simple "yes" or "no" would be appreciated; I think it's fair to be apprehensive about sharing some specific details publicly since even a lot of folks here on HN seem to think it's their right to scrape content with orders of magnitude higher throughput than all users combined.

I really don't know how this is sustainable long-term. It's eaten up quite a lot of my personal time and effort just for the sake of a hobby that I otherwise greatly enjoy.

Re:OpenStreetMap overwhelmed by bots scraping data by direwolf20 on Tuesday January 27, 2026 @08:24PM (#46789809)
More like hammered by Google and Apple so you'll use their apps instead.
Re:OpenStreetMap overwhelmed by bots scraping data by petre on Wednesday January 28, 2026 @02:07AM (#46792000)
Unlikely. The data is freely available for download from geofabrik and other sources.
Re:OpenStreetMap overwhelmed by bots scraping data by direwolf20 on Wednesday January 28, 2026 @05:56AM (#46793739)
The data is, the app isn't. OSM provides a giant data dump, not a way to view maps
Re:OpenStreetMap overwhelmed by bots scraping data by phillipseamore on Tuesday January 27, 2026 @08:40PM (#46789937)
The number of idiotic vibe coded repos I've seen on GH lately that are doing things like crawling OSM for POI data is mindboggling!
Re:OpenStreetMap overwhelmed by bots scraping data by solaris2007 on Wednesday January 28, 2026 @12:52AM (#46791565)
Make the data available through bit-torrent and IPFS. Redirect IPs that make excessive requests to response only kilobytes in size "use the torrents and IPFS".

As an SRE, the only legitimate concern here could be the bandwidth costs. But QoS tuning should solve that too.

Supposedly technical people crying out for a journalist to help them is super lame. Everything about this looks super lame.

Re:OpenStreetMap overwhelmed by bots scraping data by zeeZ on Wednesday January 28, 2026 @01:02AM (#46791641)
That data is already available. Including torrents.

https://planet.openstreetmap.org/

Re:OpenStreetMap overwhelmed by bots scraping data by solaris2007 on Wednesday January 28, 2026 @03:14AM (#46792452)
Perfect. Now all they need to do is set up the redirect.

Every bot is doing something on behalf of a human. Now that LLMs can churn out half-assed bot scripts every "look I installed Arch Linux and ohmyzsh" script kiddie has bots too.

Bots aren't going anywhere.

"Use the web the way it was over 10 years ago plox" isn't going to do it.

Re:OpenStreetMap overwhelmed by bots scraping data by Firefishy on Wednesday January 28, 2026 @02:08PM (#46800113)
Disclosure: I am part of the OpenStreetMap mostly-volunteer sysadmin team fighting this.

The scrapers try hard to make themselves look like valid browsers, sending requests via residential IP addresses (400,000+ IPs at last count).

I reached out to journalists because despite strong technical measures, the abuse will not go away on its own.