Live data from Hacker News

OpenStreetMap overwhelmed by bots scraping data

twitter.com

11–20 of 24 posts

Re: OpenStreetMap overwhelmed by bots scraping data

#11

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?

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

#12

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?

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

#13
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

#14

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.

That data is already available. Including torrents.

https://planet.openstreetmap.org/

Re: OpenStreetMap overwhelmed by bots scraping data

#15

#OpenStreetMap hammered by scrapers hiding behind residential proxy/embedded-SDK networks.

More like hammered by Google and Apple so you'll use their apps instead.

Unlikely. The data is freely available for download from geofabrik and other sources.

Re: OpenStreetMap overwhelmed by bots scraping data

#16
post #14

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.

That data is already available. Including torrents. https://planet.openstreetmap.org/

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

#17
post #12

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?

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.

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

#18
post #15

Earlier quoted context omitted.

More like hammered by Google and Apple so you'll use their apps instead.

Unlikely. The data is freely available for download from geofabrik and other sources.

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

#19
post #8
post #4

Earlier quoted context omitted.

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 th…

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.

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

#20
post #12

Earlier quoted context omitted.

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.

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.

That's exactly the case. It's been an issue for a while.
Post reply on HN