We'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…
I dont really understand what is the issue. On my welcome page (while all other urls are impossible to guess) i give browser something that requires a few seconds of cpu at 100% to crunch. And tracking some user action in between, visting tarpitted urls etc. In last few years no bot came through. Why bother with robots.txt, just give them something to break their teeths... (I would give you the url, but I just dont w…
A Facebook crawler was making 7M requests per day to my stupid website
281–290 of 416 posts
Re: A Facebook crawler was making 7M requests per day to my stupid website
#282That's 81 request per second on average. Shouldn't anybody doing such thing be liable, and be sued for negligence and required to pay damages? That sounds like a lot of bandwidth (and server stress).
Re: A Facebook crawler was making 7M requests per day to my stupid website
#283Earlier quoted context omitted.
A funny story (well, funny because it didn't happen to me) was chronicled on a recent episode of Corey Quinn's "Whiteboard Confessions" -- https://www.lastweekinaws.com/podcast/aws-morning-brief/whit... -- where Slackbot's auto URL unfurling feature "clicked" an SNS alert unsubscribe link when a tech posted the a report including that link into a slack channel. If nobody lost their job over this triggering a SEV-1 al…
As far as I know the iOS implementation mitigates that by generating the preview on the sender side. The receiver side will not make a request to the URL unless they manually click on it.
Re: A Facebook crawler was making 7M requests per day to my stupid website
#284Earlier quoted context omitted.
Nice idea, I like the thinking. I'll tuck that away for use later. PowerDNS has LUA built in amongst a few other things. My stack of projects to do is growing at a hell of a rate and I'm not popping them off the stack fast enough.
I know the feeling, it's one of the reasons I'm working on https://github.com/hofstadter-io/hof Check out the code generation parts and modules, they are the most mature. We have HRDs (like CRDs in k8s for anything) and a scripting language between bash and Python coming out soon too.
I've checked out your repo for a look over tomorrow when I'm cough sober!
Re: A Facebook crawler was making 7M requests per day to my stupid website
#285Re: A Facebook crawler was making 7M requests per day to my stupid website
#286Earlier quoted context omitted.
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.
That was the idea. There's a name for it - zip bomb. https://en.wikipedia.org/wiki/Zip_bomb A superficial search leads to things like https://www.rapid7.com/db/modules/auxiliary/dos/http/gzip_bo... https://stackoverflow.com/questions/1459673 You really want to be careful about potentially breaking laws ...
If FB supports brotli, a much bigger compression factor than 1000 is possible, apparently.
Re: A Facebook crawler was making 7M requests per day to my stupid website
#287Earlier quoted context omitted.
I know the feeling, it's one of the reasons I'm working on https://github.com/hofstadter-io/hof Check out the code generation parts and modules, they are the most mature. We have HRDs (like CRDs in k8s for anything) and a scripting language between bash and Python coming out soon too.
I've tried to work out what your project does but I'm none the wiser. GEB is prominent on my bookshelf. I'm a syadmin and I got as far as "hollow wold" in Go or was it "Hail Marrow"? Can't remember. I've checked out your repo for a look over tomorrow when I'm cough sober!
Re: A Facebook crawler was making 7M requests per day to my stupid website
#288That's 81 request per second on average. Shouldn't anybody doing such thing be liable, and be sued for negligence and required to pay damages? That sounds like a lot of bandwidth (and server stress).
In the ToS, add a charge of 2 guineas, 5 shilling, a sixpence and a peppercorn per request.
Re: A Facebook crawler was making 7M requests per day to my stupid website
#289Re: A Facebook crawler was making 7M requests per day to my stupid website
#290Hi Napolux, It looks like your site is using a theme based on my website ( https://ruudvanasseldonk.com/ , source at https://github.com/ruuda/blog ). That is fine — it is open source after all, licensed under the GPLv3. But I can’t find the source code for your site, and I can’t find any prominent notices saying that you modified my source. Could you please add those?
GPL license states you must provide source code to the end-user. In this case, the end-user is legally Napolux, not the visitors to his site.
The source code of a public website is automatically provided to everyone who visits it. This fact is unfortunately not well-known.