Earlier quoted context omitted.
Yeah, I once tried to tell my browser to send... I forget; either no UA, or a blank UA string, or nonsense or just "Firefox" or something. I figured, "hey, some sites might break, but it can't be that important!" It broke everything . IIRC, the breaking point was that my own server refused to talk to me. Now, I still think this is insane, but apparently this really is how it is right now.
You removed a vital part of the http protocol and you're surprised when things break?
A Facebook crawler was making 7M requests per day to my stupid website
291–300 of 416 posts
Re: A Facebook crawler was making 7M requests per day to my stupid website
#292Re: A Facebook crawler was making 7M requests per day to my stupid website
#293Re: A Facebook crawler was making 7M requests per day to my stupid website
#294Earlier quoted context omitted.
I think we're together in this, my friend
I believe, but have not tried, that you can craft zipped files that are small but when expanding produce multi-gigabyte files. If you can sufficiently target the bad guys, you can probably grind them to a halt by serving only them these files. Some care needs to be taken so you don’t harm the innocent and don’t run afoul of any laws that may apply. Good luck.
But zip bombs aren't limited to zip files... lots of files have some compression in them You can make malicious PNG's that do the same thing. Probably tonnes of other files.
Re: A Facebook crawler was making 7M requests per day to my stupid website
#295I have no idea what its trying to do but its legitimately the only IPv6 inbound traffic that isn't related to normal browsing.
Re: A Facebook crawler was making 7M requests per day to my stupid website
#296Hate to say but this is probably a FB engineer running a test/experiment and not a production crawler taking robots.txt etc into account.
Or malware infecting some FB-internal machine?
Re: A Facebook crawler was making 7M requests per day to my stupid website
#297Earlier quoted context omitted.
Thanks, I’m flattered to see it be used as inspiration :) I searched quickly but I didn’t find that repository. You might want to link it somewhere in your footer or from a comment in the html.
Flattered that your few, boring lines of CSS and HTML (that could easily be reproduced by a monkey) was used on someone else's website?
There exists small joys in life, like being flattered for something that other people might not think are much of a big deal.
I guess that's one reason why something may be called flattering in the first place, if they didn't see it as being all that much in their own eyes, but somebody else appreciates it.
Re: A Facebook crawler was making 7M requests per day to my stupid website
#298Same 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.
Re: A Facebook crawler was making 7M requests per day to my stupid website
#299We've had the same issue. They were doing huge bursts of tens of thousands of requests in very short time several times a day. The bots didn't identify as FB (used "spoofed" UAs) but were all coming from FB owned netblocks. I've contacted FB about it, but they couldn't figure out why this was happening and didn't solve the problem. I found out that there is an option in the FB Catalog manager that lets FB auto-remove…
Side question: how did you get in contact with facebook? I've an ad account that was suspended last year and gave up trying to contact them.
Re: A Facebook crawler was making 7M requests per day to my stupid website
#300Earlier quoted context omitted.
I believe, but have not tried, that you can craft zipped files that are small but when expanding produce multi-gigabyte files. If you can sufficiently target the bad guys, you can probably grind them to a halt by serving only them these files. Some care needs to be taken so you don’t harm the innocent and don’t run afoul of any laws that may apply. Good luck.
Do you think it would be possible to create something similar for gzip? If you then serve with Content-Type: text/html, and Content-Encoding: gzip, the client would accept the payload. And when it tries to expand it, it would get expanded to a large file, eating up their resources.