Live data from Hacker News

A Facebook crawler was making 7M requests per day to my stupid website

coding.napolux.com

41–50 of 416 posts

Re: A Facebook crawler was making 7M requests per day to my stupid website

#41

Unrelated, but has anyone written a Chrome/Firefox extension to browse the web sending out Googlebot or Facebook user agent? I wonder if you can bypass paywalls or see things that aren't generally presented to regular users

Safari has this built in: https://osxdaily.com/2013/01/16/change-user-agent-chrome-saf...

You chose to mention Safari, but link to an article about Chrome, Firefox, and Safari? Looks like all major browsers (probably Edge too) have this built in.

Re: A Facebook crawler was making 7M requests per day to my stupid website

#42
post #33
post #9

Same thing has happened to me: https://twitter.com/moonscript/status/1124888489298808834 The network address range falls under Facebook's ownership, so I don't think it's someone spoofing. I do think it's very possible someone found a way to trigger crawl requests in large quantity. Alternatively, I would not be surprised it's just a bug on facebook's end.

They've done this before to me, too. First I tried `iptables -j DROP`, which made the machine somewhat usable, but didn't help with the traffic. After trying a few things, I tried `-j TARPIT`, and that appeared to make them back off. Of course, sample size of 1, etc. It could have been coincidental.

Tarpits are an underappreciated solution to a pool of bad actors.

You can add artificial wait times to responses, or you can just route all of the 'bad' traffic to one machine, which becomes oversubscribed (be sure to segregate your stats!). All bad actors fighting over the same scraps creates proportional backpressure. Just adding 2 second delays to each request won't necessarily achieve that if multiple user agents are hitting you at once.

Re: A Facebook crawler was making 7M requests per day to my stupid website

#43

If you can verify it's actually coming from Facebook's IP address (as many other comments here suggest), you should absolutely get in touch with them, though I'm not sure how. Perhaps their security team. That's a very serious bug that they'd be glad to catch -- if it's affecting you it's surely affecting others. Otherwise it's a bot/malware/etc. spoofing Facebook and gone wrong, which sucks. And yeah just block it b…

It was from their IPs tried to figure out how to get in touch, without success

Re: A Facebook crawler was making 7M requests per day to my stupid website

#44
post #7
post #6

Why does FB need a crawler? Their users provide the content for their site. Is there an FB web search engine?

When you paste in a URL to share it with your friends, Facebook tries to grab some information from that webpage to provide a summary.

And to prevent some URLs to be posted.

Re: A Facebook crawler was making 7M requests per day to my stupid website

#45

Was it a real FB crawler or a random buggy homemade bot masquerading as one? Check here: https://developers.facebook.com/docs/sharing/webmasters/craw...

Someone up to no good using a false flag would not surprise me in the slightest.

"who do people already like to hate? I'll pretend to be them."

Re: A Facebook crawler was making 7M requests per day to my stupid website

#46

Was it a real FB crawler or a random buggy homemade bot masquerading as one? Check here: https://developers.facebook.com/docs/sharing/webmasters/craw...

One IP (ipv6) I just got from CloudFlare.

https://www.ultratools.com/tools/ipv6InfoResult?ipAddress=2a...

Re: A Facebook crawler was making 7M requests per day to my stupid website

#47

Maybe someone at Facebook is testing a project that didn't work as expected?

I wish we had better tools for things like this.

What I've heard happen is someone puts a governor on the system, and much later your new big customer starts having errors because your aggregate traffic exceeds capacity planning you did 2 years ago and forgot about.

Re: A Facebook crawler was making 7M requests per day to my stupid website

#50
post #5

This is actually a common tactic from malicious actors - pretend to be other bots to get through to websites. If you reverse lookup the IP address you can see if it part of the facebook network. UA is very untrustworthy

This is one of the IPs

https://www.ultratools.com/tools/ipv6InfoResult?ipAddress=2a...

Post reply on HN